swagger.yaml 958 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GErmcpspotgoodsprice:
  9647. properties:
  9648. currencyid:
  9649. description: 报价货币ID
  9650. type: integer
  9651. deliverygoodsid:
  9652. description: 现货品种ID
  9653. type: integer
  9654. spotgoodsbrandid:
  9655. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9656. type: integer
  9657. spotgoodsprice:
  9658. description: 【最新价】当前价格
  9659. type: number
  9660. srcmarketname:
  9661. description: 来源市场名称
  9662. type: string
  9663. todaypricedtotalamount:
  9664. description: 今日定价金额
  9665. type: number
  9666. todaypricedtotalqty:
  9667. description: 今日定价总量
  9668. type: number
  9669. todayspotgoodsprice:
  9670. description: 今日指定价
  9671. type: number
  9672. tradedate:
  9673. description: 【日期】交易日
  9674. type: string
  9675. wrstandardcode:
  9676. description: 现货商品代码
  9677. type: string
  9678. wrstandardid:
  9679. description: 现货商品ID(通用则为0)
  9680. type: integer
  9681. wrstandardname:
  9682. description: 【名称】现货商品名称
  9683. type: string
  9684. ystspotgoodsprice:
  9685. description: 昨价
  9686. type: number
  9687. type: object
  9688. models.GThjuserscorelog:
  9689. properties:
  9690. createtime:
  9691. description: 记账时间
  9692. type: string
  9693. score:
  9694. description: 变动积分
  9695. type: number
  9696. scoreconfigtype:
  9697. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9698. 7:抽奖配置
  9699. type: integer
  9700. type: object
  9701. models.GZGoods:
  9702. properties:
  9703. address:
  9704. description: 详细地址
  9705. type: string
  9706. cerno:
  9707. description: 证书编号 - 类型:2,4,5
  9708. type: string
  9709. cityname:
  9710. description: 城市名称
  9711. type: string
  9712. countryname:
  9713. description: 国家名称
  9714. type: string
  9715. cpcertno:
  9716. description: 金伯利证书编号 - 类型:3
  9717. type: string
  9718. districtname:
  9719. description: 地区名称
  9720. type: string
  9721. goodsno:
  9722. description: 商品编号
  9723. type: string
  9724. imagepath:
  9725. description: 商品照片(相对地址)
  9726. type: string
  9727. isvalid:
  9728. description: 是否有效 - 0:无效 1:有效
  9729. type: integer
  9730. kppath:
  9731. description: 金伯利证书图片(相对地址) - 类型:3
  9732. type: string
  9733. kpweight:
  9734. description: 金伯利证书重量 - 类型:3
  9735. type: string
  9736. marketprice:
  9737. description: 市场价
  9738. type: string
  9739. mobile:
  9740. description: 手机号码
  9741. type: string
  9742. origin:
  9743. description: 原产地 - 类型:3
  9744. type: string
  9745. performancetemplateid:
  9746. description: 履约计划模板ID
  9747. type: integer
  9748. price:
  9749. description: 总价(价格) - 类型:1,2,3,4,5
  9750. type: number
  9751. priceper:
  9752. description: 克拉单价 - 类型:1,2,3,5
  9753. type: string
  9754. provincename:
  9755. description: 省名称
  9756. type: string
  9757. remainqty:
  9758. description: 剩余重量
  9759. type: number
  9760. remark:
  9761. description: 备注
  9762. type: string
  9763. sellusername:
  9764. description: 账户名称(机构名称)
  9765. type: string
  9766. settingmaterial:
  9767. description: 镶嵌材料 - 类型:4
  9768. type: string
  9769. size1:
  9770. description: 尺寸1 - 类型:2,4,5
  9771. type: string
  9772. size2:
  9773. description: 尺寸2 - 类型:2,4,5
  9774. type: string
  9775. size3:
  9776. description: 尺寸3 - 类型:2,4,5
  9777. type: string
  9778. sizedisplay:
  9779. description: 尺寸
  9780. type: string
  9781. stonedesc:
  9782. description: 配石描述 - 类型:4
  9783. type: string
  9784. userid:
  9785. description: 用户ID
  9786. type: integer
  9787. warehouseid:
  9788. description: 仓库ID
  9789. type: integer
  9790. warehousenamedisplay:
  9791. type: string
  9792. weight:
  9793. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9794. type: number
  9795. weightavg:
  9796. description: 平均单颗重量 - 类型:1,3
  9797. type: number
  9798. wrpath:
  9799. description: 仓单扫描件(相对地址)
  9800. type: string
  9801. wrstandardid:
  9802. description: 现货商品ID
  9803. type: integer
  9804. wrtradeorderid:
  9805. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9806. type: string
  9807. zscategory:
  9808. description: 钻石分类 - 枚举”ZSCategory“
  9809. type: integer
  9810. zscategorydisplay:
  9811. type: string
  9812. zscerttype:
  9813. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9814. type: integer
  9815. zscerttypedisplay:
  9816. type: string
  9817. zsclaritytype1:
  9818. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9819. type: integer
  9820. zsclaritytype1display:
  9821. type: string
  9822. zsclaritytype2:
  9823. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9824. type: integer
  9825. zsclaritytype2display:
  9826. type: string
  9827. zscolortype1:
  9828. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9829. type: integer
  9830. zscolortype1display:
  9831. type: string
  9832. zscolortype2:
  9833. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9834. type: integer
  9835. zscolortype2display:
  9836. type: string
  9837. zscrystaltype:
  9838. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9839. type: string
  9840. zscrystaltypedisplay:
  9841. type: string
  9842. zscurrencytype:
  9843. description: 货币类型 - 枚举“ZSCurrencyType”
  9844. type: integer
  9845. zscurrencytypedisplay:
  9846. type: string
  9847. zscurrencytypedisplayunit:
  9848. type: string
  9849. zscuttype1:
  9850. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9851. type: integer
  9852. zscuttype1display:
  9853. type: string
  9854. zscuttype2:
  9855. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9856. type: integer
  9857. zscuttype2display:
  9858. type: string
  9859. zsczcolor1type:
  9860. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9861. type: integer
  9862. zsczcolor1typedisplay:
  9863. type: string
  9864. zsczcolor2type:
  9865. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9866. type: integer
  9867. zsczcolor2typedisplay:
  9868. type: string
  9869. zsczcolor3type:
  9870. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9871. type: integer
  9872. zsczcolor3typedisplay:
  9873. type: string
  9874. zsfluorescencetype1:
  9875. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9876. type: integer
  9877. zsfluorescencetype1display:
  9878. type: string
  9879. zsfluorescencetype2:
  9880. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9881. type: integer
  9882. zsfluorescencetype2display:
  9883. type: string
  9884. zspolishtype1:
  9885. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9886. type: integer
  9887. zspolishtype1display:
  9888. type: string
  9889. zspolishtype2:
  9890. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9891. type: integer
  9892. zspolishtype2display:
  9893. type: string
  9894. zsshapetype:
  9895. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9896. type: string
  9897. zsshapetypedisplay:
  9898. type: string
  9899. zsstyletype:
  9900. description: 款式 - 类型:4
  9901. type: integer
  9902. zsstyletypedisplay:
  9903. type: string
  9904. zssymmetrytype1:
  9905. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9906. type: integer
  9907. zssymmetrytype1display:
  9908. type: string
  9909. zssymmetrytype2:
  9910. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9911. type: integer
  9912. zssymmetrytype2display:
  9913. type: string
  9914. required:
  9915. - goodsno
  9916. type: object
  9917. models.GZHomeData:
  9918. properties:
  9919. purchasedtransactions:
  9920. description: 已购买的交易
  9921. type: integer
  9922. transactioninpurchase:
  9923. description: 求购中的交易
  9924. type: integer
  9925. transactionsonsale:
  9926. description: 出售中的交易
  9927. type: integer
  9928. transactionssold:
  9929. description: 已卖出的交易
  9930. type: integer
  9931. unhandledmessage:
  9932. description: 未处理消息
  9933. type: integer
  9934. type: object
  9935. models.GZWarehouseinfo:
  9936. properties:
  9937. address:
  9938. description: 详细地址
  9939. type: string
  9940. areauserid:
  9941. description: 所属机构
  9942. type: integer
  9943. autoid:
  9944. description: 自增ID
  9945. type: integer
  9946. cityid:
  9947. description: 市
  9948. type: integer
  9949. cityname:
  9950. description: 城市名称
  9951. type: string
  9952. contactname:
  9953. description: 联系人
  9954. type: string
  9955. contactnum:
  9956. description: 联系电话
  9957. type: string
  9958. countryid:
  9959. description: 国家
  9960. type: integer
  9961. countryname:
  9962. description: 国家名称
  9963. type: string
  9964. createtime:
  9965. description: 创建时间
  9966. type: string
  9967. districtid:
  9968. description: 区
  9969. type: integer
  9970. districtname:
  9971. description: 地区名称
  9972. type: string
  9973. hasvideo:
  9974. description: 是否有视频 - 0:无 1:有
  9975. type: integer
  9976. provinceid:
  9977. description: 省
  9978. type: integer
  9979. provincename:
  9980. description: 省名称
  9981. type: string
  9982. remark:
  9983. description: 审核备注
  9984. type: string
  9985. videourl:
  9986. description: 视频地址
  9987. type: string
  9988. warehousecode:
  9989. description: 仓库代码
  9990. type: string
  9991. warehousename:
  9992. description: 仓库名称
  9993. type: string
  9994. warehousestatus:
  9995. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9996. type: integer
  9997. warehousetype:
  9998. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9999. type: integer
  10000. type: object
  10001. models.Goods:
  10002. properties:
  10003. agreeunit:
  10004. description: 合约单位
  10005. type: number
  10006. areauserid:
  10007. description: 所属机构
  10008. type: integer
  10009. auditaccountid:
  10010. description: 审核操作员账号
  10011. type: integer
  10012. audittime:
  10013. description: 审核时间
  10014. type: string
  10015. cancelaccountid:
  10016. description: 注销操作员账号
  10017. type: integer
  10018. canceltime:
  10019. description: 注销时间
  10020. type: string
  10021. closepricemode:
  10022. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10023. type: integer
  10024. closepriceparam:
  10025. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10026. type: number
  10027. createtime:
  10028. description: 创建时间
  10029. type: string
  10030. creatorid:
  10031. description: 创建人
  10032. type: integer
  10033. currencyid:
  10034. description: 报价货币ID
  10035. type: integer
  10036. cutmode:
  10037. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10038. type: integer
  10039. decimalplace:
  10040. description: 报价小数位
  10041. type: integer
  10042. delistingdate:
  10043. description: 商品退市时间(状态:退市) -- 已作废
  10044. type: string
  10045. delistingmode:
  10046. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10047. type: integer
  10048. deliveryflag:
  10049. description: 交割标志 - 0:不可交割 1:可交割
  10050. type: integer
  10051. forceclosemode:
  10052. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10053. type: integer
  10054. forceclosevalue:
  10055. description: 定期强平参数 [收益权]
  10056. type: integer
  10057. goodscode:
  10058. description: 商品代码(内部)
  10059. type: string
  10060. goodscurrencyid:
  10061. description: 合约货币ID
  10062. type: integer
  10063. goodsgroupid:
  10064. description: 所属商品组ID
  10065. type: integer
  10066. goodsid:
  10067. description: 商品ID(自增ID SEQ_GOODS)
  10068. type: integer
  10069. goodsname:
  10070. description: 商品名称
  10071. type: string
  10072. goodsquotetype:
  10073. description: '合约报价类型: 1-直接报价 2-间接报价'
  10074. type: integer
  10075. goodsstatus:
  10076. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10077. type: integer
  10078. goodstradetype:
  10079. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10080. type: integer
  10081. goodunitid:
  10082. description: 报价单位ID
  10083. type: integer
  10084. hasquoter:
  10085. description: 是否有报价商 - 0:无报价商 1:有报价商
  10086. type: integer
  10087. hqprotecttime:
  10088. description: 行情保护时间(秒)
  10089. type: integer
  10090. innerdealmode:
  10091. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10092. type: integer
  10093. isbuylimited:
  10094. description: 是否限制建仓量 - 0:不限制 1:限制
  10095. type: integer
  10096. isvisible:
  10097. description: 游客是否可见 - 0:不可见 1:可见
  10098. type: integer
  10099. lasttradedate:
  10100. description: 最后交易日期(状态:待退市)
  10101. type: string
  10102. listingdate:
  10103. description: 交易开始日期
  10104. type: string
  10105. marketid:
  10106. description: 所属市场ID
  10107. type: integer
  10108. modifierid:
  10109. description: 修改人
  10110. type: integer
  10111. modifystatus:
  10112. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10113. type: integer
  10114. modifytime:
  10115. description: 修改时间
  10116. type: string
  10117. outerdealmode:
  10118. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10119. type: integer
  10120. outgoodscode:
  10121. description: 商品代码(外部)
  10122. type: string
  10123. pictureurl:
  10124. description: 商品图片
  10125. type: string
  10126. qtydecimalplace:
  10127. description: 成交量小数位
  10128. type: integer
  10129. quotegear:
  10130. description: 行情档位(1-10)
  10131. type: integer
  10132. quoteminunit:
  10133. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10134. type: integer
  10135. quoteshowtype:
  10136. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10137. type: integer
  10138. quoteshowtypeinterval:
  10139. description: 行情报价间隔时间(秒)(成交价时为0)
  10140. type: integer
  10141. remark:
  10142. description: 备注
  10143. type: string
  10144. required:
  10145. - goodscode
  10146. - goodsid
  10147. - goodsname
  10148. - marketid
  10149. type: object
  10150. models.GoodsIDAndName:
  10151. properties:
  10152. goodscode:
  10153. description: 商品代码(内部)
  10154. type: string
  10155. goodsid:
  10156. description: 商品ID(自增ID SEQ_GOODS)
  10157. type: integer
  10158. goodsname:
  10159. description: 商品名称
  10160. type: string
  10161. marketid:
  10162. description: 所属市场ID
  10163. type: integer
  10164. required:
  10165. - goodscode
  10166. - goodsid
  10167. - goodsname
  10168. - marketid
  10169. type: object
  10170. models.Goodsgroup:
  10171. properties:
  10172. agreeunit:
  10173. description: 合约单位
  10174. type: number
  10175. canshort:
  10176. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10177. type: integer
  10178. closepricemode:
  10179. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10180. type: integer
  10181. closepriceparam:
  10182. description: 强平最新价浮动比例 - 方式为2时使用
  10183. type: number
  10184. createtime:
  10185. description: 创建时间
  10186. type: string
  10187. creatorid:
  10188. description: 创建人
  10189. type: integer
  10190. currencyid:
  10191. description: 报价货币ID
  10192. type: integer
  10193. decimalplace:
  10194. description: 报价小数位
  10195. type: integer
  10196. exercisetype:
  10197. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10198. type: integer
  10199. exexchangeid:
  10200. description: 外部交易所ID[通道交易]
  10201. type: integer
  10202. goodsgroupid:
  10203. description: 商品组ID(自增ID)
  10204. type: integer
  10205. goodsgroupname:
  10206. description: 商品组名称
  10207. type: string
  10208. goodsgroupstatus:
  10209. description: 商品组状态 - 1:正常 2:注销
  10210. type: integer
  10211. goodunitid:
  10212. description: 报价单位ID
  10213. type: integer
  10214. innerdealmode:
  10215. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10216. type: integer
  10217. isbuylimited:
  10218. description: 是否限制建仓量 - 0:不限制 1:限制
  10219. type: integer
  10220. marketid:
  10221. description: 所属市场ID
  10222. type: integer
  10223. modifierid:
  10224. description: 修改人
  10225. type: integer
  10226. modifytime:
  10227. description: 修改时间
  10228. type: string
  10229. outerdealmode:
  10230. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10231. type: integer
  10232. outergroupcode:
  10233. description: 外部商品组代码[通道交易]
  10234. type: string
  10235. premiumdecimalplace:
  10236. description: 权利金小数位[场外期权]
  10237. type: integer
  10238. premiumspreadalgorithm:
  10239. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10240. type: integer
  10241. premiumspreadvalue:
  10242. description: 权利金点差值[场外期权]
  10243. type: number
  10244. qtydecimalplace:
  10245. description: 成交量小数位
  10246. type: integer
  10247. quotegear:
  10248. description: 行情档位(1-10)
  10249. type: integer
  10250. quoteminunit:
  10251. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10252. type: integer
  10253. quoterid:
  10254. description: 报价商ID[场外期权]
  10255. type: integer
  10256. quotesourcegroupid:
  10257. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10258. type: integer
  10259. syncgoodsqty:
  10260. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10261. type: integer
  10262. required:
  10263. - goodsgroupid
  10264. - goodsgroupname
  10265. - goodsgroupstatus
  10266. - marketid
  10267. type: object
  10268. models.Goodssortbypreposition:
  10269. properties:
  10270. goodscode:
  10271. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10272. type: string
  10273. goodsgroupcode:
  10274. description: 品种代码
  10275. type: string
  10276. prepositionqty:
  10277. description: 昨持仓量
  10278. type: integer
  10279. sortindex:
  10280. description: 排序
  10281. type: integer
  10282. tradedate:
  10283. description: 交易日
  10284. type: string
  10285. updatetime:
  10286. description: 更新时间
  10287. type: string
  10288. required:
  10289. - goodscode
  10290. - tradedate
  10291. type: object
  10292. models.GzbsfworderM:
  10293. properties:
  10294. accountid:
  10295. description: 资金账户ID
  10296. type: integer
  10297. addresscn:
  10298. description: 地址(中文)
  10299. type: string
  10300. addressen:
  10301. description: 地址(英文)
  10302. type: string
  10303. advanceamount:
  10304. description: 总预付款
  10305. type: number
  10306. colorrange:
  10307. description: 颜色范围
  10308. type: string
  10309. companynamecn:
  10310. description: 收货人(中文)
  10311. type: string
  10312. companynameen:
  10313. description: 收货人(英文)
  10314. type: string
  10315. contactfax:
  10316. description: 收货人传真
  10317. type: string
  10318. contactname:
  10319. description: 收货人姓名
  10320. type: string
  10321. contactphoneno:
  10322. description: 收货人电话
  10323. type: string
  10324. contentrange:
  10325. description: 【内容】内容范围
  10326. type: string
  10327. createtime:
  10328. description: 创建时间
  10329. type: string
  10330. executestatus:
  10331. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10332. type: integer
  10333. gzbsdeliverytype:
  10334. description: 收货方式 - 枚举"GZBSDeliveryType"
  10335. type: integer
  10336. gzbsstatus:
  10337. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10338. type: integer
  10339. gzbsstatusdisplay:
  10340. description: 单据状态
  10341. type: string
  10342. handlestatus:
  10343. description: 处理状态
  10344. type: integer
  10345. orderdate:
  10346. description: 单据日期
  10347. type: string
  10348. orderid:
  10349. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10350. type: integer
  10351. orderno:
  10352. description: 单据编号 - GZDEBSFW+单据流水号
  10353. type: string
  10354. ordersn:
  10355. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10356. type: string
  10357. origincountry:
  10358. description: 原产国
  10359. type: string
  10360. otherlogistics:
  10361. description: 指定其它物流
  10362. type: string
  10363. priceper:
  10364. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10365. type: number
  10366. settleamount:
  10367. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10368. type: number
  10369. shaperange:
  10370. description: 形状范围
  10371. type: string
  10372. taxmargin:
  10373. description: 税费保证金 - 确认结算费用时退回
  10374. type: number
  10375. totalamount:
  10376. description: 总值(美元)
  10377. type: number
  10378. totalgrossweightgm:
  10379. description: 总毛重(克)
  10380. type: number
  10381. totalnetweightgm:
  10382. description: 总净重(克)
  10383. type: number
  10384. totalnetweigthct:
  10385. description: 总净重(克拉)
  10386. type: number
  10387. totalnumber:
  10388. description: 总粒数
  10389. type: integer
  10390. userid:
  10391. description: 用户ID
  10392. type: integer
  10393. weightrange:
  10394. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10395. type: string
  10396. required:
  10397. - userid
  10398. type: object
  10399. models.GzbsfworderdetailM:
  10400. properties:
  10401. colorinfo:
  10402. description: 彩钻信息
  10403. type: string
  10404. createtime:
  10405. description: 创建时间
  10406. type: string
  10407. grossweightgm:
  10408. description: 毛重(克)
  10409. type: number
  10410. gzcjshape:
  10411. description: 形状(字符)
  10412. type: string
  10413. netweigthct:
  10414. description: 净重(克拉)
  10415. type: number
  10416. netweigthgm:
  10417. description: 净重(克)
  10418. type: number
  10419. ordercontent:
  10420. description: 内容
  10421. type: string
  10422. orderdetailid:
  10423. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10424. type: integer
  10425. orderid:
  10426. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10427. type: integer
  10428. orderindex:
  10429. description: 顺序
  10430. type: integer
  10431. perprice:
  10432. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10433. type: number
  10434. remark:
  10435. description: 备注(其它)
  10436. type: string
  10437. totalamount:
  10438. description: 总值(美元)
  10439. type: number
  10440. type: object
  10441. models.Gzbsfworderoperate:
  10442. properties:
  10443. advanceproofaddr:
  10444. description: 预付款收款凭证(确认结算费用时)
  10445. type: string
  10446. bankfee:
  10447. description: 汇款银行手续费
  10448. type: number
  10449. bankproofaddr:
  10450. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10451. type: string
  10452. customsproofaddr:
  10453. description: 海关税费保证金收据(确认结算费用时)
  10454. type: string
  10455. gzbsstatus:
  10456. description: 操作后单据状态 - 枚举"GZBSStatus"
  10457. type: integer
  10458. logisticsfee:
  10459. description: 代缴物流保险费
  10460. type: number
  10461. logisticsproofaddr:
  10462. description: 代缴物流保险费凭证(确认结算费用时)
  10463. type: string
  10464. operatetime:
  10465. description: 操作时间
  10466. type: string
  10467. operatoraccount:
  10468. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10469. type: string
  10470. operatorid:
  10471. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10472. type: integer
  10473. operatorname:
  10474. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10475. type: string
  10476. operatorsrc:
  10477. description: 操作人来源 - 1:管理端 2:终端
  10478. type: integer
  10479. orderid:
  10480. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10481. type: integer
  10482. otherfee:
  10483. description: 其它费用
  10484. type: number
  10485. remark:
  10486. description: 操作备注
  10487. type: string
  10488. servicefee:
  10489. description: 综合服务费
  10490. type: number
  10491. taxmargin:
  10492. description: 税费保证金
  10493. type: number
  10494. totalfee:
  10495. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10496. type: number
  10497. required:
  10498. - orderid
  10499. type: object
  10500. models.Gzcertaddressconfig:
  10501. properties:
  10502. certregion:
  10503. description: 证书地域 - 1:国内 2:国际
  10504. type: integer
  10505. certtype:
  10506. description: 证书类型
  10507. type: string
  10508. orderindex:
  10509. description: 显示顺序
  10510. type: integer
  10511. orgcnname:
  10512. description: 机构名称(中文)
  10513. type: string
  10514. orgenname:
  10515. description: 机构名称(英文)
  10516. type: string
  10517. queryaddress:
  10518. description: 查询地址
  10519. type: string
  10520. remark:
  10521. description: 备注
  10522. type: string
  10523. updatetime:
  10524. description: 更新时间
  10525. type: string
  10526. type: object
  10527. models.Gzcertaddressparam:
  10528. properties:
  10529. certtype:
  10530. description: 证书类型
  10531. type: string
  10532. orderindex:
  10533. description: 参数顺序
  10534. type: integer
  10535. paramkey:
  10536. description: 参数Key
  10537. type: string
  10538. paramname:
  10539. description: 参数名称
  10540. type: string
  10541. updatetime:
  10542. description: 更新时间
  10543. type: string
  10544. type: object
  10545. models.GzcjbsorderfileM:
  10546. properties:
  10547. canmembervisit:
  10548. description: 会员是否可访问 - 1:可 2:不可
  10549. type: integer
  10550. fileaddress:
  10551. description: 文件地址
  10552. type: string
  10553. filegentype:
  10554. description: 文件生成类型 - 1:系统生成 2:手动上传
  10555. type: integer
  10556. filename:
  10557. description: 文件名称
  10558. type: string
  10559. operatetime:
  10560. description: 操作时间
  10561. type: string
  10562. operatoraccount:
  10563. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10564. type: string
  10565. operatorid:
  10566. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10567. type: integer
  10568. operatorsrc:
  10569. description: 操作人来源 - 1:管理端 2:终端
  10570. type: integer
  10571. orderfileid:
  10572. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10573. type: integer
  10574. orderid:
  10575. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10576. type: integer
  10577. required:
  10578. - orderid
  10579. type: object
  10580. models.GzcjjcorderM:
  10581. properties:
  10582. accountid:
  10583. description: 资金账户ID
  10584. type: integer
  10585. addresscn:
  10586. description: 地址(中文)
  10587. type: string
  10588. addressen:
  10589. description: 地址(英文)
  10590. type: string
  10591. advanceamount:
  10592. description: 总预付款
  10593. type: number
  10594. colorrange:
  10595. description: 颜色范围
  10596. type: string
  10597. companynamecn:
  10598. description: 公司名称(中文)
  10599. type: string
  10600. companynameen:
  10601. description: 公司名称(英文)
  10602. type: string
  10603. contactname:
  10604. description: 联系人姓名
  10605. type: string
  10606. contactphoneno:
  10607. description: 联系人电话
  10608. type: string
  10609. contactposition:
  10610. description: 联系人职位
  10611. type: string
  10612. createtime:
  10613. description: 创建时间
  10614. type: string
  10615. email:
  10616. description: 邮箱
  10617. type: string
  10618. executestatus:
  10619. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10620. type: integer
  10621. gzcjaccount:
  10622. description: 送检账户
  10623. type: string
  10624. gzcjaccounttype:
  10625. description: 检测账户类型 - 枚举"GZCJAccountType"
  10626. type: integer
  10627. gzcjcategorytype:
  10628. description: 货物品类 - 枚举"GZCJCategoryType"
  10629. type: integer
  10630. gzcjcategorytypedisplay:
  10631. description: 货物品类
  10632. type: string
  10633. gzcjdeliverytype:
  10634. description: 收货方式 - 枚举"GZCJDeliveryType"
  10635. type: integer
  10636. gzcjdeliverytypedisplay:
  10637. description: 收货方式
  10638. type: string
  10639. gzcjstatus:
  10640. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10641. type: integer
  10642. gzcjstatusdisplay:
  10643. description: 单据状态(出境检测)
  10644. type: string
  10645. handlestatus:
  10646. description: 处理状态
  10647. type: integer
  10648. invoiceremark:
  10649. description: 复核备注 - 发票装箱单使用
  10650. type: string
  10651. orderid:
  10652. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10653. type: integer
  10654. orderno:
  10655. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10656. type: string
  10657. ordersn:
  10658. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10659. type: string
  10660. origincountry:
  10661. description: 原产国
  10662. type: string
  10663. processingcountry:
  10664. description: 成品钻石加工国
  10665. type: string
  10666. realservicefee:
  10667. description: 应收综合服务费
  10668. type: number
  10669. servicefeesum:
  10670. description: 汇总综合服务费 - 明细上值汇总
  10671. type: number
  10672. settleamount:
  10673. description: 总结算费用
  10674. type: number
  10675. shaperange:
  10676. description: 形状范围
  10677. type: string
  10678. totalamount:
  10679. description: 总金额(美元)
  10680. type: number
  10681. totalgrossweight:
  10682. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10683. * 200
  10684. type: number
  10685. totalnumber:
  10686. description: 总粒数
  10687. type: integer
  10688. totalweight:
  10689. description: 总克拉数(保留3位小数)
  10690. type: number
  10691. totalweightgm:
  10692. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10693. type: number
  10694. userid:
  10695. description: 用户ID
  10696. type: integer
  10697. weightrange:
  10698. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10699. type: string
  10700. zsorigin:
  10701. description: 天然钻石毛坯原产地
  10702. type: string
  10703. required:
  10704. - userid
  10705. type: object
  10706. models.GzcjjcorderdetailM:
  10707. properties:
  10708. amount:
  10709. description: 参考货值(USD)
  10710. type: number
  10711. colorinfo:
  10712. description: 彩钻信息
  10713. type: string
  10714. createtime:
  10715. description: 创建时间
  10716. type: string
  10717. gzcjmarktype:
  10718. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10719. type: integer
  10720. gzcjpublishtype:
  10721. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10722. type: integer
  10723. gzcjpublishtypestring:
  10724. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10725. type: string
  10726. gzcjservicetype:
  10727. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10728. type: integer
  10729. gzcjservicetypestring:
  10730. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10731. type: string
  10732. gzcjshapetype:
  10733. description: 形状 - 枚举"GZCJShapeType"
  10734. type: integer
  10735. gzcjshapetypestring:
  10736. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10737. type: string
  10738. gzno:
  10739. description: 货物编号
  10740. type: string
  10741. orderdetailid:
  10742. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10743. type: integer
  10744. orderid:
  10745. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10746. type: integer
  10747. orderindex:
  10748. description: 顺序
  10749. type: integer
  10750. origincertno:
  10751. description: 原证书号【送检账户为“广钻账户”】
  10752. type: string
  10753. remark:
  10754. description: 备注(其它)
  10755. type: string
  10756. servicefee:
  10757. description: 综合服务费 - 根据市场配置计算
  10758. type: number
  10759. weight:
  10760. description: 重量(CT)
  10761. type: number
  10762. type: object
  10763. models.Gzrapaportprice:
  10764. properties:
  10765. dollar:
  10766. description: 美元
  10767. type: string
  10768. rmb:
  10769. description: 人民币
  10770. type: string
  10771. type: object
  10772. models.Hedgeinnerholderdetail:
  10773. properties:
  10774. accountid:
  10775. description: 账号ID
  10776. type: integer
  10777. buyorsell:
  10778. description: 方向 - 0:买 1:卖
  10779. type: integer
  10780. freezeqty:
  10781. description: 冻结数量 - 按单平使用
  10782. type: integer
  10783. goodsid:
  10784. description: 商品ID
  10785. type: integer
  10786. holderamount:
  10787. description: 持仓金额 [商品币种]
  10788. type: number
  10789. holderdays:
  10790. description: 剩余冻结天数
  10791. type: integer
  10792. holderprice:
  10793. description: 持仓价格
  10794. type: number
  10795. holderqty:
  10796. description: 持仓数量
  10797. type: integer
  10798. marketid:
  10799. description: 市场ID
  10800. type: integer
  10801. openprice:
  10802. description: 建仓价格
  10803. type: number
  10804. openqty:
  10805. description: 建仓数量
  10806. type: integer
  10807. parentaccountid:
  10808. description: 所属母账户
  10809. type: integer
  10810. releaseamount:
  10811. description: 释放持仓金额[商品币种]
  10812. type: number
  10813. tradeamount:
  10814. description: 成交金额[账户]
  10815. type: number
  10816. tradedate:
  10817. description: 交易日(yyyyMMdd)
  10818. type: string
  10819. tradeid:
  10820. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10821. type: string
  10822. tradetime:
  10823. description: 交易时间
  10824. type: string
  10825. required:
  10826. - buyorsell
  10827. - tradeid
  10828. type: object
  10829. models.Hedgemarketopenlog:
  10830. properties:
  10831. accountid:
  10832. description: 资金账号[外部母账户]
  10833. type: integer
  10834. fcname:
  10835. description: 期货公司名称
  10836. type: string
  10837. handlestatus:
  10838. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10839. type: integer
  10840. marketid:
  10841. description: 市场ID
  10842. type: integer
  10843. status:
  10844. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10845. type: integer
  10846. tradedate:
  10847. description: 交易日(yyyyMMdd)
  10848. type: string
  10849. updatetime:
  10850. description: 更新时间
  10851. type: string
  10852. required:
  10853. - accountid
  10854. type: object
  10855. models.InternalEnableTradeDetail:
  10856. properties:
  10857. agreeunit:
  10858. description: 合约乘数
  10859. type: number
  10860. areauserid:
  10861. description: 企业ID
  10862. type: integer
  10863. convertratio:
  10864. description: 品种系数
  10865. type: number
  10866. deliverygoodscode:
  10867. description: 现货品种代码
  10868. type: string
  10869. deliverygoodsid:
  10870. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10871. type: integer
  10872. deliverygoodsname:
  10873. description: 现货品种名称
  10874. type: string
  10875. futurehedgeqty:
  10876. description: '[已关联数量]期货持仓套期量'
  10877. type: number
  10878. goodsid:
  10879. description: 期货合约ID
  10880. type: integer
  10881. hedgeditemid:
  10882. description: 被套期项目ID
  10883. type: string
  10884. hedgeditemnum:
  10885. description: 项目编号
  10886. type: string
  10887. tradeuserid:
  10888. description: 交易用户ID
  10889. type: integer
  10890. unexehedgeqty:
  10891. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10892. type: number
  10893. unexespotqty:
  10894. description: 未执行现货量
  10895. type: number
  10896. wrstandardcode:
  10897. description: 现货品类代码
  10898. type: string
  10899. wrstandardid:
  10900. description: 现货品类ID(SEQ_WRSTANDARD)
  10901. type: integer
  10902. wrstandardname:
  10903. description: 现货品类名称
  10904. type: string
  10905. required:
  10906. - areauserid
  10907. - goodsid
  10908. - tradeuserid
  10909. type: object
  10910. models.InternalUncorrelatedTradeDetail:
  10911. properties:
  10912. accountid:
  10913. description: 账号ID
  10914. type: integer
  10915. accountname:
  10916. description: 套期主体
  10917. type: string
  10918. agreeunit:
  10919. description: 合约乘数
  10920. type: number
  10921. areauserid:
  10922. description: 所属机构
  10923. type: integer
  10924. bizsubjectid:
  10925. description: 归属业务部门ID - SubjectID
  10926. type: integer
  10927. buyorsell:
  10928. description: 方向 - 0:买 1:卖
  10929. type: integer
  10930. channelbuildtype:
  10931. description: 委托单据类型 0:无 1:建仓 2:平仓
  10932. type: integer
  10933. convertratio:
  10934. description: 品种系数
  10935. type: number
  10936. createtime:
  10937. description: 创建时间
  10938. type: string
  10939. creatorid:
  10940. description: 创建人ID
  10941. type: integer
  10942. creatorsrc:
  10943. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10944. type: integer
  10945. enableqty:
  10946. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10947. type: number
  10948. enumdicname:
  10949. description: 单位
  10950. type: string
  10951. goodscode:
  10952. description: 合约代码
  10953. type: string
  10954. goodsgroupid:
  10955. description: 对冲品种ID[期货合约商品组ID]
  10956. type: integer
  10957. goodsid:
  10958. description: 商品ID
  10959. type: integer
  10960. goodsname:
  10961. description: 合约名称
  10962. type: string
  10963. hedgeditemid:
  10964. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10965. type: integer
  10966. hedgeflag:
  10967. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10968. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10969. type: integer
  10970. linkdetailid:
  10971. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10972. type: string
  10973. linkstatus:
  10974. description: 关联状态 - 1:成功 2:失败 3:解绑
  10975. type: integer
  10976. middlegoodsid:
  10977. description: 套保品种ID
  10978. type: integer
  10979. middlegoodsqty:
  10980. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10981. type: number
  10982. relatedlot:
  10983. description: '[数量]关联手数'
  10984. type: number
  10985. relatedmode:
  10986. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10987. type: integer
  10988. relatedqty:
  10989. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10990. type: number
  10991. retcode:
  10992. description: 返回码
  10993. type: integer
  10994. saleuserid:
  10995. description: 业务员ID
  10996. type: integer
  10997. tradedate:
  10998. description: 关联交易日(yyyyMMdd)
  10999. type: string
  11000. tradeid:
  11001. description: 成交单号
  11002. type: string
  11003. tradelot:
  11004. description: 成交手数
  11005. type: integer
  11006. tradeprice:
  11007. description: 成交价
  11008. type: number
  11009. tradetime:
  11010. description: 成交时间
  11011. type: string
  11012. tradetradedate:
  11013. description: 成交交易日(yyyyMMdd)
  11014. type: string
  11015. tradeuserid:
  11016. description: 交易用户ID
  11017. type: integer
  11018. type: object
  11019. models.Loginaccount:
  11020. properties:
  11021. accountname:
  11022. description: 账户名称
  11023. type: string
  11024. canoutin:
  11025. description: 是否可出入金 - 0:不可 1:可
  11026. type: integer
  11027. clientroleid:
  11028. description: 终端角色ID
  11029. type: integer
  11030. haslogined:
  11031. description: 是否已登录 - 0:未登录 1:已登录
  11032. type: integer
  11033. hasupdatedpwd:
  11034. description: 是否已更改密码 - 0:未修改 1:已修改
  11035. type: integer
  11036. lastloginip:
  11037. description: 最新登录地址
  11038. type: string
  11039. lastloginmode:
  11040. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11041. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11042. type: integer
  11043. lastloginremark:
  11044. description: 最新登录描述
  11045. type: string
  11046. lastlogintime:
  11047. description: 最新登录时间
  11048. type: string
  11049. logincode:
  11050. description: 登录代码
  11051. type: string
  11052. loginfailnum:
  11053. description: 连续登录失败次数(登录成功时清零)
  11054. type: integer
  11055. loginid:
  11056. description: 登陆账号
  11057. type: integer
  11058. loginport:
  11059. description: 最新登录端口
  11060. type: integer
  11061. loginstatus:
  11062. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11063. type: integer
  11064. loginusertype:
  11065. description: 登录账号类型 - 1:投资者 2:机构交易员
  11066. type: integer
  11067. mobile:
  11068. description: 手机号码(加密存储)
  11069. type: string
  11070. modifierid:
  11071. description: 修改人
  11072. type: integer
  11073. modifysrc:
  11074. description: 审核来源 - 1:管理端 2:终端
  11075. type: integer
  11076. modifytime:
  11077. description: 修改时间
  11078. type: string
  11079. pwdwrongcount:
  11080. description: 密码错误次数
  11081. type: integer
  11082. relateduserid:
  11083. description: 关联用户ID(机构)
  11084. type: integer
  11085. taaccountrighttype:
  11086. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11087. type: integer
  11088. unfreezetime:
  11089. description: 账户解冻时间
  11090. type: string
  11091. userid:
  11092. description: 用户ID
  11093. type: integer
  11094. required:
  11095. - loginid
  11096. type: object
  11097. models.MainAccountInfo:
  11098. properties:
  11099. accountid:
  11100. description: 账号id
  11101. type: integer
  11102. accountname:
  11103. description: 账号名称(taaccount表中的名称)
  11104. type: string
  11105. appid:
  11106. description: AppID
  11107. type: string
  11108. authcode:
  11109. description: 授权码
  11110. type: string
  11111. brokerid:
  11112. description: 经纪商id
  11113. type: string
  11114. fcid:
  11115. description: 期货公司id
  11116. type: integer
  11117. fcname:
  11118. description: 期货公司代码
  11119. type: string
  11120. hedgeaccountcode:
  11121. description: 外部账号代码(主账号登录代码)
  11122. type: string
  11123. hedgeaccountpwd:
  11124. description: 密码
  11125. type: string
  11126. ismain:
  11127. description: 是否主账号
  11128. type: integer
  11129. relateduserid:
  11130. description: 关联用户id
  11131. type: integer
  11132. userid:
  11133. description: 关联用户id
  11134. type: integer
  11135. type: object
  11136. models.Market:
  11137. properties:
  11138. auctionwrtype:
  11139. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11140. type: integer
  11141. canacceptquote:
  11142. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11143. type: integer
  11144. cangoodsexercise:
  11145. description: '[期权]是否可现货行权- 0:否 1:是'
  11146. type: integer
  11147. cangoodsexercisetype:
  11148. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11149. type: integer
  11150. canmanualquotestrike:
  11151. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11152. type: integer
  11153. canmutistage:
  11154. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11155. type: integer
  11156. canpreexercise:
  11157. description: '[期权]是否可预申报- 0:否 1:是'
  11158. type: integer
  11159. clearinterval:
  11160. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11161. type: integer
  11162. contracttmp:
  11163. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11164. type: string
  11165. exchareaid:
  11166. description: 所属交易所,可以没有
  11167. type: integer
  11168. goodstype:
  11169. description: 商品类型 - 1:交易商品 2:仓单商品
  11170. type: integer
  11171. hasrebate:
  11172. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11173. type: integer
  11174. hastradecredit:
  11175. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11176. type: integer
  11177. haswr:
  11178. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11179. type: integer
  11180. isdeductmargin:
  11181. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11182. type: integer
  11183. isrecordsource:
  11184. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11185. type: integer
  11186. isreleasemargin:
  11187. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11188. type: integer
  11189. marginformula:
  11190. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11191. type: integer
  11192. marginformula2:
  11193. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11194. type: integer
  11195. marketid:
  11196. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11197. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11198. type: integer
  11199. marketname:
  11200. description: 市场名称
  11201. type: string
  11202. marketserviceid:
  11203. description: 市场服务ID
  11204. type: integer
  11205. marketstatus:
  11206. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11207. type: integer
  11208. markettype:
  11209. description: 市场类型- 1:非交易服务 2:交易服务
  11210. type: integer
  11211. matchermode:
  11212. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11213. type: integer
  11214. openmethod:
  11215. description: 开盘模式 - 0 自动 1手动
  11216. type: integer
  11217. otcuserid:
  11218. description: 场外期权做市商[场外期权]
  11219. type: integer
  11220. outersynctime:
  11221. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11222. type: string
  11223. pendingflag:
  11224. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11225. type: integer
  11226. pendingtime:
  11227. description: 待开市时间[通道交易-对冲](HH:mm)
  11228. type: string
  11229. performancetempid:
  11230. description: 履约计划模板ID - 作废
  11231. type: integer
  11232. premiumquotemode:
  11233. description: 权利金报价方式 - 1:自动 2:手动
  11234. type: integer
  11235. rebateratio:
  11236. description: 返利比率[竞价式]
  11237. type: number
  11238. reckonorder:
  11239. description: 结算顺序
  11240. type: integer
  11241. reckonpricealgorithm:
  11242. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11243. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11244. type: integer
  11245. reckonpriceparam:
  11246. description: 结算价参数
  11247. type: integer
  11248. reckontime:
  11249. description: 结算时间[通道交易-对冲](HH:mm)
  11250. type: string
  11251. roleprioritytype:
  11252. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11253. type: integer
  11254. selllistingauditflag:
  11255. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11256. type: integer
  11257. trademarkettype:
  11258. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11259. type: integer
  11260. trademode:
  11261. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11262. 21:竞拍-大宗式 22:受托竞价
  11263. type: integer
  11264. tradeproperty:
  11265. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11266. 8:场外期权
  11267. type: integer
  11268. tradetype:
  11269. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11270. type: integer
  11271. required:
  11272. - marketid
  11273. - marketstatus
  11274. - openmethod
  11275. - reckonpricealgorithm
  11276. - trademode
  11277. - tradeproperty
  11278. type: object
  11279. models.Marketcalendar:
  11280. properties:
  11281. holidaydate:
  11282. description: 节假日期(yyyy-MM-dd)
  11283. type: string
  11284. marketid:
  11285. description: 市场ID
  11286. type: integer
  11287. type: object
  11288. models.Marketrun:
  11289. properties:
  11290. afternexttradedate:
  11291. description: 下下交易日
  11292. type: string
  11293. clearquoteflag:
  11294. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11295. type: integer
  11296. lastreckondate:
  11297. description: 最新交易日(结算成功)
  11298. type: string
  11299. machinedate:
  11300. description: 机器时间
  11301. type: string
  11302. manualflag:
  11303. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11304. type: integer
  11305. marketid:
  11306. description: 市场ID
  11307. type: integer
  11308. nexttradedate:
  11309. description: 下一交易日
  11310. type: string
  11311. pretradedate:
  11312. description: 上一交易日
  11313. type: string
  11314. reckonflag:
  11315. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11316. type: integer
  11317. runstatus:
  11318. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11319. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11320. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11321. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11322. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11323. 62.今日免清算
  11324. type: integer
  11325. sectionid:
  11326. description: 时间段号[多时段时用]
  11327. type: integer
  11328. tradedate:
  11329. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11330. type: string
  11331. tradedate2:
  11332. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11333. type: string
  11334. updatetime:
  11335. description: 更新时间
  11336. type: string
  11337. required:
  11338. - marketid
  11339. - nexttradedate
  11340. - reckonflag
  11341. - runstatus
  11342. - tradedate
  11343. - tradedate2
  11344. type: object
  11345. models.Messageboard:
  11346. properties:
  11347. contactnum:
  11348. description: 联系电话
  11349. type: string
  11350. createtime:
  11351. description: 创建时间
  11352. type: string
  11353. message:
  11354. description: 留言信息
  11355. type: string
  11356. messageboardid:
  11357. description: 留言簿ID(SEQ_MessageBoard)
  11358. type: integer
  11359. userid:
  11360. description: 用户ID
  11361. type: integer
  11362. required:
  11363. - messageboardid
  11364. type: object
  11365. models.MyBargainApply:
  11366. properties:
  11367. accountid:
  11368. description: 摘牌资金账号
  11369. type: integer
  11370. applyprice:
  11371. description: 申请价格
  11372. type: string
  11373. applyremark:
  11374. description: 申请备注
  11375. type: string
  11376. applystatus:
  11377. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11378. type: integer
  11379. applytime:
  11380. description: 申请时间
  11381. type: string
  11382. buyorsell:
  11383. description: 买卖 - 0:买 1:卖
  11384. type: integer
  11385. buyusername:
  11386. description: 买方
  11387. type: string
  11388. confirmprice:
  11389. description: 可接受价格(拒绝时填写)-作废
  11390. type: number
  11391. confirmqty:
  11392. description: 可接受数量(拒绝时填写)-作废
  11393. type: integer
  11394. confirmremark:
  11395. description: 确认备注
  11396. type: string
  11397. confirmtime:
  11398. description: 确认时间
  11399. type: string
  11400. confirmuserid:
  11401. description: 确认人
  11402. type: integer
  11403. goodsno:
  11404. description: 商品编号
  11405. type: string
  11406. handlestatus:
  11407. description: 处理状态
  11408. type: integer
  11409. ladingbillid:
  11410. description: 摘牌方提单ID [卖]
  11411. type: integer
  11412. marketid:
  11413. description: 市场ID
  11414. type: integer
  11415. matchaccountid:
  11416. description: 挂牌方资金账号
  11417. type: integer
  11418. matchuserid:
  11419. description: 挂牌方用户ID
  11420. type: integer
  11421. performancetemplateid:
  11422. description: 履约计划模板ID
  11423. type: integer
  11424. price:
  11425. description: 价格
  11426. type: number
  11427. priceper:
  11428. description: 克拉单价 - 类型:1,2,3,5
  11429. type: string
  11430. qty:
  11431. description: 申请数量
  11432. type: number
  11433. refprice:
  11434. description: 参考价格
  11435. type: string
  11436. retcode:
  11437. description: 委托返回代码
  11438. type: integer
  11439. sellusername:
  11440. description: 卖方
  11441. type: string
  11442. sizedisplay:
  11443. description: 尺寸
  11444. type: string
  11445. subnum:
  11446. description: 摘牌方提单子单号 [卖]
  11447. type: integer
  11448. tradedate:
  11449. description: 交易日(yyyyMMdd)
  11450. type: string
  11451. userid:
  11452. description: 摘牌人用户ID
  11453. type: integer
  11454. warehousenamedisplay:
  11455. type: string
  11456. wrbargainid:
  11457. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11458. type: string
  11459. wrtradeorderid:
  11460. description: 关联委托单ID
  11461. type: string
  11462. zscerttypedisplay:
  11463. type: string
  11464. zsclaritytype1display:
  11465. type: string
  11466. zsclaritytype2display:
  11467. type: string
  11468. zscolortype1display:
  11469. type: string
  11470. zscolortype2display:
  11471. type: string
  11472. zscrystaltypedisplay:
  11473. type: string
  11474. zscurrencytypedisplay:
  11475. type: string
  11476. zscurrencytypedisplayunit:
  11477. type: string
  11478. zscuttype1display:
  11479. type: string
  11480. zscuttype2display:
  11481. type: string
  11482. zsczcolor1typedisplay:
  11483. type: string
  11484. zsczcolor2typedisplay:
  11485. type: string
  11486. zsczcolor3typedisplay:
  11487. type: string
  11488. zsfluorescencetype1display:
  11489. type: string
  11490. zsfluorescencetype2display:
  11491. type: string
  11492. zspolishtype1display:
  11493. type: string
  11494. zspolishtype2display:
  11495. type: string
  11496. zsshapetypedisplay:
  11497. type: string
  11498. zsstyletypedisplay:
  11499. type: string
  11500. zssymmetrytype1display:
  11501. type: string
  11502. zssymmetrytype2display:
  11503. type: string
  11504. required:
  11505. - userid
  11506. type: object
  11507. models.MyBuyOrder:
  11508. properties:
  11509. accountid:
  11510. description: 资金账户ID
  11511. type: integer
  11512. marketid:
  11513. description: 市场ID
  11514. type: integer
  11515. ordertime:
  11516. description: 委托时间
  11517. type: string
  11518. origin:
  11519. description: 原产地
  11520. type: string
  11521. performancetemplateid:
  11522. description: 履约计划模板ID
  11523. type: integer
  11524. remark:
  11525. description: 备注
  11526. type: string
  11527. userid:
  11528. description: 用户ID
  11529. type: integer
  11530. validtime:
  11531. description: 有效期限
  11532. type: string
  11533. warehouseids:
  11534. description: 仓库ID - 多个, 逗号分隔
  11535. type: string
  11536. warehouseinfosdisplay:
  11537. type: string
  11538. wrtradeorderid:
  11539. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11540. type: string
  11541. wrtradeorderstatus:
  11542. 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、
  11543. type: integer
  11544. zscategory:
  11545. description: 钻石分类 - 枚举”ZSCategory“
  11546. type: integer
  11547. zscategorydisplay:
  11548. type: string
  11549. zsclaritytype:
  11550. description: 净度 - 两个, 逗号分隔
  11551. type: string
  11552. zsclaritytypedisplay:
  11553. type: string
  11554. zscolortype:
  11555. description: 颜色 - 两个, 逗号分隔
  11556. type: string
  11557. zscolortypedisplay:
  11558. type: string
  11559. zscrystaltype:
  11560. description: 晶型 - 多个,逗号分隔
  11561. type: string
  11562. zscrystaltypedisplay:
  11563. type: string
  11564. zscurrencytype:
  11565. description: 货币类型 - 多个, 逗号分隔
  11566. type: string
  11567. zscurrencytypedisplay:
  11568. type: string
  11569. zscuttype:
  11570. description: 切工 - 两个, 逗号分隔
  11571. type: string
  11572. zscuttypedisplay:
  11573. type: string
  11574. zsczcolor1type:
  11575. description: 彩钻颜色1, 逗号分隔
  11576. type: string
  11577. zsczcolor1typedisplay:
  11578. type: string
  11579. zsczcolor2type:
  11580. description: 彩钻颜色2, 逗号分隔
  11581. type: string
  11582. zsczcolor2typedisplay:
  11583. type: string
  11584. zsczcolor3type:
  11585. description: 彩钻颜色3, 逗号分隔
  11586. type: string
  11587. zsczcolor3typedisplay:
  11588. type: string
  11589. zsfluorescencetype:
  11590. description: 荧光 - 多个, 逗号分隔
  11591. type: string
  11592. zsfluorescencetypedisplay:
  11593. type: string
  11594. zspolishtype:
  11595. description: 抛光度 - 两个, 逗号分隔
  11596. type: string
  11597. zspolishtypedisplay:
  11598. type: string
  11599. zsshapetype:
  11600. description: 形状 - 多个, 逗号分隔
  11601. type: string
  11602. zsshapetypedisplay:
  11603. type: string
  11604. zssize:
  11605. description: 尺寸 - 两个小数, 逗号分隔
  11606. type: string
  11607. zsstyletype:
  11608. description: 款式 - 多个, 逗号分隔
  11609. type: string
  11610. zsstyletypedisplay:
  11611. type: string
  11612. zssymmetrytype:
  11613. description: 对称度 - 两个, 逗号分隔
  11614. type: string
  11615. zssymmetrytypedisplay:
  11616. type: string
  11617. zstabledisplay:
  11618. description: 求购信息
  11619. type: string
  11620. required:
  11621. - userid
  11622. type: object
  11623. models.MyDeListing:
  11624. properties:
  11625. buyaccountid:
  11626. description: 买方账号ID
  11627. type: integer
  11628. buychargevalue:
  11629. description: 买方手续费
  11630. type: number
  11631. buyuserid:
  11632. description: 买方用户ID
  11633. type: integer
  11634. deliverygoodsid:
  11635. description: 现货品种ID
  11636. type: integer
  11637. exchangerate:
  11638. description: 汇率
  11639. type: number
  11640. goodsno:
  11641. description: 商品编号
  11642. type: string
  11643. marketid:
  11644. description: 市场ID
  11645. type: integer
  11646. matchusername:
  11647. description: 对手方
  11648. type: string
  11649. oritradeamount:
  11650. description: 成交金额[商品币种]
  11651. type: number
  11652. performanceplanid:
  11653. description: 履约计划ID/合同ID
  11654. type: string
  11655. price:
  11656. description: 价格
  11657. type: number
  11658. qty:
  11659. description: 成交重量
  11660. type: number
  11661. sellaccountid:
  11662. description: 卖方账号ID
  11663. type: integer
  11664. sellchargevalue:
  11665. description: 卖方手续费
  11666. type: number
  11667. selluserid:
  11668. description: 卖方用户ID
  11669. type: integer
  11670. sizedisplay:
  11671. description: 尺寸
  11672. type: string
  11673. tradeamount:
  11674. description: 成交金额
  11675. type: number
  11676. tradedate:
  11677. description: 交易日(yyyyMMdd)
  11678. type: string
  11679. tradeprice:
  11680. description: 成交价格
  11681. type: number
  11682. tradetime:
  11683. description: 成交时间
  11684. type: string
  11685. userid:
  11686. description: 用户ID
  11687. type: integer
  11688. warehousenamedisplay:
  11689. type: string
  11690. wrfactortypeid:
  11691. description: 仓单要素类型ID
  11692. type: integer
  11693. wrstandardid:
  11694. description: 现货商品ID
  11695. type: integer
  11696. wrtradedetailid:
  11697. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11698. type: string
  11699. zscategory:
  11700. description: 钻石分类 - 枚举”ZSCategory“
  11701. type: integer
  11702. zscategorydisplay:
  11703. type: string
  11704. zscerttypedisplay:
  11705. type: string
  11706. zsclaritytype1display:
  11707. type: string
  11708. zsclaritytype2display:
  11709. type: string
  11710. zscolortype1display:
  11711. type: string
  11712. zscolortype2display:
  11713. type: string
  11714. zscrystaltypedisplay:
  11715. type: string
  11716. zscurrencytype:
  11717. description: 货币类型 - 枚举“ZSCurrencyType”
  11718. type: integer
  11719. zscurrencytypedisplay:
  11720. type: string
  11721. zscurrencytypedisplayunit:
  11722. type: string
  11723. zscuttype1display:
  11724. type: string
  11725. zscuttype2display:
  11726. type: string
  11727. zsczcolor1typedisplay:
  11728. type: string
  11729. zsczcolor2typedisplay:
  11730. type: string
  11731. zsczcolor3typedisplay:
  11732. type: string
  11733. zsfluorescencetype1display:
  11734. type: string
  11735. zsfluorescencetype2display:
  11736. type: string
  11737. zspolishtype1display:
  11738. type: string
  11739. zspolishtype2display:
  11740. type: string
  11741. zsshapetypedisplay:
  11742. type: string
  11743. zsstyletypedisplay:
  11744. type: string
  11745. zssymmetrytype1display:
  11746. type: string
  11747. zssymmetrytype2display:
  11748. type: string
  11749. required:
  11750. - userid
  11751. type: object
  11752. models.MyDelistingApply:
  11753. properties:
  11754. applyprice:
  11755. description: 申请价格
  11756. type: number
  11757. applyqty:
  11758. description: 申请数量
  11759. type: number
  11760. applyremark:
  11761. description: 申请备注
  11762. type: string
  11763. applystatus:
  11764. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11765. type: integer
  11766. applytime:
  11767. description: 申请时间
  11768. type: string
  11769. auditremark:
  11770. description: 确认备注
  11771. type: string
  11772. audittime:
  11773. description: 确认时间
  11774. type: string
  11775. buyuserid:
  11776. description: 买方用户ID
  11777. type: integer
  11778. buyusername:
  11779. description: 买方
  11780. type: string
  11781. buywrtradeorderid:
  11782. description: 买委托单ID
  11783. type: string
  11784. goodsno:
  11785. description: 商品编号
  11786. type: string
  11787. ladingbillid:
  11788. description: 卖方提单ID
  11789. type: string
  11790. marketid:
  11791. description: 市场ID
  11792. type: integer
  11793. performancetemplateid:
  11794. description: 履约计划模板ID
  11795. type: integer
  11796. price:
  11797. description: 价格
  11798. type: number
  11799. sellaccountid:
  11800. description: 卖方账户ID
  11801. type: integer
  11802. selldelistingapplyid:
  11803. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11804. type: string
  11805. selltradeorderid:
  11806. description: 卖方委托ID(买方确认成交后更新)
  11807. type: string
  11808. selluserid:
  11809. description: 卖方用户ID
  11810. type: integer
  11811. sellusername:
  11812. description: 卖方
  11813. type: string
  11814. sizedisplay:
  11815. description: 尺寸
  11816. type: string
  11817. subnum:
  11818. description: 卖方提单子单号
  11819. type: integer
  11820. warehouseinfosdisplay:
  11821. type: string
  11822. weight:
  11823. description: 克拉重量
  11824. type: number
  11825. wrfactortypeid:
  11826. description: 仓单要素类型ID
  11827. type: string
  11828. wrstandardid:
  11829. description: 现货商品ID
  11830. type: integer
  11831. zsallproperties:
  11832. type: string
  11833. zscategorydisplay:
  11834. type: string
  11835. zsclaritytypedisplay:
  11836. type: string
  11837. zscolortypedisplay:
  11838. type: string
  11839. zscrystaltypedisplay:
  11840. type: string
  11841. zscurrencytypedisplay:
  11842. type: string
  11843. zscurrencytypedisplayunit:
  11844. description: 价格单位
  11845. type: string
  11846. zscuttypedisplay:
  11847. type: string
  11848. zsczcolor1typedisplay:
  11849. type: string
  11850. zsczcolor2typedisplay:
  11851. type: string
  11852. zsczcolor3typedisplay:
  11853. type: string
  11854. zsfluorescencetypedisplay:
  11855. type: string
  11856. zspolishtypedisplay:
  11857. type: string
  11858. zsshapetypedisplay:
  11859. type: string
  11860. zssizedisplay:
  11861. type: string
  11862. zsstyletypedisplay:
  11863. type: string
  11864. zssymmetrytypedisplay:
  11865. type: string
  11866. zstabledisplay:
  11867. type: string
  11868. required:
  11869. - selluserid
  11870. type: object
  11871. models.MyFavorite:
  11872. properties:
  11873. accountname:
  11874. description: 账户名称(机构名称)
  11875. type: string
  11876. buyorsell:
  11877. description: 买卖 - 0:买 1:卖
  11878. type: integer
  11879. favoritestatus:
  11880. description: 收藏状态 - 1:正常 2:失效
  11881. type: integer
  11882. goodsno:
  11883. description: 商品编号
  11884. type: string
  11885. marketid:
  11886. description: 市场ID
  11887. type: integer
  11888. marketprice:
  11889. description: 市场价
  11890. type: string
  11891. price:
  11892. description: 价格
  11893. type: number
  11894. priceper:
  11895. description: 克拉单价
  11896. type: string
  11897. sellusername:
  11898. description: 卖家
  11899. type: string
  11900. sizedisplay:
  11901. description: 尺寸
  11902. type: string
  11903. userid:
  11904. description: 用户ID
  11905. type: integer
  11906. warehousenamedisplay:
  11907. description: 仓库名称
  11908. type: string
  11909. weight:
  11910. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11911. type: number
  11912. weightavg:
  11913. description: 平均单颗重量 - 类型:1,3
  11914. type: number
  11915. wrfactortypeid:
  11916. description: 仓单要素类型ID/商品ID(77)
  11917. type: string
  11918. wrstandardid:
  11919. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11920. type: integer
  11921. wrtradeorderid:
  11922. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11923. type: string
  11924. zscategory:
  11925. description: 钻石分类 - 枚举”ZSCategory“
  11926. type: integer
  11927. zscategorydisplay:
  11928. type: string
  11929. zscerttypedisplay:
  11930. type: string
  11931. zsclaritytype1display:
  11932. type: string
  11933. zsclaritytype2display:
  11934. type: string
  11935. zscolortype1display:
  11936. type: string
  11937. zscolortype2display:
  11938. type: string
  11939. zscrystaltypedisplay:
  11940. type: string
  11941. zscurrencytypedisplay:
  11942. type: string
  11943. zscurrencytypedisplayunit:
  11944. type: string
  11945. zscuttype1display:
  11946. type: string
  11947. zscuttype2display:
  11948. type: string
  11949. zsczcolor1typedisplay:
  11950. type: string
  11951. zsczcolor2typedisplay:
  11952. type: string
  11953. zsczcolor3typedisplay:
  11954. type: string
  11955. zsfluorescencetype1display:
  11956. type: string
  11957. zsfluorescencetype2display:
  11958. type: string
  11959. zspolishtype1display:
  11960. type: string
  11961. zspolishtype2display:
  11962. type: string
  11963. zsshapetypedisplay:
  11964. type: string
  11965. zsstyletypedisplay:
  11966. type: string
  11967. zssymmetrytype1display:
  11968. type: string
  11969. zssymmetrytype2display:
  11970. type: string
  11971. required:
  11972. - userid
  11973. type: object
  11974. models.MyPerformanc:
  11975. properties:
  11976. accountname:
  11977. description: '[对手方]账户名称(机构名称)'
  11978. type: string
  11979. amount:
  11980. description: 履约金额
  11981. type: number
  11982. buyaccountid:
  11983. description: 买方账号
  11984. type: integer
  11985. buyerfreezeamount:
  11986. description: 买方履约前冻结资金
  11987. type: number
  11988. buyerfreezeamountremain:
  11989. description: 买方履约前冻结资金剩余
  11990. type: number
  11991. buyerinfo:
  11992. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11993. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11994. type: string
  11995. buyorsell:
  11996. description: 方向 - 0:买 1:卖
  11997. type: integer
  11998. buypaidamount:
  11999. description: 买方已冻/已扣金额
  12000. type: number
  12001. buytodayamount:
  12002. description: 买方今日扣/冻金额 (待开市时清零)
  12003. type: number
  12004. curstepid:
  12005. description: 当前步骤ID
  12006. type: string
  12007. goodsno:
  12008. description: 商品编号
  12009. type: string
  12010. overshortamount:
  12011. description: 溢短金额
  12012. type: number
  12013. paymenttype:
  12014. description: 买方支付方式 - 1:冻结 2:扣款
  12015. type: integer
  12016. performanceplanid:
  12017. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  12018. type: string
  12019. performancestatus:
  12020. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  12021. 9:超时待处理 10:超时关闭
  12022. type: integer
  12023. price:
  12024. description: 价格
  12025. type: number
  12026. priceper:
  12027. description: 克拉单价
  12028. type: string
  12029. relatedorderid:
  12030. description: 关联单号(履约类型的关联单号)
  12031. type: string
  12032. remaindays:
  12033. description: 剩余天数
  12034. type: integer
  12035. sellerfreezeamount:
  12036. description: 卖方履约前冻结资金
  12037. type: number
  12038. sellerfreezeamountremain:
  12039. description: 卖方履约前冻结资金剩余
  12040. type: number
  12041. sellerinfo:
  12042. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12043. "xxxxxxxx"}'
  12044. type: string
  12045. sellreceivedamount:
  12046. description: 卖方已收金额
  12047. type: number
  12048. selltodayamount:
  12049. description: 卖方今日收取金额(待开市时清零)
  12050. type: number
  12051. sizedisplay:
  12052. description: 尺寸
  12053. type: string
  12054. steptypeid:
  12055. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  12056. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  12057. type: integer
  12058. warehousenamedisplay:
  12059. type: string
  12060. zscategorydisplay:
  12061. type: string
  12062. zscerttypedisplay:
  12063. type: string
  12064. zsclaritytype1display:
  12065. type: string
  12066. zsclaritytype2display:
  12067. type: string
  12068. zscolortype1display:
  12069. type: string
  12070. zscolortype2display:
  12071. type: string
  12072. zscrystaltypedisplay:
  12073. type: string
  12074. zscurrencytypedisplay:
  12075. type: string
  12076. zscurrencytypedisplayunit:
  12077. type: string
  12078. zscuttype1display:
  12079. type: string
  12080. zscuttype2display:
  12081. type: string
  12082. zsczcolor1typedisplay:
  12083. type: string
  12084. zsczcolor2typedisplay:
  12085. type: string
  12086. zsczcolor3typedisplay:
  12087. type: string
  12088. zsfluorescencetype1display:
  12089. type: string
  12090. zsfluorescencetype2display:
  12091. type: string
  12092. zspolishtype1display:
  12093. type: string
  12094. zspolishtype2display:
  12095. type: string
  12096. zsshapetypedisplay:
  12097. type: string
  12098. zsstyletypedisplay:
  12099. type: string
  12100. zssymmetrytype1display:
  12101. type: string
  12102. zssymmetrytype2display:
  12103. type: string
  12104. type: object
  12105. models.MyRefer:
  12106. properties:
  12107. accountname:
  12108. description: 用户名(脱敏)
  12109. type: string
  12110. createtime:
  12111. description: 时间(yyyy-mm-dd)
  12112. type: string
  12113. score:
  12114. description: 积分
  12115. type: number
  12116. type: object
  12117. models.MySellOrder:
  12118. properties:
  12119. accountid:
  12120. description: 资金账号
  12121. type: integer
  12122. applyid:
  12123. description: 申请单ID
  12124. type: integer
  12125. attachment1:
  12126. description: 附件1
  12127. type: string
  12128. attachment2:
  12129. description: 附件2
  12130. type: string
  12131. buyorsell:
  12132. description: 买卖 - 0:买 1:卖
  12133. type: integer
  12134. canbargain:
  12135. description: 是否可议价 - 0:不可 1:可
  12136. type: integer
  12137. cancelqty:
  12138. description: 撤销数量
  12139. type: integer
  12140. canceltime:
  12141. description: 撤销时间
  12142. type: string
  12143. cerno:
  12144. type: string
  12145. chargealgorithm:
  12146. description: 手续费收取方式 1:比率 2:固定
  12147. type: integer
  12148. chargealgorithmvalue:
  12149. description: 手续费设置值(交易所部分)
  12150. type: number
  12151. chargealgorithmvalue2:
  12152. description: 手续费设置值(会员部分)
  12153. type: number
  12154. clientordertime:
  12155. description: 客户端委托时间
  12156. type: string
  12157. cpcertno:
  12158. type: string
  12159. exchangerate:
  12160. description: 汇率[67]
  12161. type: number
  12162. firstratio:
  12163. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12164. type: number
  12165. fixedprice:
  12166. description: '[克拉单价]固定价格 - [挂牌]'
  12167. type: number
  12168. freezecharge:
  12169. description: 冻结手续费
  12170. type: number
  12171. freezefirstamount:
  12172. description: 冻结首付金额 - [摘牌]
  12173. type: number
  12174. freezemargin:
  12175. description: 冻结保证金
  12176. type: number
  12177. goodsno:
  12178. description: 商品编号
  12179. type: string
  12180. imagepath:
  12181. type: string
  12182. isspecified:
  12183. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12184. type: integer
  12185. kppath:
  12186. type: string
  12187. kpweight:
  12188. type: string
  12189. marginalgorithm:
  12190. description: 保证金方式 - 1:比率 2:固定
  12191. type: integer
  12192. marginvalue:
  12193. description: 保证金设置值
  12194. type: number
  12195. marketid:
  12196. description: 市场ID
  12197. type: integer
  12198. marketprice:
  12199. type: string
  12200. orderamount:
  12201. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12202. type: number
  12203. ordertime:
  12204. description: 委托时间
  12205. type: string
  12206. performancetemplateid:
  12207. description: 履约计划模板ID
  12208. type: integer
  12209. price:
  12210. description: 价格
  12211. type: number
  12212. pricefactor:
  12213. description: 价格系数(浮动价时填写) - [挂牌]
  12214. type: number
  12215. pricemove:
  12216. description: 升贴水(浮动价时填写) - [挂牌]
  12217. type: number
  12218. priceper:
  12219. type: string
  12220. relatedwrtradeorderid:
  12221. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12222. type: integer
  12223. remark:
  12224. type: string
  12225. retcode:
  12226. description: 错误代码
  12227. type: integer
  12228. selledqty:
  12229. description: 成交重量
  12230. type: number
  12231. settingmaterial:
  12232. type: string
  12233. size1:
  12234. type: string
  12235. size2:
  12236. type: string
  12237. size3:
  12238. type: string
  12239. sizedisplay:
  12240. description: 尺寸
  12241. type: string
  12242. stonedesc:
  12243. type: string
  12244. totalqty:
  12245. description: 总重量
  12246. type: number
  12247. tradedate:
  12248. description: 交易日(yyyyMMdd)
  12249. type: string
  12250. tradeprice:
  12251. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12252. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12253. type: number
  12254. unfreezecharge:
  12255. description: 解冻手续费
  12256. type: number
  12257. unfreezefirstamount:
  12258. description: 解冻首付金额 - [摘牌]
  12259. type: number
  12260. unfreezemargin:
  12261. description: 解冻保证金
  12262. type: number
  12263. userid:
  12264. description: 用户ID
  12265. type: integer
  12266. uuid:
  12267. description: 发起端唯一id
  12268. type: string
  12269. validtime:
  12270. description: 有效期限
  12271. type: string
  12272. validtype:
  12273. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12274. type: integer
  12275. warehousenamedisplay:
  12276. type: string
  12277. wrbargainid:
  12278. description: 议价申请单ID
  12279. type: integer
  12280. wrfactortypeid:
  12281. description: 仓单要素类型ID/商品ID(77)
  12282. type: integer
  12283. wrpath:
  12284. type: string
  12285. wrpricetype:
  12286. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12287. type: integer
  12288. wrstandardid:
  12289. description: 现货商品ID
  12290. type: integer
  12291. wrtradeorderid:
  12292. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12293. type: string
  12294. wrtradeorderstatus:
  12295. 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:撤单解冻贷款失败
  12296. type: integer
  12297. wrtradetype:
  12298. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12299. type: integer
  12300. wrtransferuserid:
  12301. description: 仓单受让用户 - [摘牌]
  12302. type: integer
  12303. zscategory:
  12304. description: 钻石分类 - 枚举”ZSCategory“
  12305. type: integer
  12306. zscategorydisplay:
  12307. description: 钻石分类 - 描述
  12308. type: string
  12309. zscerttypedisplay:
  12310. type: string
  12311. zsclaritytype1display:
  12312. type: string
  12313. zsclaritytype2display:
  12314. type: string
  12315. zscolortype1display:
  12316. type: string
  12317. zscolortype2display:
  12318. type: string
  12319. zscrystaltype:
  12320. type: string
  12321. zscrystaltypedisplay:
  12322. type: string
  12323. zscurrencytype:
  12324. description: 货币类型 - 枚举“ZSCurrencyType”
  12325. type: integer
  12326. zscurrencytypedisplay:
  12327. type: string
  12328. zscurrencytypedisplayunit:
  12329. type: string
  12330. zscuttype1display:
  12331. type: string
  12332. zscuttype2display:
  12333. type: string
  12334. zsczcolor1typedisplay:
  12335. type: string
  12336. zsczcolor2typedisplay:
  12337. type: string
  12338. zsczcolor3typedisplay:
  12339. type: string
  12340. zsfluorescencetype1display:
  12341. type: string
  12342. zsfluorescencetype2display:
  12343. type: string
  12344. zspolishtype1display:
  12345. type: string
  12346. zspolishtype2display:
  12347. type: string
  12348. zsshapetypedisplay:
  12349. type: string
  12350. zsstyletypedisplay:
  12351. type: string
  12352. zssymmetrytype1display:
  12353. type: string
  12354. zssymmetrytype2display:
  12355. type: string
  12356. required:
  12357. - userid
  12358. type: object
  12359. models.MyWRPosition:
  12360. properties:
  12361. cerno:
  12362. description: 证书编号 - 类型:2,4,5
  12363. type: string
  12364. cpcertno:
  12365. description: 金伯利证书编号 - 类型:3
  12366. type: string
  12367. ffreezeqty:
  12368. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12369. type: number
  12370. ftotalqty:
  12371. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12372. type: number
  12373. goodsno:
  12374. description: 商品编号
  12375. type: string
  12376. imagepath:
  12377. description: 商品照片(相对地址)
  12378. type: string
  12379. isvalid:
  12380. description: 是否有效 - 0:无效 1:有效
  12381. type: integer
  12382. kppath:
  12383. description: 金伯利证书图片(相对地址) - 类型:3
  12384. type: string
  12385. kpweight:
  12386. description: 金伯利证书重量 - 类型:3
  12387. type: string
  12388. ladingbillid:
  12389. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12390. type: string
  12391. marketflag:
  12392. description: 是否上架,0-全部 1-是 2-否
  12393. type: integer
  12394. marketprice:
  12395. description: 市场价
  12396. type: string
  12397. origin:
  12398. description: 原产地 - 类型:3
  12399. type: string
  12400. price:
  12401. description: 总价(价格) - 类型:1,2,3,4,5
  12402. type: number
  12403. priceper:
  12404. description: 克拉单价 - 类型:1,2,3,5
  12405. type: string
  12406. remark:
  12407. description: 备注
  12408. type: string
  12409. sellmobile:
  12410. description: 手机号码(加密存储)
  12411. type: string
  12412. sellusername:
  12413. description: 账户名称(机构名称)
  12414. type: string
  12415. settingmaterial:
  12416. description: 镶嵌材料 - 类型:4
  12417. type: string
  12418. size1:
  12419. description: 尺寸1 - 类型:2,4,5
  12420. type: string
  12421. size2:
  12422. description: 尺寸2 - 类型:2,4,5
  12423. type: string
  12424. size3:
  12425. description: 尺寸3 - 类型:2,4,5
  12426. type: string
  12427. sizedisplay:
  12428. description: 尺寸
  12429. type: string
  12430. stonedesc:
  12431. description: 配石描述 - 类型:4
  12432. type: string
  12433. subnum:
  12434. description: 提单子单号
  12435. type: integer
  12436. userid:
  12437. description: 用户ID
  12438. type: integer
  12439. warehouseid:
  12440. description: 仓库ID
  12441. type: integer
  12442. warehousenamedisplay:
  12443. type: string
  12444. weight:
  12445. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12446. type: number
  12447. weightavg:
  12448. description: 平均单颗重量 - 类型:1,3
  12449. type: number
  12450. wrpath:
  12451. description: 仓单扫描件(相对地址)
  12452. type: string
  12453. wrstandardid:
  12454. description: 现货商品ID
  12455. type: integer
  12456. wrtradeorderid:
  12457. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12458. type: string
  12459. wruserid:
  12460. description: 登录用户ID
  12461. type: integer
  12462. zscategory:
  12463. description: 钻石分类 - 枚举”ZSCategory“
  12464. type: integer
  12465. zscategorydisplay:
  12466. type: string
  12467. zscerttype:
  12468. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12469. type: integer
  12470. zscerttypedisplay:
  12471. type: string
  12472. zsclaritytype1:
  12473. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12474. type: integer
  12475. zsclaritytype1display:
  12476. type: string
  12477. zsclaritytype2:
  12478. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12479. type: integer
  12480. zsclaritytype2display:
  12481. type: string
  12482. zscolortype1:
  12483. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12484. type: integer
  12485. zscolortype1display:
  12486. type: string
  12487. zscolortype2:
  12488. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12489. type: integer
  12490. zscolortype2display:
  12491. type: string
  12492. zscrystaltype:
  12493. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12494. type: string
  12495. zscrystaltypedisplay:
  12496. type: string
  12497. zscurrencytype:
  12498. description: 货币类型 - 枚举“ZSCurrencyType”
  12499. type: integer
  12500. zscurrencytypedisplay:
  12501. type: string
  12502. zscurrencytypedisplayunit:
  12503. type: string
  12504. zscuttype1:
  12505. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12506. type: integer
  12507. zscuttype1display:
  12508. type: string
  12509. zscuttype2:
  12510. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12511. type: integer
  12512. zscuttype2display:
  12513. type: string
  12514. zsczcolor1type:
  12515. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12516. type: integer
  12517. zsczcolor1typedisplay:
  12518. type: string
  12519. zsczcolor2type:
  12520. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12521. type: integer
  12522. zsczcolor2typedisplay:
  12523. type: string
  12524. zsczcolor3type:
  12525. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12526. type: integer
  12527. zsczcolor3typedisplay:
  12528. type: string
  12529. zsfluorescencetype1:
  12530. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12531. type: integer
  12532. zsfluorescencetype1display:
  12533. type: string
  12534. zsfluorescencetype2:
  12535. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12536. type: integer
  12537. zsfluorescencetype2display:
  12538. type: string
  12539. zspolishtype1:
  12540. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12541. type: integer
  12542. zspolishtype1display:
  12543. type: string
  12544. zspolishtype2:
  12545. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12546. type: integer
  12547. zspolishtype2display:
  12548. type: string
  12549. zsshapetype:
  12550. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12551. type: string
  12552. zsshapetypedisplay:
  12553. type: string
  12554. zsstyletype:
  12555. description: 款式 - 类型:4
  12556. type: integer
  12557. zsstyletypedisplay:
  12558. type: string
  12559. zssymmetrytype1:
  12560. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12561. type: integer
  12562. zssymmetrytype1display:
  12563. type: string
  12564. zssymmetrytype2:
  12565. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12566. type: integer
  12567. zssymmetrytype2display:
  12568. type: string
  12569. required:
  12570. - wruserid
  12571. type: object
  12572. models.NewFuncmenulist:
  12573. properties:
  12574. authtype:
  12575. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12576. type: integer
  12577. buttonname:
  12578. description: 按钮名称
  12579. type: string
  12580. buttontype:
  12581. description: 按钮类型 - 存按钮样式
  12582. type: string
  12583. component:
  12584. description: 组件名或组件地址
  12585. type: string
  12586. hidden:
  12587. description: 是否隐藏 - 0:显示 1:隐藏
  12588. type: integer
  12589. iconame:
  12590. description: 菜单图标
  12591. type: string
  12592. menutype:
  12593. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12594. type: integer
  12595. parentcode:
  12596. description: 上级资源代码
  12597. type: string
  12598. remark:
  12599. description: Remark
  12600. type: string
  12601. resourcecode:
  12602. description: 资源代码
  12603. type: string
  12604. resourcelevel:
  12605. description: 级别1-一级 2-二级 3-三级4-四级
  12606. type: integer
  12607. resourcename:
  12608. description: 资源名(Title)
  12609. type: string
  12610. sort:
  12611. description: 排序
  12612. type: integer
  12613. url:
  12614. description: Url
  12615. type: string
  12616. urltype:
  12617. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12618. type: integer
  12619. required:
  12620. - resourcecode
  12621. type: object
  12622. models.OperationPrimaryMenu:
  12623. properties:
  12624. Children:
  12625. description: 二级功能菜单
  12626. items:
  12627. $ref: '#/definitions/models.OperationSecondaryMenu'
  12628. type: array
  12629. Key:
  12630. description: 菜单KEY
  12631. type: string
  12632. Label:
  12633. description: 菜单标题
  12634. type: string
  12635. type: object
  12636. models.OperationSecondaryMenu:
  12637. properties:
  12638. Key:
  12639. description: 菜单KEY
  12640. type: string
  12641. Label:
  12642. description: 菜单标题
  12643. type: string
  12644. TabList:
  12645. description: 三级功能菜单
  12646. items:
  12647. $ref: '#/definitions/models.OperationTabMenu'
  12648. type: array
  12649. type: object
  12650. models.OperationTabMenu:
  12651. properties:
  12652. Key:
  12653. description: 菜单KEY
  12654. type: string
  12655. Label:
  12656. description: 菜单标题
  12657. type: string
  12658. type: object
  12659. models.Patradelinkdetail:
  12660. properties:
  12661. accountname:
  12662. description: 套期主体
  12663. type: string
  12664. agreeunit:
  12665. description: 合约乘数
  12666. type: number
  12667. amount:
  12668. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12669. type: number
  12670. areauserid:
  12671. description: 所属机构
  12672. type: integer
  12673. bizsubjectid:
  12674. description: 归属业务部门ID - SubjectID
  12675. type: integer
  12676. buyorsell:
  12677. description: 方向 - 0:买 1:卖
  12678. type: integer
  12679. convertratio:
  12680. description: 品种系数
  12681. type: number
  12682. convertratiochange:
  12683. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12684. type: number
  12685. createtime:
  12686. description: '[日期时间]创建时间'
  12687. type: string
  12688. creatorid:
  12689. description: 创建人ID
  12690. type: integer
  12691. creatorsrc:
  12692. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12693. type: integer
  12694. goodscode:
  12695. description: 商品代码(内部)
  12696. type: string
  12697. goodsgroupid:
  12698. description: 对冲品种ID[期货合约商品组ID]
  12699. type: integer
  12700. goodsid:
  12701. description: 商品ID
  12702. type: integer
  12703. hedgeditemid:
  12704. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12705. type: integer
  12706. hedgeflag:
  12707. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12708. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12709. type: integer
  12710. linkdetailid:
  12711. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12712. type: string
  12713. linkstatus:
  12714. description: 关联状态 - 1:成功 2:失败 3:解绑
  12715. type: integer
  12716. middlegoodsid:
  12717. description: 套保品种ID
  12718. type: integer
  12719. name:
  12720. description: 账户名/子账户
  12721. type: string
  12722. optioncode:
  12723. description: '[期货合约]期权代码 [期权]'
  12724. type: string
  12725. ordertype:
  12726. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12727. type: integer
  12728. relatedlot:
  12729. description: '[数量]关联手数'
  12730. type: number
  12731. relatedmode:
  12732. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12733. type: integer
  12734. relatedqty:
  12735. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12736. type: number
  12737. retcode:
  12738. description: 返回码
  12739. type: integer
  12740. saleuserid:
  12741. description: 业务员ID
  12742. type: integer
  12743. tradedate:
  12744. description: 关联交易日(yyyyMMdd)
  12745. type: string
  12746. tradeid:
  12747. description: '[成交单号]内部成交单ID'
  12748. type: string
  12749. tradelot:
  12750. description: 成交手数
  12751. type: integer
  12752. tradeprice:
  12753. description: '[价格]成交价格'
  12754. type: number
  12755. tradetradedate:
  12756. description: 成交交易日(yyyyMMdd)
  12757. type: string
  12758. type: object
  12759. models.QhjAccountOutInApply:
  12760. properties:
  12761. accountcode:
  12762. description: 资金账号
  12763. type: string
  12764. accountname:
  12765. description: 用户名称(名称)
  12766. type: string
  12767. accountpwd:
  12768. description: 资金密码
  12769. type: string
  12770. accountticket:
  12771. description: 最新账户服务流水号
  12772. type: string
  12773. amount:
  12774. description: 金额
  12775. type: number
  12776. applyremark:
  12777. description: 申请备注
  12778. type: string
  12779. applystatus:
  12780. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12781. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12782. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12783. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12784. type: integer
  12785. auditid:
  12786. description: 审核人
  12787. type: integer
  12788. audittime:
  12789. description: 审核时间
  12790. type: string
  12791. bank_apply_ticket:
  12792. description: 银行申请流水
  12793. type: string
  12794. bankaccountname:
  12795. description: 银行账户名
  12796. type: string
  12797. bankaccountno:
  12798. description: 银行卡号
  12799. type: string
  12800. bankid:
  12801. description: 银行编号
  12802. type: string
  12803. bankticket:
  12804. description: 银行流水
  12805. type: string
  12806. branchbankid:
  12807. description: 银行支行号
  12808. type: string
  12809. branchbankname:
  12810. description: 银行支行名称
  12811. type: string
  12812. capamountout:
  12813. description: 出金(劣后本金) - 外部子账户
  12814. type: number
  12815. certificatephotourl:
  12816. description: 凭证地址
  12817. type: string
  12818. charge:
  12819. description: 手续费
  12820. type: number
  12821. checkerrorflag:
  12822. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12823. type: integer
  12824. currency:
  12825. description: 币种
  12826. type: string
  12827. cusbankid:
  12828. description: 托管银行编号
  12829. type: string
  12830. cusbankname:
  12831. description: 托管银行名称
  12832. type: string
  12833. cusbankshortname:
  12834. description: 托管银行简称
  12835. type: string
  12836. exchticket:
  12837. description: 银行服务流水号
  12838. type: string
  12839. executetype:
  12840. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12841. 7:外部子账户:入金 8:外部子账户:出金'
  12842. type: integer
  12843. extendinfo:
  12844. description: 扩展信息
  12845. type: string
  12846. extoperateid:
  12847. description: 交易服务流水号
  12848. type: integer
  12849. infamount:
  12850. description: 劣后金额(自有)
  12851. type: number
  12852. logincode:
  12853. description: 登录账号(账号)
  12854. type: string
  12855. netaddr:
  12856. description: 调转网址
  12857. type: string
  12858. priamount:
  12859. description: 优先金额(授信)
  12860. type: number
  12861. reauditid:
  12862. description: 复审人
  12863. type: integer
  12864. reauditremark:
  12865. description: 复审备注
  12866. type: string
  12867. reaudittime:
  12868. description: 复审时间
  12869. type: string
  12870. relatedorderid:
  12871. description: 三方关联ID
  12872. type: string
  12873. remark:
  12874. description: 备注
  12875. type: string
  12876. remark2:
  12877. description: 备注(失败原因)
  12878. type: string
  12879. soucreamount:
  12880. description: 原始出入金金额
  12881. type: number
  12882. soucrecurrencyid:
  12883. description: 原始出入金币种
  12884. type: integer
  12885. tradedate:
  12886. description: 交易日(yyyyMMdd)
  12887. type: string
  12888. updatetime:
  12889. description: 更新时间(申请时间)
  12890. type: string
  12891. userid:
  12892. description: 用户id
  12893. type: integer
  12894. userinfotype:
  12895. description: 账户类型 1-个人 2-企业
  12896. type: integer
  12897. type: object
  12898. models.QhjAgreementChangeLog:
  12899. properties:
  12900. agreementcontent:
  12901. description: 协议内容
  12902. type: string
  12903. agreementfrequency:
  12904. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12905. type: integer
  12906. agreementid:
  12907. description: 协议ID
  12908. type: integer
  12909. agreementname:
  12910. description: 协议名称
  12911. type: string
  12912. agreementno:
  12913. description: 协议编号
  12914. type: string
  12915. agreementtype:
  12916. description: 协议类型 - 1:注册 2:登录 3:交易
  12917. type: integer
  12918. agreementversion:
  12919. description: 协议版本号
  12920. type: integer
  12921. logid:
  12922. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12923. type: integer
  12924. reviserid:
  12925. description: 修改人
  12926. type: integer
  12927. revisersrc:
  12928. description: 修改来源 - 1:管理端 2:终端
  12929. type: integer
  12930. updatetime:
  12931. description: 更新时间
  12932. type: string
  12933. type: object
  12934. models.QhjAgreementConfig:
  12935. properties:
  12936. agreementcontent:
  12937. description: 协议内容
  12938. type: string
  12939. agreementfrequency:
  12940. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12941. type: integer
  12942. agreementid:
  12943. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12944. type: integer
  12945. agreementname:
  12946. description: 协议名称
  12947. type: string
  12948. agreementno:
  12949. description: 协议编号
  12950. type: string
  12951. agreementtype:
  12952. description: 协议类型 - 1:注册 2:登录 3:交易
  12953. type: integer
  12954. agreementversion:
  12955. description: 协议版本号(从1开始每次修改加1)
  12956. type: integer
  12957. createtime:
  12958. description: 创建时间
  12959. type: string
  12960. creatorid:
  12961. description: 创建人
  12962. type: integer
  12963. creatorsrc:
  12964. description: 创建来源 - 1:管理端 2:终端
  12965. type: integer
  12966. isvalid:
  12967. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12968. type: integer
  12969. reviserid:
  12970. description: 修改人
  12971. type: integer
  12972. revisersrc:
  12973. description: 修改来源 - 1:管理端 2:终端
  12974. type: integer
  12975. updatetime:
  12976. description: 更新时间
  12977. type: string
  12978. type: object
  12979. models.QhjAreaFinanceConfig:
  12980. properties:
  12981. additionalratio:
  12982. description: 追加款比例
  12983. type: number
  12984. advanceratio:
  12985. description: 预付款比例
  12986. type: number
  12987. alarmratio:
  12988. description: 告警比例
  12989. type: number
  12990. consumptiondirectreward:
  12991. description: 消费直推奖励值
  12992. type: number
  12993. consumptionenabled:
  12994. description: 是否启用消费奖励 - 0:不启用 1:启用
  12995. type: integer
  12996. consumptionindirectreward:
  12997. description: 消费间推奖励值
  12998. type: number
  12999. consumptionmodel:
  13000. description: 消费奖励方式 - 1:比率 2:固定
  13001. type: integer
  13002. customerservicenum:
  13003. description: 客服电话
  13004. type: string
  13005. dayinterestrate:
  13006. description: 日利率
  13007. type: number
  13008. disableconsumptiontips:
  13009. description: 关闭消费奖励提示
  13010. type: string
  13011. modifierid:
  13012. description: 修改人ID
  13013. type: integer
  13014. modifysrc:
  13015. description: 审核来源 - 1:管理端 2:终端
  13016. type: integer
  13017. modifytime:
  13018. description: 修改时间
  13019. type: string
  13020. promotionvalue:
  13021. description: 推广奖励值(固定)
  13022. type: number
  13023. scoreconfigvalue1:
  13024. description: 提货积分配置1
  13025. type: integer
  13026. scoreconfigvalue2:
  13027. description: 提货积分配置2
  13028. type: integer
  13029. userid:
  13030. description: 机构用户ID其他做市关系,都设置为 1
  13031. type: integer
  13032. username:
  13033. description: 用户名称
  13034. type: string
  13035. type: object
  13036. models.QhjBankAccountSign:
  13037. properties:
  13038. accountcode:
  13039. description: 资金账号
  13040. type: string
  13041. accountname:
  13042. description: 资金账号对应的账号名(UserName)
  13043. type: string
  13044. accountname2:
  13045. description: 资金账号对应的账号名(UserName) - 密文
  13046. type: string
  13047. accounttype:
  13048. description: 账户类型(UserType)
  13049. type: integer
  13050. applicationtime:
  13051. description: 最后一次更新的时间
  13052. type: string
  13053. applyexchticket:
  13054. description: 申请流水
  13055. type: string
  13056. auditid:
  13057. description: 审核人
  13058. type: integer
  13059. audittime:
  13060. description: 审核时间
  13061. type: string
  13062. bankaccountname:
  13063. description: 签约银行卡账号名
  13064. type: string
  13065. bankaccountname2:
  13066. description: 签约银行卡账号名 - 密文
  13067. type: string
  13068. bankaccountno:
  13069. description: 银行卡号
  13070. type: string
  13071. bankaccountno2:
  13072. description: 银行卡号 - 密文
  13073. type: string
  13074. bankaccounttype:
  13075. description: 银行账户类型 - 1-对私; 2-对公
  13076. type: integer
  13077. bankcardtype:
  13078. description: 银行卡类型
  13079. type: integer
  13080. bankchildaccount:
  13081. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13082. type: string
  13083. bankcity:
  13084. description: 开户行城市
  13085. type: string
  13086. bankid:
  13087. description: 签约银行ID
  13088. type: string
  13089. bankname:
  13090. description: 签约银行名称
  13091. type: string
  13092. bankprovince:
  13093. description: 开户行省份
  13094. type: string
  13095. branchbankid:
  13096. description: 签约银行支行号
  13097. type: string
  13098. branchbankname:
  13099. description: 签约银行支行名称
  13100. type: string
  13101. cardno:
  13102. description: 证件号码
  13103. type: string
  13104. cardno2:
  13105. description: 证件号码 - 密文
  13106. type: string
  13107. cardtype:
  13108. description: 证件类型
  13109. type: string
  13110. currency:
  13111. description: 币种
  13112. type: string
  13113. cusbankid:
  13114. description: 托管银行编号
  13115. type: string
  13116. direct:
  13117. description: 方向(可以判断那方先发起的签约)
  13118. type: integer
  13119. exchticket:
  13120. description: 最后一次签约成功的流水号
  13121. type: string
  13122. extendinfo:
  13123. description: 扩展信息(JSON字符串)
  13124. type: string
  13125. mobilephone:
  13126. description: 手机号
  13127. type: string
  13128. mobilephone2:
  13129. description: 手机号 - 密文
  13130. type: string
  13131. netaddr:
  13132. description: 调转网址
  13133. type: string
  13134. relateduserid:
  13135. description: 关联使用者userid
  13136. type: integer
  13137. signstatus:
  13138. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13139. 10:审核拒绝 11:换签待审核
  13140. type: integer
  13141. updatetime:
  13142. description: 更新时间(签解约更新时间)
  13143. type: string
  13144. type: object
  13145. models.QhjBankInfo:
  13146. properties:
  13147. bankid:
  13148. description: 银行ID
  13149. type: string
  13150. bankname:
  13151. description: 银行名称
  13152. type: string
  13153. clearbankno:
  13154. description: 清算系统银行编号
  13155. type: string
  13156. orderindex:
  13157. description: 排序顺序
  13158. type: integer
  13159. status:
  13160. description: 状态 - 0:正常 1:注销
  13161. type: integer
  13162. type: object
  13163. models.QhjBrokerApply:
  13164. properties:
  13165. applicantid:
  13166. description: 申请人
  13167. type: integer
  13168. applysrc:
  13169. description: 申请来源 - 1:管理端 2:终端
  13170. type: integer
  13171. applystatus:
  13172. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13173. type: integer
  13174. applytime:
  13175. description: 申请时间
  13176. type: string
  13177. auditorid:
  13178. description: 审核人
  13179. type: integer
  13180. auditremark:
  13181. description: 审核备注
  13182. type: string
  13183. auditsrc:
  13184. description: 审核来源 - 1:管理端 2:终端
  13185. type: integer
  13186. audittime:
  13187. description: 审核时间
  13188. type: string
  13189. audittradedate:
  13190. description: 审核交易日(yyyyMMdd)
  13191. type: string
  13192. brokerapplyid:
  13193. description: 申请ID(SEQ_BROKERAPPLY)
  13194. type: integer
  13195. cardbackphotourl:
  13196. description: 证件背面图片地址
  13197. type: string
  13198. cardfrontphotourl:
  13199. description: 证件正面图片地址
  13200. type: string
  13201. cardnum:
  13202. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13203. type: string
  13204. customername:
  13205. description: 姓名
  13206. type: string
  13207. logincode:
  13208. description: 登录代码
  13209. type: string
  13210. mobile:
  13211. description: 手机号码
  13212. type: string
  13213. parentuserid:
  13214. description: 所属机构id
  13215. type: integer
  13216. parentusername:
  13217. description: 所属机构名称
  13218. type: string
  13219. refereeuserid:
  13220. description: 推荐人id(经纪人)
  13221. type: integer
  13222. refernum:
  13223. description: 推荐码
  13224. type: string
  13225. remark:
  13226. description: 备注
  13227. type: string
  13228. subarealevelpath:
  13229. description: 层级路径
  13230. type: string
  13231. tradedate:
  13232. description: 交易日(yyyyMMdd)
  13233. type: string
  13234. userid:
  13235. description: 申请人用户ID
  13236. type: integer
  13237. userinfotype:
  13238. description: 用户类型 1-个人 2-企业
  13239. type: integer
  13240. username:
  13241. description: 用户名称
  13242. type: string
  13243. type: object
  13244. models.QhjBrokerApplyEx:
  13245. properties:
  13246. applylist:
  13247. description: 经纪人申请记录(只返回最新一条)
  13248. items:
  13249. $ref: '#/definitions/models.QhjBrokerApply'
  13250. type: array
  13251. canrecommend:
  13252. description: 是否经纪人 0-不是 1-是
  13253. type: integer
  13254. refernum:
  13255. description: 推荐码
  13256. type: string
  13257. userid:
  13258. description: 用户id
  13259. type: integer
  13260. userinfotype:
  13261. description: 用户类型 1-个人 2-企业
  13262. type: integer
  13263. type: object
  13264. models.QhjBrokerRewardLog:
  13265. properties:
  13266. accountid:
  13267. description: 资金账号ID
  13268. type: integer
  13269. createtime:
  13270. description: 创建时间(时间)
  13271. type: string
  13272. handlestatus:
  13273. description: 处理状态
  13274. type: integer
  13275. logid:
  13276. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13277. type: string
  13278. marketid:
  13279. description: 市场ID
  13280. type: integer
  13281. mmaccountid:
  13282. description: 做市商资金账号ID
  13283. type: string
  13284. mmuserid:
  13285. description: 做市商用户ID
  13286. type: string
  13287. rewardamount:
  13288. description: 奖励金额
  13289. type: number
  13290. rewardmodel:
  13291. description: 消费奖励方式 - 1:比率 2:固定
  13292. type: integer
  13293. rewardtype:
  13294. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13295. type: integer
  13296. rewardvalue:
  13297. description: 配置奖励值
  13298. type: number
  13299. srcamount:
  13300. description: 成交金额 [消费奖励] (金额)
  13301. type: number
  13302. srcgoodsid:
  13303. description: 来源商品ID [消费奖励]
  13304. type: string
  13305. srctime:
  13306. description: 来源时间 (成交时间) [消费奖励]
  13307. type: string
  13308. srctradeid:
  13309. description: 来源成交单ID [消费奖励] - 排除提货成交
  13310. type: string
  13311. srcuserid:
  13312. description: 来源用户ID(推广账户)
  13313. type: string
  13314. srcusername:
  13315. description: 推广账户名称
  13316. type: string
  13317. tradedate:
  13318. description: 交易日(yyyyMMdd)
  13319. type: string
  13320. userid:
  13321. description: 经纪人用户ID
  13322. type: integer
  13323. type: object
  13324. models.QhjContract:
  13325. properties:
  13326. contractconfirmtime:
  13327. description: 合同确认时间(时间)
  13328. type: string
  13329. currisklevel:
  13330. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13331. type: integer
  13332. decimalplace:
  13333. description: 商品报价小数位
  13334. type: integer
  13335. enumdicname:
  13336. description: 单位名称
  13337. type: string
  13338. goodscode:
  13339. description: 商品代码
  13340. type: string
  13341. goodsid:
  13342. description: 商品ID [5:融资单]
  13343. type: integer
  13344. goodsname:
  13345. description: 商品名称
  13346. type: string
  13347. goodunitid:
  13348. description: 商品单位id
  13349. type: integer
  13350. initmargin:
  13351. description: 初始保证金(首付款)
  13352. type: number
  13353. lenderamount:
  13354. description: 贷款金额(总额|订单总额)
  13355. type: number
  13356. marginratio:
  13357. description: 保证金比率(首付比例)
  13358. type: number
  13359. payamount:
  13360. description: 已付(已付货款)
  13361. type: number
  13362. reckonrecovermargin:
  13363. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13364. type: number
  13365. recoveredmargin:
  13366. description: 已追缴保证金
  13367. type: number
  13368. remainamount:
  13369. description: 合同剩余金额(融资额)
  13370. type: number
  13371. scfcontractid:
  13372. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13373. type: string
  13374. scfcontractstatus:
  13375. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13376. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13377. type: integer
  13378. scfcontracttype:
  13379. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13380. type: integer
  13381. totalinterest:
  13382. description: 已计总利息(利息)
  13383. type: number
  13384. tradeprice:
  13385. description: 成交价格(成本价格)
  13386. type: number
  13387. userid:
  13388. description: 用户ID
  13389. type: integer
  13390. username:
  13391. description: 用户名称
  13392. type: string
  13393. wrqty:
  13394. description: 仓单数量(数量)
  13395. type: number
  13396. type: object
  13397. models.QhjContractLog:
  13398. properties:
  13399. amount:
  13400. description: 支付金额
  13401. type: number
  13402. amounttype:
  13403. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13404. type: integer
  13405. logid:
  13406. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13407. type: string
  13408. remainamount:
  13409. description: 剩余货款
  13410. type: number
  13411. scfcontractid:
  13412. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13413. type: integer
  13414. updatetime:
  13415. description: 更新时间
  13416. type: string
  13417. type: object
  13418. models.QhjCusBankSignBankEx:
  13419. properties:
  13420. banklst:
  13421. description: 银行列表
  13422. items:
  13423. $ref: '#/definitions/models.QhjBankInfo'
  13424. type: array
  13425. canallot:
  13426. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13427. type: integer
  13428. canallotquery:
  13429. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13430. type: integer
  13431. canbindcard:
  13432. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13433. type: integer
  13434. caninamount:
  13435. description: 是否可入金 - 0:不可 1:可以
  13436. type: integer
  13437. caninamount2:
  13438. description: 是否可入金(网银端) - 0:不可 1:可以
  13439. type: integer
  13440. canmodifybankcard:
  13441. description: 是否可修改银行卡号 - 0:不可 1:可以
  13442. type: integer
  13443. canmodifyphone:
  13444. description: 是否可修改手机号 - 0:不可 1:可以
  13445. type: integer
  13446. canmodifysigninfo:
  13447. description: 是否可修改签约信息 - 0:不可 1:可以
  13448. type: integer
  13449. canoutamount:
  13450. description: 是否可出金 - 0:不可 1:可以
  13451. type: integer
  13452. canoutamount2:
  13453. description: 是否可出金(网银端) - 0:不可 1:可以
  13454. type: integer
  13455. canrelease:
  13456. description: 是否可解约 - 0:不可 1:可以
  13457. type: integer
  13458. canrelease2:
  13459. description: 是否可解约(网银端) - 0:不可 1:可以
  13460. type: integer
  13461. cansign:
  13462. description: 是否可签约 - 0:不可 1:可以
  13463. type: integer
  13464. cansign2:
  13465. description: 是否可签约(网银端) - 0:不可 1:可以
  13466. type: integer
  13467. currency:
  13468. description: 币种
  13469. type: string
  13470. cusbankid:
  13471. description: 托管银行编号(对应清算中心TRAN_NO)
  13472. type: string
  13473. cusbankname:
  13474. description: 银行业务名称
  13475. type: string
  13476. cusbankshortname:
  13477. description: 银行业务简称
  13478. type: string
  13479. exchbankid:
  13480. description: 交易所开户银行ID
  13481. type: string
  13482. exchpaybankaccname:
  13483. description: 交易所支出结算账户户名
  13484. type: string
  13485. exchpaybankaccno:
  13486. description: 交易所支出结算账户
  13487. type: string
  13488. isneedcheck:
  13489. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13490. type: integer
  13491. isneedclear:
  13492. description: 是否需要清算 - 0:不需要 1:需要
  13493. type: integer
  13494. lastcheckstatus:
  13495. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13496. type: integer
  13497. lastchecktime:
  13498. description: 最后对账时间
  13499. type: string
  13500. lastclearstatus:
  13501. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13502. type: integer
  13503. lastcleartime:
  13504. description: 最后清算时间
  13505. type: string
  13506. lastsignintime:
  13507. description: 最后签到时间
  13508. type: string
  13509. lastsignouttime:
  13510. description: 最后签退时间
  13511. type: string
  13512. riskinfo:
  13513. description: 签约风险提示书
  13514. type: string
  13515. signstatus:
  13516. description: 当前签到/签退状态 - 1:签到 2:签退
  13517. type: integer
  13518. tradedate:
  13519. description: 交易日(yyyyMMdd)
  13520. type: string
  13521. updatetime:
  13522. description: 当前签到/签退更新时间
  13523. type: string
  13524. type: object
  13525. models.QhjCustomer:
  13526. properties:
  13527. address:
  13528. description: 通讯地址
  13529. type: string
  13530. attachment1:
  13531. description: 附件1
  13532. type: string
  13533. attachment2:
  13534. description: 附件2
  13535. type: string
  13536. audittime:
  13537. description: 审核时间
  13538. type: string
  13539. cardbackphotourl:
  13540. description: 证件反面图片地址
  13541. type: string
  13542. cardfrontphotourl:
  13543. description: 证件正面图片地址
  13544. type: string
  13545. cardnum:
  13546. description: 证件号码
  13547. type: string
  13548. cardtype:
  13549. description: 证件类型
  13550. type: integer
  13551. cardtypename:
  13552. description: 证件类型名称
  13553. type: string
  13554. cityid:
  13555. description: 市
  13556. type: integer
  13557. cityname:
  13558. description: 城市名称
  13559. type: string
  13560. contactname:
  13561. description: 联系人
  13562. type: string
  13563. countryid:
  13564. description: 国家
  13565. type: integer
  13566. countryname:
  13567. description: 国家名称
  13568. type: string
  13569. createtime:
  13570. description: 创建时间
  13571. type: string
  13572. customername:
  13573. description: 客户名称
  13574. type: string
  13575. districtid:
  13576. description: 区域
  13577. type: integer
  13578. districtname:
  13579. description: 地区名称
  13580. type: string
  13581. email:
  13582. description: 邮件
  13583. type: string
  13584. legalpersonname:
  13585. description: 法人姓名(企业)
  13586. type: string
  13587. logincode:
  13588. description: 登录账号(代码)
  13589. type: string
  13590. memberuserid:
  13591. description: 所属机构ID(所属会员)
  13592. type: integer
  13593. memberusername:
  13594. description: 所属会员名称
  13595. type: string
  13596. mobile:
  13597. description: 手机号码
  13598. type: string
  13599. modifytime:
  13600. description: 修改时间
  13601. type: string
  13602. nickname:
  13603. description: 昵称
  13604. type: string
  13605. parentuserid:
  13606. description: 上级机构(所属机构)
  13607. type: integer
  13608. parentusername:
  13609. description: 所属机构名称
  13610. type: string
  13611. provinceid:
  13612. description: 省
  13613. type: integer
  13614. provincename:
  13615. description: 省名称
  13616. type: string
  13617. proxystatementurl:
  13618. description: 授权委托书
  13619. type: string
  13620. remark:
  13621. description: 备注
  13622. type: string
  13623. status:
  13624. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13625. type: integer
  13626. statusdesc:
  13627. description: 账户状态中文描述
  13628. type: string
  13629. taxpayernum:
  13630. description: 纳税人识别号
  13631. type: string
  13632. telphone:
  13633. description: 联系电话
  13634. type: string
  13635. userid:
  13636. description: 用户ID
  13637. type: integer
  13638. userinfotype:
  13639. description: 客户类型 1-个人 2-企业
  13640. type: integer
  13641. username:
  13642. description: 用户名称
  13643. type: string
  13644. type: object
  13645. models.QhjCustomerSignLog:
  13646. properties:
  13647. agreementcontent:
  13648. description: 协议内容
  13649. type: string
  13650. agreementid:
  13651. description: 协议ID
  13652. type: integer
  13653. agreementname:
  13654. description: 协议名称
  13655. type: string
  13656. agreementno:
  13657. description: 协议编号
  13658. type: string
  13659. agreementtype:
  13660. description: 协议类型 - 1:注册 2:登录 3:交易
  13661. type: integer
  13662. agreementversion:
  13663. description: 协议版本号
  13664. type: integer
  13665. createtime:
  13666. description: 创建时间
  13667. type: string
  13668. goodscode:
  13669. description: 商品代码
  13670. type: string
  13671. goodsid:
  13672. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13673. type: integer
  13674. goodsname:
  13675. description: 商品名称
  13676. type: string
  13677. logid:
  13678. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13679. type: integer
  13680. nodetype:
  13681. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13682. type: integer
  13683. signadressurl:
  13684. description: 签约文件地址
  13685. type: string
  13686. signtimestamp:
  13687. description: 签约状态时间戳
  13688. type: string
  13689. userid:
  13690. description: 客户ID
  13691. type: integer
  13692. username:
  13693. description: 客户名称
  13694. type: string
  13695. type: object
  13696. models.QhjCustomerSignStatus:
  13697. properties:
  13698. createtime:
  13699. description: 创建时间
  13700. type: string
  13701. goodscode:
  13702. description: 商品代码
  13703. type: string
  13704. goodsid:
  13705. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13706. type: integer
  13707. goodsname:
  13708. description: 商品名称
  13709. type: string
  13710. nodetype:
  13711. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13712. type: integer
  13713. signtimestamp:
  13714. description: 签约状态时间戳
  13715. type: string
  13716. tradedate:
  13717. description: 创建交易日(yyyyMMdd)
  13718. type: string
  13719. updatetime:
  13720. description: 更新时间
  13721. type: string
  13722. userid:
  13723. description: 客户ID
  13724. type: integer
  13725. username:
  13726. description: 客户名称
  13727. type: string
  13728. type: object
  13729. models.QhjMgrAccountOutInApply:
  13730. properties:
  13731. accountcode:
  13732. description: 资金账号
  13733. type: string
  13734. accountname:
  13735. description: 用户名称(名称)
  13736. type: string
  13737. accountpwd:
  13738. description: 资金密码
  13739. type: string
  13740. accountticket:
  13741. description: 最新账户服务流水号
  13742. type: string
  13743. amount:
  13744. description: 金额
  13745. type: number
  13746. applyremark:
  13747. description: 申请备注
  13748. type: string
  13749. applystatus:
  13750. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13751. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13752. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13753. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13754. type: integer
  13755. auditid:
  13756. description: 审核人
  13757. type: integer
  13758. audittime:
  13759. description: 审核时间
  13760. type: string
  13761. bank_apply_ticket:
  13762. description: 银行申请流水
  13763. type: string
  13764. bankaccountname:
  13765. description: 银行账户名
  13766. type: string
  13767. bankaccountno:
  13768. description: 银行卡号
  13769. type: string
  13770. bankid:
  13771. description: 银行编号
  13772. type: string
  13773. bankname:
  13774. description: 银行名称
  13775. type: string
  13776. bankticket:
  13777. description: 银行流水
  13778. type: string
  13779. branchbankid:
  13780. description: 银行支行号
  13781. type: string
  13782. branchbankname:
  13783. description: 银行支行名称
  13784. type: string
  13785. capamountout:
  13786. description: 出金(劣后本金) - 外部子账户
  13787. type: number
  13788. certificatephotourl:
  13789. description: 凭证地址
  13790. type: string
  13791. charge:
  13792. description: 手续费
  13793. type: number
  13794. checkerrorflag:
  13795. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13796. type: integer
  13797. currency:
  13798. description: 币种
  13799. type: string
  13800. cusbankid:
  13801. description: 托管银行编号
  13802. type: string
  13803. exchticket:
  13804. description: 银行服务流水号
  13805. type: string
  13806. executetype:
  13807. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13808. 7:外部子账户:入金 8:外部子账户:出金'
  13809. type: integer
  13810. extendinfo:
  13811. description: 扩展信息
  13812. type: string
  13813. extoperateid:
  13814. description: 交易服务流水号
  13815. type: integer
  13816. infamount:
  13817. description: 劣后金额(自有)
  13818. type: number
  13819. logincode:
  13820. description: 登录账号(账号)
  13821. type: string
  13822. netaddr:
  13823. description: 调转网址
  13824. type: string
  13825. priamount:
  13826. description: 优先金额(授信)
  13827. type: number
  13828. reauditid:
  13829. description: 复审人
  13830. type: integer
  13831. reauditremark:
  13832. description: 复审备注
  13833. type: string
  13834. reaudittime:
  13835. description: 复审时间
  13836. type: string
  13837. relatedorderid:
  13838. description: 三方关联ID
  13839. type: string
  13840. remark:
  13841. description: 备注
  13842. type: string
  13843. remark2:
  13844. description: 备注(失败原因)
  13845. type: string
  13846. soucreamount:
  13847. description: 原始出入金金额
  13848. type: number
  13849. soucrecurrencyid:
  13850. description: 原始出入金币种
  13851. type: integer
  13852. tradedate:
  13853. description: 交易日(yyyyMMdd)
  13854. type: string
  13855. updatetime:
  13856. description: 更新时间(申请时间)
  13857. type: string
  13858. userid:
  13859. description: 用户id
  13860. type: integer
  13861. userinfotype:
  13862. description: 账户类型 1-个人 2-企业
  13863. type: integer
  13864. type: object
  13865. models.QhjMgrBrokerApply:
  13866. properties:
  13867. applicantid:
  13868. description: 申请人
  13869. type: integer
  13870. applysrc:
  13871. description: 申请来源 - 1:管理端 2:终端
  13872. type: integer
  13873. applystatus:
  13874. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13875. type: integer
  13876. applytime:
  13877. description: 申请时间
  13878. type: string
  13879. auditorid:
  13880. description: 审核人
  13881. type: integer
  13882. auditremark:
  13883. description: 审核备注
  13884. type: string
  13885. auditsrc:
  13886. description: 审核来源 - 1:管理端 2:终端
  13887. type: integer
  13888. audittime:
  13889. description: 审核时间
  13890. type: string
  13891. audittradedate:
  13892. description: 审核交易日(yyyyMMdd)
  13893. type: string
  13894. brokerapplyid:
  13895. description: 申请ID(SEQ_BROKERAPPLY)
  13896. type: integer
  13897. cardbackphotourl:
  13898. description: 证件背面图片地址
  13899. type: string
  13900. cardfrontphotourl:
  13901. description: 证件正面图片地址
  13902. type: string
  13903. cardnum:
  13904. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13905. type: string
  13906. customername:
  13907. description: 姓名
  13908. type: string
  13909. filterstatus:
  13910. description: 筛选条件
  13911. type: string
  13912. logincode:
  13913. description: 登录代码
  13914. type: string
  13915. mobile:
  13916. description: 手机号码
  13917. type: string
  13918. parentuserid:
  13919. description: 所属机构id
  13920. type: integer
  13921. parentusername:
  13922. description: 所属机构名称
  13923. type: string
  13924. refereeuserid:
  13925. description: 推荐人id(经纪人)
  13926. type: integer
  13927. refernum:
  13928. description: 推荐码
  13929. type: string
  13930. remark:
  13931. description: 备注
  13932. type: string
  13933. subarealevelpath:
  13934. description: 层级路径
  13935. type: string
  13936. tradedate:
  13937. description: 交易日(yyyyMMdd)
  13938. type: string
  13939. userid:
  13940. description: 申请人用户ID
  13941. type: integer
  13942. userinfotype:
  13943. description: 用户类型 1-个人 2-企业
  13944. type: integer
  13945. username:
  13946. description: 用户名称
  13947. type: string
  13948. type: object
  13949. models.QhjMgrBrokerRewardReport:
  13950. properties:
  13951. createtime:
  13952. description: 创建时间(注册时间)
  13953. type: string
  13954. cycletime:
  13955. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13956. type: string
  13957. cycletype:
  13958. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13959. type: integer
  13960. directtotalnum:
  13961. description: 直推总人数【期末】
  13962. type: integer
  13963. indirecttotalnum:
  13964. description: 间推总人数【期末】
  13965. type: integer
  13966. mobile:
  13967. description: 电话号码
  13968. type: string
  13969. refereeuserid:
  13970. description: 推荐人id(经纪人id)
  13971. type: integer
  13972. refereeusername:
  13973. description: 推荐人名称(经纪人) 上级经纪人名称
  13974. type: string
  13975. refernum:
  13976. description: 推荐码
  13977. type: string
  13978. subarealevelpath:
  13979. description: 用户层级路径
  13980. type: string
  13981. todayrewardamount:
  13982. description: 奖励总金额【汇总】
  13983. type: number
  13984. updatetime:
  13985. description: 更新时间
  13986. type: string
  13987. userid:
  13988. description: 经纪人用户ID
  13989. type: integer
  13990. userinfotype:
  13991. description: 用户类型 1-个人 2-企业
  13992. type: integer
  13993. username:
  13994. description: 用户名称
  13995. type: string
  13996. type: object
  13997. models.QhjMgrContract:
  13998. properties:
  13999. contractconfirmtime:
  14000. description: 合同确认时间(时间)
  14001. type: string
  14002. currisklevel:
  14003. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14004. type: integer
  14005. decimalplace:
  14006. description: 商品报价小数位
  14007. type: integer
  14008. enumdicname:
  14009. description: 单位名称
  14010. type: string
  14011. goodscode:
  14012. description: 商品代码
  14013. type: string
  14014. goodsid:
  14015. description: 商品ID [5:融资单]
  14016. type: integer
  14017. goodsname:
  14018. description: 商品名称
  14019. type: string
  14020. goodunitid:
  14021. description: 商品单位id
  14022. type: integer
  14023. initmargin:
  14024. description: 初始保证金(首付款)
  14025. type: number
  14026. lenderamount:
  14027. description: 贷款金额(总额|订单总额)
  14028. type: number
  14029. logincode:
  14030. description: 账号(登录代码)
  14031. type: string
  14032. marginratio:
  14033. description: 保证金比率(首付比例)
  14034. type: number
  14035. mobile:
  14036. description: 电话号码(用户资料里的电话)
  14037. type: string
  14038. payamount:
  14039. description: 已付(已付货款)
  14040. type: number
  14041. reckonrecovermargin:
  14042. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14043. type: number
  14044. recoveredmargin:
  14045. description: 已追缴保证金
  14046. type: number
  14047. remainamount:
  14048. description: 合同剩余金额(融资额)
  14049. type: number
  14050. scfcontractid:
  14051. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14052. type: string
  14053. scfcontractstatus:
  14054. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14055. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14056. type: integer
  14057. scfcontracttype:
  14058. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14059. type: integer
  14060. totalinterest:
  14061. description: 已计总利息(利息)
  14062. type: number
  14063. tradedate:
  14064. description: 交易日
  14065. type: string
  14066. tradeprice:
  14067. description: 成交价格(成本价格)
  14068. type: number
  14069. userid:
  14070. description: 用户ID
  14071. type: integer
  14072. userinfotype:
  14073. description: 用户类型 1-个人 2-企业
  14074. type: integer
  14075. username:
  14076. description: 用户名称
  14077. type: string
  14078. wrqty:
  14079. description: 仓单数量(数量)
  14080. type: number
  14081. type: object
  14082. models.QhjMgrCustomer:
  14083. properties:
  14084. address:
  14085. description: 通讯地址
  14086. type: string
  14087. attachment1:
  14088. description: 附件1
  14089. type: string
  14090. audittime:
  14091. description: 审核时间
  14092. type: string
  14093. birthday:
  14094. description: 生日
  14095. type: string
  14096. brokerid:
  14097. description: 所属客户经理id
  14098. type: integer
  14099. brokername:
  14100. description: 所属客户经理名称
  14101. type: string
  14102. cardbackphotourl:
  14103. description: 证件反面图片地址
  14104. type: string
  14105. cardfrontphotourl:
  14106. description: 证件正面图片地址
  14107. type: string
  14108. cardnum:
  14109. description: 证件号码
  14110. type: string
  14111. cardtype:
  14112. description: 证件类型
  14113. type: integer
  14114. cardtypename:
  14115. description: 证件类型名称
  14116. type: string
  14117. cityid:
  14118. description: 市
  14119. type: integer
  14120. cityname:
  14121. description: 城市名称
  14122. type: string
  14123. contactname:
  14124. description: 联系人
  14125. type: string
  14126. countryid:
  14127. description: 国家
  14128. type: integer
  14129. countryname:
  14130. description: 国家名称
  14131. type: string
  14132. createtime:
  14133. description: 创建时间
  14134. type: string
  14135. customername:
  14136. description: 客户名称
  14137. type: string
  14138. districtid:
  14139. description: 区域
  14140. type: integer
  14141. districtname:
  14142. description: 地区名称
  14143. type: string
  14144. email:
  14145. description: 邮件
  14146. type: string
  14147. legalpersonname:
  14148. description: 法人姓名(企业)
  14149. type: string
  14150. logincode:
  14151. description: 登录账号(代码)
  14152. type: string
  14153. memberuserid:
  14154. description: 所属机构ID(所属会员)
  14155. type: integer
  14156. memberusername:
  14157. description: 所属会员名称
  14158. type: string
  14159. mobile:
  14160. description: 手机号码
  14161. type: string
  14162. modifytime:
  14163. description: 修改时间
  14164. type: string
  14165. nickname:
  14166. description: 昵称
  14167. type: string
  14168. parentuserid:
  14169. description: 上级机构(所属机构)
  14170. type: integer
  14171. parentusername:
  14172. description: 所属机构名称
  14173. type: string
  14174. provinceid:
  14175. description: 省
  14176. type: integer
  14177. provincename:
  14178. description: 省名称
  14179. type: string
  14180. proxystatementurl:
  14181. description: 授权委托书
  14182. type: string
  14183. querytype:
  14184. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14185. type: integer
  14186. remark:
  14187. description: 备注
  14188. type: string
  14189. sex:
  14190. description: 性别 0-女 1-男
  14191. type: integer
  14192. status:
  14193. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14194. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14195. type: integer
  14196. statusdesc:
  14197. description: 账户状态中文描述
  14198. type: string
  14199. taxpayernum:
  14200. description: 纳税人识别号
  14201. type: string
  14202. telphone:
  14203. description: 联系电话
  14204. type: string
  14205. userid:
  14206. description: 用户ID
  14207. type: integer
  14208. userinfotype:
  14209. description: 客户类型 1-个人 2-企业
  14210. type: integer
  14211. username:
  14212. description: 用户名称
  14213. type: string
  14214. type: object
  14215. models.QhjMgrPickGoods:
  14216. properties:
  14217. enumdicname:
  14218. description: 单位名称(提货商品)
  14219. type: string
  14220. goodsid:
  14221. description: 商品id
  14222. type: integer
  14223. imageaddress:
  14224. description: 图片
  14225. type: string
  14226. modifierid:
  14227. description: 修改人
  14228. type: integer
  14229. modifiername:
  14230. description: 修改人名称
  14231. type: string
  14232. modifysrc:
  14233. description: 修改来源 - 1:管理端 2:终端
  14234. type: integer
  14235. pickupgoodsagreeunit:
  14236. description: 合约乘数
  14237. type: number
  14238. pickupgoodsdesc:
  14239. description: 描述
  14240. type: string
  14241. pickupgoodsid:
  14242. description: 提货商品ID
  14243. type: string
  14244. pickupgoodsname:
  14245. description: 提货商品名称
  14246. type: string
  14247. pickupgoodsstatus:
  14248. description: 状态 - 1:正常 2:停用 3:注销
  14249. type: integer
  14250. pickupgoodsunitid:
  14251. description: 单位ID
  14252. type: integer
  14253. pickupratio:
  14254. description: 提货系数
  14255. type: number
  14256. preparedays:
  14257. description: 备货期(天)
  14258. type: integer
  14259. remark:
  14260. description: 备注
  14261. type: string
  14262. updatetime:
  14263. description: 更新时间
  14264. type: string
  14265. type: object
  14266. models.QhjMgrPositionRsp:
  14267. properties:
  14268. accountid:
  14269. description: 账号Id
  14270. type: integer
  14271. accountname:
  14272. description: 用户名称
  14273. type: string
  14274. agreeunit:
  14275. description: 合约乘数
  14276. type: number
  14277. averageprice:
  14278. description: 均价
  14279. type: number
  14280. avialqty:
  14281. description: 可用数量
  14282. type: number
  14283. decimalplace:
  14284. description: 报价小数位
  14285. type: integer
  14286. enumdicname:
  14287. description: 单位名称(商品)
  14288. type: string
  14289. frozenqty:
  14290. description: 冻结数量
  14291. type: number
  14292. goodscode:
  14293. description: 商品代码(内部)
  14294. type: string
  14295. goodsid:
  14296. description: 商品Id
  14297. type: integer
  14298. goodsname:
  14299. description: 商品名称
  14300. type: string
  14301. goodunitid:
  14302. description: 报价单位ID
  14303. type: integer
  14304. holderamount:
  14305. description: 金额
  14306. type: number
  14307. holderqty:
  14308. description: 持有数量
  14309. type: number
  14310. holdertype:
  14311. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14312. type: integer
  14313. logincode:
  14314. description: 登录代码(账户)
  14315. type: string
  14316. marketid:
  14317. description: 市场id
  14318. type: integer
  14319. qtydecimalplace:
  14320. description: 成交量小数位
  14321. type: integer
  14322. trademode:
  14323. description: 交易模式
  14324. type: integer
  14325. userid:
  14326. description: 用户id
  14327. type: integer
  14328. userinfotype:
  14329. description: 账户类型 1-个人 2-企业
  14330. type: integer
  14331. type: object
  14332. models.QhjMgrSubArea:
  14333. properties:
  14334. accountname:
  14335. description: 账户名称(机构名称)
  14336. type: string
  14337. memberuserid:
  14338. description: 所属会员ID
  14339. type: integer
  14340. parenttopuser:
  14341. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14342. type: string
  14343. parentuserid:
  14344. description: 所属机构ID
  14345. type: integer
  14346. rootuserid:
  14347. description: 根用户ID
  14348. type: string
  14349. subaccountlevel:
  14350. description: 子账户层数
  14351. type: integer
  14352. subarealevelpath:
  14353. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14354. type: string
  14355. userid:
  14356. description: 用户ID
  14357. type: integer
  14358. usertype:
  14359. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14360. type: integer
  14361. type: object
  14362. models.QhjMgrTradeDetailRsp:
  14363. properties:
  14364. accountid:
  14365. description: 资金账号
  14366. type: integer
  14367. accountname:
  14368. description: 用户名称
  14369. type: string
  14370. agreeunit:
  14371. description: 合约乘数
  14372. type: number
  14373. buyorsell:
  14374. description: 成交类型(方向) 0:买 1:卖
  14375. type: integer
  14376. decimalplace:
  14377. description: 报价小数位
  14378. type: integer
  14379. enumdicname:
  14380. description: 单位名称(商品)
  14381. type: string
  14382. goodscode:
  14383. description: 商品代码(内部)
  14384. type: string
  14385. goodsid:
  14386. description: 商品id
  14387. type: integer
  14388. goodsname:
  14389. description: 商品名称
  14390. type: string
  14391. goodunitid:
  14392. description: 报价单位ID
  14393. type: integer
  14394. logincode:
  14395. description: 登录代码(账户)
  14396. type: string
  14397. marketid:
  14398. description: 市场id
  14399. type: integer
  14400. orderid:
  14401. description: 关联委托单号
  14402. type: string
  14403. qtydecimalplace:
  14404. description: 成交量小数位
  14405. type: integer
  14406. tradeamount:
  14407. description: 金额
  14408. type: number
  14409. tradedate:
  14410. description: 交易日
  14411. type: string
  14412. tradeid:
  14413. description: 成交单号
  14414. type: string
  14415. trademode:
  14416. description: 交易模式
  14417. type: integer
  14418. tradeprice:
  14419. description: 价格
  14420. type: number
  14421. tradeqty:
  14422. description: 数量
  14423. type: number
  14424. tradetime:
  14425. description: 成交时间
  14426. type: string
  14427. userid:
  14428. description: 用户id
  14429. type: integer
  14430. userinfotype:
  14431. description: 账户类型 1-个人 2-企业
  14432. type: integer
  14433. type: object
  14434. models.QhjMgrTradeOrderDetailRsp:
  14435. properties:
  14436. accountid:
  14437. description: 资金账号
  14438. type: integer
  14439. accountname:
  14440. description: 用户名称
  14441. type: string
  14442. agreeunit:
  14443. description: 合约乘数
  14444. type: number
  14445. amount:
  14446. description: 金额
  14447. type: number
  14448. decimalplace:
  14449. description: 报价小数位
  14450. type: integer
  14451. enumdicname:
  14452. description: 单位名称(商品)
  14453. type: string
  14454. goodscode:
  14455. description: 商品代码(内部)
  14456. type: string
  14457. goodsid:
  14458. description: 商品id
  14459. type: integer
  14460. goodsname:
  14461. description: 商品名称
  14462. type: string
  14463. goodunitid:
  14464. description: 报价单位ID
  14465. type: integer
  14466. logincode:
  14467. description: 登录代码(账户)
  14468. type: string
  14469. marketid:
  14470. description: 市场id
  14471. type: integer
  14472. orderid:
  14473. description: 关联委托单号
  14474. type: string
  14475. orderprice:
  14476. description: 价格
  14477. type: number
  14478. orderqty:
  14479. description: 数量
  14480. type: number
  14481. orderstatus:
  14482. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14483. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14484. 16:成交失败违约(荷兰式竞拍专用)
  14485. type: integer
  14486. ordertime:
  14487. description: 委托时间
  14488. type: string
  14489. qtydecimalplace:
  14490. description: 成交量小数位
  14491. type: integer
  14492. tradedate:
  14493. description: 交易日
  14494. type: string
  14495. trademode:
  14496. description: 交易模式
  14497. type: integer
  14498. userid:
  14499. description: 用户id
  14500. type: integer
  14501. userinfotype:
  14502. description: 账户类型 1-个人 2-企业
  14503. type: integer
  14504. type: object
  14505. models.QhjMgrTradePayOrder:
  14506. properties:
  14507. accountname:
  14508. description: 用户名称
  14509. type: string
  14510. advanceratio:
  14511. description: 首付比率
  14512. type: number
  14513. agreeunit:
  14514. description: 合约乘数
  14515. type: number
  14516. buyaccountid:
  14517. description: 买方账号ID[报价币种]
  14518. type: integer
  14519. buyorderid:
  14520. description: 买方委托单号(关联单号)
  14521. type: string
  14522. createtime:
  14523. description: 创建时间
  14524. type: string
  14525. decimalplace:
  14526. description: 报价小数位
  14527. type: integer
  14528. enumdicname:
  14529. description: 单位名称(商品)
  14530. type: string
  14531. goodscode:
  14532. description: 商品代码(内部)
  14533. type: string
  14534. goodsid:
  14535. description: 商品ID
  14536. type: integer
  14537. goodsname:
  14538. description: 商品名称
  14539. type: string
  14540. goodunitid:
  14541. description: 报价单位ID
  14542. type: integer
  14543. logincode:
  14544. description: 登录代码(账户)
  14545. type: string
  14546. marketid:
  14547. description: 市场id
  14548. type: integer
  14549. offamount:
  14550. description: 优惠金额
  14551. type: number
  14552. operatetype:
  14553. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14554. type: integer
  14555. payamount:
  14556. description: 支付金额(金额)
  14557. type: number
  14558. payflag:
  14559. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14560. type: integer
  14561. paylimitedtime:
  14562. description: 支付期限
  14563. type: string
  14564. paytime:
  14565. description: 付款时间
  14566. type: string
  14567. qtydecimalplace:
  14568. description: 成交量小数位
  14569. type: integer
  14570. sellaccountid:
  14571. description: 卖方账号ID[报价币种]
  14572. type: integer
  14573. sellorderid:
  14574. description: 卖方委托单号
  14575. type: string
  14576. tradeamount:
  14577. description: 成交金额(优惠后金额)
  14578. type: number
  14579. tradecharge:
  14580. description: 成交手续费(买方)
  14581. type: number
  14582. tradedate:
  14583. description: 交易日(yyyyMMdd)
  14584. type: string
  14585. tradeid:
  14586. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14587. type: string
  14588. trademode:
  14589. description: 交易模式
  14590. type: integer
  14591. tradeprice:
  14592. description: 成交价格(价格)
  14593. type: number
  14594. tradeqty:
  14595. description: 成交数量(数量)
  14596. type: number
  14597. tradetime:
  14598. description: 成交时间
  14599. type: string
  14600. userid:
  14601. description: 用户id
  14602. type: integer
  14603. userinfotype:
  14604. description: 账户类型 1-个人 2-企业
  14605. type: integer
  14606. type: object
  14607. models.QhjMyTeamEx:
  14608. properties:
  14609. accountname:
  14610. description: 用户名称
  14611. type: string
  14612. accountstatus:
  14613. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14614. type: integer
  14615. createtime:
  14616. description: 创建时间
  14617. type: string
  14618. mobile:
  14619. description: 手机号码
  14620. type: string
  14621. refereeuserid:
  14622. description: 推荐人id
  14623. type: integer
  14624. refernum:
  14625. description: 推荐码
  14626. type: string
  14627. subList:
  14628. items:
  14629. $ref: '#/definitions/models.QhjMyTeamEx'
  14630. type: array
  14631. userid:
  14632. description: 用户id
  14633. type: integer
  14634. userinfotype:
  14635. description: 用户类型 1-个人 2-企业
  14636. type: integer
  14637. type: object
  14638. models.QhjNodeAgreementConfig:
  14639. properties:
  14640. agreementcontent:
  14641. description: 协议内容
  14642. type: string
  14643. agreementid:
  14644. description: 协议ID
  14645. type: integer
  14646. agreementname:
  14647. description: 协议名称
  14648. type: string
  14649. agreementno:
  14650. description: 协议编号
  14651. type: string
  14652. agreementtype:
  14653. description: 协议类型 - 1:注册 2:登录 3:交易
  14654. type: integer
  14655. agreementversion:
  14656. description: 协议版本号
  14657. type: integer
  14658. configid:
  14659. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14660. type: integer
  14661. createtime:
  14662. description: 创建时间
  14663. type: string
  14664. goodsid:
  14665. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14666. type: integer
  14667. nodetype:
  14668. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14669. type: integer
  14670. type: object
  14671. models.QhjParentAreaList:
  14672. properties:
  14673. accountname:
  14674. description: 账户名称(机构名称)
  14675. type: string
  14676. userid:
  14677. description: 用户ID
  14678. type: integer
  14679. usertype:
  14680. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14681. type: integer
  14682. type: object
  14683. models.QhjPayOrder:
  14684. properties:
  14685. advanceratio:
  14686. description: 首付比率
  14687. type: number
  14688. buyaccountid:
  14689. description: 买方账号ID[报价币种]
  14690. type: integer
  14691. buyorderid:
  14692. description: 买方委托单号
  14693. type: string
  14694. createtime:
  14695. description: 创建时间
  14696. type: string
  14697. decimalplace:
  14698. description: 商品报价小数位
  14699. type: integer
  14700. enumdicname:
  14701. description: 单位名称
  14702. type: string
  14703. goodscode:
  14704. description: 商品代码
  14705. type: string
  14706. goodsid:
  14707. description: 商品ID
  14708. type: integer
  14709. goodsname:
  14710. description: 商品名称
  14711. type: string
  14712. goodunitid:
  14713. description: 商品单位id
  14714. type: integer
  14715. marketid:
  14716. description: 市场ID
  14717. type: integer
  14718. offamount:
  14719. description: 优惠金额
  14720. type: number
  14721. operatetype:
  14722. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14723. type: integer
  14724. payamount:
  14725. description: 支付金额
  14726. type: number
  14727. payflag:
  14728. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14729. type: integer
  14730. paylimitedtime:
  14731. description: 支付期限
  14732. type: string
  14733. paytime:
  14734. description: 付款时间
  14735. type: string
  14736. qtydecimalplace:
  14737. description: 成交量小数位
  14738. type: integer
  14739. sellaccountid:
  14740. description: 卖方账号ID[报价币种]
  14741. type: integer
  14742. sellorderid:
  14743. description: 卖方委托单号
  14744. type: string
  14745. tradeamount:
  14746. description: 成交金额(优惠后金额)
  14747. type: number
  14748. tradecharge:
  14749. description: 成交手续费(买方)
  14750. type: number
  14751. tradedate:
  14752. description: 交易日(yyyyMMdd)
  14753. type: string
  14754. tradeid:
  14755. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14756. type: string
  14757. tradeprice:
  14758. description: 成交价格
  14759. type: number
  14760. tradeqty:
  14761. description: 成交数量
  14762. type: number
  14763. type: object
  14764. models.QhjPickArea:
  14765. properties:
  14766. address:
  14767. description: 详细地址
  14768. type: string
  14769. cityid:
  14770. description: 市
  14771. type: integer
  14772. cityname:
  14773. description: 城市名称
  14774. type: string
  14775. countryid:
  14776. description: 国家
  14777. type: integer
  14778. countryname:
  14779. description: 国家名称
  14780. type: string
  14781. districtid:
  14782. description: 地区
  14783. type: integer
  14784. districtname:
  14785. description: 地区名称
  14786. type: string
  14787. fromuserid:
  14788. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14789. type: integer
  14790. fromusername:
  14791. description: 所属机构名称
  14792. type: string
  14793. provinceid:
  14794. description: 省
  14795. type: integer
  14796. provincename:
  14797. description: 省名称
  14798. type: string
  14799. suborgtype:
  14800. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14801. type: integer
  14802. userid:
  14803. description: 机构用户ID 其他做市关系,都设置为 1
  14804. type: integer
  14805. username:
  14806. description: 机构用户名称(门店门称)
  14807. type: string
  14808. type: object
  14809. models.QhjPickGoods:
  14810. properties:
  14811. enumdicname:
  14812. description: 单位名称(提货商品)
  14813. type: string
  14814. goodsid:
  14815. description: 商品id
  14816. type: integer
  14817. imageaddress:
  14818. description: 图片
  14819. type: string
  14820. modifierid:
  14821. description: 修改人
  14822. type: integer
  14823. modifiername:
  14824. description: 修改人名称
  14825. type: string
  14826. modifysrc:
  14827. description: 修改来源 - 1:管理端 2:终端
  14828. type: integer
  14829. pickupgoodsagreeunit:
  14830. description: 合约乘数
  14831. type: number
  14832. pickupgoodsdesc:
  14833. description: 描述
  14834. type: string
  14835. pickupgoodsid:
  14836. description: 提货商品ID
  14837. type: string
  14838. pickupgoodsname:
  14839. description: 提货商品名称
  14840. type: string
  14841. pickupgoodsstatus:
  14842. description: 状态 - 1:正常 2:停用 3:注销
  14843. type: integer
  14844. pickupgoodsunitid:
  14845. description: 单位ID
  14846. type: integer
  14847. pickupratio:
  14848. description: 提货系数
  14849. type: number
  14850. preparedays:
  14851. description: 备货期(天)
  14852. type: integer
  14853. remark:
  14854. description: 备注
  14855. type: string
  14856. updatetime:
  14857. description: 更新时间
  14858. type: string
  14859. type: object
  14860. models.QhjRSTriggerLog:
  14861. properties:
  14862. accountid:
  14863. description: 用户资金账户
  14864. type: integer
  14865. accountname:
  14866. description: 账号名称(ACCOUNTID对应的名称)
  14867. type: string
  14868. currencyid:
  14869. description: 币种id
  14870. type: integer
  14871. currencyname:
  14872. description: 币种名称
  14873. type: string
  14874. decimalplace:
  14875. description: 商品报价小数位
  14876. type: integer
  14877. enumdicname:
  14878. description: 单位名称
  14879. type: string
  14880. goodscode:
  14881. description: 定投商品代码
  14882. type: string
  14883. goodsid:
  14884. description: 定投商品ID
  14885. type: integer
  14886. goodsname:
  14887. description: 定投商品名称
  14888. type: string
  14889. goodunitid:
  14890. description: 定投商品单位id
  14891. type: integer
  14892. logid:
  14893. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14894. type: string
  14895. logincode:
  14896. description: 账号(登录代码)
  14897. type: string
  14898. qtydecimalplace:
  14899. description: 成交量小数位
  14900. type: integer
  14901. regularlycycle:
  14902. description: 定投频率 - 1:每周 2:每月
  14903. type: integer
  14904. regularlycyclevalue:
  14905. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14906. type: string
  14907. regularlymode:
  14908. description: 定投方式 - 1:按数量 2:按金额
  14909. type: integer
  14910. regularlymodevalue:
  14911. description: 定投方式值 - 数量或金额
  14912. type: number
  14913. regularlystrategyid:
  14914. description: 定投策略ID
  14915. type: integer
  14916. retcode:
  14917. description: 错误码
  14918. type: string
  14919. tradeid:
  14920. description: 成交单ID
  14921. type: string
  14922. triggeramount:
  14923. description: 触发金额
  14924. type: number
  14925. triggerqty:
  14926. description: 触发数量
  14927. type: number
  14928. triggerstatus:
  14929. description: 触发状态 - 1:成功 2:失败
  14930. type: integer
  14931. triggertime:
  14932. description: 触发时间
  14933. type: string
  14934. triggertradedate:
  14935. description: 触发交易日
  14936. type: string
  14937. userid:
  14938. description: 所属用户ID
  14939. type: integer
  14940. userinfotype:
  14941. description: 用户类型 1-个人 2-企业
  14942. type: integer
  14943. username:
  14944. description: 用户名称(userid对应的名称)
  14945. type: string
  14946. type: object
  14947. models.QhjRStrategy:
  14948. properties:
  14949. accountid:
  14950. description: 用户资金账户
  14951. type: integer
  14952. accountname:
  14953. description: 账号名称(ACCOUNTID对应的名称)
  14954. type: string
  14955. currencyid:
  14956. description: 币种id
  14957. type: integer
  14958. currencyname:
  14959. description: 币种名称
  14960. type: string
  14961. decimalplace:
  14962. description: 商品报价小数位
  14963. type: integer
  14964. enumdicname:
  14965. description: 单位名称
  14966. type: string
  14967. goodscode:
  14968. description: 定投商品代码
  14969. type: string
  14970. goodsid:
  14971. description: 定投商品ID
  14972. type: integer
  14973. goodsname:
  14974. description: 定投商品名称
  14975. type: string
  14976. goodunitid:
  14977. description: 定投商品单位id
  14978. type: integer
  14979. lasteffecttradedate:
  14980. description: 最新生效交易日
  14981. type: string
  14982. laststoptradedate:
  14983. description: 最新暂停交易日
  14984. type: string
  14985. lasttriggertradedate:
  14986. description: 最新触发交易日
  14987. type: string
  14988. logincode:
  14989. description: 账号(登录代码)
  14990. type: string
  14991. nexttriggeramount:
  14992. description: 下次触发金额
  14993. type: number
  14994. nexttriggerdate:
  14995. description: 下次触发日期
  14996. type: string
  14997. nexttriggerqty:
  14998. description: 下次触发数量 [按小数位放大值]
  14999. type: number
  15000. qtydecimalplace:
  15001. description: 成交量小数位
  15002. type: integer
  15003. regularlycycle:
  15004. description: 定投频率 - 1:每周 2:每月
  15005. type: integer
  15006. regularlycyclevalue:
  15007. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  15008. type: string
  15009. regularlymode:
  15010. description: 定投方式 - 1:按数量 2:按金额
  15011. type: integer
  15012. regularlymodevalue:
  15013. description: 定投方式值 - 数量或金额
  15014. type: number
  15015. regularlystrategyid:
  15016. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  15017. type: integer
  15018. regularlystrategystatus:
  15019. description: 策略状态 - 1:正常 2:暂停 3:终止
  15020. type: integer
  15021. remark:
  15022. description: 备注
  15023. type: string
  15024. triggersuccesstimes:
  15025. description: 累计定投成功次数
  15026. type: string
  15027. triggertotalamount:
  15028. description: 累计定投金额(成功)
  15029. type: number
  15030. triggertotalqty:
  15031. description: 累计定投数量(成功) [按小数位放大值]
  15032. type: number
  15033. triggertotaltimes:
  15034. description: 累计定投总次数
  15035. type: string
  15036. updatesrc:
  15037. description: 更新来源 - 1:管理端 2:终端
  15038. type: integer
  15039. updatetime:
  15040. description: 更新时间
  15041. type: string
  15042. updatorid:
  15043. description: 更新人
  15044. type: string
  15045. userid:
  15046. description: 所属用户ID
  15047. type: integer
  15048. userinfotype:
  15049. description: 用户类型 1-个人 2-企业
  15050. type: integer
  15051. username:
  15052. description: 用户名称(userid对应的名称)
  15053. type: string
  15054. type: object
  15055. models.QhjReckonPriceLog:
  15056. properties:
  15057. decimalplace:
  15058. description: 商品报价小数位
  15059. type: integer
  15060. goodscode:
  15061. description: 商品代码
  15062. type: string
  15063. goodsid:
  15064. description: 商品ID
  15065. type: integer
  15066. goodsname:
  15067. description: 商品名称
  15068. type: string
  15069. lastreckonprice:
  15070. description: 上日结算价
  15071. type: number
  15072. nextdnlimitprice:
  15073. description: 下个交易日跌停价
  15074. type: number
  15075. nexttrade:
  15076. description: 下个交易日
  15077. type: string
  15078. nextuplimitprice:
  15079. description: 下个交易日涨停价
  15080. type: number
  15081. reckonprice:
  15082. description: 今日结算价(定投价)
  15083. type: number
  15084. reckontime:
  15085. description: 结算时间
  15086. type: string
  15087. totalholderqty:
  15088. description: 总持仓数
  15089. type: integer
  15090. totalstock:
  15091. description: 总库存
  15092. type: integer
  15093. tradedate:
  15094. description: 交易日
  15095. type: string
  15096. updowncount:
  15097. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15098. type: integer
  15099. updownflag:
  15100. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15101. type: integer
  15102. updownrate:
  15103. description: 今日涨跌幅
  15104. type: number
  15105. updownrate_2d:
  15106. description: 连续两日涨跌幅
  15107. type: number
  15108. updownrate_3d:
  15109. description: 连续三日涨跌幅
  15110. type: number
  15111. type: object
  15112. models.QhjScoreLog:
  15113. properties:
  15114. accountid:
  15115. description: 账户ID
  15116. type: integer
  15117. createtime:
  15118. description: 创建时间(时间)
  15119. type: string
  15120. goodsid:
  15121. description: 商品ID
  15122. type: integer
  15123. hasuploaded:
  15124. description: 是否已同步(千海金) 0:未同步 1;已同步
  15125. type: integer
  15126. logid:
  15127. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15128. type: string
  15129. marketid:
  15130. description: 市场ID
  15131. type: integer
  15132. relatedamount:
  15133. description: 关联金额
  15134. type: number
  15135. relatedorderid:
  15136. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15137. type: string
  15138. scoreconfigvalue1:
  15139. description: 积分配置1
  15140. type: integer
  15141. scoreconfigvalue2:
  15142. description: 积分配置1
  15143. type: integer
  15144. scoretype:
  15145. description: 积分类型 - 1:提货积分
  15146. type: integer
  15147. scorevalue:
  15148. description: 积分
  15149. type: number
  15150. tradedate:
  15151. description: 交易日(yyyyMMdd)
  15152. type: string
  15153. uploadedtime:
  15154. description: 同步时间
  15155. type: string
  15156. userid:
  15157. description: 用户ID
  15158. type: integer
  15159. type: object
  15160. models.QhjSiteColumnDetail:
  15161. properties:
  15162. author:
  15163. description: 作者
  15164. type: string
  15165. brief:
  15166. description: 简介
  15167. type: string
  15168. columnid:
  15169. description: 所属栏目
  15170. type: integer
  15171. context:
  15172. description: 内容
  15173. type: string
  15174. coverimage:
  15175. description: 封面图片
  15176. type: string
  15177. creaedate:
  15178. description: 创建时间
  15179. type: string
  15180. creatorid:
  15181. description: 创建人
  15182. type: integer
  15183. hits:
  15184. description: 点击数
  15185. type: integer
  15186. id:
  15187. description: ID(SEQ_SITE_COLUMNDETAIL)
  15188. type: integer
  15189. isshow:
  15190. description: 是否展示 - 0:不展示 1:展示
  15191. type: integer
  15192. istop:
  15193. description: 是否置顶 - 0:不置 1:置顶
  15194. type: integer
  15195. modifierid:
  15196. description: 操作人
  15197. type: integer
  15198. publishdate:
  15199. description: 发布日期
  15200. type: string
  15201. status:
  15202. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15203. type: integer
  15204. title:
  15205. description: 标题
  15206. type: string
  15207. updatedate:
  15208. description: 修改时间
  15209. type: string
  15210. userid:
  15211. description: 用户ID(默认为0, 核心为为机构用户ID)
  15212. type: integer
  15213. username:
  15214. description: 用户名称
  15215. type: string
  15216. type: object
  15217. models.QhjTeamOrder:
  15218. properties:
  15219. accountid:
  15220. description: 账户ID[报价币种]
  15221. type: integer
  15222. accountname:
  15223. description: 账户名称
  15224. type: string
  15225. agreeunit:
  15226. description: 合约乘数
  15227. type: number
  15228. buyorsell:
  15229. description: 方向 - 0:买 1:卖
  15230. type: integer
  15231. decimalplace:
  15232. description: 报价小数位
  15233. type: integer
  15234. enumdicname:
  15235. description: 单位名称
  15236. type: string
  15237. goodscode:
  15238. description: 商品代码(内部)
  15239. type: string
  15240. goodsid:
  15241. description: 商品ID
  15242. type: integer
  15243. goodsname:
  15244. description: 商品名称
  15245. type: string
  15246. goodunitid:
  15247. description: 报价单位ID
  15248. type: integer
  15249. marketid:
  15250. description: 市场ID
  15251. type: integer
  15252. marketname:
  15253. description: 市场名称
  15254. type: string
  15255. qtydecimalplace:
  15256. description: 成交量小数位
  15257. type: integer
  15258. refereeuserid:
  15259. description: 推荐人ID
  15260. type: integer
  15261. tradeamount:
  15262. description: 成交金额[账户币种,用于所有权]
  15263. type: number
  15264. tradedate:
  15265. description: 交易日(yyyyMMdd)
  15266. type: string
  15267. trademode:
  15268. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15269. 21:竞拍-大宗式 22:受托竞价
  15270. type: integer
  15271. tradeprice:
  15272. description: 成交价格
  15273. type: number
  15274. tradeqty:
  15275. description: 成交数量
  15276. type: number
  15277. tradetime:
  15278. description: 成交时间
  15279. type: string
  15280. userid:
  15281. description: 用户ID
  15282. type: integer
  15283. type: object
  15284. models.QhjTradeGoodsPickup:
  15285. properties:
  15286. accountid:
  15287. description: 账户ID
  15288. type: integer
  15289. address:
  15290. description: 提货人详细地址
  15291. type: string
  15292. amount:
  15293. description: 提货金额
  15294. type: number
  15295. artradedate:
  15296. description: 自动收货交易日(yyyyMMdd)
  15297. type: string
  15298. auditer:
  15299. description: 审核人
  15300. type: integer
  15301. auditsrc:
  15302. description: 更新来源 - 1:管理端 2:终端
  15303. type: integer
  15304. audittime:
  15305. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15306. type: string
  15307. audittradedate:
  15308. description: 审核交易日(yyyyMMdd)
  15309. type: string
  15310. cardnum:
  15311. description: 提货人证件号码
  15312. type: string
  15313. cardtypeid:
  15314. description: 提货人证件类型
  15315. type: integer
  15316. checkremark:
  15317. description: 审核备注
  15318. type: string
  15319. cityid:
  15320. description: 市
  15321. type: integer
  15322. cityname:
  15323. description: 城市名称
  15324. type: string
  15325. confirmtime:
  15326. description: 取货时间 或 收货时间
  15327. type: string
  15328. countryid:
  15329. description: 国家
  15330. type: integer
  15331. countryname:
  15332. description: 国家名称
  15333. type: string
  15334. decimalplace:
  15335. description: 商品报价小数位
  15336. type: integer
  15337. districtid:
  15338. description: 地区
  15339. type: integer
  15340. districtname:
  15341. description: 地区名称
  15342. type: string
  15343. enumdicname:
  15344. description: 单位名称(提货商品)
  15345. type: string
  15346. expresscompany:
  15347. description: 物流公司
  15348. type: string
  15349. expressnum:
  15350. description: 物流单号
  15351. type: string
  15352. goodsagreeunit:
  15353. description: 交易商品乘数
  15354. type: number
  15355. goodscode:
  15356. description: 商品代码
  15357. type: string
  15358. goodsid:
  15359. description: 商品ID
  15360. type: integer
  15361. goodsname:
  15362. description: 商品名称
  15363. type: string
  15364. goodsqty:
  15365. description: 交易商品手数(69模式按成交量小数位放大取整)
  15366. type: number
  15367. handlestatus:
  15368. description: 处理状态
  15369. type: integer
  15370. logincode:
  15371. description: 账号(登录代码, 有可能为空)
  15372. type: string
  15373. marketid:
  15374. description: 市场ID
  15375. type: integer
  15376. phonenum:
  15377. description: 提货人联系方式
  15378. type: string
  15379. pickupgoodsagreeunit:
  15380. description: 提货商品合约乘数
  15381. type: number
  15382. pickupgoodsid:
  15383. description: 提货商品ID
  15384. type: string
  15385. pickupgoodsname:
  15386. description: 提货商品名称
  15387. type: string
  15388. pickupgoodsqty:
  15389. description: 提货商品手数(数量)
  15390. type: number
  15391. pickupgoodsunitid:
  15392. description: 单位ID(提货商品)
  15393. type: integer
  15394. pickupratio:
  15395. description: 提货系数
  15396. type: number
  15397. preparedays:
  15398. description: 备货期(天)-提货单明细表
  15399. type: integer
  15400. provinceid:
  15401. description: 省
  15402. type: integer
  15403. provincename:
  15404. description: 省名称
  15405. type: string
  15406. qty:
  15407. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15408. type: number
  15409. qtydecimalplace:
  15410. description: 商品数量小数位
  15411. type: integer
  15412. recivername:
  15413. description: 提货人姓名
  15414. type: string
  15415. reqtime:
  15416. description: 提货申请时间
  15417. type: string
  15418. storeuserid:
  15419. description: 门店用户ID (千海金)
  15420. type: integer
  15421. storeusername:
  15422. description: 门店用户名称
  15423. type: string
  15424. takemode:
  15425. description: 提货方式 - 2:自提 3:配送(邮寄)
  15426. type: integer
  15427. takeorderid:
  15428. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15429. type: string
  15430. takeorderstatus:
  15431. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15432. 7:已拒绝 8:已撤销
  15433. type: integer
  15434. takeremark:
  15435. description: 提货备注
  15436. type: string
  15437. tradedate:
  15438. description: 交易日(yyyyMMdd)
  15439. type: string
  15440. updatetime:
  15441. description: 更新时间
  15442. type: string
  15443. userid:
  15444. description: 用户ID
  15445. type: integer
  15446. userinfotype:
  15447. description: 客户类型 1-个人 2-企业
  15448. type: integer
  15449. username:
  15450. description: 用户名称
  15451. type: string
  15452. type: object
  15453. models.QhjUserNodeCfgAndStatus:
  15454. properties:
  15455. agreementcontent:
  15456. description: 协议内容
  15457. type: string
  15458. agreementid:
  15459. description: 协议ID
  15460. type: integer
  15461. agreementname:
  15462. description: 协议名称
  15463. type: string
  15464. agreementno:
  15465. description: 协议编号
  15466. type: string
  15467. agreementtype:
  15468. description: 协议类型 - 1:注册 2:登录 3:交易
  15469. type: integer
  15470. agreementversion:
  15471. description: 协议版本号
  15472. type: integer
  15473. configid:
  15474. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15475. type: integer
  15476. createtime:
  15477. description: 创建时间
  15478. type: string
  15479. goodsid:
  15480. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15481. type: integer
  15482. nodetype:
  15483. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15484. type: integer
  15485. signtimestamp:
  15486. description: 签约状态时间戳(最近一次)
  15487. type: string
  15488. tradedate:
  15489. description: 签约交易日(yyyyMMdd)
  15490. type: string
  15491. userid:
  15492. description: 客户ID
  15493. type: integer
  15494. type: object
  15495. models.Qhjgoodsex:
  15496. properties:
  15497. canfinance:
  15498. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15499. type: integer
  15500. canregularlybuy:
  15501. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15502. type: integer
  15503. defaulttradeuserid:
  15504. description: 默认交易用户ID
  15505. type: integer
  15506. deliverygoodsid:
  15507. description: 现货品种ID
  15508. type: integer
  15509. goodsid:
  15510. description: 商品ID(自增ID SEQ_GOODS)
  15511. type: integer
  15512. minamount:
  15513. description: 最小购买金额
  15514. type: number
  15515. regularlybuyminamount:
  15516. description: 定投最小金额
  15517. type: number
  15518. regularlybuyminqty:
  15519. description: 定投最小数量
  15520. type: number
  15521. spotgoodsbrandid:
  15522. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15523. type: integer
  15524. visibilityforenterprise:
  15525. description: 企业客户是否可见 - 0:不可见 1:可见
  15526. type: integer
  15527. visibilityforpersonal:
  15528. description: 个人客户是否可见 - 0:不可见 1:可见
  15529. type: integer
  15530. wrstandardid:
  15531. description: 现货商品ID
  15532. type: integer
  15533. type: object
  15534. models.QueryErrorInfosRsp:
  15535. properties:
  15536. description:
  15537. description: 异常描述
  15538. type: string
  15539. errorcode:
  15540. description: 异常代码
  15541. type: string
  15542. errorid:
  15543. description: 异常ID
  15544. type: integer
  15545. modulecode:
  15546. description: 所属模块
  15547. type: string
  15548. operatecode:
  15549. description: 所属操作
  15550. type: string
  15551. rownumber:
  15552. description: 行号
  15553. type: string
  15554. required:
  15555. - errorid
  15556. type: object
  15557. models.QueryHedgeOrderDetailRsp:
  15558. properties:
  15559. accountid:
  15560. description: 账户ID
  15561. type: integer
  15562. buyorsell:
  15563. description: 买卖 - 0:买 1:卖
  15564. type: integer
  15565. cancellogincode:
  15566. description: 撤单人
  15567. type: string
  15568. channelbuildtype:
  15569. description: 开平标志 - 0:无 1:建仓 2:平仓
  15570. type: integer
  15571. channelinnerorderstatus:
  15572. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15573. 9:全部成交
  15574. type: integer
  15575. channeloperatetype:
  15576. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15577. type: integer
  15578. closetype:
  15579. description: 平仓方式 - 0:无 1:平今 2:平昨
  15580. type: integer
  15581. curexchangerate:
  15582. description: 当前汇率
  15583. type: number
  15584. decimalplace:
  15585. description: 商品报价小数位
  15586. type: integer
  15587. exchangefullname:
  15588. description: 外部交易所全称
  15589. type: string
  15590. goodscode:
  15591. description: 商品代码(内部)
  15592. type: string
  15593. goodsid:
  15594. description: 商品ID
  15595. type: integer
  15596. goodsname:
  15597. description: 商品名称
  15598. type: string
  15599. marketid:
  15600. description: 市场ID
  15601. type: integer
  15602. openfreezemargin:
  15603. description: 冻结保证金(冻结交易金额)
  15604. type: number
  15605. orderid:
  15606. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15607. type: string
  15608. orderlogincode:
  15609. description: 委托人
  15610. type: string
  15611. orderprice:
  15612. description: 委托价格(账户)
  15613. type: number
  15614. orderqty:
  15615. description: 委托数量
  15616. type: integer
  15617. ordertime:
  15618. description: 委托时间
  15619. type: string
  15620. pricemode:
  15621. description: '取价方式 - 1:市价 2: 限价'
  15622. type: integer
  15623. tradedate:
  15624. description: 交易日(yyyyMMdd)
  15625. type: string
  15626. tradeqty:
  15627. description: 成交数量
  15628. type: integer
  15629. type: object
  15630. models.QueryHedgeTradeDetailRsp:
  15631. properties:
  15632. accountid:
  15633. description: 账号ID
  15634. type: integer
  15635. buyorsell:
  15636. description: 方向 - 0:买 1:卖
  15637. type: integer
  15638. channelbuildtype:
  15639. description: 委托单据类型 0:无 1:建仓 2:平仓
  15640. type: integer
  15641. closecharge:
  15642. description: 平仓手续费(账户)
  15643. type: number
  15644. closecharge2:
  15645. description: 平仓手续费(商品)
  15646. type: number
  15647. closepl:
  15648. description: 平仓盈亏(账户)
  15649. type: number
  15650. closepl2:
  15651. description: 平仓盈亏(商品)
  15652. type: number
  15653. closepl3:
  15654. description: 平仓盈亏(账户)(逐笔)
  15655. type: number
  15656. closepl4:
  15657. description: 平仓盈亏(商品)(逐笔)
  15658. type: number
  15659. closetype:
  15660. description: 平仓方式 - 0:无 1:平今 2:平昨
  15661. type: integer
  15662. curexchangerate:
  15663. description: 当前汇率
  15664. type: number
  15665. decimalplace:
  15666. description: 商品报价小数位
  15667. type: integer
  15668. exchangefullname:
  15669. description: 外部交易所全称
  15670. type: string
  15671. goodscode:
  15672. description: 商品代码(内部)
  15673. type: string
  15674. goodsid:
  15675. description: 商品ID
  15676. type: integer
  15677. goodsname:
  15678. description: 商品名称
  15679. type: string
  15680. marketid:
  15681. description: 市场ID
  15682. type: integer
  15683. opencharge:
  15684. description: 建仓手续费(账户)
  15685. type: number
  15686. opencharge2:
  15687. description: 建仓手续费(商品)
  15688. type: number
  15689. orderid:
  15690. description: 委托单号
  15691. type: string
  15692. orderlogincode:
  15693. description: 委托人
  15694. type: string
  15695. tradeamount:
  15696. description: 成交金额(账户)
  15697. type: number
  15698. tradedate:
  15699. description: 交易日(yyyyMMdd)
  15700. type: string
  15701. tradeid:
  15702. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15703. type: string
  15704. tradeprice:
  15705. description: 成交价格
  15706. type: number
  15707. tradeqty:
  15708. description: 成交数量
  15709. type: integer
  15710. tradetime:
  15711. description: 成交时间
  15712. type: string
  15713. tradetype:
  15714. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15715. type: integer
  15716. type: object
  15717. models.QuotePrimaryMenu:
  15718. properties:
  15719. Index:
  15720. description: 序号
  15721. type: integer
  15722. Key:
  15723. description: 键名
  15724. type: string
  15725. Name:
  15726. description: 菜单名称
  15727. type: string
  15728. SubMenus:
  15729. description: 子菜单
  15730. items:
  15731. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15732. type: array
  15733. SubTitleType:
  15734. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15735. type: integer
  15736. TradeModes:
  15737. description: 包含市场交易类型
  15738. type: string
  15739. type: object
  15740. models.QuoteSecondaryMenu:
  15741. properties:
  15742. ExExchangeCode:
  15743. description: 外部交易所代码
  15744. type: string
  15745. ExExchangeID:
  15746. description: 外部交易所ID
  15747. type: integer
  15748. GoodsGroupIDs:
  15749. description: 商品组ID列表
  15750. items:
  15751. type: integer
  15752. type: array
  15753. Index:
  15754. description: 序号
  15755. type: integer
  15756. MarketID:
  15757. description: 市场ID
  15758. type: integer
  15759. MenuTitle:
  15760. description: 菜单标题(市场名称或外部交易所名称)
  15761. type: string
  15762. TradeMode:
  15763. description: 交易模式
  15764. type: integer
  15765. type: object
  15766. models.Reckondaytaaccount:
  15767. properties:
  15768. accountid:
  15769. description: 资金账户ID
  15770. type: integer
  15771. accountname:
  15772. description: 账户名称
  15773. type: string
  15774. accountpl:
  15775. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15776. type: number
  15777. avaiablemoney:
  15778. description: 可用资金
  15779. type: number
  15780. avaiableoutmoney:
  15781. description: 可出资金
  15782. type: number
  15783. balance:
  15784. description: 期初余额
  15785. type: number
  15786. capitalbalance:
  15787. description: 本金余额[外部子账户实际出入金余额]
  15788. type: number
  15789. changeflag:
  15790. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15791. type: integer
  15792. clearbalance:
  15793. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15794. type: number
  15795. clearpl:
  15796. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15797. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15798. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15799. type: number
  15800. closepl:
  15801. description: 今日平仓盈亏
  15802. type: number
  15803. closepl2:
  15804. description: 平仓盈亏(逐笔)
  15805. type: number
  15806. creditdecrease:
  15807. description: 今日授信减少
  15808. type: number
  15809. creditincrease:
  15810. description: 今日授信增加
  15811. type: number
  15812. curdebt:
  15813. description: 期末欠款
  15814. type: number
  15815. currencyid:
  15816. description: 货币ID
  15817. type: integer
  15818. currentbalance:
  15819. description: 期末余额
  15820. type: number
  15821. cycletype:
  15822. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15823. type: integer
  15824. defercharge:
  15825. description: 今日递延费2支出[111, 112]
  15826. type: number
  15827. deliveryamountin:
  15828. description: 今日交收货款收入
  15829. type: number
  15830. deliveryamountout:
  15831. description: 今日交收货款支出
  15832. type: number
  15833. deliverycharge:
  15834. description: 今日交收手续费支出 [105,106]
  15835. type: number
  15836. deliverycompensationfeein:
  15837. description: 今日交收补偿费收入
  15838. type: number
  15839. deliverycompensationfeeout:
  15840. description: 今日交收补偿费支出
  15841. type: number
  15842. dividedcharge:
  15843. description: 今日已收手续费分成
  15844. type: number
  15845. floatnetvalue:
  15846. description: 浮动净值 = 净值 + 浮动盈亏
  15847. type: number
  15848. floatpl:
  15849. description: 浮动盈亏 - 每日有负债类商品
  15850. type: number
  15851. freezecharge:
  15852. description: 手续费冻结
  15853. type: number
  15854. freezemargin:
  15855. description: 冻结保证金
  15856. type: number
  15857. fromaccountid:
  15858. description: 所属上级账户
  15859. type: integer
  15860. holdcharge:
  15861. description: 今日持仓过夜费支出[108,109,110]
  15862. type: number
  15863. inamount:
  15864. description: 今日入金金额
  15865. type: number
  15866. interestcharge:
  15867. description: 今日递延费支出[103, 104]
  15868. type: number
  15869. ismain:
  15870. description: 是否账号 0:不是母账户 1:是母账户
  15871. type: integer
  15872. ismarketaccount:
  15873. description: 是否机构接单账号 0:不是 1:是
  15874. type: integer
  15875. isreckonaccount:
  15876. description: 是否机构分润账号 0:不是 1:是
  15877. type: integer
  15878. mortgagecredit:
  15879. description: 授信金额
  15880. type: number
  15881. netvalue:
  15882. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  15883. type: number
  15884. oridebt:
  15885. description: 期初欠款
  15886. type: number
  15887. orifreezecharge:
  15888. description: 期初手续费冻结
  15889. type: number
  15890. orifreezemargin:
  15891. description: 期初冻结保证金
  15892. type: number
  15893. orimortgagecredit:
  15894. description: 期初授信金额
  15895. type: number
  15896. oriothercredit:
  15897. description: 期初其它授信金额
  15898. type: number
  15899. oriotherfreezemargin:
  15900. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15901. type: number
  15902. orioutamountfreeze:
  15903. description: 期初出金冻结
  15904. type: number
  15905. oriusedmargin:
  15906. description: 期初占用保证金
  15907. type: number
  15908. othercredit:
  15909. description: 其它授信金额
  15910. type: number
  15911. othercreditdecrease:
  15912. description: 今日其它授信减少
  15913. type: number
  15914. othercreditincrease:
  15915. description: 今日其它授信增加
  15916. type: number
  15917. otherfreezemargin:
  15918. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15919. type: number
  15920. otherincome:
  15921. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15922. type: number
  15923. otherpay:
  15924. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15925. type: number
  15926. outamount:
  15927. description: 今日出金金额
  15928. type: number
  15929. outamountfreeze:
  15930. description: 出金冻结
  15931. type: number
  15932. outthreshold:
  15933. description: 出金阈值
  15934. type: number
  15935. ownershipvalue:
  15936. description: 所有权市值
  15937. type: number
  15938. parentaccountid:
  15939. description: 所属根账户
  15940. type: integer
  15941. password:
  15942. description: 资金密码
  15943. type: string
  15944. paycharge:
  15945. description: 今日手续费支出
  15946. type: number
  15947. paycharge2:
  15948. description: 今日手续费支出(外部配置)
  15949. type: number
  15950. payexchcharge:
  15951. description: 今日应付交易所手续费
  15952. type: number
  15953. reckondate:
  15954. description: 日照日期(yyyyMMdd)
  15955. type: string
  15956. reckonpl:
  15957. description: 今日结算盈亏
  15958. type: number
  15959. reckonpl2:
  15960. description: 结算盈亏(逐笔) - 汇总取期末
  15961. type: number
  15962. relatedaccountstatus:
  15963. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15964. type: integer
  15965. relateuserid:
  15966. description: 关联用户
  15967. type: integer
  15968. riskrate:
  15969. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  15970. type: number
  15971. signstatus:
  15972. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  15973. type: integer
  15974. spotvalue:
  15975. description: 现货市值-统计服务更新
  15976. type: number
  15977. sublevelpath:
  15978. description: 账号层级路径(逗号分隔,首尾加逗号)
  15979. type: string
  15980. taaccounttype:
  15981. description: 外部/内部账号 - 1:外部账号 2:内部账号
  15982. type: integer
  15983. thirdinamount:
  15984. description: 今日三方入金
  15985. type: number
  15986. thirdoutamount:
  15987. description: 今日三方出金
  15988. type: number
  15989. tradeamount:
  15990. description: 今日成交金额
  15991. type: number
  15992. tradecharge:
  15993. description: 今日交易手续费支出 [101,102]
  15994. type: number
  15995. tradeqty:
  15996. description: 今日成交量
  15997. type: integer
  15998. tradestatus:
  15999. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  16000. type: integer
  16001. transferamount:
  16002. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  16003. type: number
  16004. usedmargin:
  16005. description: 占用保证金
  16006. type: number
  16007. userid:
  16008. description: 用户ID
  16009. type: integer
  16010. required:
  16011. - userid
  16012. type: object
  16013. models.Reckongzmemtradesum:
  16014. properties:
  16015. buylistingamount:
  16016. description: 买挂牌金额 - 无数据,预留
  16017. type: number
  16018. buylistinglot:
  16019. description: 买挂牌宗数
  16020. type: integer
  16021. buylistingqty:
  16022. description: 买挂牌数量 - 无数据,预留
  16023. type: number
  16024. buytradeamount:
  16025. description: 购买金额
  16026. type: number
  16027. buytradelot:
  16028. description: 购买宗数
  16029. type: integer
  16030. buytradeqty:
  16031. description: 购买数量
  16032. type: number
  16033. marketid:
  16034. description: 市场ID
  16035. type: integer
  16036. reckondate:
  16037. description: 日照日期(yyyyMMdd)
  16038. type: string
  16039. selllistingamount:
  16040. description: 卖挂牌金额
  16041. type: number
  16042. selllistinglot:
  16043. description: 卖挂牌宗数
  16044. type: integer
  16045. selllistingqty:
  16046. description: 卖挂牌数量
  16047. type: number
  16048. selltradeamount:
  16049. description: 销售金额
  16050. type: number
  16051. selltradelot:
  16052. description: 销售宗数
  16053. type: integer
  16054. selltradeqty:
  16055. description: 销售数量
  16056. type: number
  16057. updatetime:
  16058. description: 更新时间
  16059. type: string
  16060. userid:
  16061. description: 用户ID
  16062. type: integer
  16063. zscategory:
  16064. description: 钻石分类 - 枚举”ZSCategory“
  16065. type: integer
  16066. zscategorydisplay:
  16067. type: string
  16068. zscurrencytype:
  16069. description: 货币类型 - 枚举“ZSCurrencyType”
  16070. type: integer
  16071. zscurrencytypedisplay:
  16072. type: string
  16073. zscurrencytypedisplayunit:
  16074. type: string
  16075. required:
  16076. - userid
  16077. type: object
  16078. models.RegisterMoney:
  16079. properties:
  16080. amount:
  16081. description: 红包
  16082. type: number
  16083. type: object
  16084. models.RelatedTaAccount:
  16085. properties:
  16086. accountid:
  16087. description: 资金账户ID
  16088. type: integer
  16089. type: object
  16090. models.RoleMenu:
  16091. properties:
  16092. hasright:
  16093. description: 是否有权限 0-没有权限 1-有权限
  16094. type: integer
  16095. iconame:
  16096. description: 菜单图标
  16097. type: string
  16098. menutype:
  16099. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  16100. type: integer
  16101. parentcode:
  16102. description: 上级资源代码
  16103. type: string
  16104. remark:
  16105. description: 菜单备注
  16106. type: string
  16107. resourcecode:
  16108. description: 菜单代码
  16109. type: string
  16110. resourcelevel:
  16111. description: 级别
  16112. type: integer
  16113. resourcename:
  16114. description: 菜单名称
  16115. type: string
  16116. roleid:
  16117. description: 角色id
  16118. type: integer
  16119. sort:
  16120. description: 排序
  16121. type: integer
  16122. subMenu:
  16123. description: 子级菜单(结构同上层一样, swag解析不出来)
  16124. items:
  16125. $ref: '#/definitions/models.RoleMenu'
  16126. type: array
  16127. url:
  16128. description: URL
  16129. type: string
  16130. userid:
  16131. description: 用户id
  16132. type: integer
  16133. type: object
  16134. models.SearchGoods:
  16135. properties:
  16136. goodscode:
  16137. description: 商品代码(内部)
  16138. type: string
  16139. goodsid:
  16140. description: 商品ID(自增ID SEQ_GOODS)
  16141. type: integer
  16142. goodsname:
  16143. description: 商品名称
  16144. type: string
  16145. marketid:
  16146. description: 所属市场ID
  16147. type: integer
  16148. marketname:
  16149. description: 市场名称
  16150. type: string
  16151. trademode:
  16152. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16153. 21:竞拍-大宗式 22:受托竞价
  16154. type: integer
  16155. required:
  16156. - goodscode
  16157. - goodsid
  16158. - goodsname
  16159. - marketid
  16160. - trademode
  16161. type: object
  16162. models.SellOrder:
  16163. properties:
  16164. accountid:
  16165. description: 资金账号
  16166. type: integer
  16167. applyid:
  16168. description: 申请单ID
  16169. type: integer
  16170. attachment1:
  16171. description: 附件1
  16172. type: string
  16173. attachment2:
  16174. description: 附件2
  16175. type: string
  16176. buyorsell:
  16177. description: 买卖 - 0:买 1:卖
  16178. type: integer
  16179. canbargain:
  16180. description: 是否可议价 - 0:不可 1:可
  16181. type: integer
  16182. cancelqty:
  16183. description: 撤销数量
  16184. type: integer
  16185. canceltime:
  16186. description: 撤销时间
  16187. type: string
  16188. cerno:
  16189. type: string
  16190. chargealgorithm:
  16191. description: 手续费收取方式 1:比率 2:固定
  16192. type: integer
  16193. chargealgorithmvalue:
  16194. description: 手续费设置值(交易所部分)
  16195. type: number
  16196. chargealgorithmvalue2:
  16197. description: 手续费设置值(会员部分)
  16198. type: number
  16199. clientordertime:
  16200. description: 客户端委托时间
  16201. type: string
  16202. cpcertno:
  16203. type: string
  16204. exchangerate:
  16205. description: 汇率[67]
  16206. type: number
  16207. firstratio:
  16208. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16209. type: number
  16210. fixedprice:
  16211. description: '[克拉单价]固定价格 - [挂牌]'
  16212. type: number
  16213. freezecharge:
  16214. description: 冻结手续费
  16215. type: number
  16216. freezefirstamount:
  16217. description: 冻结首付金额 - [摘牌]
  16218. type: number
  16219. freezemargin:
  16220. description: 冻结保证金
  16221. type: number
  16222. goodsno:
  16223. description: 商品编号
  16224. type: string
  16225. imagepath:
  16226. type: string
  16227. isQueryDiamond:
  16228. description: 是否钻石查询
  16229. type: boolean
  16230. isspecified:
  16231. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16232. type: integer
  16233. kppath:
  16234. type: string
  16235. kpweight:
  16236. type: string
  16237. marginalgorithm:
  16238. description: 保证金方式 - 1:比率 2:固定
  16239. type: integer
  16240. marginvalue:
  16241. description: 保证金设置值
  16242. type: number
  16243. marketid:
  16244. description: 市场ID
  16245. type: integer
  16246. marketprice:
  16247. type: string
  16248. orderamount:
  16249. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16250. type: number
  16251. ordertime:
  16252. description: 委托时间
  16253. type: string
  16254. performancetemplateid:
  16255. description: 履约计划模板ID
  16256. type: integer
  16257. price:
  16258. description: 价格
  16259. type: number
  16260. pricefactor:
  16261. description: 价格系数(浮动价时填写) - [挂牌]
  16262. type: number
  16263. pricemove:
  16264. description: 升贴水(浮动价时填写) - [挂牌]
  16265. type: number
  16266. priceper:
  16267. type: string
  16268. relatedwrtradeorderid:
  16269. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16270. type: integer
  16271. remainqty:
  16272. description: 剩余重量
  16273. type: number
  16274. remark:
  16275. type: string
  16276. retcode:
  16277. description: 错误代码
  16278. type: integer
  16279. sellusername:
  16280. description: 卖方(查询字段-模糊查询)
  16281. type: string
  16282. settingmaterial:
  16283. description: 镶嵌材料
  16284. type: string
  16285. size1:
  16286. type: string
  16287. size2:
  16288. type: string
  16289. size3:
  16290. type: string
  16291. sizedisplay:
  16292. description: 尺寸
  16293. type: string
  16294. stonedesc:
  16295. description: 配石描述
  16296. type: string
  16297. totalqty:
  16298. description: 总重量
  16299. type: number
  16300. tradedate:
  16301. description: 交易日(yyyyMMdd)
  16302. type: string
  16303. tradeprice:
  16304. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16305. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16306. type: number
  16307. unfreezecharge:
  16308. description: 解冻手续费
  16309. type: number
  16310. unfreezefirstamount:
  16311. description: 解冻首付金额 - [摘牌]
  16312. type: number
  16313. unfreezemargin:
  16314. description: 解冻保证金
  16315. type: number
  16316. userid:
  16317. description: 用户ID
  16318. type: integer
  16319. uuid:
  16320. description: 发起端唯一id
  16321. type: string
  16322. validtime:
  16323. description: 有效期限
  16324. type: string
  16325. validtype:
  16326. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16327. type: integer
  16328. warehousenamedisplay:
  16329. type: string
  16330. wrbargainid:
  16331. description: 议价申请单ID
  16332. type: integer
  16333. wrfactortypeid:
  16334. description: 仓单要素类型ID/商品ID(77)
  16335. type: integer
  16336. wrpath:
  16337. type: string
  16338. wrpricetype:
  16339. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16340. type: integer
  16341. wrstandardid:
  16342. description: 现货商品ID
  16343. type: integer
  16344. wrtradeorderid:
  16345. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16346. type: string
  16347. wrtradeorderstatus:
  16348. 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:撤单解冻贷款失败
  16349. type: integer
  16350. wrtradetype:
  16351. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16352. type: integer
  16353. wrtransferuserid:
  16354. description: 仓单受让用户 - [摘牌]
  16355. type: integer
  16356. zscategory:
  16357. description: 钻石分类 - 枚举”ZSCategory“
  16358. type: integer
  16359. zscategorydisplay:
  16360. description: 钻石分类 - 描述
  16361. type: string
  16362. zscerttypedisplay:
  16363. type: string
  16364. zsclaritytype1display:
  16365. type: string
  16366. zsclaritytype2display:
  16367. type: string
  16368. zscolortype1display:
  16369. type: string
  16370. zscolortype2display:
  16371. type: string
  16372. zscrystaltype:
  16373. type: string
  16374. zscrystaltypedisplay:
  16375. type: string
  16376. zscurrencytype:
  16377. description: 货币类型 - 枚举“ZSCurrencyType”
  16378. type: integer
  16379. zscurrencytypedisplay:
  16380. type: string
  16381. zscurrencytypedisplayunit:
  16382. type: string
  16383. zscuttype1display:
  16384. type: string
  16385. zscuttype2display:
  16386. type: string
  16387. zsczcolor1typedisplay:
  16388. type: string
  16389. zsczcolor2typedisplay:
  16390. type: string
  16391. zsczcolor3typedisplay:
  16392. type: string
  16393. zsfluorescencetype1display:
  16394. type: string
  16395. zsfluorescencetype2display:
  16396. type: string
  16397. zspolishtype1display:
  16398. type: string
  16399. zspolishtype2display:
  16400. type: string
  16401. zsshapetypedisplay:
  16402. type: string
  16403. zsstyletypedisplay:
  16404. type: string
  16405. zssymmetrytype1display:
  16406. type: string
  16407. zssymmetrytype2display:
  16408. type: string
  16409. type: object
  16410. models.SellOrderQueryReq:
  16411. properties:
  16412. origin:
  16413. description: 原产地
  16414. type: string
  16415. page:
  16416. description: 页码
  16417. type: integer
  16418. pagesize:
  16419. description: 每页大小
  16420. type: integer
  16421. total:
  16422. description: 总条数
  16423. type: integer
  16424. warehouseid:
  16425. description: 仓库ID
  16426. type: integer
  16427. weight1:
  16428. description: 总重量(克拉重量)-从
  16429. type: number
  16430. weight2:
  16431. description: 总重量(克拉重量)-至
  16432. type: number
  16433. weightavg1:
  16434. description: 平均单颗重量-从
  16435. type: number
  16436. weightavg2:
  16437. description: 平均单颗重量-至
  16438. type: number
  16439. zscategory:
  16440. description: 钻石分类 - 枚举”ZSCategory“
  16441. type: integer
  16442. zscerttype:
  16443. description: 证书类型
  16444. items:
  16445. type: string
  16446. type: array
  16447. zsclaritytype:
  16448. description: 净度
  16449. items:
  16450. type: integer
  16451. type: array
  16452. zscolortype:
  16453. description: 颜色
  16454. items:
  16455. type: integer
  16456. type: array
  16457. zscurrencytype:
  16458. description: 货币类型 - 枚举“ZSCurrencyType”
  16459. items:
  16460. type: string
  16461. type: array
  16462. zscuttype:
  16463. description: 切工
  16464. items:
  16465. type: integer
  16466. type: array
  16467. zsczcolor1type:
  16468. description: 彩钻颜色1
  16469. items:
  16470. type: string
  16471. type: array
  16472. zsfluorescencetype:
  16473. description: 荧光
  16474. items:
  16475. type: integer
  16476. type: array
  16477. zspolishtype:
  16478. description: 抛光度
  16479. items:
  16480. type: integer
  16481. type: array
  16482. zsshapetype:
  16483. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16484. items:
  16485. type: string
  16486. type: array
  16487. zsstyletype:
  16488. description: 款式
  16489. items:
  16490. type: string
  16491. type: array
  16492. zssymmetrytype:
  16493. description: 对称度
  16494. items:
  16495. type: integer
  16496. type: array
  16497. required:
  16498. - zscategory
  16499. type: object
  16500. models.Systemparam:
  16501. properties:
  16502. loginid:
  16503. description: 更新用户账号,登录账号
  16504. type: string
  16505. modifyflag:
  16506. description: 修改标志0 不允许修改 1 允许修改
  16507. type: integer
  16508. paramcode:
  16509. description: 参数代码
  16510. type: string
  16511. paramname:
  16512. description: 参数名
  16513. type: string
  16514. paramtype:
  16515. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16516. type: integer
  16517. paramvalue:
  16518. description: 参数值
  16519. type: string
  16520. paramvalue2:
  16521. description: 参数值(CLOB)
  16522. type: string
  16523. regexpress:
  16524. description: 正则表达式
  16525. type: string
  16526. remark:
  16527. description: 备注
  16528. type: string
  16529. serverip:
  16530. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16531. type: string
  16532. showflag:
  16533. description: 是否显示0 不显示 1 显示
  16534. type: integer
  16535. updatetime:
  16536. description: 更新时间
  16537. type: string
  16538. userid:
  16539. description: 更新用户ID
  16540. type: integer
  16541. required:
  16542. - paramcode
  16543. type: object
  16544. models.Szdz3convertconfig:
  16545. properties:
  16546. canin:
  16547. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16548. type: integer
  16549. canout:
  16550. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16551. type: integer
  16552. converttype:
  16553. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16554. 6:交易转花生米(不设置)
  16555. type: integer
  16556. createtime:
  16557. description: 创建时间
  16558. type: string
  16559. creatorid:
  16560. description: 创建人
  16561. type: integer
  16562. daymaxvalue:
  16563. description: 当日最大转入限制
  16564. type: number
  16565. freezedays:
  16566. description: 冻结天数 [5:花生米转交易]
  16567. type: integer
  16568. innergoodsid:
  16569. description: 内部商品ID[交易]
  16570. type: integer
  16571. inratio:
  16572. description: 目标值
  16573. type: integer
  16574. modifierid:
  16575. description: 修改人
  16576. type: integer
  16577. modifytime:
  16578. description: 修改时间
  16579. type: string
  16580. outergoodscode:
  16581. description: 外部商品代码[JD\PD]
  16582. type: string
  16583. outratio:
  16584. description: 源值
  16585. type: integer
  16586. pddecimalplace:
  16587. description: PD小数位
  16588. type: integer
  16589. timemaxvalue:
  16590. description: 单次最大转入限制
  16591. type: number
  16592. timeminvalue:
  16593. description: 单次最小转入限制
  16594. type: number
  16595. required:
  16596. - converttype
  16597. - innergoodsid
  16598. - outergoodscode
  16599. type: object
  16600. models.Szdz3searchwhitelist:
  16601. properties:
  16602. createtime:
  16603. description: 创建时间
  16604. type: string
  16605. creatorid:
  16606. description: 创建人
  16607. type: integer
  16608. modifierid:
  16609. description: 修改人
  16610. type: integer
  16611. modifytime:
  16612. description: 修改时间
  16613. type: string
  16614. userid:
  16615. description: 用户ID
  16616. type: integer
  16617. required:
  16618. - userid
  16619. type: object
  16620. models.TBGoods:
  16621. properties:
  16622. agreeunit:
  16623. description: 合约乘数
  16624. type: number
  16625. enumdicname:
  16626. description: 单位名称
  16627. type: string
  16628. goodscode:
  16629. description: 商品代码(内部)
  16630. type: string
  16631. goodsid:
  16632. description: 商品ID(自增ID SEQ_GOODS)
  16633. type: integer
  16634. goodsname:
  16635. description: 商品名称
  16636. type: string
  16637. type: object
  16638. models.TBGoodsGroup:
  16639. properties:
  16640. GDLST:
  16641. description: 商品列表
  16642. items:
  16643. $ref: '#/definitions/models.TBGoods'
  16644. type: array
  16645. convertratio:
  16646. description: 折算系数
  16647. type: number
  16648. enumdicname:
  16649. description: 单位名称
  16650. type: string
  16651. exexchangecode:
  16652. description: 交易所代码
  16653. type: string
  16654. exexchangename:
  16655. description: 交易所名称
  16656. type: string
  16657. goodsgroupid:
  16658. description: 商品组ID(自增ID)
  16659. type: integer
  16660. goodsgroupname:
  16661. description: 商品组名称
  16662. type: string
  16663. goodunitid:
  16664. description: 报价单位ID
  16665. type: integer
  16666. type: object
  16667. models.TBMiddleGoods:
  16668. properties:
  16669. GPLST:
  16670. description: 期货品种列表
  16671. items:
  16672. $ref: '#/definitions/models.TBGoodsGroup'
  16673. type: array
  16674. WDLST:
  16675. description: 商品信息列表(现货品类)
  16676. items:
  16677. $ref: '#/definitions/models.TBWrstandard'
  16678. type: array
  16679. areauserid:
  16680. description: 机构用户ID
  16681. type: integer
  16682. enumdicname:
  16683. description: 单位名称
  16684. type: string
  16685. goodsunitid:
  16686. description: 套保品种单位id
  16687. type: integer
  16688. middlegoodscode:
  16689. description: 套保品种代码
  16690. type: string
  16691. middlegoodsid:
  16692. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16693. type: integer
  16694. middlegoodsname:
  16695. description: 套保品种名称
  16696. type: string
  16697. needarbitrageratio:
  16698. description: 套利比率
  16699. type: number
  16700. needhedgeratio:
  16701. description: 套保比率
  16702. type: number
  16703. type: object
  16704. models.TBWrstandard:
  16705. properties:
  16706. convertratio:
  16707. description: 折算系数
  16708. type: number
  16709. deliverygoodsname:
  16710. description: 品种名称
  16711. type: string
  16712. enumdicname:
  16713. description: 单位名称
  16714. type: string
  16715. vatrate:
  16716. description: 增值税率
  16717. type: number
  16718. wrstandardcode:
  16719. description: 现货商品代码
  16720. type: string
  16721. wrstandardid:
  16722. description: 现货商品ID(SEQ_WRSTANDARD)
  16723. type: integer
  16724. wrstandardname:
  16725. description: 现货商品名称
  16726. type: string
  16727. type: object
  16728. models.THJDeliveryMode:
  16729. properties:
  16730. enumdicname:
  16731. description: 枚举项名称
  16732. type: string
  16733. enumitemname:
  16734. description: 枚举项值
  16735. type: integer
  16736. type: object
  16737. models.THJDeliveryMonth:
  16738. properties:
  16739. enddate:
  16740. description: 预售结束日期(yyyy-mm-dd)
  16741. type: string
  16742. endmonth:
  16743. description: 预售结束月份(yyyy-mm)
  16744. type: string
  16745. orderqty:
  16746. description: 委托数量
  16747. type: integer
  16748. presaleapplyid:
  16749. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16750. type: string
  16751. remainqty:
  16752. description: 可用数量
  16753. type: integer
  16754. tradeqty:
  16755. description: 成交数量
  16756. type: integer
  16757. type: object
  16758. models.THJPresaleApplyDeposit:
  16759. properties:
  16760. depositrate:
  16761. description: 定金比例
  16762. type: number
  16763. discountamount:
  16764. description: 优惠金额(每吨)
  16765. type: number
  16766. type: object
  16767. models.THJSigninReq:
  16768. properties:
  16769. userid:
  16770. description: 用户ID
  16771. type: integer
  16772. required:
  16773. - userid
  16774. type: object
  16775. models.THJSigninRsp:
  16776. properties:
  16777. signinstatus:
  16778. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  16779. type: integer
  16780. type: object
  16781. models.THJSpotGoodsPriceLog:
  16782. properties:
  16783. spotgoodsprice:
  16784. description: 现货价格
  16785. type: number
  16786. tradedate:
  16787. description: 交易日(yyyyMMdd)
  16788. type: string
  16789. type: object
  16790. models.THJWrstandard:
  16791. properties:
  16792. thumurls:
  16793. description: 缩略图片(1:1)(逗号分隔)
  16794. type: string
  16795. wrstandardcode:
  16796. description: 现货商品代码
  16797. type: string
  16798. wrstandardid:
  16799. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16800. type: integer
  16801. wrstandardname:
  16802. description: 现货商品名称(模糊查询)
  16803. type: string
  16804. type: object
  16805. models.THJWrstandardDetail_GoodsInfo:
  16806. properties:
  16807. pictureurls:
  16808. description: 详情图片(逗号分隔)
  16809. type: string
  16810. spotgoodsprice:
  16811. description: 现货价格
  16812. type: number
  16813. wrstandardcode:
  16814. description: 现货商品代码
  16815. type: string
  16816. wrstandardid:
  16817. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16818. type: integer
  16819. wrstandardname:
  16820. description: 现货商品名称
  16821. type: string
  16822. type: object
  16823. models.THJWrstandardDetailRsp:
  16824. properties:
  16825. deliverymodes:
  16826. description: 交割方式
  16827. items:
  16828. $ref: '#/definitions/models.THJDeliveryMode'
  16829. type: array
  16830. deliverymonth:
  16831. description: 交割月份
  16832. items:
  16833. $ref: '#/definitions/models.THJDeliveryMonth'
  16834. type: array
  16835. goodsinfo:
  16836. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  16837. description: 商品信息
  16838. presaleapplydeposits:
  16839. description: 支付方式
  16840. items:
  16841. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  16842. type: array
  16843. spotgoodspricelogs:
  16844. description: 历史价格走势
  16845. items:
  16846. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  16847. type: array
  16848. type: object
  16849. models.Taaccount:
  16850. properties:
  16851. accountflag:
  16852. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16853. type: integer
  16854. accountid:
  16855. description: 资金账户ID
  16856. type: integer
  16857. accountname:
  16858. description: 账户名称
  16859. type: string
  16860. balance:
  16861. description: 期初余额
  16862. type: number
  16863. capitalbalance:
  16864. description: 本金余额[外部子账户实际出入金余额]
  16865. type: number
  16866. changeflag:
  16867. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16868. type: integer
  16869. changetime:
  16870. description: 账户状态变更时间
  16871. type: string
  16872. closepl:
  16873. description: 今日平仓盈亏
  16874. type: number
  16875. creditdecrease:
  16876. description: 今日授信减少
  16877. type: number
  16878. creditincrease:
  16879. description: 今日授信增加
  16880. type: number
  16881. curamount:
  16882. description: 总市值(从持仓中统计)
  16883. type: number
  16884. currencyid:
  16885. description: 货币ID
  16886. type: integer
  16887. currentbalance:
  16888. description: 期末余额
  16889. type: number
  16890. freezecharge:
  16891. description: 手续费冻结
  16892. type: number
  16893. freezemargin:
  16894. description: 冻结保证金
  16895. type: number
  16896. fromaccountid:
  16897. description: 所属上级账户
  16898. type: integer
  16899. inamount:
  16900. description: 今日入金金额(包括三方入金)
  16901. type: number
  16902. ismain:
  16903. description: 是否母账号 0:不是母账户 1:是母账户
  16904. type: integer
  16905. ismarketaccount:
  16906. description: 是否机构接单账号 0:不是 1:是
  16907. type: integer
  16908. isreckonaccount:
  16909. description: 是否机构分润账号 0:不是 1:是
  16910. type: integer
  16911. mortgagecredit:
  16912. description: 授信金额
  16913. type: number
  16914. orifreezecharge:
  16915. description: 期初手续费冻结
  16916. type: number
  16917. orifreezemargin:
  16918. description: 期初冻结保证金
  16919. type: number
  16920. orimortgagecredit:
  16921. description: 期初授信金额
  16922. type: number
  16923. oriothercredit:
  16924. description: 期初其它授信金额
  16925. type: number
  16926. oriotherfreezemargin:
  16927. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16928. type: number
  16929. orioutamountfreeze:
  16930. description: 期初出金冻结
  16931. type: number
  16932. oriusedmargin:
  16933. description: 期初占用保证金
  16934. type: number
  16935. othercredit:
  16936. description: 其它授信金额
  16937. type: number
  16938. othercreditdecrease:
  16939. description: 今日其它授信减少
  16940. type: number
  16941. othercreditincrease:
  16942. description: 今日其它授信增加
  16943. type: number
  16944. otherfreezemargin:
  16945. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16946. type: number
  16947. otherincome:
  16948. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16949. type: number
  16950. otherpay:
  16951. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16952. type: number
  16953. outamount:
  16954. description: 今日出金金额(包括三方出金)
  16955. type: number
  16956. outamountfreeze:
  16957. description: 出金冻结
  16958. type: number
  16959. outthreshold:
  16960. description: 出金阈值
  16961. type: number
  16962. parentaccountid:
  16963. description: 所属根账号
  16964. type: integer
  16965. paycharge:
  16966. description: 今日手续费支出
  16967. type: number
  16968. relatedaccountstatus:
  16969. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16970. type: integer
  16971. relateduserid:
  16972. description: 关联用户
  16973. type: integer
  16974. remainamount:
  16975. description: 融资额(从融资合同中统计)
  16976. type: number
  16977. serivcegroup:
  16978. description: 服务分组
  16979. type: integer
  16980. signstatus:
  16981. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16982. type: integer
  16983. sublevelpath:
  16984. description: 账号层级路径(逗号分隔,首尾加逗号)
  16985. type: string
  16986. taaccounttype:
  16987. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16988. type: integer
  16989. thirdinamount:
  16990. description: 今日三方入金
  16991. type: number
  16992. thirdoutamount:
  16993. description: 今日三方出金
  16994. type: number
  16995. tradestatus:
  16996. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16997. type: integer
  16998. tradestatuschangetime:
  16999. description: 激活时间
  17000. type: string
  17001. transferamount:
  17002. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  17003. type: number
  17004. usedmargin:
  17005. description: 占用保证金
  17006. type: number
  17007. userid:
  17008. description: 用户ID
  17009. type: integer
  17010. required:
  17011. - accountid
  17012. - userid
  17013. type: object
  17014. models.Tablecolumnconfig:
  17015. properties:
  17016. aligntype:
  17017. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  17018. type: integer
  17019. autoid:
  17020. description: AutoID
  17021. type: integer
  17022. columnfield:
  17023. description: 列字段
  17024. type: string
  17025. columntitle:
  17026. description: 列Title
  17027. type: string
  17028. columnwidth:
  17029. description: 列宽
  17030. type: string
  17031. fixed:
  17032. description: 固定类型 - 空 | left | right
  17033. type: string
  17034. formatterstring:
  17035. description: 格式化字符
  17036. type: string
  17037. formattertype:
  17038. description: 格式化类型
  17039. type: string
  17040. groupname:
  17041. description: 表头分组名称
  17042. type: string
  17043. ismerge:
  17044. description: 是否合并显示 - 0:不合并 1:合并
  17045. type: integer
  17046. isshow:
  17047. description: 是否显示 - 0:不显示 1:显示
  17048. type: integer
  17049. needsummary:
  17050. description: 是否需要汇总 - 0:不需要 1:需要
  17051. type: integer
  17052. orderindex:
  17053. description: 顺序
  17054. type: integer
  17055. remark:
  17056. description: 备注
  17057. type: string
  17058. summarytype:
  17059. description: 汇总类型 - 1:加总 2:最后一个
  17060. type: integer
  17061. tablekey:
  17062. description: 列表Key
  17063. type: string
  17064. required:
  17065. - autoid
  17066. type: object
  17067. models.Thjpurchasetradedetail:
  17068. properties:
  17069. buyaccountid:
  17070. description: 买方账号ID
  17071. type: integer
  17072. buychargevalue:
  17073. description: 买方到期手续费
  17074. type: number
  17075. buyconfirmremark:
  17076. description: 买方确认备注
  17077. type: string
  17078. buyconfirmtime:
  17079. description: 买方确认时间
  17080. type: string
  17081. buyfreezecharge:
  17082. description: 买方摘牌冻结手续费
  17083. type: number
  17084. buyuserid:
  17085. description: 买方用户ID
  17086. type: integer
  17087. contactinfo:
  17088. description: 联系方式
  17089. type: string
  17090. contactname:
  17091. description: 联系人姓名
  17092. type: string
  17093. contractaddrbuy:
  17094. description: 贸易合同地址(买家)
  17095. type: string
  17096. contractaddrsell:
  17097. description: 贸易合同地址(卖家)
  17098. type: string
  17099. deliverygoodsid:
  17100. description: 现货品种ID
  17101. type: integer
  17102. depositrate:
  17103. description: 定金比例
  17104. type: number
  17105. desaddress:
  17106. description: 目的地地址
  17107. type: string
  17108. discountamount:
  17109. description: 优惠总金额(优惠金额*TradeQty)
  17110. type: number
  17111. handlestatus:
  17112. description: 处理状态
  17113. type: integer
  17114. lastamount:
  17115. description: 到期总货款 = 到期价格 * 摘牌数量
  17116. type: number
  17117. lastprice:
  17118. description: 到期价格
  17119. type: number
  17120. lastpricedate:
  17121. description: 到期价格日期 - 暂不使用
  17122. type: string
  17123. marketid:
  17124. description: 市场ID
  17125. type: integer
  17126. orderstatus:
  17127. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  17128. (枚举:THJOrderStatus)
  17129. type: integer
  17130. payeddeposit:
  17131. description: 买方已付定金
  17132. type: number
  17133. payedtradedate:
  17134. description: 支付尾款成功交易日
  17135. type: string
  17136. presaleapplyid:
  17137. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17138. type: integer
  17139. receiptinfo:
  17140. description: 发票信息
  17141. type: string
  17142. remainamount:
  17143. description: 剩余货款 = 到期总货款 - 已付定金 - 优惠金额
  17144. type: number
  17145. sellaccountid:
  17146. description: 卖方账号ID
  17147. type: integer
  17148. sellchargevalue:
  17149. description: 卖方到期手续费
  17150. type: number
  17151. sellconfirmattach:
  17152. description: 卖方确认附件
  17153. type: string
  17154. sellconfirmremark:
  17155. description: 卖方确认备注
  17156. type: string
  17157. sellconfirmtime:
  17158. description: 卖方确认时间
  17159. type: string
  17160. sellconfirmtradedate:
  17161. description: 卖方确认交易日
  17162. type: string
  17163. selluserid:
  17164. description: 卖方用户ID
  17165. type: integer
  17166. thjdeliverymode:
  17167. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  17168. type: integer
  17169. thjdeliverymodedisplay:
  17170. description: 提货方式
  17171. type: string
  17172. thjorderstatusdisplay:
  17173. description: 状态
  17174. type: string
  17175. tradeamount:
  17176. description: 摘牌总货款
  17177. type: number
  17178. tradedate:
  17179. description: 交易日(yyyyMMdd)
  17180. type: string
  17181. tradeprice:
  17182. description: 摘牌价格
  17183. type: number
  17184. tradeqty:
  17185. description: 摘牌数量
  17186. type: integer
  17187. tradetime:
  17188. description: 摘牌时间
  17189. type: string
  17190. warehouseid:
  17191. description: 仓库ID
  17192. type: integer
  17193. warehousename:
  17194. description: 仓库名称
  17195. type: string
  17196. wrfactortypeid:
  17197. description: 仓单要素类型ID
  17198. type: integer
  17199. wrstandardid:
  17200. description: 现货商品ID
  17201. type: integer
  17202. wrstandardname:
  17203. description: 现货商品名称
  17204. type: string
  17205. wrtradedetailid:
  17206. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17207. type: integer
  17208. required:
  17209. - buyuserid
  17210. type: object
  17211. models.TjmdHolderDetailTradeInfo:
  17212. properties:
  17213. agreeunit:
  17214. description: 合约乘数
  17215. type: number
  17216. buyaccountid:
  17217. description: 买方账户
  17218. type: string
  17219. buyusername:
  17220. description: 买方
  17221. type: string
  17222. delistingdate:
  17223. description: 最后结算日
  17224. type: string
  17225. expiredate:
  17226. description: 到期结算价定价日
  17227. type: string
  17228. exprieprice:
  17229. description: 到期清算价格
  17230. type: string
  17231. goodscode:
  17232. description: 商品代码
  17233. type: string
  17234. goodsid:
  17235. description: 商品ID
  17236. type: integer
  17237. goodsname:
  17238. description: 商品名称(交易标的)
  17239. type: string
  17240. lasttradedate:
  17241. description: 最后交易日
  17242. type: string
  17243. listingdate:
  17244. description: 开始交易日
  17245. type: string
  17246. openprice:
  17247. description: 成交价
  17248. type: number
  17249. openqty:
  17250. description: 交易数量
  17251. type: integer
  17252. sellaccountid:
  17253. description: 卖方账户
  17254. type: string
  17255. sellusername:
  17256. description: 卖方
  17257. type: string
  17258. tradeamount:
  17259. description: 初始名义价值
  17260. type: number
  17261. tradedate:
  17262. description: 成交日期
  17263. type: string
  17264. tradeid:
  17265. description: 成交编号
  17266. type: string
  17267. type: object
  17268. models.TjmdMarketSection:
  17269. properties:
  17270. marketsectionid:
  17271. description: 市场版块ID(SEQ_MARKETSECTION)
  17272. type: integer
  17273. marketsectionname:
  17274. description: 市场版块名称
  17275. type: string
  17276. mlist:
  17277. description: 市场列表(板块下面有多少个市场)
  17278. items:
  17279. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17280. type: array
  17281. orderindex:
  17282. description: 排序
  17283. type: integer
  17284. pictureurl:
  17285. description: 图片url, 规格(90*90)
  17286. type: string
  17287. remark:
  17288. description: 备注
  17289. type: string
  17290. type: object
  17291. models.TjmdMarketSectionConfig:
  17292. properties:
  17293. auctionwrtype:
  17294. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17295. type: integer
  17296. canacceptquote:
  17297. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17298. type: integer
  17299. cangoodsexercise:
  17300. description: '[期权]是否可现货行权- 0:否 1:是'
  17301. type: integer
  17302. cangoodsexercisetype:
  17303. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17304. type: integer
  17305. canmanualquotestrike:
  17306. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17307. type: integer
  17308. canmutistage:
  17309. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17310. type: integer
  17311. canpreexercise:
  17312. description: '[期权]是否可预申报- 0:否 1:是'
  17313. type: integer
  17314. clearinterval:
  17315. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17316. type: integer
  17317. contracttmp:
  17318. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17319. type: string
  17320. exchareaid:
  17321. description: 所属交易所,可以没有
  17322. type: integer
  17323. financemarketid:
  17324. description: 融资回购市场ID [仓单贸易]
  17325. type: integer
  17326. goodstype:
  17327. description: 商品类型 - 1:交易商品 2:仓单商品
  17328. type: integer
  17329. hasrebate:
  17330. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17331. type: integer
  17332. hastradecredit:
  17333. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17334. type: integer
  17335. haswr:
  17336. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17337. type: integer
  17338. isdeductmargin:
  17339. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17340. type: integer
  17341. isrecordsource:
  17342. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17343. type: integer
  17344. isreleasemargin:
  17345. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17346. type: integer
  17347. isupdatereckonprice:
  17348. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17349. type: integer
  17350. listingmode:
  17351. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17352. type: integer
  17353. marginformula:
  17354. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17355. type: integer
  17356. marginformula2:
  17357. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17358. type: integer
  17359. marketid:
  17360. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17361. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17362. type: integer
  17363. marketname:
  17364. description: 市场名称
  17365. type: string
  17366. marketsectionid:
  17367. description: 市场版块ID(SEQ_MARKETSECTION)
  17368. type: integer
  17369. marketserviceid:
  17370. description: 市场服务ID
  17371. type: integer
  17372. marketstatus:
  17373. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17374. type: integer
  17375. markettype:
  17376. description: 市场类型- 1:非交易服务 2:交易服务
  17377. type: integer
  17378. matchermode:
  17379. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17380. type: integer
  17381. nowrquotaflag:
  17382. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17383. type: integer
  17384. openmethod:
  17385. description: 开盘模式 - 0 自动 1手动
  17386. type: integer
  17387. orderindex:
  17388. description: 排序
  17389. type: integer
  17390. otcuserid:
  17391. description: 场外期权做市商[场外期权]
  17392. type: integer
  17393. outersynctime:
  17394. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17395. type: string
  17396. paylaterflag:
  17397. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17398. type: integer
  17399. pendingflag:
  17400. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17401. type: integer
  17402. pendingtime:
  17403. description: 待开市时间[通道交易-对冲](HH:mm)
  17404. type: string
  17405. performancetempid:
  17406. description: 履约计划模板ID - 作废
  17407. type: integer
  17408. premiumquotemode:
  17409. description: 权利金报价方式 - 1:自动 2:手动
  17410. type: integer
  17411. rebateratio:
  17412. description: 返利比率[竞价式]
  17413. type: number
  17414. reckonorder:
  17415. description: 结算顺序
  17416. type: integer
  17417. reckonpricealgorithm:
  17418. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17419. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17420. type: integer
  17421. reckonpriceparam:
  17422. description: 结算价参数
  17423. type: integer
  17424. reckontime:
  17425. description: 结算时间[通道交易-对冲](HH:mm)
  17426. type: string
  17427. roleprioritytype:
  17428. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17429. type: integer
  17430. selllistingauditflag:
  17431. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17432. type: integer
  17433. trademarkettype:
  17434. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17435. type: integer
  17436. trademode:
  17437. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17438. 21:竞拍-大宗式 22:受托竞价
  17439. type: integer
  17440. tradeproperty:
  17441. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17442. 8:场外期权
  17443. type: integer
  17444. tradetype:
  17445. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17446. type: integer
  17447. updatereckonpriceinterval:
  17448. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17449. type: integer
  17450. type: object
  17451. models.TjmdQuoteGoods:
  17452. properties:
  17453. buyqty:
  17454. description: 买量(暂不做, 无值, 保留字段)
  17455. type: number
  17456. decimalplace:
  17457. description: 报价小数位
  17458. type: integer
  17459. goodscode:
  17460. description: 合约代码
  17461. type: string
  17462. goodsgroupid:
  17463. description: 商品组ID(自增ID)
  17464. type: integer
  17465. goodsgroupname:
  17466. description: 商品组名称
  17467. type: string
  17468. goodsid:
  17469. description: 合约id
  17470. type: integer
  17471. goodsname:
  17472. description: 合约名称
  17473. type: string
  17474. refgoodscode:
  17475. description: 标的合约代码
  17476. type: string
  17477. refgoodsid:
  17478. description: 标的合约id
  17479. type: integer
  17480. refgoodsname:
  17481. description: 标的合约名称
  17482. type: string
  17483. sellqty:
  17484. description: 卖量(暂不做, 无值, 保留字段)
  17485. type: number
  17486. type: object
  17487. models.TjmdTodayAccountMargin:
  17488. properties:
  17489. accountid:
  17490. description: 账号ID
  17491. type: integer
  17492. goodsid:
  17493. description: 商品ID
  17494. type: integer
  17495. infoc:
  17496. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17497. description: 配置参数
  17498. marketid:
  17499. description: 市场ID
  17500. type: integer
  17501. type: object
  17502. models.TjmdTradeOrderDetail:
  17503. properties:
  17504. buyorsell:
  17505. description: 买卖方向 0-买 1-卖
  17506. type: integer
  17507. goodsid:
  17508. description: 商品id
  17509. type: integer
  17510. marketmaxsub:
  17511. description: 市价最大偏移范围 [浮动价 - 点差]
  17512. type: number
  17513. orderid:
  17514. description: 委托单号
  17515. type: string
  17516. orderprice:
  17517. description: 期初均价
  17518. type: number
  17519. orderqty:
  17520. description: 委托数量
  17521. type: integer
  17522. pricemode:
  17523. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17524. type: integer
  17525. userid:
  17526. description: 用户id
  17527. type: integer
  17528. username:
  17529. description: 用户名称(已脱敏)
  17530. type: string
  17531. type: object
  17532. models.TjmdTransferApply:
  17533. properties:
  17534. applyid:
  17535. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17536. type: integer
  17537. applystatus:
  17538. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17539. type: integer
  17540. applytime:
  17541. description: 申请时间(时间)
  17542. type: string
  17543. auditremark:
  17544. description: 审核备注(拒绝原因?)
  17545. type: string
  17546. begindate:
  17547. description: 开始交易日(yyyymmdd)
  17548. type: string
  17549. buyorsell:
  17550. description: 买卖 - 0:买 1:卖
  17551. type: integer
  17552. enddate:
  17553. description: 结束交易日(yyyymmdd)
  17554. type: string
  17555. goodscode:
  17556. description: 商品代码
  17557. type: string
  17558. goodsid:
  17559. description: 商品ID
  17560. type: integer
  17561. goodsname:
  17562. description: 商品名称
  17563. type: string
  17564. marketid:
  17565. description: 市场ID
  17566. type: integer
  17567. qty:
  17568. description: 期初均价
  17569. type: number
  17570. tradeid:
  17571. description: 成交单号(关联持仓)
  17572. type: string
  17573. transferamount:
  17574. description: 转让总金额(金额)
  17575. type: number
  17576. transferprice:
  17577. description: 转让价格(协议价格)
  17578. type: number
  17579. type: object
  17580. models.TradeHolderDetail:
  17581. properties:
  17582. accountid:
  17583. description: 账号ID
  17584. type: integer
  17585. agreeunit:
  17586. description: 合约乘数
  17587. type: number
  17588. buyorsell:
  17589. description: 方向 - 0:买 1:卖
  17590. type: integer
  17591. currencyid:
  17592. description: 商品币种id
  17593. type: integer
  17594. currencyname:
  17595. description: 币种名称
  17596. type: string
  17597. decimalplace:
  17598. description: 商品价格小数位
  17599. type: integer
  17600. enumdicname:
  17601. description: 商品单位名称
  17602. type: string
  17603. expirecycle:
  17604. description: 行权周期(天) - 1:滚动行权时填写
  17605. type: integer
  17606. expiredate:
  17607. description: 行权日(yyyyMMdd) - 到期日
  17608. type: string
  17609. expiretype:
  17610. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17611. type: integer
  17612. freezeqty:
  17613. description: 期初均价
  17614. type: number
  17615. goodscode:
  17616. description: 商品代码
  17617. type: string
  17618. goodsid:
  17619. description: 商品ID
  17620. type: integer
  17621. goodsname:
  17622. description: 商品名称
  17623. type: string
  17624. goodunitid:
  17625. description: 商品单位id
  17626. type: integer
  17627. holderamount:
  17628. description: 持仓金额
  17629. type: number
  17630. holdercredit:
  17631. description: 持仓授信金额
  17632. type: number
  17633. holderdays:
  17634. description: 剩余冻结天数
  17635. type: integer
  17636. holderprice:
  17637. description: 持仓价格
  17638. type: number
  17639. holderqty:
  17640. description: 期初均价
  17641. type: number
  17642. isconfirmexercise:
  17643. description: 是否确认行权- 0:否 1:是
  17644. type: integer
  17645. ispreexercise:
  17646. description: 是否预申报- 0:否 1:是 2:不可行权
  17647. type: integer
  17648. marketid:
  17649. description: 市场id
  17650. type: integer
  17651. marketname:
  17652. description: 市场名称
  17653. type: string
  17654. openprice:
  17655. description: 建仓价格
  17656. type: number
  17657. openqty:
  17658. description: 期初均价
  17659. type: number
  17660. optiontype:
  17661. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17662. type: integer
  17663. preexerciseprice:
  17664. description: 预申报价格
  17665. type: number
  17666. premium:
  17667. description: 权利金
  17668. type: number
  17669. qtydecimalplace:
  17670. description: 商品成交量小数位
  17671. type: integer
  17672. refgoodscode:
  17673. description: 标的合约代码
  17674. type: string
  17675. refgoodsid:
  17676. description: 标的合约id
  17677. type: integer
  17678. releaseamount:
  17679. description: 释放持仓金额
  17680. type: number
  17681. releaseholdercredit:
  17682. description: 释放持仓授信金额
  17683. type: number
  17684. taname:
  17685. description: 资金账号名称
  17686. type: string
  17687. tradeamount:
  17688. description: 成交金额
  17689. type: number
  17690. tradedate:
  17691. description: 交易日(yyyyMMdd)
  17692. type: string
  17693. tradeid:
  17694. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17695. type: string
  17696. trademode:
  17697. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17698. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17699. type: integer
  17700. tradeproperty:
  17701. description: 交易属性
  17702. type: integer
  17703. tradetime:
  17704. description: 交易时间
  17705. type: string
  17706. userid:
  17707. description: 用户id
  17708. type: integer
  17709. username:
  17710. description: 用户名称
  17711. type: string
  17712. type: object
  17713. models.Unlinkermcphedgeplan:
  17714. properties:
  17715. accountid:
  17716. description: 期货账户ID - 作废
  17717. type: integer
  17718. accountname:
  17719. description: 交易用户
  17720. type: string
  17721. applyid:
  17722. description: 申请人
  17723. type: integer
  17724. applysrc:
  17725. description: 申请来源 - 1:管理端 2:终端
  17726. type: integer
  17727. applytime:
  17728. description: 申请时间
  17729. type: string
  17730. areauserid:
  17731. description: '[企业ID]机构ID'
  17732. type: integer
  17733. auditid:
  17734. description: 审核人
  17735. type: integer
  17736. auditremark:
  17737. description: 审核备注
  17738. type: string
  17739. auditsrc:
  17740. description: 审核来源 - 1:管理端 2:终端
  17741. type: integer
  17742. audittime:
  17743. description: 审核时间
  17744. type: string
  17745. audittradedate:
  17746. description: 审核交易日(yyyyMMdd)
  17747. type: string
  17748. biztype:
  17749. description: 业务类型 - 1:套保
  17750. type: integer
  17751. contracttype:
  17752. description: 计划类型 - 1:采购 -1:销售
  17753. type: integer
  17754. convertfactor:
  17755. description: 标仓系数 - 作废
  17756. type: number
  17757. createtime:
  17758. description: 创建时间
  17759. type: string
  17760. currencyid:
  17761. description: 结算币种ID - 作废
  17762. type: integer
  17763. deliverygoodsid:
  17764. description: 现货品种ID
  17765. type: integer
  17766. enumdicname:
  17767. description: 结算币种
  17768. type: string
  17769. hedgeplanid:
  17770. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17771. type: string
  17772. hedgeplanno:
  17773. description: '[计划编号]套保计划编号,模糊查询'
  17774. type: string
  17775. hedgeplanstatus:
  17776. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17777. type: integer
  17778. isrelated:
  17779. description: 是否已关联计划项目 - 0:否 1:是
  17780. type: integer
  17781. planqty:
  17782. description: '[计划量]计划数量'
  17783. type: number
  17784. plantime:
  17785. description: 计划时间
  17786. type: string
  17787. producttype:
  17788. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17789. type: integer
  17790. remark:
  17791. description: 备注
  17792. type: string
  17793. spotgoodsdesc:
  17794. description: 商品型号
  17795. type: string
  17796. tradedate:
  17797. description: 交易日(yyyyMMdd)
  17798. type: string
  17799. tradeuserid:
  17800. description: 交易用户ID
  17801. type: integer
  17802. updatetime:
  17803. description: 更新时间
  17804. type: string
  17805. wrstandardid:
  17806. description: 现货商品ID
  17807. type: integer
  17808. wrstandardname:
  17809. description: 现货商品,模糊查询
  17810. type: string
  17811. required:
  17812. - areauserid
  17813. type: object
  17814. models.UserCollectConfig:
  17815. properties:
  17816. accountstatus:
  17817. description: 账户状态 - 1:正常 2:停用 3:注销
  17818. type: integer
  17819. collectaccountname:
  17820. description: 收款人账户名称
  17821. type: string
  17822. collectaccountno:
  17823. description: 收款人账户
  17824. type: string
  17825. collectbankname:
  17826. description: 收款人开户行
  17827. type: string
  17828. collectbranchbankname:
  17829. description: 收款人开户支行
  17830. type: string
  17831. collectconfigid:
  17832. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17833. type: string
  17834. remark:
  17835. description: 备注
  17836. type: string
  17837. userid:
  17838. description: 收款人用户ID
  17839. type: integer
  17840. type: object
  17841. models.UserReceiveInfo:
  17842. properties:
  17843. address:
  17844. description: 提货人详细地址
  17845. type: string
  17846. autoid:
  17847. description: AutoID
  17848. type: integer
  17849. cardnum:
  17850. description: 证件号码(加密存储)
  17851. type: string
  17852. cardtypeid:
  17853. description: 证件类型
  17854. type: integer
  17855. cityid:
  17856. description: 市
  17857. type: integer
  17858. cityname:
  17859. description: 城市名称
  17860. type: string
  17861. countryid:
  17862. description: 国家
  17863. type: integer
  17864. countryname:
  17865. description: 国家名称
  17866. type: string
  17867. districtid:
  17868. description: 地区
  17869. type: integer
  17870. districtname:
  17871. description: 地区名称
  17872. type: string
  17873. hasencrypt:
  17874. description: 数据是否已加密 - 0:未加密 1:已加密
  17875. type: integer
  17876. isdefault:
  17877. description: 是否默认地址 - 0:否 1:是
  17878. type: integer
  17879. phonenum:
  17880. description: 提货人联系方式(加密存储)
  17881. type: string
  17882. provinceid:
  17883. description: 省
  17884. type: integer
  17885. provincename:
  17886. description: 省名称
  17887. type: string
  17888. receivername:
  17889. description: 提货人姓名
  17890. type: string
  17891. takeremark:
  17892. description: 提货备注
  17893. type: string
  17894. userid:
  17895. description: 用户ID
  17896. type: integer
  17897. type: object
  17898. models.Useraccount:
  17899. properties:
  17900. accountname:
  17901. description: 账户名称(机构名称)
  17902. type: string
  17903. accountstatus:
  17904. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17905. type: integer
  17906. applysrc:
  17907. description: 申请来源 - 1:管理端 2:终端
  17908. type: integer
  17909. auditremark:
  17910. description: 审核备注
  17911. type: string
  17912. auditsrc:
  17913. description: 审核来源 - 1:管理端 2:终端
  17914. type: integer
  17915. audittime:
  17916. description: 审核时间
  17917. type: string
  17918. audituserid:
  17919. description: 审核人
  17920. type: integer
  17921. broker:
  17922. description: 所属经纪人ID
  17923. type: integer
  17924. canceltime:
  17925. description: 销户时间
  17926. type: string
  17927. canceluserid:
  17928. description: 销户人
  17929. type: integer
  17930. canrecommend:
  17931. description: 是否可推荐 - 0:不可 1;可
  17932. type: integer
  17933. createtime:
  17934. description: 创建时间
  17935. type: string
  17936. creatorid:
  17937. description: 创建人
  17938. type: integer
  17939. curscore:
  17940. description: 积分
  17941. type: integer
  17942. hasauth:
  17943. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17944. type: integer
  17945. isanonymous:
  17946. description: 是否匿名下单 - 0:否 1:是
  17947. type: integer
  17948. issigned:
  17949. description: 今日是否已签到
  17950. type: boolean
  17951. maxinvestornum:
  17952. description: 最大用户数(经纪会员下投资者个数)
  17953. type: integer
  17954. memberuserid:
  17955. description: 所属会员ID
  17956. type: integer
  17957. modifierid:
  17958. description: 修改人
  17959. type: integer
  17960. modifyremark:
  17961. description: 变更备注
  17962. type: string
  17963. modifystatus:
  17964. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17965. type: integer
  17966. modifytime:
  17967. description: 修改时间
  17968. type: string
  17969. parenttopuser:
  17970. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17971. type: string
  17972. parentuserid:
  17973. description: 所属机构ID
  17974. type: integer
  17975. reckonaccountid:
  17976. description: 默认结算资金账号ID(机构分润使用) 作废
  17977. type: integer
  17978. refercount:
  17979. description: 推荐总人数
  17980. type: integer
  17981. refereeuserid:
  17982. description: 推荐人ID
  17983. type: integer
  17984. refernum:
  17985. description: 推荐码
  17986. type: string
  17987. rootuserid:
  17988. description: 根用户ID
  17989. type: integer
  17990. subaccountlevel:
  17991. description: 子账户层数
  17992. type: integer
  17993. subarealevelpath:
  17994. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17995. type: string
  17996. todayrefercount:
  17997. description: 今日推荐人数
  17998. type: integer
  17999. userid:
  18000. description: 用户ID
  18001. type: integer
  18002. usertype:
  18003. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18004. type: integer
  18005. required:
  18006. - userid
  18007. type: object
  18008. models.Userfavoritegoods:
  18009. properties:
  18010. goodsid:
  18011. description: 商品ID
  18012. type: integer
  18013. required:
  18014. - goodsid
  18015. type: object
  18016. models.Userinfo:
  18017. properties:
  18018. address:
  18019. description: 地址
  18020. type: string
  18021. attachment1:
  18022. description: 附件1
  18023. type: string
  18024. attachment2:
  18025. description: 附件2
  18026. type: string
  18027. bankaccount:
  18028. description: 银行帐号 (加密存储)
  18029. type: string
  18030. bankaccountname:
  18031. description: 收款人名称
  18032. type: string
  18033. bankcardfrontphotourl:
  18034. description: 银行卡正面照地址
  18035. type: string
  18036. bankid:
  18037. description: 银行编码
  18038. type: string
  18039. bankname:
  18040. description: 银行名称
  18041. type: string
  18042. biznature:
  18043. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18044. type: integer
  18045. bizscope:
  18046. description: 企业经营范围(企业)
  18047. type: string
  18048. cardbackphotourl:
  18049. description: 证件背面图片地址
  18050. type: string
  18051. cardfrontphotourl:
  18052. description: 证件正面图片地址
  18053. type: string
  18054. cardnum:
  18055. description: 证件号码(加密存储)
  18056. type: string
  18057. cardtypeid:
  18058. description: 证件类型ID
  18059. type: integer
  18060. cityid:
  18061. description: 市
  18062. type: integer
  18063. company:
  18064. description: 公司(个人)
  18065. type: string
  18066. contactname:
  18067. description: 联系人
  18068. type: string
  18069. countryid:
  18070. description: 国家
  18071. type: integer
  18072. createtime:
  18073. description: 创建时间
  18074. type: string
  18075. creatorid:
  18076. description: 创建人
  18077. type: integer
  18078. customername:
  18079. description: 客户名称(企业名称)
  18080. type: string
  18081. districtid:
  18082. description: 地区
  18083. type: integer
  18084. email:
  18085. description: 邮件(加密存储)
  18086. type: string
  18087. fax:
  18088. description: 传真(加密存储)
  18089. type: string
  18090. halfbodyphotourl:
  18091. description: 半身照地址
  18092. type: string
  18093. hasencrypt:
  18094. description: 数据是否已加密 - 0:未加密 1:已加密
  18095. type: integer
  18096. headurl:
  18097. description: 头像地址
  18098. type: string
  18099. legalcardbackphotourl:
  18100. description: 法人身份证背面照地址
  18101. type: string
  18102. legalcardfrontphotourl:
  18103. description: 法人身份证正面照地址
  18104. type: string
  18105. legalpersonname:
  18106. description: 法人姓名(企业)
  18107. type: string
  18108. mobile:
  18109. description: 手机号码(加密存储)
  18110. type: string
  18111. mobile2:
  18112. description: 手机号码[明文-尚志]
  18113. type: string
  18114. modifierid:
  18115. description: 修改人
  18116. type: integer
  18117. modifiertime:
  18118. description: 修改时间
  18119. type: string
  18120. needinvoice:
  18121. description: 是否需要发票 - 0:不需要 1:需要
  18122. type: integer
  18123. nickname:
  18124. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18125. type: string
  18126. openmode:
  18127. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18128. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18129. type: integer
  18130. otherurl:
  18131. description: 其它图片地址[使用分号分隔]
  18132. type: string
  18133. postalcode:
  18134. description: 邮政编码
  18135. type: string
  18136. provinceid:
  18137. description: 省
  18138. type: integer
  18139. qq:
  18140. description: QQ(加密存储
  18141. type: string
  18142. remark:
  18143. description: 备注
  18144. type: string
  18145. sex:
  18146. description: '用户性别 0: 女 1: 男'
  18147. type: integer
  18148. signpdfurl:
  18149. description: 签约pdf文件
  18150. type: string
  18151. telphone:
  18152. description: 联系电话(加密存储)
  18153. type: string
  18154. userid:
  18155. description: 用户ID
  18156. type: integer
  18157. userinfotype:
  18158. description: 用户信息类型 - 1:个人 2:企业
  18159. type: integer
  18160. userstatus:
  18161. description: 用户状态 - 1:正常 2:注销
  18162. type: integer
  18163. usertype:
  18164. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18165. type: integer
  18166. wechat:
  18167. description: 微信(加密存储)
  18168. type: string
  18169. wskhinfo:
  18170. description: 开户申请信息(JSON)
  18171. type: string
  18172. required:
  18173. - userid
  18174. type: object
  18175. models.WRPositionReport:
  18176. properties:
  18177. accountid:
  18178. description: 帐户ID
  18179. type: integer
  18180. brandid:
  18181. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18182. type: integer
  18183. buylistinglot:
  18184. description: 买挂牌宗数
  18185. type: integer
  18186. buytradeamount:
  18187. description: 购买金额
  18188. type: number
  18189. buytradelot:
  18190. description: 购买宗数
  18191. type: integer
  18192. buytradeqty:
  18193. description: 购买数量
  18194. type: number
  18195. creditcurqty:
  18196. description: 授信当前数量
  18197. type: integer
  18198. creditfreezeqty:
  18199. description: 授信冻结数量
  18200. type: integer
  18201. credittotalqty:
  18202. description: 授信总数量
  18203. type: integer
  18204. credittradeqty:
  18205. description: 授信成交数量
  18206. type: integer
  18207. decreaseqty:
  18208. description: 今日减少数量
  18209. type: integer
  18210. deliverygoodsid:
  18211. description: 交割商品ID
  18212. type: integer
  18213. deliverymonthid:
  18214. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18215. type: integer
  18216. freezeqty:
  18217. description: 总冻结数量
  18218. type: integer
  18219. increaseqty:
  18220. description: 今日增加数量
  18221. type: integer
  18222. marketvalue:
  18223. description: 市值
  18224. type: number
  18225. pickupqty:
  18226. description: 今日提货数量
  18227. type: integer
  18228. qualityid:
  18229. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18230. type: integer
  18231. reckondate:
  18232. description: 日照时期(yyyyMMdd)
  18233. type: string
  18234. relatedqty:
  18235. description: 关联数量
  18236. type: integer
  18237. selllistingamount:
  18238. description: 卖挂牌金额
  18239. type: number
  18240. selllistinglot:
  18241. description: 卖挂牌宗数
  18242. type: integer
  18243. selllistingqty:
  18244. description: 卖挂牌数量
  18245. type: number
  18246. selltradeamount:
  18247. description: 销售金额
  18248. type: number
  18249. selltradelot:
  18250. description: 销售宗数
  18251. type: integer
  18252. selltradeqty:
  18253. description: 销售数量
  18254. type: number
  18255. specid:
  18256. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18257. type: integer
  18258. totalprice:
  18259. description: 销售金额(¥)
  18260. type: number
  18261. totalqty:
  18262. description: 总数量
  18263. type: integer
  18264. totalweight:
  18265. description: 销售重量(ct)
  18266. type: number
  18267. tradewrqty:
  18268. description: 订单仓单头寸总数量
  18269. type: integer
  18270. transfertradewrqty:
  18271. description: 今日转订单数量
  18272. type: integer
  18273. warehouseid:
  18274. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18275. type: integer
  18276. wrfactortypeid:
  18277. description: 仓单要素类型ID
  18278. type: integer
  18279. wrpositionid:
  18280. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18281. type: integer
  18282. wrstandardcode:
  18283. description: 现货商品代码
  18284. type: string
  18285. wrstandardid:
  18286. description: 现货商品ID
  18287. type: integer
  18288. wruserid:
  18289. description: 持有人ID
  18290. type: integer
  18291. zscategory:
  18292. description: 商品分类
  18293. type: integer
  18294. zscategorydisplay:
  18295. type: string
  18296. zscurrencytype:
  18297. description: 商品币种
  18298. type: integer
  18299. zscurrencytypedisplay:
  18300. type: string
  18301. zscurrencytypedisplayunit:
  18302. type: string
  18303. type: object
  18304. models.WRSConverTDetail:
  18305. properties:
  18306. convertratio:
  18307. description: 套保系数
  18308. type: number
  18309. deliverygoodscode:
  18310. description: 现货商品代码
  18311. type: string
  18312. deliverygoodsid:
  18313. description: 现货品种ID
  18314. type: integer
  18315. deliverygoodsname:
  18316. description: 现货商品名称
  18317. type: string
  18318. enumdicname:
  18319. description: 单位名称
  18320. type: string
  18321. goodsunitid:
  18322. description: 套保品种单位id
  18323. type: integer
  18324. middlegoodscode:
  18325. description: 套保品种代码
  18326. type: string
  18327. middlegoodsid:
  18328. description: 套保品种ID
  18329. type: integer
  18330. middlegoodsname:
  18331. description: 套保品种名称
  18332. type: string
  18333. modifytime:
  18334. description: 修改时间
  18335. type: string
  18336. wrstandardid:
  18337. description: 品类ID
  18338. type: integer
  18339. type: object
  18340. models.WRStandardInfo:
  18341. properties:
  18342. areauserid:
  18343. description: 所属机构
  18344. type: integer
  18345. convertfactor:
  18346. description: 标仓系数
  18347. type: number
  18348. createtime:
  18349. description: 创建时间
  18350. type: string
  18351. creatorid:
  18352. description: 创建人
  18353. type: integer
  18354. deliverygoodsid:
  18355. description: 品种ID
  18356. type: integer
  18357. deliverygoodsname:
  18358. description: 交割商品名称
  18359. type: string
  18360. factoryitemjson:
  18361. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18362. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18363. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18364. 逗号分隔'
  18365. type: string
  18366. isvalid:
  18367. description: 是否有效 - 0:无效 1:有效
  18368. type: integer
  18369. minivalue:
  18370. description: 最小变动值
  18371. type: integer
  18372. minivaluedp:
  18373. description: 最小变动值小数位
  18374. type: integer
  18375. realminivalue:
  18376. description: 实际最小变动值
  18377. type: integer
  18378. realminivaluedp:
  18379. description: 实际最小变动值小数位
  18380. type: integer
  18381. remark:
  18382. description: 备注
  18383. type: string
  18384. unitid:
  18385. description: 单位ID
  18386. type: integer
  18387. unitname:
  18388. description: 单位
  18389. type: string
  18390. updatetime:
  18391. description: 更新时间
  18392. type: string
  18393. updatorid:
  18394. description: 更新人
  18395. type: integer
  18396. wrsstatus:
  18397. description: 状态 - 作废 - 0:未激活 1:正常
  18398. type: integer
  18399. wrstandardcode:
  18400. description: 现货品类代码
  18401. type: string
  18402. wrstandardid:
  18403. description: 现货品类ID(SEQ_WRSTANDARD)
  18404. type: integer
  18405. wrstandardname:
  18406. description: 现货品类名称
  18407. type: string
  18408. required:
  18409. - wrstandardid
  18410. type: object
  18411. models.WRTradeBargainApply:
  18412. properties:
  18413. accountid:
  18414. description: 摘牌资金账号
  18415. type: integer
  18416. applyprice:
  18417. description: 申请价格(议价价格)
  18418. type: string
  18419. applyqty:
  18420. description: 摘牌数量(议价数量)
  18421. type: number
  18422. applyremark:
  18423. description: 申请备注
  18424. type: string
  18425. applystatus:
  18426. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18427. type: integer
  18428. applytime:
  18429. description: 申请时间(议价时间)
  18430. type: string
  18431. begindate:
  18432. description: 开始交易日(yyyymmdd)
  18433. type: string
  18434. buyorsell:
  18435. description: 买卖(挂牌类型) - 0:买 1:卖
  18436. type: integer
  18437. confirmremark:
  18438. description: 确认备注
  18439. type: string
  18440. confirmtime:
  18441. description: 确认时间
  18442. type: string
  18443. confirmuserid:
  18444. description: 确认人
  18445. type: integer
  18446. deliverygoodscode:
  18447. description: 品种代码
  18448. type: string
  18449. deliverygoodsid:
  18450. description: 品种ID
  18451. type: integer
  18452. deliverygoodsname:
  18453. description: 品种名称
  18454. type: string
  18455. deliverymonth:
  18456. description: 交收月
  18457. type: string
  18458. enddate:
  18459. description: 结束交易日(yyyymmdd)
  18460. type: string
  18461. enumdicname:
  18462. description: 单位名称
  18463. type: string
  18464. fixedprice:
  18465. description: 期初均价
  18466. type: number
  18467. handlestatus:
  18468. description: 处理状态
  18469. type: integer
  18470. marginvalue:
  18471. description: 期初均价
  18472. type: number
  18473. marketid:
  18474. description: 市场ID
  18475. type: integer
  18476. matchaccountid:
  18477. description: 挂牌方资金账号
  18478. type: integer
  18479. matchuserid:
  18480. description: 挂牌方用户id
  18481. type: integer
  18482. matchusername:
  18483. description: 挂牌方用户名称(已脱敏)
  18484. type: string
  18485. minivalue:
  18486. description: 现货商品最小变动值
  18487. type: integer
  18488. optioncompare:
  18489. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18490. type: string
  18491. orderqty:
  18492. description: 挂牌数量
  18493. type: integer
  18494. refprice:
  18495. description: 参考价格
  18496. type: string
  18497. retcode:
  18498. description: 委托返回代码
  18499. type: integer
  18500. templatename:
  18501. description: 履约方式(履约模板名称)
  18502. type: string
  18503. tradedate:
  18504. description: 交易日(yyyyMMdd)
  18505. type: string
  18506. userid:
  18507. description: 摘牌人用户ID(议价人ID)
  18508. type: integer
  18509. username:
  18510. description: 议价人名字(已脱敏)
  18511. type: string
  18512. validtime:
  18513. description: 有效期限
  18514. type: string
  18515. warehouseid:
  18516. description: 仓库ID
  18517. type: integer
  18518. warehousename:
  18519. description: 仓库名称
  18520. type: string
  18521. wrbargainid:
  18522. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18523. type: string
  18524. wrfactortypeid:
  18525. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18526. type: string
  18527. wrfactortypename:
  18528. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18529. type: string
  18530. wrstandardcode:
  18531. description: 现货商品代码
  18532. type: string
  18533. wrstandardid:
  18534. description: 现货商品ID
  18535. type: integer
  18536. wrstandardname:
  18537. description: 商品名称
  18538. type: string
  18539. wrtradeorderid:
  18540. description: 关联委托单ID
  18541. type: string
  18542. wrtypename:
  18543. description: 商品
  18544. type: string
  18545. type: object
  18546. models.Warehouseinfo:
  18547. properties:
  18548. address:
  18549. description: 详细地址
  18550. type: string
  18551. areauserid:
  18552. description: 所属机构
  18553. type: integer
  18554. autoid:
  18555. description: 自增ID
  18556. type: integer
  18557. cityid:
  18558. description: 市
  18559. type: integer
  18560. contactname:
  18561. description: 联系人
  18562. type: string
  18563. contactnum:
  18564. description: 联系电话
  18565. type: string
  18566. countryid:
  18567. description: 国家
  18568. type: integer
  18569. createtime:
  18570. description: 创建时间
  18571. type: string
  18572. districtid:
  18573. description: 区
  18574. type: integer
  18575. hasvideo:
  18576. description: 是否有视频 - 0:无 1:有
  18577. type: integer
  18578. provinceid:
  18579. description: 省
  18580. type: integer
  18581. remark:
  18582. description: 审核备注
  18583. type: string
  18584. videourl:
  18585. description: 视频地址
  18586. type: string
  18587. warehousecode:
  18588. description: 仓库代码
  18589. type: string
  18590. warehousename:
  18591. description: 仓库名称
  18592. type: string
  18593. warehousestatus:
  18594. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18595. type: integer
  18596. warehousetype:
  18597. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18598. type: integer
  18599. required:
  18600. - autoid
  18601. - warehousecode
  18602. type: object
  18603. models.WrAverageTradePrice:
  18604. properties:
  18605. averageprice:
  18606. description: 期初均价
  18607. type: number
  18608. tradedate:
  18609. description: 交易日yyyymm
  18610. type: string
  18611. type: object
  18612. models.WrBrandAndYears:
  18613. properties:
  18614. brandlst:
  18615. description: 品牌列表
  18616. items:
  18617. $ref: '#/definitions/models.DgFactoryItem'
  18618. type: array
  18619. yearslst:
  18620. description: 年份列表
  18621. items:
  18622. $ref: '#/definitions/models.DgFactoryItem'
  18623. type: array
  18624. type: object
  18625. models.WrBsGoodsInfo:
  18626. properties:
  18627. buyorsell:
  18628. description: 买卖方向 0-买 1-卖
  18629. type: integer
  18630. goodsid:
  18631. description: 交易合约ID
  18632. type: integer
  18633. lstitem:
  18634. description: 商品信息项
  18635. items:
  18636. $ref: '#/definitions/models.WrTypeItem'
  18637. type: array
  18638. lststep:
  18639. description: 履约规则
  18640. items:
  18641. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18642. type: array
  18643. type: object
  18644. models.WrBuybackDetail:
  18645. properties:
  18646. buybackamount:
  18647. description: 回购金额
  18648. type: number
  18649. buybackqty:
  18650. description: 回购数量
  18651. type: number
  18652. buybackreleasemargin:
  18653. description: 回购释放保证金
  18654. type: number
  18655. buybacktime:
  18656. description: 回购时间
  18657. type: string
  18658. errordesc:
  18659. description: 错误描述
  18660. type: string
  18661. handlestatus:
  18662. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18663. type: integer
  18664. relatedwrid:
  18665. description: 关联仓单ID
  18666. type: integer
  18667. scfcontractid:
  18668. description: SCF合同ID
  18669. type: string
  18670. scfwrbuybackid:
  18671. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18672. type: integer
  18673. tradedate:
  18674. description: 交易日(yyyyMMdd)
  18675. type: string
  18676. type: object
  18677. models.WrClientAdSpaceConfig:
  18678. properties:
  18679. adspaceid:
  18680. description: 广告位ID
  18681. type: integer
  18682. adspacename:
  18683. description: 广告位名称
  18684. type: string
  18685. adspacetype:
  18686. description: 广告位类型 - 1:固定广告位
  18687. type: integer
  18688. areauserid:
  18689. description: 所属机构ID
  18690. type: integer
  18691. createdate:
  18692. description: 创建时间
  18693. type: string
  18694. imagepath:
  18695. description: 图片
  18696. type: string
  18697. modifierid:
  18698. description: 操作人
  18699. type: integer
  18700. recsize:
  18701. description: 推荐尺寸
  18702. type: string
  18703. title:
  18704. description: 标题
  18705. type: string
  18706. updatedate:
  18707. description: 更新时间
  18708. type: string
  18709. urlcontent:
  18710. description: 链接(地址\商品ID\功能菜单Key\appid)
  18711. type: string
  18712. urltype:
  18713. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18714. type: integer
  18715. type: object
  18716. models.WrDeliveryAvalidHoldLB:
  18717. properties:
  18718. accountid:
  18719. description: 资金账号
  18720. type: integer
  18721. avalidqty:
  18722. description: 数量(可点选数量)
  18723. type: number
  18724. deliverygoodsid:
  18725. description: 品种id
  18726. type: integer
  18727. enumdicname:
  18728. description: 单位名称
  18729. type: string
  18730. goodsid:
  18731. description: x合约商品id
  18732. type: integer
  18733. ladingbillid:
  18734. description: 提单id
  18735. type: string
  18736. pgoodscode:
  18737. description: p商品代码(点价合约)
  18738. type: string
  18739. pgoodsid:
  18740. description: p商品id(点价合约)
  18741. type: integer
  18742. pgoodsname:
  18743. description: p商品名称(点价合约)
  18744. type: string
  18745. pricemove:
  18746. description: 升贴水
  18747. type: number
  18748. subnum:
  18749. description: 提单子id
  18750. type: integer
  18751. userid:
  18752. description: 用户id
  18753. type: integer
  18754. username:
  18755. description: 仓单持有人
  18756. type: string
  18757. warehousecode:
  18758. description: 仓库代码
  18759. type: string
  18760. warehouseid:
  18761. description: 仓库id
  18762. type: integer
  18763. warehousename:
  18764. description: 仓库名称
  18765. type: string
  18766. wrfactortypeid:
  18767. description: 仓单要素id
  18768. type: string
  18769. wrstandardcode:
  18770. description: 品代码
  18771. type: string
  18772. wrstandardid:
  18773. description: 品类d
  18774. type: integer
  18775. wrstandardname:
  18776. description: 品类名称
  18777. type: string
  18778. wrtypename:
  18779. description: 商品
  18780. type: string
  18781. xgoodscode:
  18782. description: x合约代码
  18783. type: string
  18784. xgoodsname:
  18785. description: x合约名称
  18786. type: string
  18787. type: object
  18788. models.WrDeliveryDetail:
  18789. properties:
  18790. accountid:
  18791. description: 账号ID
  18792. type: integer
  18793. averageprice:
  18794. description: 期初均价
  18795. type: number
  18796. begindate:
  18797. description: 开始交易日(yyyymmdd)
  18798. type: string
  18799. buyorsell:
  18800. description: 方向 - 0:买 1:卖
  18801. type: integer
  18802. deliveryamount:
  18803. description: 货款金额(X总货款+P总货款)
  18804. type: number
  18805. deliveryid:
  18806. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18807. type: string
  18808. deliveryorderid:
  18809. description: 申报单号
  18810. type: string
  18811. deliverypricemove:
  18812. description: 升贴水(升贴水总额)
  18813. type: number
  18814. deliveryqty:
  18815. description: 交收数量(点选数量)
  18816. type: number
  18817. deliverystatus:
  18818. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18819. type: integer
  18820. deliverytime:
  18821. description: 交割时间
  18822. type: string
  18823. deliverytotalamount:
  18824. description: 交收金额
  18825. type: number
  18826. enddate:
  18827. description: 结束交易日(yyyymmdd)
  18828. type: string
  18829. enumdicname:
  18830. description: 单位名称
  18831. type: string
  18832. matchaccountid:
  18833. description: 对手账号ID
  18834. type: integer
  18835. matchusername:
  18836. description: 对手方名称(仓单持有人)
  18837. type: string
  18838. p1goodsremainamount:
  18839. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18840. type: number
  18841. pdeliverycloseqty:
  18842. description: p合约平仓数量
  18843. type: number
  18844. pdeliveryprice:
  18845. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18846. type: number
  18847. pgoodscode:
  18848. description: 商品代码
  18849. type: string
  18850. pgoodsid:
  18851. description: p点选合约id
  18852. type: integer
  18853. pgoodsname:
  18854. description: 商品名称
  18855. type: string
  18856. ppricemode:
  18857. description: 点价价格方式 - 1:商品价 2:固定值
  18858. type: integer
  18859. tradedate:
  18860. description: 交易日(yyyymmdd)
  18861. type: string
  18862. userid:
  18863. description: 用户id
  18864. type: integer
  18865. username:
  18866. description: 用户名称
  18867. type: string
  18868. warehousename:
  18869. description: 仓库名称
  18870. type: string
  18871. wrfactortypeid:
  18872. description: 仓单要素类型ID
  18873. type: string
  18874. wrtypename:
  18875. description: 商品
  18876. type: string
  18877. xdeliverycloseqty:
  18878. description: 合约数量
  18879. type: number
  18880. xgoodsamount:
  18881. description: 期初均价
  18882. type: number
  18883. xgoodscode:
  18884. description: 商品代码
  18885. type: string
  18886. xgoodsid:
  18887. description: x交易合约ID
  18888. type: integer
  18889. xgoodsname:
  18890. description: 商品名称
  18891. type: string
  18892. type: object
  18893. models.WrDeliveryGoodsSection:
  18894. properties:
  18895. dglst:
  18896. description: 板块商品列表
  18897. items:
  18898. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18899. type: array
  18900. imagepath:
  18901. description: 图片地址
  18902. type: string
  18903. orderindex:
  18904. description: 排序
  18905. type: integer
  18906. sectionid:
  18907. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18908. = 1的版块1 - 云融指数
  18909. type: integer
  18910. sectionname:
  18911. description: 版块名称
  18912. type: string
  18913. sectiontype:
  18914. description: 版块类型 - 1:指数版块 2:普通版块
  18915. type: integer
  18916. type: object
  18917. models.WrDeliveryGoodsSectionConfig:
  18918. properties:
  18919. deliverygoodscode:
  18920. description: 现货商品代码
  18921. type: string
  18922. deliverygoodsid:
  18923. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18924. type: integer
  18925. deliverygoodsname:
  18926. description: 现货商品名称
  18927. type: string
  18928. orderindex:
  18929. description: 排序
  18930. type: integer
  18931. type: object
  18932. models.WrDraftUserInfo:
  18933. properties:
  18934. address:
  18935. description: 地址
  18936. type: string
  18937. attachment1:
  18938. description: 附件1
  18939. type: string
  18940. attachment2:
  18941. description: 附件2
  18942. type: string
  18943. attachment3:
  18944. description: 附件3
  18945. type: string
  18946. attachment4:
  18947. description: 附件4
  18948. type: string
  18949. attachment5:
  18950. description: 附件5
  18951. type: string
  18952. bankaccount:
  18953. description: 银行帐号 (加密存储)
  18954. type: string
  18955. bankaccountname:
  18956. description: 收款人名称
  18957. type: string
  18958. bankcardfrontphotourl:
  18959. description: 银行卡正面照地址
  18960. type: string
  18961. bankid:
  18962. description: 银行编码
  18963. type: string
  18964. bankname:
  18965. description: 银行名称
  18966. type: string
  18967. birthday:
  18968. description: 生日(个人:年月日)
  18969. type: string
  18970. biznature:
  18971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18972. type: integer
  18973. bizscope:
  18974. description: 企业经营范围(企业)
  18975. type: string
  18976. biztype:
  18977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18978. type: integer
  18979. cardbackphotourl:
  18980. description: 证件背面图片地址
  18981. type: string
  18982. cardfrontphotourl:
  18983. description: 证件正面图片地址
  18984. type: string
  18985. cardnum:
  18986. description: 证件号码(加密存储)
  18987. type: string
  18988. cardtypeid:
  18989. description: 证件类型ID
  18990. type: integer
  18991. cityid:
  18992. description: 市
  18993. type: integer
  18994. company:
  18995. description: 公司(个人)
  18996. type: string
  18997. contactcardbackphotourl:
  18998. description: 联系人证件背面图片地址
  18999. type: string
  19000. contactcardfrontphotourl:
  19001. description: 联系人证件正面图片地址
  19002. type: string
  19003. contactname:
  19004. description: 联系人
  19005. type: string
  19006. countryid:
  19007. description: 国家
  19008. type: integer
  19009. createtime:
  19010. description: 创建时间
  19011. type: string
  19012. creatorid:
  19013. description: 创建人
  19014. type: integer
  19015. creditquota:
  19016. description: 授信额度(金瑞)
  19017. type: number
  19018. customername:
  19019. description: 客户名称(企业名称)
  19020. type: string
  19021. districtid:
  19022. description: 地区
  19023. type: integer
  19024. email:
  19025. description: 邮件(加密存储)
  19026. type: string
  19027. fax:
  19028. description: 传真(加密存储)
  19029. type: string
  19030. halfbodyphotourl:
  19031. description: 半身照地址
  19032. type: string
  19033. hasencrypt:
  19034. description: 数据是否已加密 - 0:未加密 1:已加密
  19035. type: integer
  19036. headurl:
  19037. description: 头像地址
  19038. type: string
  19039. legalcardbackphotourl:
  19040. description: 法人身份证背面照地址
  19041. type: string
  19042. legalcardfrontphotourl:
  19043. description: 法人身份证正面照地址
  19044. type: string
  19045. legalpersonname:
  19046. description: 法人姓名(企业)
  19047. type: string
  19048. mobile:
  19049. description: 手机号码(加密存储)
  19050. type: string
  19051. mobile2:
  19052. description: 手机号码[明文-尚志]
  19053. type: string
  19054. modifierid:
  19055. description: 修改人
  19056. type: integer
  19057. modifiertime:
  19058. description: 修改时间
  19059. type: string
  19060. needinvoice:
  19061. description: 是否需要发票 - 0:不需要 1:需要
  19062. type: integer
  19063. nickname:
  19064. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19065. type: string
  19066. openmode:
  19067. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19068. 6:苹果手机端注册 7:PC交易端注册"
  19069. type: integer
  19070. otherurl:
  19071. description: 其它图片地址[使用分号分隔]
  19072. type: string
  19073. postalcode:
  19074. description: 邮政编码
  19075. type: string
  19076. provinceid:
  19077. description: 省
  19078. type: integer
  19079. proxystatementurl:
  19080. description: 授权委托书
  19081. type: string
  19082. qq:
  19083. description: QQ(加密存储
  19084. type: string
  19085. remark:
  19086. description: 备注
  19087. type: string
  19088. sex:
  19089. description: '用户性别 0: 女 1: 男'
  19090. type: integer
  19091. signpdfurl:
  19092. description: 签约pdf文件
  19093. type: string
  19094. taxpayernum:
  19095. description: 纳税人识别号
  19096. type: string
  19097. telphone:
  19098. description: 联系电话(加密存储)
  19099. type: string
  19100. userid:
  19101. description: 用户ID
  19102. type: integer
  19103. userinfotype:
  19104. description: 用户信息类型 - 1:个人 2:企业
  19105. type: integer
  19106. userstatus:
  19107. description: 用户状态 - 1:正常 2:注销
  19108. type: integer
  19109. usertype:
  19110. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19111. type: integer
  19112. wechat:
  19113. description: 微信(加密存储)
  19114. type: string
  19115. wskhinfo:
  19116. description: 开户申请信息(JSON)
  19117. type: string
  19118. type: object
  19119. models.WrFAProductDetail:
  19120. properties:
  19121. accountid:
  19122. description: 资金账号
  19123. type: integer
  19124. areauserid:
  19125. description: 金融机构ID
  19126. type: integer
  19127. financingdays:
  19128. description: 天数(天)
  19129. type: integer
  19130. interestminlen:
  19131. description: 最小起息天数
  19132. type: integer
  19133. interestrate:
  19134. description: 利率
  19135. type: number
  19136. interestratemode:
  19137. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19138. type: integer
  19139. interestsettlemode:
  19140. description: 结息方式 - 1:按日结息 3:按月结息
  19141. type: integer
  19142. interestsettlevalue:
  19143. description: 结息方式值
  19144. type: integer
  19145. isautoloan:
  19146. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19147. type: integer
  19148. loantag:
  19149. description: '放款标识: "放款快" 或者为空'
  19150. type: string
  19151. marginratio:
  19152. description: 保证金比率质押率 - [仓单质押]
  19153. type: number
  19154. productdetailid:
  19155. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19156. type: integer
  19157. productid:
  19158. description: 金融产品ID
  19159. type: integer
  19160. productname:
  19161. description: 产品名称
  19162. type: string
  19163. updatetime:
  19164. description: 更新时间
  19165. type: string
  19166. username:
  19167. description: 融出方
  19168. type: string
  19169. type: object
  19170. models.WrFactorTypeInfo:
  19171. properties:
  19172. deliverygoodscode:
  19173. description: 品种代码
  19174. type: string
  19175. deliverygoodsname:
  19176. description: 品种名称
  19177. type: string
  19178. dgfactoryitemid:
  19179. description: 选择项id
  19180. type: integer
  19181. dgfactoryitemtypeid:
  19182. description: 要素选择项ID (1-仓库 2-品牌)
  19183. type: integer
  19184. dgfactoryitemvalue:
  19185. description: 要素项值
  19186. type: string
  19187. itemtypename:
  19188. description: 要素项名称
  19189. type: string
  19190. optioncompare:
  19191. description: 选择比较串
  19192. type: string
  19193. warehouseid:
  19194. description: 仓库id
  19195. type: integer
  19196. wrfactortypeid:
  19197. description: 仓单要素ID
  19198. type: string
  19199. wrfactortypename:
  19200. description: 要素名称
  19201. type: string
  19202. wrfactortypename2:
  19203. description: 要素名称(不含仓库)
  19204. type: string
  19205. wrstandardcode:
  19206. description: 品类代码
  19207. type: string
  19208. wrstandardid:
  19209. description: 品类id
  19210. type: integer
  19211. wrstandardname:
  19212. description: 品类名称
  19213. type: string
  19214. type: object
  19215. models.WrFilterItem:
  19216. properties:
  19217. itemcode:
  19218. description: 代码
  19219. type: string
  19220. itemid:
  19221. description: 项id
  19222. type: integer
  19223. itemname:
  19224. description: 名称
  19225. type: string
  19226. itemtype:
  19227. description: 类型 1-品种 2-品类(商品) 3-仓库
  19228. type: integer
  19229. type: object
  19230. models.WrFinanceBuyApply:
  19231. properties:
  19232. applydate:
  19233. description: 申请时间
  19234. type: string
  19235. applystatus:
  19236. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19237. type: integer
  19238. applyuserid:
  19239. description: 申请人
  19240. type: integer
  19241. auditdate:
  19242. description: 审核时间
  19243. type: string
  19244. auditremark:
  19245. description: 审核备注
  19246. type: string
  19247. audituserid:
  19248. description: 审核人
  19249. type: integer
  19250. buyaccountid:
  19251. description: 买方资金账号
  19252. type: integer
  19253. buyorsell:
  19254. description: 买卖 - 0:买 1:卖
  19255. type: integer
  19256. buyuserid:
  19257. description: 买方用户ID
  19258. type: integer
  19259. buyusername:
  19260. description: 买方名称
  19261. type: string
  19262. buywrtradeorderid:
  19263. description: 融资方买委托单ID
  19264. type: string
  19265. deliverygoodscode:
  19266. description: 品种代码
  19267. type: string
  19268. deliverygoodsid:
  19269. description: 品种ID
  19270. type: integer
  19271. deliverygoodsname:
  19272. description: 品种名称
  19273. type: string
  19274. deliverymonth:
  19275. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19276. type: string
  19277. enumdicname:
  19278. description: 单位名称
  19279. type: string
  19280. financeaccountid:
  19281. description: 融资方资金帐户ID
  19282. type: integer
  19283. financeapplyid:
  19284. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19285. type: string
  19286. financeareauserid:
  19287. description: 融资方用户ID
  19288. type: string
  19289. financename:
  19290. description: 融出方名称
  19291. type: string
  19292. financetype:
  19293. description: 融资类型 1-融资回购
  19294. type: integer
  19295. financingdays:
  19296. description: 天数(天)
  19297. type: integer
  19298. freezebuymargin:
  19299. description: 冻结融资保证金(买方)
  19300. type: number
  19301. handleremark:
  19302. description: 处理备注
  19303. type: string
  19304. handlestatus:
  19305. description: 处理状态
  19306. type: integer
  19307. interestminlen:
  19308. description: 最小起息天数
  19309. type: integer
  19310. interestrate:
  19311. description: 利率
  19312. type: number
  19313. interestratemode:
  19314. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19315. type: integer
  19316. interestsettlemode:
  19317. description: 结息方式 - 1:按日结息 3:按月结息
  19318. type: integer
  19319. interestsettlevalue:
  19320. description: 结息方式值
  19321. type: integer
  19322. isautoloan:
  19323. description: 是否自动放款 - 0:手动 1:自动
  19324. type: integer
  19325. marginratio:
  19326. description: 保证金比率质押率 - [仓单质押]
  19327. type: number
  19328. marketid:
  19329. description: 市场ID
  19330. type: integer
  19331. minivalue:
  19332. description: 现货商品最小变动值
  19333. type: integer
  19334. optioncompare:
  19335. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19336. type: string
  19337. orderqty:
  19338. description: 委托数量(商品数量)
  19339. type: number
  19340. productdetailid:
  19341. description: 产品组合ID
  19342. type: integer
  19343. productid:
  19344. description: 金融产品ID
  19345. type: integer
  19346. productname:
  19347. description: 产品名称
  19348. type: string
  19349. remark:
  19350. description: 备注
  19351. type: string
  19352. scfcontractid:
  19353. description: 仓单回购合同ID
  19354. type: string
  19355. sellaccountid:
  19356. description: 卖方资金账号
  19357. type: integer
  19358. selluserid:
  19359. description: 卖方用户ID
  19360. type: integer
  19361. sellwrtradeorderid:
  19362. description: 卖方委托单ID
  19363. type: string
  19364. tradeamount:
  19365. description: 成交金额(借款金额)
  19366. type: number
  19367. tradedate:
  19368. description: 交易日(yyyyMMdd)
  19369. type: string
  19370. tradeprice:
  19371. description: 成交价格
  19372. type: number
  19373. warehouseid:
  19374. description: 仓库ID
  19375. type: integer
  19376. warehousename:
  19377. description: 仓库名称
  19378. type: string
  19379. wrfactortypeid:
  19380. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19381. type: string
  19382. wrfactortypename:
  19383. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19384. type: string
  19385. wrpricetype:
  19386. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19387. type: integer
  19388. wrstandardcode:
  19389. description: 现货商品代码
  19390. type: string
  19391. wrstandardid:
  19392. description: 现货商品ID
  19393. type: integer
  19394. wrstandardname:
  19395. description: 商品名称
  19396. type: string
  19397. wrtypename:
  19398. description: 商品
  19399. type: string
  19400. type: object
  19401. models.WrFriendApply:
  19402. properties:
  19403. applicantid:
  19404. description: 申请人
  19405. type: integer
  19406. applyname:
  19407. description: 申请人名称
  19408. type: string
  19409. applysrc:
  19410. description: 申请来源 - 1:管理端 2:终端
  19411. type: integer
  19412. applystatus:
  19413. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19414. type: integer
  19415. applytime:
  19416. description: 申请时间
  19417. type: string
  19418. auditname:
  19419. description: 审核人名称
  19420. type: string
  19421. auditorid:
  19422. description: 审核人
  19423. type: integer
  19424. auditremark:
  19425. description: 审核备注
  19426. type: string
  19427. auditsrc:
  19428. description: 审核来源 - 1:管理端 2:终端
  19429. type: integer
  19430. audittime:
  19431. description: 审核时间
  19432. type: string
  19433. friendapplyid:
  19434. description: 申请ID(SEQ_FRIENDAPPLY)
  19435. type: string
  19436. friendname:
  19437. description: 好友名字(已脱敏)
  19438. type: string
  19439. frienduserid:
  19440. description: 好友用户ID
  19441. type: string
  19442. remark:
  19443. description: 备注
  19444. type: string
  19445. userid:
  19446. description: 申请人用户ID
  19447. type: integer
  19448. type: object
  19449. models.WrFtDeliveryGoods:
  19450. properties:
  19451. deliverygoodscode:
  19452. description: 品种代码
  19453. type: string
  19454. deliverygoodsid:
  19455. description: 品种ID
  19456. type: integer
  19457. deliverygoodsname:
  19458. description: 品种名称
  19459. type: string
  19460. wdlst:
  19461. description: 商品列表
  19462. items:
  19463. $ref: '#/definitions/models.WrFtWrstandard'
  19464. type: array
  19465. type: object
  19466. models.WrFtWrstandard:
  19467. properties:
  19468. enumdicname:
  19469. description: 单位名称
  19470. type: string
  19471. minivalue:
  19472. description: 最小变动值
  19473. type: integer
  19474. wrstandardcode:
  19475. description: 现货商品代码
  19476. type: string
  19477. wrstandardid:
  19478. description: 现货商品ID
  19479. type: integer
  19480. wrstandardname:
  19481. description: 商品名称
  19482. type: string
  19483. type: object
  19484. models.WrGoodsInfo:
  19485. properties:
  19486. haswr:
  19487. description: 0:仓单预售 1:仓单贸易
  19488. type: integer
  19489. lstitem:
  19490. description: 商品信息项
  19491. items:
  19492. $ref: '#/definitions/models.WrTypeItem'
  19493. type: array
  19494. lststep:
  19495. description: 履约规则
  19496. items:
  19497. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19498. type: array
  19499. marketid:
  19500. description: 市场id
  19501. type: integer
  19502. type: object
  19503. models.WrGoodsPerformanceStep:
  19504. properties:
  19505. autoid:
  19506. description: AutoID
  19507. type: integer
  19508. isauto:
  19509. description: 是否自动 - 0:不自动 1:自动
  19510. type: integer
  19511. remark:
  19512. description: 备注
  19513. type: string
  19514. stepdate:
  19515. description: 天数信息(T+N)
  19516. type: string
  19517. stepdays:
  19518. description: 距离上一步天数
  19519. type: integer
  19520. stepindex:
  19521. description: 步骤序号
  19522. type: integer
  19523. stepinfo:
  19524. description: 步骤信息(步骤名称+步骤值)
  19525. type: string
  19526. steptypeid:
  19527. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19528. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19529. type: integer
  19530. steptypename:
  19531. description: 步骤名称
  19532. type: string
  19533. stepvalue:
  19534. description: 期初均价
  19535. type: number
  19536. templateid:
  19537. description: 履约计划模板ID
  19538. type: integer
  19539. type: object
  19540. models.WrHoldLB:
  19541. properties:
  19542. accountid:
  19543. description: 持有人帐户ID
  19544. type: integer
  19545. bannerpicurl:
  19546. description: Banner图
  19547. type: string
  19548. createtime:
  19549. description: 创建时间(过户时间)
  19550. type: string
  19551. deliverygoodscode:
  19552. description: 品种代码
  19553. type: string
  19554. deliverygoodsid:
  19555. description: 品种ID
  19556. type: integer
  19557. deliverygoodsname:
  19558. description: 品种名称
  19559. type: string
  19560. enableqty:
  19561. description: 可用数量
  19562. type: number
  19563. enumdicname:
  19564. description: 单位名称
  19565. type: string
  19566. freezerqty:
  19567. description: 冻结数量
  19568. type: number
  19569. ladingbillid:
  19570. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19571. type: string
  19572. minivalue:
  19573. description: 现货商品最小变动值
  19574. type: integer
  19575. optioncompare:
  19576. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19577. type: string
  19578. parentsubnum:
  19579. description: 拆分父子单号
  19580. type: integer
  19581. pledgeqty:
  19582. description: 质押数量
  19583. type: number
  19584. qty:
  19585. description: 数量
  19586. type: number
  19587. subnum:
  19588. description: 提单子单号
  19589. type: integer
  19590. thumurls:
  19591. description: 缩略图
  19592. type: string
  19593. tradedate:
  19594. description: 交易日(yyyyMMdd)
  19595. type: string
  19596. userid:
  19597. description: 持有人ID
  19598. type: integer
  19599. warehouseid:
  19600. description: 仓库ID
  19601. type: integer
  19602. warehousename:
  19603. description: 仓库名称
  19604. type: string
  19605. wrfactortypeid:
  19606. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19607. type: string
  19608. wrfactortypename:
  19609. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19610. type: string
  19611. wrholdeno:
  19612. description: 仓单编号
  19613. type: string
  19614. wrid:
  19615. description: 仓单变更ID
  19616. type: string
  19617. wrstandardcode:
  19618. description: 现货商品代码
  19619. type: string
  19620. wrstandardid:
  19621. description: 现货商品ID
  19622. type: integer
  19623. wrstandardname:
  19624. description: 商品名称
  19625. type: string
  19626. wrtypename:
  19627. description: 商品
  19628. type: string
  19629. type: object
  19630. models.WrMarketTradeConfig:
  19631. properties:
  19632. basisdownratio:
  19633. description: 浮动价基差下限比例(仓单贸易)
  19634. type: number
  19635. basisupratio:
  19636. description: 浮动价基差上限比例(仓单贸易)
  19637. type: number
  19638. buychargealgorithm:
  19639. description: 买方手续费收取方式 1:比率 2:固定
  19640. type: integer
  19641. buychargealgorithm2:
  19642. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19643. type: integer
  19644. buychargealgorithmvalue:
  19645. description: 买方手续费设置值(交易所部分)
  19646. type: number
  19647. buychargealgorithmvalue2:
  19648. description: 买方手续费设置值(会员部分)
  19649. type: number
  19650. buychargealgorithmvalue3:
  19651. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19652. type: number
  19653. buychargealgorithmvalue4:
  19654. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19655. type: number
  19656. buyfirstmarginalgorithm:
  19657. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19658. type: integer
  19659. buyfirstmarginvalue:
  19660. description: 买方出价保证金设置值 - [竞拍]
  19661. type: number
  19662. buymarginalgorithm:
  19663. description: 买方保证金方式 - 1:比率 2:固定
  19664. type: integer
  19665. buymarginvalue:
  19666. description: 买方保证金设置值
  19667. type: number
  19668. buyreleaseratio:
  19669. description: 买方释放比率[2:分步履约]
  19670. type: number
  19671. executemode:
  19672. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19673. type: integer
  19674. executeside:
  19675. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19676. type: integer
  19677. failedchargealgorithm:
  19678. description: 流拍手续费收取方式 1:比率 2:固定
  19679. type: integer
  19680. failedchargevalue:
  19681. description: 流拍手续费设置值
  19682. type: number
  19683. failedchargevalue2:
  19684. description: 流拍卖方手续费设置值
  19685. type: number
  19686. holddays:
  19687. description: 合同期限[2:分步履约]
  19688. type: integer
  19689. listingmode:
  19690. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19691. type: integer
  19692. marketid:
  19693. description: 市场ID-仓单贸易、竞拍、预售
  19694. type: integer
  19695. minqty:
  19696. description: 最小执行量[2:分步履约]
  19697. type: number
  19698. modifierid:
  19699. description: 修改人
  19700. type: integer
  19701. nowrquotaflag:
  19702. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19703. type: integer
  19704. performancetempid:
  19705. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19706. 立即执行(-1)
  19707. type: integer
  19708. performancetempid2:
  19709. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19710. 立即执行
  19711. type: integer
  19712. performancetempid2s:
  19713. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19714. - 履约方式: 立即执行
  19715. type: string
  19716. performancetempids:
  19717. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19718. - 履约方式: 立即执行(-1)
  19719. type: string
  19720. performanceway:
  19721. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19722. type: integer
  19723. sellchargealgorithm:
  19724. description: 卖方手续费收取方式 1:比率 2:固定
  19725. type: integer
  19726. sellchargealgorithm2:
  19727. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19728. type: integer
  19729. sellchargealgorithmvalue:
  19730. description: 卖方手续费设置值(交易所部分)
  19731. type: number
  19732. sellchargealgorithmvalue2:
  19733. description: 卖方手续费设置值(会员部分)
  19734. type: number
  19735. sellchargealgorithmvalue3:
  19736. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19737. type: number
  19738. sellchargealgorithmvalue4:
  19739. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19740. type: number
  19741. sellmarginalgorithm:
  19742. description: 卖方保证金方式 - 1:比率 2:固定
  19743. type: integer
  19744. sellmarginvalue:
  19745. description: 卖方保证金设置值
  19746. type: number
  19747. sellmarginvalue2:
  19748. description: 卖方保证金设置值(无仓单)
  19749. type: number
  19750. sellreleaseratio:
  19751. description: 卖方释放比率[2:分步履约]
  19752. type: number
  19753. updatetime:
  19754. description: 更新时间
  19755. type: string
  19756. type: object
  19757. models.WrOrderDetail:
  19758. properties:
  19759. accountid:
  19760. description: 交易账号(资金账号)
  19761. type: integer
  19762. allfriendsflag:
  19763. description: 是否全好友可见 - 0:否 1:是
  19764. type: integer
  19765. amount:
  19766. description: 期初均价
  19767. type: number
  19768. bannerpicurl:
  19769. description: Banner图
  19770. type: string
  19771. begindate:
  19772. description: 开始交易日(yyyymmdd)
  19773. type: string
  19774. buyorsell:
  19775. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19776. type: integer
  19777. canbargain:
  19778. description: 是否可议价 - 0:不可 1:可
  19779. type: integer
  19780. cancelqty:
  19781. description: 撤销数量
  19782. type: number
  19783. canpart:
  19784. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19785. type: integer
  19786. delistminqty:
  19787. description: 起摘数量
  19788. type: integer
  19789. deliverygoodscode:
  19790. description: 品种代码
  19791. type: string
  19792. deliverygoodsid:
  19793. description: 品种ID
  19794. type: integer
  19795. deliverygoodsname:
  19796. description: 品种名称
  19797. type: string
  19798. deliverymonth:
  19799. description: 交收月
  19800. type: string
  19801. enddate:
  19802. description: 结束交易日(yyyymmdd)
  19803. type: string
  19804. enumdicname:
  19805. description: 单位名称
  19806. type: string
  19807. fixedprice:
  19808. description: 固定价格 - [挂牌]
  19809. type: number
  19810. freezecharge:
  19811. description: 期初均价
  19812. type: number
  19813. freezemargin:
  19814. description: 期初均价
  19815. type: number
  19816. futupricemove:
  19817. description: 期货升贴水
  19818. type: number
  19819. futushow:
  19820. description: 期货合约/升贴水
  19821. type: string
  19822. goodscode:
  19823. description: 期货合约
  19824. type: string
  19825. goodsid:
  19826. description: 期货商品id
  19827. type: integer
  19828. goodsname:
  19829. description: 商品名称
  19830. type: string
  19831. haswr:
  19832. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19833. type: integer
  19834. isspecified:
  19835. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19836. type: integer
  19837. ladingbillid:
  19838. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19839. type: string
  19840. marginvalue:
  19841. description: 期初均价
  19842. type: number
  19843. marketid:
  19844. description: 市场ID
  19845. type: integer
  19846. matchusername:
  19847. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19848. type: string
  19849. minivalue:
  19850. description: 现货商品最小变动值
  19851. type: integer
  19852. optioncompare:
  19853. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19854. type: string
  19855. orderqty:
  19856. description: 委托数量
  19857. type: number
  19858. ordertime:
  19859. description: 委托时间(挂牌时间)
  19860. type: string
  19861. performancetemplateid:
  19862. description: 履约模板id
  19863. type: integer
  19864. pricemove:
  19865. description: 升贴水(浮动价时填写) - [挂牌]
  19866. type: number
  19867. taname:
  19868. description: 交易用户名称(资金账号名称)
  19869. type: string
  19870. thumurls:
  19871. description: 缩略图
  19872. type: string
  19873. tradedate:
  19874. description: 交易日(yyyyMMdd)
  19875. type: string
  19876. tradeprice:
  19877. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19878. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19879. type: number
  19880. tradeqty:
  19881. description: 成交数量
  19882. type: number
  19883. userid:
  19884. description: 用户ID
  19885. type: integer
  19886. validtime:
  19887. description: 挂牌有效期
  19888. type: string
  19889. validtype:
  19890. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19891. type: integer
  19892. warehouseid:
  19893. description: 仓库ID
  19894. type: integer
  19895. warehousename:
  19896. description: 仓库名称
  19897. type: string
  19898. wrfactortypeid:
  19899. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19900. type: string
  19901. wrfactortypename:
  19902. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19903. type: string
  19904. wrpricetype:
  19905. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19906. type: integer
  19907. wrstandardcode:
  19908. description: 现货商品代码
  19909. type: string
  19910. wrstandardid:
  19911. description: 现货商品ID
  19912. type: integer
  19913. wrstandardname:
  19914. description: 商品名称
  19915. type: string
  19916. wrtradeorderid:
  19917. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19918. type: string
  19919. wrtradeorderstatus:
  19920. 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:撤单解冻贷款失败
  19921. type: integer
  19922. wrtradetype:
  19923. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19924. type: integer
  19925. wrtypename:
  19926. description: 商品
  19927. type: string
  19928. type: object
  19929. models.WrOrderQuote:
  19930. properties:
  19931. bannerpicurl:
  19932. description: Banner图
  19933. type: string
  19934. buyprice:
  19935. description: 买价
  19936. type: number
  19937. buypricemove:
  19938. description: 买升贴水(基差)
  19939. type: number
  19940. buyqty:
  19941. description: 买量
  19942. type: number
  19943. deliverygoodscode:
  19944. description: 品种代码
  19945. type: string
  19946. deliverygoodsid:
  19947. description: 品种id
  19948. type: integer
  19949. deliverygoodsname:
  19950. description: 品种名称
  19951. type: string
  19952. deliverymonth:
  19953. description: 交收月
  19954. type: string
  19955. enumdicname:
  19956. description: 单位名称
  19957. type: string
  19958. goodscode:
  19959. description: 商品合约(浮动价列表才有)
  19960. type: string
  19961. goodsid:
  19962. description: 商品id(浮动价列表才有)
  19963. type: integer
  19964. minivalue:
  19965. description: 现货商品最小变动值
  19966. type: integer
  19967. pictureurls:
  19968. description: 详情图片(逗号分隔)
  19969. type: string
  19970. sellprice:
  19971. description: 卖价
  19972. type: number
  19973. sellpricemove:
  19974. description: 卖升贴水(基差)
  19975. type: number
  19976. sellqty:
  19977. description: 卖量
  19978. type: number
  19979. thumurls:
  19980. description: 缩略图片(1:1)(逗号分隔)
  19981. type: string
  19982. warehousecode:
  19983. description: 仓库代码
  19984. type: string
  19985. warehouseid:
  19986. description: 仓库id
  19987. type: integer
  19988. warehousename:
  19989. description: 仓库名称
  19990. type: string
  19991. wrfactortypeid:
  19992. description: 仓单要素id
  19993. type: string
  19994. wrfactortypename:
  19995. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19996. type: string
  19997. wrgoodsname:
  19998. description: 商品(商品名称+仓库要素名称 拼接)
  19999. type: string
  20000. wrstandardcode:
  20001. description: 商品代码
  20002. type: string
  20003. wrstandardid:
  20004. description: 商品id
  20005. type: integer
  20006. wrstandardname:
  20007. description: 商品名称
  20008. type: string
  20009. type: object
  20010. models.WrOrderQuoteDetail:
  20011. properties:
  20012. buyorsell:
  20013. description: 买卖 - 0:买 1:卖
  20014. type: integer
  20015. delistminqty:
  20016. description: 期初均价
  20017. type: number
  20018. deliverymonth:
  20019. description: 交收月
  20020. type: string
  20021. enumdicname:
  20022. description: 单位名称
  20023. type: string
  20024. fixedprice:
  20025. description: 买(卖)价
  20026. type: number
  20027. marketid:
  20028. description: 市场id
  20029. type: integer
  20030. minivalue:
  20031. description: 现货商品最小变动值
  20032. type: integer
  20033. orderqty:
  20034. description: 买(卖)量(=委托量-成交量)
  20035. type: number
  20036. ordertime:
  20037. description: 委托时间
  20038. type: string
  20039. pricemove:
  20040. description: 买(卖)升贴水- 基差
  20041. type: number
  20042. userid:
  20043. description: 购买方(销售方)用户ID
  20044. type: integer
  20045. username:
  20046. description: 购买方(销售方)
  20047. type: string
  20048. wrtradeorderid:
  20049. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20050. type: string
  20051. type: object
  20052. models.WrOutInApply:
  20053. properties:
  20054. applyid:
  20055. description: 申请单id
  20056. type: string
  20057. applystatus:
  20058. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20059. 8:已撤销
  20060. type: integer
  20061. applytime:
  20062. description: 申请时间
  20063. type: string
  20064. applytype:
  20065. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20066. type: integer
  20067. bannerpicurl:
  20068. description: Banner图
  20069. type: string
  20070. begindate:
  20071. description: 开始交易日(yyyymmdd)
  20072. type: string
  20073. deliverygoodscode:
  20074. description: 品种代码
  20075. type: string
  20076. deliverygoodsid:
  20077. description: 品种ID
  20078. type: integer
  20079. deliverygoodsname:
  20080. description: 品种名称
  20081. type: string
  20082. enddate:
  20083. description: 结束交易日(yyyymmdd)
  20084. type: string
  20085. enumdicname:
  20086. description: 单位名称
  20087. type: string
  20088. expresscompany:
  20089. description: 物流公司
  20090. type: string
  20091. expressnum:
  20092. description: 物流单号
  20093. type: string
  20094. minivalue:
  20095. description: 现货商品最小变动值
  20096. type: integer
  20097. optioncompare:
  20098. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20099. type: string
  20100. qty:
  20101. description: 数量
  20102. type: integer
  20103. userid:
  20104. description: 用户id
  20105. type: integer
  20106. warehouseid:
  20107. description: 仓库ID
  20108. type: integer
  20109. warehousename:
  20110. description: 仓库名称
  20111. type: string
  20112. wrfactortypeid:
  20113. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20114. type: string
  20115. wrfactortypename:
  20116. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20117. type: string
  20118. wrstandardcode:
  20119. description: 现货商品代码
  20120. type: string
  20121. wrstandardid:
  20122. description: 现货商品ID
  20123. type: integer
  20124. wrstandardname:
  20125. description: 商品名称
  20126. type: string
  20127. wrtypename:
  20128. description: 商品
  20129. type: string
  20130. type: object
  20131. models.WrPerformancePlan:
  20132. properties:
  20133. activatemonth:
  20134. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20135. type: string
  20136. amount:
  20137. description: 履约金额(总金额)
  20138. type: number
  20139. begindate:
  20140. description: 开始交易日(yyyymmdd)
  20141. type: string
  20142. buyaccountid:
  20143. description: 买方账号
  20144. type: integer
  20145. buyerfreezeamount:
  20146. description: 履约冻结(买履约)
  20147. type: number
  20148. buyerfreezeamountremain:
  20149. description: 履约冻结剩余(买履约)
  20150. type: number
  20151. buyorsell:
  20152. description: 买卖方向 0-买 1-卖
  20153. type: integer
  20154. buypaidamount:
  20155. description: 买方已冻/已扣金额 (已付金额)
  20156. type: number
  20157. buyusername:
  20158. description: 买方名字
  20159. type: string
  20160. contractid:
  20161. description: 合同ID
  20162. type: integer
  20163. createtime:
  20164. description: 创建时间
  20165. type: string
  20166. creatorid:
  20167. description: 创建人
  20168. type: integer
  20169. curstepdeadline:
  20170. description: 当前步骤到期时间
  20171. type: string
  20172. curstepid:
  20173. description: 当前步骤ID
  20174. type: string
  20175. curstepname:
  20176. description: 当前步骤名称
  20177. type: string
  20178. deliverygoodscode:
  20179. description: 品种代码
  20180. type: string
  20181. deliverygoodsid:
  20182. description: 品种ID
  20183. type: integer
  20184. deliverygoodsname:
  20185. description: 品种名称
  20186. type: string
  20187. enddate:
  20188. description: 结束交易日(yyyymmdd)
  20189. type: string
  20190. enumdicname:
  20191. description: 单位名称
  20192. type: string
  20193. expressfee:
  20194. description: 运费
  20195. type: number
  20196. expressfeeconfirmed:
  20197. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20198. type: integer
  20199. hasovershort:
  20200. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20201. type: integer
  20202. haswr:
  20203. description: 类型 0-仓单预售 1-仓单贸易
  20204. type: integer
  20205. marketid:
  20206. description: 市场ID
  20207. type: integer
  20208. middleaccountid:
  20209. description: 中间商资金账号ID
  20210. type: integer
  20211. middleuserid:
  20212. description: 中间商用户ID
  20213. type: integer
  20214. minivalue:
  20215. description: 现货商品最小变动值
  20216. type: integer
  20217. optioncompare:
  20218. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20219. type: string
  20220. overshortamount:
  20221. description: 溢短金额
  20222. type: number
  20223. overshortqty:
  20224. description: 溢短数量
  20225. type: number
  20226. paymenttype:
  20227. description: 付款方式 - 1:冻结 2:扣款
  20228. type: integer
  20229. performanceplanid:
  20230. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20231. type: string
  20232. performancestatus:
  20233. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20234. 9:超时待处理 10:超时关闭
  20235. type: integer
  20236. performancetype:
  20237. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20238. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20239. type: integer
  20240. qty:
  20241. description: 履约数量
  20242. type: number
  20243. relatedorderid:
  20244. description: 关联单号(履约类型的关联单号)
  20245. type: string
  20246. remark:
  20247. description: 备注
  20248. type: string
  20249. sellaccountid:
  20250. description: 卖方账号
  20251. type: integer
  20252. sellerfreezeamount:
  20253. description: 履约冻结(卖履约)
  20254. type: number
  20255. sellerfreezeamountremain:
  20256. description: 履约冻结剩余(卖履约)
  20257. type: number
  20258. sellreceivedamount:
  20259. description: 卖方已收金额
  20260. type: number
  20261. sellusername:
  20262. description: 卖方名字
  20263. type: string
  20264. shipremark:
  20265. description: 发货备注[物流单号]
  20266. type: string
  20267. starttime:
  20268. description: 开始时间
  20269. type: string
  20270. steptypeid:
  20271. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20272. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20273. type: integer
  20274. typename:
  20275. description: 履约类型 名称
  20276. type: string
  20277. unpaidamount:
  20278. description: 期初均价
  20279. type: number
  20280. userid:
  20281. description: 用户id
  20282. type: integer
  20283. warehouseid:
  20284. description: 仓库ID
  20285. type: integer
  20286. warehousename:
  20287. description: 仓库名称
  20288. type: string
  20289. wrfactortypeid:
  20290. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20291. type: string
  20292. wrfactortypename:
  20293. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20294. type: string
  20295. wrstandardcode:
  20296. description: 现货商品代码
  20297. type: string
  20298. wrstandardid:
  20299. description: 现货商品ID
  20300. type: integer
  20301. wrstandardname:
  20302. description: 商品名称
  20303. type: string
  20304. wrtransferuserid:
  20305. description: 仓单受让用户
  20306. type: integer
  20307. wrtypename:
  20308. description: 商品
  20309. type: string
  20310. required:
  20311. - userid
  20312. type: object
  20313. models.WrPerformancePlanStep:
  20314. properties:
  20315. delaydays:
  20316. description: 延期申请天数
  20317. type: integer
  20318. deliverygoodscode:
  20319. description: 品种代码
  20320. type: string
  20321. deliverygoodsid:
  20322. description: 品种ID
  20323. type: integer
  20324. deliverygoodsname:
  20325. description: 品种名称
  20326. type: string
  20327. endtime:
  20328. description: 结束日期
  20329. type: string
  20330. enumdicname:
  20331. description: 单位名称
  20332. type: string
  20333. executeside:
  20334. description: 步骤执行方 - 1:买方 2:卖方
  20335. type: integer
  20336. handlestatus:
  20337. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20338. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20339. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20340. type: integer
  20341. isauto:
  20342. description: 是否自动 - 0:不自动 1:自动
  20343. type: integer
  20344. islastreceivestep:
  20345. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20346. type: integer
  20347. minivalue:
  20348. description: 现货商品最小变动值
  20349. type: integer
  20350. optioncompare:
  20351. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20352. type: string
  20353. overdays:
  20354. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20355. type: integer
  20356. performancestepid:
  20357. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20358. type: string
  20359. planid:
  20360. description: 所属履约计划ID
  20361. type: string
  20362. realamount:
  20363. description: 实际完成金额
  20364. type: number
  20365. relatedorderid:
  20366. description: 关联单号
  20367. type: string
  20368. remaindays:
  20369. description: 剩余天数
  20370. type: integer
  20371. remark:
  20372. description: 错误备注
  20373. type: string
  20374. starttime:
  20375. description: 开始日期
  20376. type: string
  20377. stepamount:
  20378. description: 步骤金额
  20379. type: number
  20380. stepdays:
  20381. description: 距离上一步天数(分钟)
  20382. type: integer
  20383. stepindex:
  20384. description: 步骤序号
  20385. type: integer
  20386. steplanchtype:
  20387. description: 步骤启动类型 - 1:系统自动 2:手动
  20388. type: integer
  20389. stepremark:
  20390. description: 步骤备注
  20391. type: string
  20392. stepstatus:
  20393. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20394. type: integer
  20395. steptypeid:
  20396. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20397. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20398. type: integer
  20399. steptypename:
  20400. description: 步骤名称
  20401. type: string
  20402. stepvalue:
  20403. description: 步骤值
  20404. type: number
  20405. warehouseid:
  20406. description: 仓库ID
  20407. type: integer
  20408. warehousename:
  20409. description: 仓库名称
  20410. type: string
  20411. wrfactortypeid:
  20412. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20413. type: string
  20414. wrfactortypename:
  20415. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20416. type: string
  20417. wrstandardcode:
  20418. description: 现货商品代码
  20419. type: string
  20420. wrstandardid:
  20421. description: 现货商品ID
  20422. type: integer
  20423. wrstandardname:
  20424. description: 商品名称
  20425. type: string
  20426. wrtypename:
  20427. description: 商品
  20428. type: string
  20429. type: object
  20430. models.WrPerformanceStepType:
  20431. properties:
  20432. canauto:
  20433. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20434. type: integer
  20435. steptypeid:
  20436. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20437. type: integer
  20438. steptypename:
  20439. description: 步骤类型名称
  20440. type: string
  20441. type: object
  20442. models.WrPerformanceTemplateEx:
  20443. properties:
  20444. autoid:
  20445. description: AutoID 模板id
  20446. type: integer
  20447. createtime:
  20448. description: 创建时间
  20449. type: string
  20450. creatorid:
  20451. description: 创建人
  20452. type: integer
  20453. lstStep:
  20454. description: 步骤信息列表
  20455. items:
  20456. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20457. type: array
  20458. paymenttype:
  20459. description: 支付方式 - 1:冻结 2:扣款
  20460. type: integer
  20461. takemode:
  20462. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20463. type: integer
  20464. templatename:
  20465. description: 模板名称
  20466. type: string
  20467. templatetype:
  20468. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20469. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20470. type: integer
  20471. userid:
  20472. description: 所属用户
  20473. type: integer
  20474. type: object
  20475. models.WrPosition:
  20476. properties:
  20477. accountid:
  20478. description: 帐户ID
  20479. type: integer
  20480. buyexcuteqty:
  20481. description: 采购履约中数量
  20482. type: number
  20483. creditcurqty:
  20484. description: 授信当前数量(预售仓单:预售当前量)
  20485. type: number
  20486. creditenableqty:
  20487. description: '授信可用数量(预售仓单: 可用数量)'
  20488. type: number
  20489. creditfreezeqty:
  20490. description: '授信冻结数量(预售仓单: 当前数量)'
  20491. type: number
  20492. credittotalqty:
  20493. description: 授信总数量(预售仓单:预售总量)
  20494. type: number
  20495. credittradeqty:
  20496. description: 授信成交数量(预售仓单:成交总量)
  20497. type: number
  20498. deliverygoodscode:
  20499. description: 品种代码
  20500. type: string
  20501. deliverygoodsid:
  20502. description: 品种ID
  20503. type: integer
  20504. deliverygoodsname:
  20505. description: 品种名称
  20506. type: string
  20507. enalbeqty:
  20508. description: 可用数量
  20509. type: number
  20510. enumdicname:
  20511. description: 单位名称
  20512. type: string
  20513. freezeqty:
  20514. description: 总冻结数量
  20515. type: number
  20516. haswr:
  20517. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20518. type: integer
  20519. minivalue:
  20520. description: 现货商品最小变动值
  20521. type: integer
  20522. modifytime:
  20523. description: 修改时间(过户时间)
  20524. type: string
  20525. optioncompare:
  20526. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20527. type: string
  20528. pledgeqty:
  20529. description: 质押数量
  20530. type: number
  20531. querytype:
  20532. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20533. type: integer
  20534. sellexcuteqty:
  20535. description: 销售履约中数量
  20536. type: number
  20537. totalqty:
  20538. description: 总数量(库存数量)
  20539. type: number
  20540. warehouseid:
  20541. description: 仓库ID
  20542. type: integer
  20543. warehousename:
  20544. description: 仓库名称
  20545. type: string
  20546. wrfactortypeid:
  20547. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20548. type: string
  20549. wrfactortypename:
  20550. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20551. type: string
  20552. wrpositionid:
  20553. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20554. type: string
  20555. wrpositionno:
  20556. description: 仓单编号
  20557. type: string
  20558. wrstandardcode:
  20559. description: 现货商品代码
  20560. type: string
  20561. wrstandardid:
  20562. description: 现货商品ID
  20563. type: integer
  20564. wrstandardname:
  20565. description: 商品名称
  20566. type: string
  20567. wrtypename:
  20568. description: 商品
  20569. type: string
  20570. wruserid:
  20571. description: 持有人ID
  20572. type: integer
  20573. type: object
  20574. models.WrPreSaleInfo:
  20575. properties:
  20576. bannerpicurl:
  20577. description: Banner图
  20578. type: string
  20579. baseqty:
  20580. description: 中签基数
  20581. type: number
  20582. createtime:
  20583. description: 创建时间
  20584. type: string
  20585. deliverygoodsid:
  20586. description: 现货品种ID
  20587. type: integer
  20588. enddate:
  20589. description: 预售结束日期
  20590. type: string
  20591. enumdicname:
  20592. description: 单位名称
  20593. type: string
  20594. lotteryflag:
  20595. description: 摇号标识 - 0:未摇号 1:已摇号
  20596. type: integer
  20597. lotteryqty:
  20598. description: 摇号总量
  20599. type: number
  20600. luckyqty:
  20601. description: 已中签量
  20602. type: number
  20603. marketid:
  20604. description: 市场ID
  20605. type: integer
  20606. maxbuyqty:
  20607. description: 单人最大申购量
  20608. type: number
  20609. maxluckyqty:
  20610. description: 单人最大中签量
  20611. type: number
  20612. pictureurls:
  20613. description: 详情图片(逗号分隔)
  20614. type: string
  20615. placeqty:
  20616. description: 已配售量
  20617. type: number
  20618. presaleapplyid:
  20619. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20620. example: "0"
  20621. type: string
  20622. presaleqty:
  20623. description: 预售总量
  20624. type: number
  20625. presalestatus:
  20626. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20627. type: integer
  20628. sellaccountid:
  20629. description: 发行方资金账户ID
  20630. type: integer
  20631. selluserid:
  20632. description: 发行方用户ID
  20633. type: integer
  20634. sellwrtradeorderid:
  20635. description: 发行方卖委托单ID
  20636. type: string
  20637. startdate:
  20638. description: 预售开始日期
  20639. type: string
  20640. takestartdate:
  20641. description: 提货开始日期
  20642. type: string
  20643. thumurls:
  20644. description: 缩略图片(1:1)(逗号分隔)
  20645. type: string
  20646. tradedate:
  20647. description: 交易日
  20648. type: string
  20649. unitid:
  20650. description: 单位ID
  20651. type: integer
  20652. unitprice:
  20653. description: 商品单价
  20654. type: number
  20655. username:
  20656. description: 发行方用户名称
  20657. type: string
  20658. warehousecode:
  20659. description: 仓库代码(仓库简称)
  20660. type: string
  20661. warehouseid:
  20662. description: 仓库ID
  20663. type: integer
  20664. warehousename:
  20665. description: 仓库名称
  20666. type: string
  20667. wrfactortypeid:
  20668. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20669. example: "0"
  20670. type: string
  20671. wrstandardid:
  20672. description: 现货商品ID
  20673. type: integer
  20674. wrstandardname:
  20675. description: 现货商品名称
  20676. type: string
  20677. type: object
  20678. models.WrQuoteOrderMyq:
  20679. properties:
  20680. buyorsell:
  20681. description: 买卖 - 0:买 1:卖
  20682. type: integer
  20683. canbargain:
  20684. description: 是否可议价 - 0:不可 1:可
  20685. type: integer
  20686. canpart:
  20687. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20688. type: integer
  20689. delistminqty:
  20690. description: 期初均价
  20691. type: number
  20692. deliverygoodscode:
  20693. description: 品种代码
  20694. type: string
  20695. deliverygoodsid:
  20696. description: 品种ID
  20697. type: integer
  20698. deliverygoodsname:
  20699. description: 品种名称
  20700. type: string
  20701. deliverymonth:
  20702. description: 交收月
  20703. type: string
  20704. enumdicname:
  20705. description: 单位名称
  20706. type: string
  20707. fixedprice:
  20708. description: 买(卖)价
  20709. type: number
  20710. goodscode:
  20711. description: 商品合约代码
  20712. type: string
  20713. marginflag:
  20714. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20715. type: integer
  20716. marginvalue:
  20717. description: 保证金设置值
  20718. type: number
  20719. minivalue:
  20720. description: 现货商品最小变动值
  20721. type: integer
  20722. orderqty:
  20723. description: 买(卖)量(=委托量-成交量)
  20724. type: number
  20725. ordertime:
  20726. description: 委托时间
  20727. type: string
  20728. performancetemplateid:
  20729. description: 履约模板id
  20730. type: integer
  20731. pricemove:
  20732. description: 买(卖)升贴水- 基差
  20733. type: number
  20734. templatename:
  20735. description: 履约模板名称
  20736. type: string
  20737. userid:
  20738. description: 购买方(销售方)用户ID
  20739. type: integer
  20740. username:
  20741. description: 购买方(销售方)
  20742. type: string
  20743. validtime:
  20744. description: 有效期限
  20745. type: string
  20746. validtype:
  20747. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20748. type: integer
  20749. warehousename:
  20750. description: 仓库名称
  20751. type: string
  20752. wrfactortypeid:
  20753. description: 仓单要素id
  20754. type: string
  20755. wrstandardcode:
  20756. description: 现货商品代码
  20757. type: string
  20758. wrstandardid:
  20759. description: 现货商品ID
  20760. type: integer
  20761. wrstandardname:
  20762. description: 商品名称
  20763. type: string
  20764. wrtradeorderid:
  20765. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20766. type: string
  20767. wrtypename:
  20768. description: 商品
  20769. type: string
  20770. type: object
  20771. models.WrReckonSpotGoodsTradeSum:
  20772. properties:
  20773. begindate:
  20774. description: 开始日期(结果含开始日期) yyyymmdd
  20775. type: string
  20776. enddate:
  20777. description: 结束日期(结果含结束日期) yyyymmdd
  20778. type: string
  20779. istoday:
  20780. description: 是否当日
  20781. type: boolean
  20782. marketid:
  20783. description: 市场ID
  20784. type: integer
  20785. price:
  20786. description: 价格 = 日成交金额 / 日成交数量
  20787. type: string
  20788. reckondate:
  20789. description: 日期 格式 yyyymmdd
  20790. type: string
  20791. tradeamount:
  20792. description: 期初均价
  20793. type: number
  20794. tradeqty:
  20795. description: 期初均价
  20796. type: number
  20797. wrstandardid:
  20798. description: 现货商品ID
  20799. type: integer
  20800. type: object
  20801. models.WrScfContract:
  20802. properties:
  20803. borroweruserid:
  20804. description: 借款用户ID
  20805. type: integer
  20806. buybackwrpositionqty:
  20807. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20808. type: number
  20809. closeinterest:
  20810. description: 已结利息 -> 已结费用
  20811. type: number
  20812. currisklevel:
  20813. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20814. type: integer
  20815. deadline:
  20816. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20817. type: string
  20818. deliverygoodscode:
  20819. description: 品种代码
  20820. type: string
  20821. deliverygoodsid:
  20822. description: 品种ID
  20823. type: integer
  20824. deliverygoodsname:
  20825. description: 品种名称
  20826. type: string
  20827. enumdicname:
  20828. description: 单位名称
  20829. type: string
  20830. financingdays:
  20831. description: 天数(天)
  20832. type: integer
  20833. initmargin:
  20834. description: 保证金 - [仓单回购]
  20835. type: number
  20836. interestamount:
  20837. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20838. type: number
  20839. interestdebt:
  20840. description: 利息欠款(记录负数) -> 费用欠款
  20841. type: number
  20842. interestminlen:
  20843. description: 最小起息天数
  20844. type: integer
  20845. interestrate:
  20846. description: 利率
  20847. type: number
  20848. interestratemode:
  20849. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20850. type: integer
  20851. interestsettlemode:
  20852. description: 结息方式 - 1:按日结息 3:按月结息
  20853. type: integer
  20854. interestsettlevalue:
  20855. description: 结息方式值
  20856. type: integer
  20857. isautoloan:
  20858. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20859. type: integer
  20860. lastcloseinterestday:
  20861. description: 最近结息日(yyyyMMdd)
  20862. type: string
  20863. lenderamount:
  20864. description: 贷款金额 -> 借款金额
  20865. type: number
  20866. lenderuserid:
  20867. description: 贷款方用户ID -> 融出方用户ID
  20868. type: integer
  20869. lenderusername:
  20870. description: 融出方
  20871. type: string
  20872. marginratio:
  20873. description: 保证金比率质押率 - [仓单质押]
  20874. type: number
  20875. marketid:
  20876. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20877. type: integer
  20878. minivalue:
  20879. description: 现货商品最小变动值
  20880. type: integer
  20881. optioncompare:
  20882. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20883. type: string
  20884. pricemove:
  20885. description: 估值升贴水值
  20886. type: number
  20887. productdetailid:
  20888. description: 产品组合ID
  20889. type: integer
  20890. productid:
  20891. description: 金融产品ID
  20892. type: integer
  20893. productname:
  20894. description: 产品名称
  20895. type: string
  20896. remainamount:
  20897. description: 合同剩余金额 -> 剩余金额
  20898. type: number
  20899. remainwrpositionqty:
  20900. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20901. type: number
  20902. remark:
  20903. description: 备注
  20904. type: string
  20905. scfcontractid:
  20906. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20907. type: string
  20908. scfcontractstatus:
  20909. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20910. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20911. type: integer
  20912. scfcontracttype:
  20913. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20914. type: integer
  20915. startinterestday:
  20916. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20917. type: string
  20918. totalinterest:
  20919. description: 已计利息 -> 已计费用
  20920. type: number
  20921. unpaidinterest:
  20922. description: 期初均价
  20923. type: number
  20924. updatetime:
  20925. description: 更新时间
  20926. type: string
  20927. warehouseid:
  20928. description: 仓库ID
  20929. type: integer
  20930. warehousename:
  20931. description: 仓库名称
  20932. type: string
  20933. wrfactortypeid:
  20934. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20935. type: string
  20936. wrfactortypename:
  20937. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20938. type: string
  20939. wrqty:
  20940. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20941. type: number
  20942. wrstandardcode:
  20943. description: 现货商品代码
  20944. type: string
  20945. wrstandardid:
  20946. description: 现货商品ID
  20947. type: integer
  20948. wrstandardname:
  20949. description: 商品名称
  20950. type: string
  20951. wrtypename:
  20952. description: 商品
  20953. type: string
  20954. type: object
  20955. models.WrScfContractInterest:
  20956. properties:
  20957. closeinterest:
  20958. description: 已结利息
  20959. type: number
  20960. closeintereststatus:
  20961. description: 结息状态 - 1:未结 2:已结
  20962. type: integer
  20963. closetime:
  20964. description: 结息时间
  20965. type: string
  20966. closetradedate:
  20967. description: 结息交易日
  20968. type: string
  20969. creatorid:
  20970. description: 操作人ID
  20971. type: integer
  20972. dayrate:
  20973. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20974. type: number
  20975. interest:
  20976. description: 利息
  20977. type: number
  20978. interestamount:
  20979. description: 计息金额
  20980. type: number
  20981. interestday:
  20982. description: 计息日(yyyyMMdd)
  20983. type: string
  20984. scfcontractid:
  20985. description: SCF合同ID
  20986. type: string
  20987. scfcontractinterestid:
  20988. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20989. type: integer
  20990. updatetime:
  20991. description: 更新时间
  20992. type: string
  20993. type: object
  20994. models.WrSearchUser:
  20995. properties:
  20996. userid:
  20997. description: 用户ID
  20998. type: integer
  20999. username:
  21000. description: 用户名称(已脱敏)
  21001. type: string
  21002. username2:
  21003. description: 用户名称(未脱敏)
  21004. type: string
  21005. usertype:
  21006. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21007. type: integer
  21008. required:
  21009. - username
  21010. type: object
  21011. models.WrSiteColumnDetail:
  21012. properties:
  21013. author:
  21014. description: 作者
  21015. type: string
  21016. brief:
  21017. description: 简介
  21018. type: string
  21019. context:
  21020. description: 内容
  21021. type: string
  21022. coverimage:
  21023. description: 封面图片
  21024. type: string
  21025. creaedate:
  21026. description: 创建时间
  21027. type: string
  21028. id:
  21029. description: ID(SEQ_SITE_COLUMNDETAIL)
  21030. type: integer
  21031. istop:
  21032. description: 是否置顶 - 0:不置 1:置顶
  21033. type: integer
  21034. publishdate:
  21035. description: 发布日期
  21036. type: string
  21037. title:
  21038. description: 标题
  21039. type: string
  21040. updatedate:
  21041. description: 修改时间
  21042. type: string
  21043. type: object
  21044. models.WrSpecialMatchOrder:
  21045. properties:
  21046. amount:
  21047. description: 金额 = 数量 * 价格
  21048. type: number
  21049. buyorsell:
  21050. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21051. type: integer
  21052. cancelqty:
  21053. description: 撤销数量
  21054. type: number
  21055. deliverygoodscode:
  21056. description: 品种代码
  21057. type: string
  21058. deliverygoodsid:
  21059. description: 品种ID
  21060. type: integer
  21061. deliverygoodsname:
  21062. description: 品种名称
  21063. type: string
  21064. enumdicname:
  21065. description: 单位名称
  21066. type: string
  21067. fixedprice:
  21068. description: 固定价格(价格)
  21069. type: number
  21070. haswr:
  21071. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21072. type: integer
  21073. isspecified:
  21074. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21075. type: integer
  21076. marketid:
  21077. description: 市场ID
  21078. type: integer
  21079. matchuserid:
  21080. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21081. type: integer
  21082. matchusername:
  21083. description: 指定方
  21084. type: string
  21085. minivalue:
  21086. description: 现货商品最小变动值
  21087. type: integer
  21088. optioncompare:
  21089. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21090. type: string
  21091. orderqty:
  21092. description: 委托数量
  21093. type: number
  21094. ordertime:
  21095. description: 委托时间
  21096. type: string
  21097. pricemove:
  21098. description: 升贴水(浮动价时填写) - [挂牌]
  21099. type: number
  21100. tradedate:
  21101. description: 交易日(yyyyMMdd)
  21102. type: string
  21103. tradeprice:
  21104. description: 成交价格
  21105. type: number
  21106. tradeqty:
  21107. description: 成交数量
  21108. type: number
  21109. userid:
  21110. description: 用户ID
  21111. type: integer
  21112. username:
  21113. description: 发起方
  21114. type: string
  21115. warehouseid:
  21116. description: 仓库ID
  21117. type: integer
  21118. warehousename:
  21119. description: 仓库名称
  21120. type: string
  21121. wrfactortypeid:
  21122. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21123. type: string
  21124. wrfactortypename:
  21125. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21126. type: string
  21127. wrpricetype:
  21128. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21129. type: integer
  21130. wrstandardcode:
  21131. description: 现货商品代码
  21132. type: string
  21133. wrstandardid:
  21134. description: 现货商品ID
  21135. type: integer
  21136. wrstandardname:
  21137. description: 商品名称
  21138. type: string
  21139. wrtradeorderid:
  21140. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21141. type: string
  21142. wrtradeorderstatus:
  21143. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21144. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21145. type: integer
  21146. wrtradetype:
  21147. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21148. type: integer
  21149. wrtypename:
  21150. description: 商品
  21151. type: string
  21152. type: object
  21153. models.WrSpotGroupTradeSum:
  21154. properties:
  21155. deliverygoodscode:
  21156. description: 现货品种代码
  21157. type: string
  21158. deliverygoodsid:
  21159. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21160. type: integer
  21161. deliverygoodsname:
  21162. description: 现货品种名称
  21163. type: string
  21164. lastavgprice:
  21165. description: 上上个交易日价格(前2天价格)
  21166. type: string
  21167. lastreckondate:
  21168. description: 上上个交易日(前2天交易日)
  21169. type: string
  21170. reckondate:
  21171. description: 上个交易日(前1天交易日)
  21172. type: string
  21173. todayavgprice:
  21174. description: 上个交易日价格(前1天价格)
  21175. type: string
  21176. updown:
  21177. description: 涨跌
  21178. type: string
  21179. updownratio:
  21180. description: 涨幅(已格式化, 直接显示即可)
  21181. type: string
  21182. type: object
  21183. models.WrSpotGroupTradeSumDetail:
  21184. properties:
  21185. deliverygoodsid:
  21186. description: 现货商品id
  21187. type: integer
  21188. price:
  21189. description: 价格
  21190. type: number
  21191. reckondate:
  21192. description: 日期(yyymmdd, 如:20211031)
  21193. type: string
  21194. type: object
  21195. models.WrSpotGroupTradeSumEx:
  21196. properties:
  21197. lst:
  21198. description: 指数列表
  21199. items:
  21200. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21201. type: array
  21202. prereckondate:
  21203. description: 上上个交易日(yyymmdd)
  21204. type: string
  21205. reckondate:
  21206. description: 上个交易日(yyyymmdd)
  21207. type: string
  21208. type: object
  21209. models.WrStandardFactoryItem:
  21210. properties:
  21211. dgfactoryitemid:
  21212. description: 选择项id
  21213. type: integer
  21214. dgfactoryitemvalue:
  21215. description: 要素项值
  21216. type: string
  21217. warehouseid:
  21218. description: 仓库id
  21219. type: integer
  21220. type: object
  21221. models.WrStandardFactoryItemEx:
  21222. properties:
  21223. dgfactoryitemtypeid:
  21224. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21225. type: integer
  21226. itemlst:
  21227. description: 要素项列表
  21228. items:
  21229. $ref: '#/definitions/models.WrStandardFactoryItem'
  21230. type: array
  21231. itemtypename:
  21232. description: 要素项类型名称
  21233. type: string
  21234. wrstandardid:
  21235. description: 品类
  21236. type: integer
  21237. type: object
  21238. models.WrTradeDetail:
  21239. properties:
  21240. accountid:
  21241. description: 资金账号
  21242. type: integer
  21243. bannerpicurl:
  21244. description: Banner图
  21245. type: string
  21246. begindate:
  21247. description: 开始交易日(yyyymmdd)
  21248. type: string
  21249. buyorsell:
  21250. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21251. type: integer
  21252. chargevalue:
  21253. description: 手续费
  21254. type: number
  21255. deliverygoodscode:
  21256. description: 品种代码
  21257. type: string
  21258. deliverygoodsid:
  21259. description: 品种ID
  21260. type: integer
  21261. deliverygoodsname:
  21262. description: 品种名称
  21263. type: string
  21264. deliverymonth:
  21265. description: 交收月
  21266. type: string
  21267. enddate:
  21268. description: 结束交易日(yyyymmdd)
  21269. type: string
  21270. enumdicname:
  21271. description: 单位名称
  21272. type: string
  21273. haswr:
  21274. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21275. type: integer
  21276. marketid:
  21277. description: 市场ID
  21278. type: integer
  21279. matchaccountid:
  21280. description: 对手账号
  21281. type: integer
  21282. matchusername:
  21283. description: 对手方
  21284. type: string
  21285. minivalue:
  21286. description: 现货商品最小变动值
  21287. type: integer
  21288. optioncompare:
  21289. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21290. type: string
  21291. thumurls:
  21292. description: 缩略图
  21293. type: string
  21294. tradedate:
  21295. description: 交易日(yyyyMMdd)
  21296. type: string
  21297. tradeprice:
  21298. description: 成交价格
  21299. type: number
  21300. tradeqty:
  21301. description: 成交数量
  21302. type: number
  21303. tradetime:
  21304. description: 成交时间
  21305. type: string
  21306. userid:
  21307. description: 用户ID
  21308. type: integer
  21309. warehouseid:
  21310. description: 仓库ID
  21311. type: integer
  21312. warehousename:
  21313. description: 仓库名称
  21314. type: string
  21315. wrfactortypeid:
  21316. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21317. type: string
  21318. wrfactortypename:
  21319. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21320. type: string
  21321. wrstandardcode:
  21322. description: 现货商品代码
  21323. type: string
  21324. wrstandardid:
  21325. description: 现货商品ID
  21326. type: integer
  21327. wrstandardname:
  21328. description: 商品名称
  21329. type: string
  21330. wrtradedetailid:
  21331. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21332. type: string
  21333. wrtradetype:
  21334. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21335. type: integer
  21336. wrtypename:
  21337. description: 商品
  21338. type: string
  21339. type: object
  21340. models.WrTradeOrderDetail:
  21341. properties:
  21342. buyorsell:
  21343. description: 买卖方向 0-买 1-卖
  21344. type: integer
  21345. goodsid:
  21346. description: 商品id
  21347. type: integer
  21348. orderid:
  21349. description: 委托单号
  21350. type: string
  21351. orderprice:
  21352. description: 期初均价
  21353. type: number
  21354. orderqty:
  21355. description: 委托数量
  21356. type: integer
  21357. userid:
  21358. description: 用户id
  21359. type: integer
  21360. username:
  21361. description: 用户名称(已脱敏)
  21362. type: string
  21363. type: object
  21364. models.WrTypeItem:
  21365. properties:
  21366. name:
  21367. description: 名称
  21368. type: string
  21369. value:
  21370. description: 值
  21371. type: string
  21372. type: object
  21373. models.WrUserFriend:
  21374. properties:
  21375. friendname:
  21376. description: 朋友名称(已脱敏)
  21377. type: string
  21378. frienduserid:
  21379. description: 朋友id
  21380. type: integer
  21381. isfriend:
  21382. description: 是否好友 0-不是 1-是
  21383. type: integer
  21384. userid:
  21385. description: 用户id
  21386. type: integer
  21387. type: object
  21388. models.WrUserReceiptInfo:
  21389. properties:
  21390. address:
  21391. description: 地址[发票类型:企业]
  21392. type: string
  21393. autoid:
  21394. description: AutoID
  21395. type: integer
  21396. contactinfo:
  21397. description: 联系方式
  21398. type: string
  21399. idnum:
  21400. description: 身份证号码[发票类型:个人]
  21401. type: string
  21402. isdefault:
  21403. description: 是否默认地址 - 0:否 1:是
  21404. type: integer
  21405. receiptaccount:
  21406. description: 发票帐号[发票类型:企业]
  21407. type: string
  21408. receiptbank:
  21409. description: 发票开户行[发票类型:企业]
  21410. type: string
  21411. receipttype:
  21412. description: 发票类型 - 1:个人 2:企业
  21413. type: integer
  21414. taxpayerid:
  21415. description: 纳税人识别号
  21416. type: string
  21417. userid:
  21418. description: 用户ID
  21419. type: integer
  21420. username:
  21421. description: 户名(个人姓名或企业名称)
  21422. type: string
  21423. type: object
  21424. models.Wrtradetradequote:
  21425. properties:
  21426. buyaccountid:
  21427. description: 买方账号ID
  21428. type: integer
  21429. buychargevalue:
  21430. description: 买方手续费
  21431. type: number
  21432. buyuserid:
  21433. description: 买方用户ID
  21434. type: integer
  21435. deliverygoodsid:
  21436. description: 现货品种ID
  21437. type: integer
  21438. exchangerate:
  21439. description: 汇率
  21440. type: number
  21441. marketid:
  21442. description: 市场ID
  21443. type: integer
  21444. oritradeamount:
  21445. description: 成交金额[商品币种]
  21446. type: number
  21447. performanceplanid:
  21448. description: 履约计划ID/合同ID
  21449. type: integer
  21450. sellaccountid:
  21451. description: 卖方账号ID
  21452. type: integer
  21453. sellchargevalue:
  21454. description: 卖方手续费
  21455. type: number
  21456. selluserid:
  21457. description: 卖方用户ID
  21458. type: integer
  21459. tradeamount:
  21460. description: 成交金额
  21461. type: number
  21462. tradedate:
  21463. description: 交易日(yyyyMMdd)
  21464. type: string
  21465. tradeprice:
  21466. description: 成交价格
  21467. type: number
  21468. tradeqty:
  21469. description: 成交数量
  21470. type: integer
  21471. tradetime:
  21472. description: 成交时间
  21473. type: string
  21474. wrfactortypeid:
  21475. description: 仓单要素类型ID
  21476. type: integer
  21477. wrstandardid:
  21478. description: 现货商品ID
  21479. type: integer
  21480. wrtradedetailid:
  21481. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21482. type: integer
  21483. type: object
  21484. models.XHBRAND:
  21485. properties:
  21486. brandid:
  21487. description: 品牌id
  21488. type: integer
  21489. brandname:
  21490. description: 品牌名称
  21491. type: string
  21492. isvalid:
  21493. description: 是否有效 0-无效 1-有效
  21494. type: integer
  21495. type: object
  21496. models.XHDeliveryGoods:
  21497. properties:
  21498. areauserid:
  21499. description: 所属机构
  21500. type: integer
  21501. bdlst:
  21502. description: 品牌列表
  21503. items:
  21504. $ref: '#/definitions/models.XHBRAND'
  21505. type: array
  21506. deliverygoodscode:
  21507. description: 现货品种代码
  21508. type: string
  21509. deliverygoodsid:
  21510. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21511. type: integer
  21512. deliverygoodsname:
  21513. description: 现货品种名称
  21514. type: string
  21515. dgstatus:
  21516. description: 品种状态 - 作废 - 0:未激活 1:正常
  21517. type: integer
  21518. filterSubEmpty:
  21519. description: 过滤下级为空的
  21520. type: integer
  21521. isvalid:
  21522. description: 是否有效 - 0:无效 1:有效
  21523. type: integer
  21524. remark:
  21525. description: 备注
  21526. type: string
  21527. unitid:
  21528. description: 单位id(目前看,数据库中是空值)
  21529. type: integer
  21530. wdlst:
  21531. description: 品类(现货商品)列表
  21532. items:
  21533. $ref: '#/definitions/models.XHWrstandard'
  21534. type: array
  21535. type: object
  21536. models.XHMiddleGoods:
  21537. properties:
  21538. GPLST:
  21539. description: 期货品种列表
  21540. items:
  21541. $ref: '#/definitions/models.TBGoodsGroup'
  21542. type: array
  21543. convertratio:
  21544. description: 拆算系数
  21545. type: number
  21546. costratio:
  21547. description: 成本权重
  21548. type: number
  21549. deliverygoodsid:
  21550. description: 现货商品id
  21551. type: integer
  21552. enumdicname:
  21553. description: 单位名称
  21554. type: string
  21555. middlegoodscode:
  21556. description: 套保品种代码
  21557. type: string
  21558. middlegoodsid:
  21559. description: 套保品种id
  21560. type: integer
  21561. middlegoodsname:
  21562. description: 套保品种名称
  21563. type: string
  21564. unitid:
  21565. description: 单位id
  21566. type: integer
  21567. type: object
  21568. models.XHWrstandard:
  21569. properties:
  21570. bannerpicurl:
  21571. description: banner图
  21572. type: string
  21573. deliverygoodsid:
  21574. description: 品种ID
  21575. type: integer
  21576. enumdicname:
  21577. description: 单位名称
  21578. type: string
  21579. mglst:
  21580. description: 套保品列表
  21581. items:
  21582. $ref: '#/definitions/models.XHMiddleGoods'
  21583. type: array
  21584. pictureurls:
  21585. description: 详情图片(逗号分隔)
  21586. type: string
  21587. thumurls:
  21588. description: 缩略图片(1:1)(逗号分隔)
  21589. type: string
  21590. unitid:
  21591. description: 单位id
  21592. type: integer
  21593. vatrate:
  21594. description: 增值税率
  21595. type: number
  21596. wrstandardcode:
  21597. description: 现货商品代码
  21598. type: string
  21599. wrstandardid:
  21600. description: 现货商品ID(SEQ_WRSTANDARD)
  21601. type: integer
  21602. wrstandardname:
  21603. description: 现货商品名称
  21604. type: string
  21605. type: object
  21606. models.XhcpSellBackApplyEx:
  21607. properties:
  21608. applyremark:
  21609. description: 申请备注
  21610. type: string
  21611. expirytype:
  21612. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21613. type: integer
  21614. goodsspec:
  21615. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21616. type: integer
  21617. holeflag:
  21618. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21619. type: integer
  21620. isunopened:
  21621. description: 是否原封 - 1:否 2:是
  21622. type: integer
  21623. mpflag:
  21624. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21625. type: integer
  21626. openflag:
  21627. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21628. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21629. type: integer
  21630. phonenum:
  21631. description: 联系电话
  21632. type: string
  21633. userid:
  21634. description: 所属用户ID
  21635. type: integer
  21636. zpflag:
  21637. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21638. type: integer
  21639. required:
  21640. - userid
  21641. type: object
  21642. models.Xhcpsellbackapply:
  21643. properties:
  21644. applyid:
  21645. description: 申请人
  21646. type: integer
  21647. applyremark:
  21648. description: 申请备注
  21649. type: string
  21650. applysrc:
  21651. description: 申请来源 - 1:管理端 2:终端
  21652. type: integer
  21653. applystatus:
  21654. description: 申请状态 - 1:待确认 2:已处理
  21655. type: integer
  21656. applytime:
  21657. description: 申请时间
  21658. type: string
  21659. auditremark:
  21660. description: 审核备注
  21661. type: string
  21662. auditsrc:
  21663. description: 审核来源 - 1:管理端 2:终端
  21664. type: integer
  21665. expirytype:
  21666. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21667. type: integer
  21668. goodsspec:
  21669. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21670. type: integer
  21671. holeflag:
  21672. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21673. type: integer
  21674. isunopened:
  21675. description: 是否原封 - 1:否 2:是
  21676. type: integer
  21677. mpflag:
  21678. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21679. type: integer
  21680. openflag:
  21681. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21682. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21683. type: integer
  21684. phonenum:
  21685. description: 联系电话
  21686. type: string
  21687. sellbackapplyid:
  21688. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21689. type: string
  21690. userid:
  21691. description: 所属用户ID
  21692. type: integer
  21693. zpflag:
  21694. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21695. type: integer
  21696. required:
  21697. - userid
  21698. type: object
  21699. order.QueryHisTradeDetailRsp:
  21700. properties:
  21701. accountid:
  21702. description: 账户ID[报价币种]
  21703. type: integer
  21704. advanceratio:
  21705. description: 首付比率
  21706. type: number
  21707. buildtype:
  21708. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21709. type: integer
  21710. buyorsell:
  21711. description: 方向 - 0:买 1:卖
  21712. type: integer
  21713. charge:
  21714. description: 手续费
  21715. type: number
  21716. closecharge:
  21717. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21718. type: number
  21719. closeexchagechargevalue:
  21720. description: 平仓交易所手续费设置值
  21721. type: number
  21722. closefeealgorithm:
  21723. description: 平仓手续费收取方式 1:比率 2:固定
  21724. type: integer
  21725. closememberchargevalue:
  21726. description: 平仓会员手续费设置值
  21727. type: number
  21728. closepl:
  21729. description: 平仓盈亏
  21730. type: number
  21731. closepl2:
  21732. description: 平仓盈亏[逐笔]
  21733. type: number
  21734. closeqty:
  21735. description: 平仓数量(先建后平操作 需要记录)
  21736. type: number
  21737. creditamount:
  21738. description: 授信金额
  21739. type: number
  21740. decimalplace:
  21741. description: 商品报价小数位
  21742. type: integer
  21743. enumdicname:
  21744. description: 单位名称
  21745. type: string
  21746. gcaccountid:
  21747. description: 账户ID[合约币种]
  21748. type: integer
  21749. goodscode:
  21750. description: 商品代码
  21751. type: string
  21752. goodsid:
  21753. description: 商品ID
  21754. type: integer
  21755. goodsname:
  21756. description: 商品名称
  21757. type: string
  21758. goodunitid:
  21759. description: 商品单位id
  21760. type: integer
  21761. histradedate:
  21762. description: 历史交易日
  21763. type: string
  21764. intclosepl:
  21765. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21766. type: integer
  21767. isconfirmexercise:
  21768. description: 是否确认行权- 0:否 1:是
  21769. type: integer
  21770. ismain:
  21771. description: 是否主单 - 0:不是 1:是
  21772. type: integer
  21773. ispreexercise:
  21774. description: 是否预申报- 0:否 1:是
  21775. type: integer
  21776. isreckoned:
  21777. description: 是否结算 - 0:未结算 1:已结算
  21778. type: integer
  21779. isvaliddata:
  21780. description: 是否有效 - 0:无效 1:有效
  21781. type: integer
  21782. listingselecttype:
  21783. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21784. type: integer
  21785. marketid:
  21786. description: 市场ID
  21787. type: integer
  21788. marketname:
  21789. description: 市场名称
  21790. type: string
  21791. matchaccountid:
  21792. description: 对手账号id
  21793. type: integer
  21794. memberuserid:
  21795. description: 会员id 个人投资者 需要填写
  21796. type: integer
  21797. opencharge:
  21798. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21799. type: number
  21800. openexchagechargevalue:
  21801. description: 建仓交易所手续费设置值
  21802. type: number
  21803. openfeealgorithm:
  21804. description: 建仓手续费收取方式 1:比率 2:固定
  21805. type: integer
  21806. openmemberchargevalue:
  21807. description: 建仓会员手续费设置值
  21808. type: number
  21809. openqty:
  21810. description: 开仓数量(先建后平操作 需要记录)
  21811. type: number
  21812. optiontype:
  21813. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21814. type: integer
  21815. orderid:
  21816. description: 委托单号
  21817. type: string
  21818. payamount:
  21819. description: 支付金额(付款金额)
  21820. type: number
  21821. performanceplanid:
  21822. description: 履约计划ID[期权]
  21823. type: integer
  21824. performancestatus:
  21825. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21826. type: integer
  21827. preexerciseprice:
  21828. description: 预申报价格
  21829. type: number
  21830. premium:
  21831. description: 权利金 - [持仓单的权利金]
  21832. type: number
  21833. qtydecimalplace:
  21834. description: 商品报价小数位
  21835. type: integer
  21836. recvamount:
  21837. description: 到账金额 = 成交金额 - 手续费
  21838. type: number
  21839. relatedouttradeid:
  21840. description: 关联外部成交单ID
  21841. type: integer
  21842. status:
  21843. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21844. type: integer
  21845. totalamount:
  21846. description: 订单总额 = 成交金额 + 手续费
  21847. type: number
  21848. tradeamount:
  21849. description: 成交金额[账户币种,用于所有权]
  21850. type: number
  21851. tradedate:
  21852. description: 交易日(yyyyMMdd)
  21853. type: string
  21854. tradeid:
  21855. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21856. type: string
  21857. trademode:
  21858. description: 交易模式
  21859. type: integer
  21860. tradeprice:
  21861. description: 成交价格
  21862. type: number
  21863. tradeproperty:
  21864. description: 交易属性
  21865. type: integer
  21866. tradeqty:
  21867. description: 成交数量
  21868. type: number
  21869. tradetime:
  21870. description: 成交时间
  21871. type: string
  21872. tradetype:
  21873. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21874. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21875. type: integer
  21876. required:
  21877. - accountid
  21878. - buyorsell
  21879. - goodsid
  21880. - histradedate
  21881. - marketid
  21882. - memberuserid
  21883. - orderid
  21884. - tradeamount
  21885. - tradedate
  21886. - tradeid
  21887. - tradeprice
  21888. - tradeqty
  21889. - tradetime
  21890. type: object
  21891. order.QueryHisTradeOrderDetailRsp:
  21892. properties:
  21893. accountid:
  21894. description: 账户ID[报价币种]
  21895. type: integer
  21896. buildtype:
  21897. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21898. type: integer
  21899. buyorsell:
  21900. description: 买卖 - 0:买 1:卖
  21901. type: integer
  21902. cancelorderid:
  21903. description: 撤单单号(撤单时填写)
  21904. type: string
  21905. cancelqty:
  21906. description: 撤单数量
  21907. type: number
  21908. clientordertime:
  21909. description: 客户端委托时间
  21910. type: string
  21911. clientticket:
  21912. description: 客户端流水号
  21913. type: string
  21914. clienttype:
  21915. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21916. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21917. type: integer
  21918. closeexchagechargevalue:
  21919. description: 平仓交易所手续费设置值
  21920. type: number
  21921. closefeealgorithm:
  21922. description: 平仓手续费收取方式 1:比率 2:固定
  21923. type: integer
  21924. closefreezecharge:
  21925. description: 平仓冻结手续费(先建后平操作,需要记录)
  21926. type: number
  21927. closememberchargevalue:
  21928. description: 平仓会员手续费设置值
  21929. type: number
  21930. closeqty:
  21931. description: 平仓数量(先建后平操作 需要记录)
  21932. type: number
  21933. closetradeqty:
  21934. description: 平仓成交数量(先建后平操作,需要记录)
  21935. type: number
  21936. closeunfreezecharge:
  21937. description: 平仓解冻手续费(先建后平操作,需要记录)
  21938. type: number
  21939. decimalplace:
  21940. description: 商品报价小数位
  21941. type: integer
  21942. delistingtype:
  21943. description: 摘牌类型 - 1:价格最优 2:点选成交
  21944. type: integer
  21945. enumdicname:
  21946. description: 单位名称
  21947. type: string
  21948. freezecharge:
  21949. description: 冻结手续费
  21950. type: number
  21951. freezemargin:
  21952. description: 冻结保证金(冻结交易金额)
  21953. type: number
  21954. gcaccountid:
  21955. description: 账户ID[合约币种]
  21956. type: integer
  21957. goodscode:
  21958. description: 商品代码
  21959. type: string
  21960. goodsid:
  21961. description: 商品ID
  21962. type: integer
  21963. goodsname:
  21964. description: 商品名称
  21965. type: string
  21966. goodunitid:
  21967. description: 商品单位id
  21968. type: integer
  21969. histradedate:
  21970. description: 历史交易日
  21971. type: string
  21972. isconfirmexercise:
  21973. description: 是否确认行权- 0:否 1:是
  21974. type: integer
  21975. ispreexercise:
  21976. description: 是否预申报- 0:否 1:是
  21977. type: integer
  21978. isvaliddata:
  21979. description: 是否有效 - 0:无效 1:有效
  21980. type: integer
  21981. listingselecttype:
  21982. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21983. type: integer
  21984. marginalgorithm:
  21985. description: 保证金收取方式 1:比率 2:固定
  21986. type: integer
  21987. marginvalue:
  21988. description: 即市保证金设置值
  21989. type: number
  21990. marketid:
  21991. description: 市场ID
  21992. type: integer
  21993. marketmaxsub:
  21994. description: 市价最大偏移范围
  21995. type: number
  21996. marketname:
  21997. description: 市场名称
  21998. type: string
  21999. memberuserid:
  22000. description: 所属会员UserID
  22001. type: integer
  22002. openexchagechargevalue:
  22003. description: 建仓交易所手续费设置值
  22004. type: number
  22005. openfeealgorithm:
  22006. description: 建仓手续费收取方式 1:比率 2:固定
  22007. type: integer
  22008. openfreezecharge:
  22009. description: 开仓冻结手续费(先建后平操作,需要记录)
  22010. type: number
  22011. openmemberchargevalue:
  22012. description: 建仓会员手续费设置值
  22013. type: number
  22014. openqty:
  22015. description: 开仓数量(先建后平操作,需要记录)
  22016. type: number
  22017. opentradeqty:
  22018. description: 开仓成交数量(先建后平操作,需要记录)
  22019. type: number
  22020. openunfreezecharge:
  22021. description: 开仓解冻手续费(先建后平操作,需要记录)
  22022. type: number
  22023. operatetype:
  22024. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22025. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22026. 15:管理端协议转让
  22027. type: integer
  22028. operatorid:
  22029. description: 登录账号(LoginID)
  22030. type: integer
  22031. optiontype:
  22032. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22033. type: integer
  22034. orderid:
  22035. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22036. type: string
  22037. orderprice:
  22038. description: 委托价格
  22039. type: number
  22040. orderqty:
  22041. description: 委托数量
  22042. type: number
  22043. ordersrc:
  22044. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22045. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22046. type: integer
  22047. orderstatus:
  22048. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22049. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22050. 16:成交失败违约(荷兰式竞拍专用)
  22051. type: integer
  22052. ordertime:
  22053. description: 委托时间
  22054. type: string
  22055. preexerciseprice:
  22056. description: 预申报价格
  22057. type: number
  22058. premium:
  22059. description: 权利金
  22060. type: number
  22061. preorderid:
  22062. description: 关联预埋单号(止盈止损单时填写)
  22063. type: string
  22064. pricemode:
  22065. description: '取价方式 - 1:市价 2: 限价'
  22066. type: integer
  22067. qtydecimalplace:
  22068. description: 成交量小数位
  22069. type: integer
  22070. quoteid:
  22071. description: 报价单ID
  22072. type: integer
  22073. relatedid:
  22074. description: 关联单号(交割单)
  22075. type: string
  22076. retcode:
  22077. description: 错误代码
  22078. type: integer
  22079. sessionid:
  22080. description: 会话ID
  22081. type: integer
  22082. tradedate:
  22083. description: 交易日(yyyyMMdd)
  22084. type: string
  22085. trademode:
  22086. description: 交易模式
  22087. type: integer
  22088. tradeproperty:
  22089. description: 交易属性
  22090. type: integer
  22091. tradeqty:
  22092. description: 成交数量
  22093. type: number
  22094. unfreezecharge:
  22095. description: 解冻手续费
  22096. type: number
  22097. unfreezemargin:
  22098. description: 解冻保证金
  22099. type: number
  22100. updatetime:
  22101. description: 更新时间
  22102. type: string
  22103. uuid:
  22104. description: 发起端唯一id
  22105. type: string
  22106. validtime:
  22107. description: 有效期限
  22108. type: string
  22109. validtype:
  22110. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22111. type: integer
  22112. volumetype:
  22113. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22114. type: integer
  22115. required:
  22116. - accountid
  22117. - buildtype
  22118. - buyorsell
  22119. - goodsid
  22120. - histradedate
  22121. - marketid
  22122. - memberuserid
  22123. - operatetype
  22124. - orderid
  22125. - orderqty
  22126. - ordertime
  22127. - pricemode
  22128. - tradedate
  22129. - validtype
  22130. type: object
  22131. order.QueryTradeDetailRsp:
  22132. properties:
  22133. accountid:
  22134. description: 账户ID[报价币种]
  22135. type: integer
  22136. advanceratio:
  22137. description: 首付比率
  22138. type: number
  22139. buildtype:
  22140. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22141. type: integer
  22142. buyorsell:
  22143. description: 方向 - 0:买 1:卖
  22144. type: integer
  22145. charge:
  22146. description: 手续费
  22147. type: number
  22148. closecharge:
  22149. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22150. type: number
  22151. closeexchagechargevalue:
  22152. description: 平仓交易所手续费设置值
  22153. type: number
  22154. closefeealgorithm:
  22155. description: 平仓手续费收取方式 1:比率 2:固定
  22156. type: integer
  22157. closememberchargevalue:
  22158. description: 平仓会员手续费设置值
  22159. type: number
  22160. closepl:
  22161. description: 平仓盈亏
  22162. type: number
  22163. closepl2:
  22164. description: 平仓盈亏[逐笔]
  22165. type: number
  22166. closeqty:
  22167. description: 平仓数量(先建后平操作 需要记录)
  22168. type: number
  22169. creditamount:
  22170. description: 授信金额
  22171. type: number
  22172. decimalplace:
  22173. description: 商品报价小数位
  22174. type: integer
  22175. enumdicname:
  22176. description: 单位名称
  22177. type: string
  22178. gcaccountid:
  22179. description: 账户ID[合约币种]
  22180. type: integer
  22181. goodscode:
  22182. description: 商品代码
  22183. type: string
  22184. goodsid:
  22185. description: 商品ID
  22186. type: integer
  22187. goodsname:
  22188. description: 商品名称
  22189. type: string
  22190. goodunitid:
  22191. description: 商品单位id
  22192. type: integer
  22193. intclosepl:
  22194. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22195. type: integer
  22196. isconfirmexercise:
  22197. description: 是否确认行权- 0:否 1:是
  22198. type: integer
  22199. ismain:
  22200. description: 是否主单 - 0:不是 1:是
  22201. type: integer
  22202. ispreexercise:
  22203. description: 是否预申报- 0:否 1:是
  22204. type: integer
  22205. isreckoned:
  22206. description: 是否结算 - 0:未结算 1:已结算
  22207. type: integer
  22208. listingselecttype:
  22209. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22210. type: integer
  22211. marketid:
  22212. description: 市场ID
  22213. type: integer
  22214. marketname:
  22215. description: 市场名称
  22216. type: string
  22217. matchaccountid:
  22218. description: 对手账号id
  22219. type: integer
  22220. memberuserid:
  22221. description: 会员id 个人投资者 需要填写
  22222. type: integer
  22223. opencharge:
  22224. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22225. type: number
  22226. openexchagechargevalue:
  22227. description: 建仓交易所手续费设置值
  22228. type: number
  22229. openfeealgorithm:
  22230. description: 建仓手续费收取方式 1:比率 2:固定
  22231. type: integer
  22232. openmemberchargevalue:
  22233. description: 建仓会员手续费设置值
  22234. type: number
  22235. openqty:
  22236. description: 开仓数量(先建后平操作 需要记录)
  22237. type: number
  22238. optiontype:
  22239. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22240. type: integer
  22241. orderid:
  22242. description: 委托单号
  22243. type: string
  22244. payamount:
  22245. description: 支付金额(付款金额)
  22246. type: number
  22247. performanceplanid:
  22248. description: 履约计划ID[期权]
  22249. type: integer
  22250. performancestatus:
  22251. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22252. type: integer
  22253. preexerciseprice:
  22254. description: 预申报价格
  22255. type: number
  22256. premium:
  22257. description: 权利金 - [持仓单的权利金]
  22258. type: number
  22259. qtydecimalplace:
  22260. description: 商品报价小数位
  22261. type: integer
  22262. recvamount:
  22263. description: 到账金额 = 成交金额 - 手续费
  22264. type: number
  22265. relatedouttradeid:
  22266. description: 关联外部成交单ID
  22267. type: integer
  22268. status:
  22269. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22270. type: integer
  22271. totalamount:
  22272. description: 订单总额 = 成交金额 + 手续费
  22273. type: number
  22274. tradeamount:
  22275. description: 成交金额[账户币种,用于所有权]
  22276. type: number
  22277. tradedate:
  22278. description: 交易日(yyyyMMdd)
  22279. type: string
  22280. tradeid:
  22281. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22282. type: string
  22283. trademode:
  22284. description: 交易模式
  22285. type: integer
  22286. tradeprice:
  22287. description: 成交价格
  22288. type: number
  22289. tradeproperty:
  22290. description: 交易属性
  22291. type: integer
  22292. tradeqty:
  22293. description: 成交数量
  22294. type: number
  22295. tradetime:
  22296. description: 成交时间
  22297. type: string
  22298. tradetype:
  22299. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22300. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22301. type: integer
  22302. required:
  22303. - accountid
  22304. - buyorsell
  22305. - goodsid
  22306. - marketid
  22307. - memberuserid
  22308. - orderid
  22309. - tradeamount
  22310. - tradedate
  22311. - tradeid
  22312. - tradeprice
  22313. - tradeqty
  22314. - tradetime
  22315. type: object
  22316. order.QueryTradeOrderDetailRsp:
  22317. properties:
  22318. accountid:
  22319. description: 账户ID[报价币种]
  22320. type: integer
  22321. buildtype:
  22322. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22323. type: integer
  22324. buyorsell:
  22325. description: 买卖 - 0:买 1:卖
  22326. type: integer
  22327. cancelorderid:
  22328. description: 撤单单号(撤单时填写)
  22329. type: string
  22330. cancelqty:
  22331. description: 撤单数量
  22332. type: number
  22333. clienttype:
  22334. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22335. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22336. type: integer
  22337. closefreezecharge:
  22338. description: 平仓冻结手续费(先建后平操作,需要记录)
  22339. type: number
  22340. closeqty:
  22341. description: 平仓数量(先建后平操作 需要记录)
  22342. type: number
  22343. closetradeqty:
  22344. description: 平仓成交数量(先建后平操作,需要记录)
  22345. type: number
  22346. closeunfreezecharge:
  22347. description: 平仓解冻手续费(先建后平操作,需要记录)
  22348. type: number
  22349. decimalplace:
  22350. description: 商品报价小数位
  22351. type: integer
  22352. delistingtype:
  22353. description: 摘牌类型 - 1:价格最优 2:点选成交
  22354. type: integer
  22355. enableqty:
  22356. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22357. type: number
  22358. enumdicname:
  22359. description: 单位名称
  22360. type: string
  22361. freezecharge:
  22362. description: 冻结手续费
  22363. type: number
  22364. freezemargin:
  22365. description: 冻结保证金(冻结交易金额)
  22366. type: number
  22367. goodscode:
  22368. description: 商品代码
  22369. type: string
  22370. goodsid:
  22371. description: 商品ID
  22372. type: integer
  22373. goodsname:
  22374. description: 商品名称
  22375. type: string
  22376. goodunitid:
  22377. description: 商品单位id
  22378. type: integer
  22379. listingselecttype:
  22380. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22381. type: integer
  22382. marketid:
  22383. description: 市场ID
  22384. type: integer
  22385. marketname:
  22386. description: 市场名称
  22387. type: string
  22388. openfreezecharge:
  22389. description: 开仓冻结手续费(先建后平操作,需要记录)
  22390. type: number
  22391. openqty:
  22392. description: 开仓数量(先建后平操作,需要记录)
  22393. type: number
  22394. opentradeqty:
  22395. description: 开仓成交数量(先建后平操作,需要记录)
  22396. type: number
  22397. openunfreezecharge:
  22398. description: 开仓解冻手续费(先建后平操作,需要记录)
  22399. type: number
  22400. operatetype:
  22401. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22402. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22403. 15:管理端协议转让
  22404. type: integer
  22405. operatorid:
  22406. description: 登录账号(LoginID)
  22407. type: integer
  22408. orderid:
  22409. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22410. type: string
  22411. orderprice:
  22412. description: 委托价格
  22413. type: number
  22414. orderqty:
  22415. description: 委托数量
  22416. type: number
  22417. ordersrc:
  22418. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22419. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22420. type: integer
  22421. orderstatus:
  22422. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22423. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22424. 16:成交失败违约(荷兰式竞拍专用)
  22425. type: integer
  22426. ordertime:
  22427. description: 委托时间
  22428. type: string
  22429. preorderid:
  22430. description: 关联预埋单号(止盈止损单时填写)
  22431. type: string
  22432. pricemode:
  22433. description: '取价方式 - 1:市价 2: 限价'
  22434. type: integer
  22435. qtydecimalplace:
  22436. description: 商品报价小数位
  22437. type: integer
  22438. relatedid:
  22439. description: 关联单号(交割单)
  22440. type: string
  22441. tradedate:
  22442. description: 交易日(yyyyMMdd)
  22443. type: string
  22444. trademode:
  22445. description: 交易模式
  22446. type: integer
  22447. tradeqty:
  22448. description: 成交数量
  22449. type: number
  22450. unfreezecharge:
  22451. description: 解冻手续费
  22452. type: number
  22453. unfreezemargin:
  22454. description: 解冻保证金
  22455. type: number
  22456. validtime:
  22457. description: 有效期限
  22458. type: string
  22459. validtype:
  22460. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22461. type: integer
  22462. volumetype:
  22463. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22464. type: integer
  22465. required:
  22466. - accountid
  22467. - buildtype
  22468. - buyorsell
  22469. - goodsid
  22470. - marketid
  22471. - operatetype
  22472. - orderqty
  22473. - ordertime
  22474. - pricemode
  22475. - tradedate
  22476. - validtype
  22477. type: object
  22478. order.QueryTradePositionRsp:
  22479. properties:
  22480. accountid:
  22481. description: 资金账户
  22482. type: integer
  22483. agreeunit:
  22484. description: 合约单位
  22485. type: number
  22486. averageprice:
  22487. description: 持仓均价
  22488. type: number
  22489. buyorsell:
  22490. description: 方向 - 0:买 1:卖
  22491. type: integer
  22492. closetotalqty:
  22493. description: 平仓总数量
  22494. type: number
  22495. curholderamount:
  22496. description: 当前持仓总金额[商品币种]
  22497. type: number
  22498. curpositionqty:
  22499. description: 当前持仓总数量
  22500. type: number
  22501. currencyid:
  22502. description: 报价货币ID
  22503. type: integer
  22504. curtdposition:
  22505. description: 期末今日头寸
  22506. type: number
  22507. decimalplace:
  22508. description: 报价小数位
  22509. type: integer
  22510. enableqty:
  22511. description: 可用量
  22512. type: number
  22513. fretdposition:
  22514. description: 冻结今日头寸
  22515. type: number
  22516. frozenqty:
  22517. description: 持仓冻结数量
  22518. type: number
  22519. goodscode:
  22520. description: 商品代码
  22521. type: string
  22522. goodsid:
  22523. description: 商品Id
  22524. type: integer
  22525. goodsname:
  22526. description: 商品名称
  22527. type: string
  22528. goodunit:
  22529. description: 报价单位
  22530. type: string
  22531. goodunitid:
  22532. description: 报价单位ID
  22533. type: integer
  22534. holderamount:
  22535. description: 期初持仓总金额[商品币种]
  22536. type: number
  22537. lastprice:
  22538. description: 最新价
  22539. type: number
  22540. marketamount:
  22541. description: 市值
  22542. type: number
  22543. marketid:
  22544. description: 所属市场ID
  22545. type: integer
  22546. openreqqty:
  22547. description: 开仓申请数量(用于比较最大持仓数量)
  22548. type: number
  22549. opentotalqty:
  22550. description: 开仓总数量
  22551. type: number
  22552. otherfrozenqty:
  22553. description: 持仓其他冻结数量(交割冻结)
  22554. type: number
  22555. positionpl:
  22556. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22557. * 合约单位
  22558. type: number
  22559. positionplrate:
  22560. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22561. type: number
  22562. positionqty:
  22563. description: 期初持仓数量
  22564. type: number
  22565. qtydecimalplace:
  22566. description: 成交量小数位
  22567. type: integer
  22568. refgoodscode:
  22569. description: 参考商品代码
  22570. type: string
  22571. refgoodsid:
  22572. description: 参考商品ID
  22573. type: integer
  22574. tnqty:
  22575. description: T+N冻结总量
  22576. type: number
  22577. tnusedqty:
  22578. description: T+N使用量(可以使用T+N的冻结数量)
  22579. type: number
  22580. trademode:
  22581. description: 交易模式
  22582. type: integer
  22583. tradeproperty:
  22584. description: 交易属性
  22585. type: integer
  22586. usedmargin:
  22587. description: 占用保证金[商品币种]
  22588. type: number
  22589. required:
  22590. - goodsid
  22591. type: object
  22592. pb.GoodsMarginCfgStruct:
  22593. properties:
  22594. CustomerTypeID:
  22595. description: 投资者客户类型
  22596. type: integer
  22597. GoodsID:
  22598. description: 商品ID
  22599. type: integer
  22600. IsDefault:
  22601. description: 是否默认标志位
  22602. type: integer
  22603. LockMarginValue:
  22604. description: 锁仓保证金
  22605. type: number
  22606. MarginAlgorithm:
  22607. description: 保证金计算方式
  22608. type: integer
  22609. MarketMarginValue:
  22610. description: 即市保证金值
  22611. type: number
  22612. RealMarginAlgorithm:
  22613. description: 实付保证金计算方式
  22614. type: integer
  22615. RealMarginValue:
  22616. description: 实付比例
  22617. type: number
  22618. ReckonMarginValue:
  22619. description: 结算保证金值
  22620. type: number
  22621. type: object
  22622. quote.HistoryData:
  22623. properties:
  22624. c:
  22625. description: 收盘价
  22626. type: number
  22627. f:
  22628. description: 是否补充数据
  22629. type: boolean
  22630. h:
  22631. description: 最高价
  22632. type: number
  22633. hv:
  22634. description: 持仓量
  22635. type: integer
  22636. l:
  22637. description: 最低价
  22638. type: number
  22639. o:
  22640. description: 开盘价
  22641. type: number
  22642. s:
  22643. description: 结算价,日线周期(包括)以上才有
  22644. type: number
  22645. ts:
  22646. description: 时间
  22647. type: string
  22648. tt:
  22649. description: 总金额
  22650. type: number
  22651. tv:
  22652. description: 总量(成交量)
  22653. type: integer
  22654. type: object
  22655. quote.HistoryTikData:
  22656. properties:
  22657. AV:
  22658. description: 卖量
  22659. type: integer
  22660. Ask:
  22661. description: 卖价
  22662. type: number
  22663. BV:
  22664. description: 买量
  22665. type: integer
  22666. Bid:
  22667. description: 买价
  22668. type: number
  22669. HI:
  22670. description: 单笔持仓
  22671. type: integer
  22672. HV:
  22673. description: 持仓量
  22674. type: integer
  22675. PE:
  22676. description: 现价
  22677. type: number
  22678. TDR:
  22679. description: 交易方向,0:买 1:卖
  22680. type: integer
  22681. TK:
  22682. description: 交易类型
  22683. type: integer
  22684. TS:
  22685. description: 行情时间文本
  22686. type: string
  22687. TT:
  22688. description: 现金额
  22689. type: number
  22690. Vol:
  22691. description: 现量
  22692. type: integer
  22693. type: object
  22694. quote.QueryQuoteDayRsp:
  22695. properties:
  22696. ask:
  22697. description: 卖1
  22698. type: number
  22699. ask2:
  22700. description: 卖2
  22701. type: number
  22702. ask3:
  22703. description: 卖3
  22704. type: number
  22705. ask4:
  22706. description: 卖4
  22707. type: number
  22708. ask5:
  22709. description: 卖5
  22710. type: number
  22711. ask6:
  22712. description: 卖6
  22713. type: number
  22714. ask7:
  22715. description: 卖7
  22716. type: number
  22717. ask8:
  22718. description: 卖8
  22719. type: number
  22720. ask9:
  22721. description: 卖9
  22722. type: number
  22723. ask10:
  22724. description: 卖10
  22725. type: number
  22726. askorderid:
  22727. description: 卖单号1
  22728. type: integer
  22729. askorderid2:
  22730. description: 卖单号2
  22731. type: integer
  22732. askorderid3:
  22733. description: 卖单号3
  22734. type: integer
  22735. askorderid4:
  22736. description: 卖单号4
  22737. type: integer
  22738. askorderid5:
  22739. description: 卖单号5
  22740. type: integer
  22741. askordervolume:
  22742. description: 卖单量1
  22743. type: integer
  22744. askordervolume2:
  22745. description: 卖单量2
  22746. type: integer
  22747. askordervolume3:
  22748. description: 卖单量3
  22749. type: integer
  22750. askordervolume4:
  22751. description: 卖单量4
  22752. type: integer
  22753. askordervolume5:
  22754. description: 卖单量5
  22755. type: integer
  22756. askordervolume6:
  22757. description: 卖单量6
  22758. type: integer
  22759. askordervolume7:
  22760. description: 卖单量7
  22761. type: integer
  22762. askordervolume8:
  22763. description: 卖单量8
  22764. type: integer
  22765. askordervolume9:
  22766. description: 卖单量9
  22767. type: integer
  22768. askordervolume10:
  22769. description: 卖单量10
  22770. type: integer
  22771. askqueueinfo:
  22772. description: 大利市卖港股用
  22773. type: string
  22774. askvolume:
  22775. description: 卖量1
  22776. type: integer
  22777. askvolume2:
  22778. description: 卖量2
  22779. type: integer
  22780. askvolume3:
  22781. description: 卖量3
  22782. type: integer
  22783. askvolume4:
  22784. description: 卖量4
  22785. type: integer
  22786. askvolume5:
  22787. description: 卖量5
  22788. type: integer
  22789. askvolume6:
  22790. description: 卖量6
  22791. type: integer
  22792. askvolume7:
  22793. description: 卖量7
  22794. type: integer
  22795. askvolume8:
  22796. description: 卖量8
  22797. type: integer
  22798. askvolume9:
  22799. description: 卖量9
  22800. type: integer
  22801. askvolume10:
  22802. description: 卖量10
  22803. type: integer
  22804. averageprice:
  22805. description: 均价
  22806. type: number
  22807. bid:
  22808. description: 买1
  22809. type: number
  22810. bid2:
  22811. description: 买2
  22812. type: number
  22813. bid3:
  22814. description: 买3
  22815. type: number
  22816. bid4:
  22817. description: 买4
  22818. type: number
  22819. bid5:
  22820. description: 买5
  22821. type: number
  22822. bid6:
  22823. description: 买6
  22824. type: number
  22825. bid7:
  22826. description: 买7
  22827. type: number
  22828. bid8:
  22829. description: 买8
  22830. type: number
  22831. bid9:
  22832. description: 买9
  22833. type: number
  22834. bid10:
  22835. description: 买10
  22836. type: number
  22837. bidorderid:
  22838. description: 买单号1
  22839. type: integer
  22840. bidorderid2:
  22841. description: 买单号2
  22842. type: integer
  22843. bidorderid3:
  22844. description: 买单号3
  22845. type: integer
  22846. bidorderid4:
  22847. description: 买单号4
  22848. type: integer
  22849. bidorderid5:
  22850. description: 买单号5
  22851. type: integer
  22852. bidordervolume:
  22853. description: 买单量1
  22854. type: integer
  22855. bidordervolume2:
  22856. description: 买单量2
  22857. type: integer
  22858. bidordervolume3:
  22859. description: 买单量3
  22860. type: integer
  22861. bidordervolume4:
  22862. description: 买单量4
  22863. type: integer
  22864. bidordervolume5:
  22865. description: 买单量5
  22866. type: integer
  22867. bidordervolume6:
  22868. description: 买单量6
  22869. type: integer
  22870. bidordervolume7:
  22871. description: 买单量7
  22872. type: integer
  22873. bidordervolume8:
  22874. description: 买单量8
  22875. type: integer
  22876. bidordervolume9:
  22877. description: 买单量9
  22878. type: integer
  22879. bidordervolume10:
  22880. description: 买单量10
  22881. type: integer
  22882. bidqueueinfo:
  22883. description: 大利市买港股用
  22884. type: string
  22885. bidvolume:
  22886. description: 买量1
  22887. type: integer
  22888. bidvolume2:
  22889. description: 买量2
  22890. type: integer
  22891. bidvolume3:
  22892. description: 买量3
  22893. type: integer
  22894. bidvolume4:
  22895. description: 买量4
  22896. type: integer
  22897. bidvolume5:
  22898. description: 买量5
  22899. type: integer
  22900. bidvolume6:
  22901. description: 买量6
  22902. type: integer
  22903. bidvolume7:
  22904. description: 买量7
  22905. type: integer
  22906. bidvolume8:
  22907. description: 买量8
  22908. type: integer
  22909. bidvolume9:
  22910. description: 买量9
  22911. type: integer
  22912. bidvolume10:
  22913. description: 买量10
  22914. type: integer
  22915. calloptionpremiums:
  22916. description: 认购期权1
  22917. type: integer
  22918. calloptionpremiums2:
  22919. description: 认购期权2
  22920. type: integer
  22921. calloptionpremiums3:
  22922. description: 认购期权3
  22923. type: integer
  22924. calloptionpremiums4:
  22925. description: 认购期权4
  22926. type: integer
  22927. calloptionpremiums5:
  22928. description: 认购期权5
  22929. type: integer
  22930. cleartime:
  22931. description: 清盘时间
  22932. type: integer
  22933. exchangecode:
  22934. description: 交易所代码
  22935. type: integer
  22936. exchangedate:
  22937. description: 交易日
  22938. type: integer
  22939. goodscode:
  22940. description: 商品代码
  22941. type: string
  22942. grepmarketprice:
  22943. description: 暗盘价 港股专用
  22944. type: number
  22945. highest:
  22946. description: 最高价
  22947. type: number
  22948. holdincrement:
  22949. description: 单笔持仓
  22950. type: integer
  22951. holdvolume:
  22952. description: 持仓
  22953. type: integer
  22954. iep:
  22955. description: 平衡价 港股专用
  22956. type: number
  22957. iev:
  22958. description: 平衡量 港股专用
  22959. type: number
  22960. inventory:
  22961. description: 库存
  22962. type: integer
  22963. iscleared:
  22964. description: 是否清盘标志
  22965. type: integer
  22966. issettled:
  22967. description: 是否结算标志
  22968. type: integer
  22969. last:
  22970. description: 最新价
  22971. type: number
  22972. lastlot:
  22973. description: 最新成交手数
  22974. type: integer
  22975. lasttime:
  22976. description: 行情时间(只有现价变化行情时间才变化)
  22977. type: string
  22978. lastturnover:
  22979. description: 最新成交金额
  22980. type: number
  22981. lastvolume:
  22982. description: 最新成交量
  22983. type: integer
  22984. limitdown:
  22985. description: 跌停价
  22986. type: number
  22987. limitup:
  22988. description: 涨停价
  22989. type: number
  22990. lowest:
  22991. description: 最低价
  22992. type: number
  22993. nontotalholdervolume:
  22994. description: 非交易持仓量
  22995. type: integer
  22996. nontotallot:
  22997. description: 非交易总手数
  22998. type: integer
  22999. nontotalturnover:
  23000. description: 非交易总金额
  23001. type: integer
  23002. nontotalvolume:
  23003. description: 非交易总量
  23004. type: integer
  23005. opened:
  23006. description: 开盘价
  23007. type: number
  23008. opentime:
  23009. description: 开盘时间
  23010. type: string
  23011. orderid:
  23012. description: 序号
  23013. type: integer
  23014. preclose:
  23015. description: 昨收
  23016. type: number
  23017. preholdvolume:
  23018. description: 昨持仓
  23019. type: integer
  23020. presettle:
  23021. description: 昨结价
  23022. type: number
  23023. publictradetype:
  23024. description: 公共交易标志类型 港股专用
  23025. type: string
  23026. putoptionpremiums:
  23027. description: 认沽期权1
  23028. type: integer
  23029. putoptionpremiums2:
  23030. description: 认沽期权2
  23031. type: integer
  23032. putoptionpremiums3:
  23033. description: 认沽期权3
  23034. type: integer
  23035. putoptionpremiums4:
  23036. description: 认沽期权4
  23037. type: integer
  23038. putoptionpremiums5:
  23039. description: 认沽期权5
  23040. type: integer
  23041. settle:
  23042. description: 结算价
  23043. type: number
  23044. strikeprice:
  23045. description: 发行价
  23046. type: number
  23047. totalaskvolume:
  23048. description: 内盘
  23049. type: integer
  23050. totalbidvolume:
  23051. description: 外盘
  23052. type: integer
  23053. totallot:
  23054. description: 总手数
  23055. type: integer
  23056. totalturnover:
  23057. description: 总金额
  23058. type: number
  23059. totalvolume:
  23060. description: 总量
  23061. type: integer
  23062. utclasttime:
  23063. description: utc的行情时间
  23064. type: string
  23065. type: object
  23066. quote.QueryTSDataRsp:
  23067. properties:
  23068. Count:
  23069. description: 交易日应有数据个数
  23070. type: integer
  23071. decimalPlace:
  23072. description: 小数位
  23073. type: integer
  23074. endTime:
  23075. description: 结束时间
  23076. type: string
  23077. goodsCode:
  23078. description: 商品代码
  23079. type: string
  23080. historyDatas:
  23081. description: 历史数据
  23082. items:
  23083. $ref: '#/definitions/quote.HistoryData'
  23084. type: array
  23085. outGoodsCode:
  23086. description: 外部商品代码
  23087. type: string
  23088. preSettle:
  23089. description: 昨结价
  23090. type: number
  23091. runSteps:
  23092. description: 交易日开休市计划
  23093. items:
  23094. $ref: '#/definitions/quote.TSDataRunStep'
  23095. type: array
  23096. startTime:
  23097. description: 开始时间
  23098. type: string
  23099. tradeDate:
  23100. description: 交易日
  23101. type: string
  23102. type: object
  23103. quote.TSDataRunStep:
  23104. properties:
  23105. end:
  23106. description: 真实结束时间
  23107. type: string
  23108. endflag:
  23109. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23110. type: integer
  23111. endtime:
  23112. description: 结束时间(HH:mm)
  23113. type: string
  23114. endweekday:
  23115. description: 结束周几
  23116. type: integer
  23117. groupid:
  23118. description: 分组ID
  23119. type: integer
  23120. runstep:
  23121. description: 运行阶段 - 2:连续交易
  23122. type: integer
  23123. sectionid:
  23124. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23125. 结束时间=结算时间 结束周几=结算周几
  23126. type: integer
  23127. start:
  23128. description: 真实开始时间
  23129. type: string
  23130. startflag:
  23131. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23132. type: integer
  23133. starttime:
  23134. description: 起始时间(HH:mm)
  23135. type: string
  23136. startweekday:
  23137. description: 起始周几
  23138. type: integer
  23139. tradeweekday:
  23140. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23141. type: integer
  23142. type: object
  23143. szdz.QueryConvertLogRsp:
  23144. properties:
  23145. accountid:
  23146. description: 资金账户ID
  23147. type: integer
  23148. clientticket:
  23149. description: 客户端流水号
  23150. type: string
  23151. converttype:
  23152. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23153. type: integer
  23154. createtime:
  23155. description: 记账时间
  23156. type: string
  23157. daymaxvalue:
  23158. description: 配置当日最大转入限制
  23159. type: number
  23160. daymaxvalue2:
  23161. description: 配置当日最大转入限制(转入)
  23162. type: number
  23163. goodscode:
  23164. description: 商品代码
  23165. type: string
  23166. goodsname:
  23167. description: 商品名称
  23168. type: string
  23169. handlestatus:
  23170. description: 处理状态
  23171. type: integer
  23172. innergoodsid:
  23173. description: 内部商品ID
  23174. type: integer
  23175. inratio:
  23176. description: 配置转入比值
  23177. type: integer
  23178. invalue:
  23179. description: 目标值
  23180. type: number
  23181. logid:
  23182. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23183. type: integer
  23184. mobile:
  23185. description: 手机号码(加密存储)
  23186. type: string
  23187. outergoodscode:
  23188. description: 外部商品代码[JD\PD]
  23189. type: string
  23190. outratio:
  23191. description: 配置转出比值
  23192. type: integer
  23193. outvalue:
  23194. description: 源值
  23195. type: number
  23196. pddecimalplace:
  23197. description: PD小数位
  23198. type: integer
  23199. qty:
  23200. description: 数量
  23201. type: string
  23202. remark:
  23203. description: 备注
  23204. type: string
  23205. sessionid:
  23206. description: 会话ID
  23207. type: integer
  23208. timemaxvalue:
  23209. description: 配置单次最大转入限制
  23210. type: number
  23211. timemaxvalue2:
  23212. description: 配置单次最大转入限制(转入)
  23213. type: number
  23214. timeminvalue:
  23215. description: 配置单次最小数量限制
  23216. type: number
  23217. timeminvalue2:
  23218. description: 配置单次最小数量限制(转入)
  23219. type: number
  23220. tradedate:
  23221. description: 交易日(yyyyMMdd)
  23222. type: string
  23223. userid:
  23224. description: 用户ID
  23225. type: integer
  23226. required:
  23227. - logid
  23228. type: object
  23229. szdz.QueryGoodsPickupRsp:
  23230. properties:
  23231. accountid:
  23232. description: 账户ID
  23233. type: integer
  23234. address:
  23235. description: 提货人详细地址
  23236. type: string
  23237. auditer:
  23238. description: 审核人
  23239. type: integer
  23240. audittime:
  23241. description: 审核时间
  23242. type: string
  23243. cardnum:
  23244. description: 提货人证件号码
  23245. type: string
  23246. cardtypeid:
  23247. description: 提货人证件类型
  23248. type: integer
  23249. checkremark:
  23250. description: 审核备注
  23251. type: string
  23252. goodscode:
  23253. description: 商品代码
  23254. type: string
  23255. goodsid:
  23256. description: 商品ID
  23257. type: integer
  23258. goodsname:
  23259. description: 商品名称
  23260. type: string
  23261. handlestatus:
  23262. description: 处理状态
  23263. type: integer
  23264. marketid:
  23265. description: 市场ID
  23266. type: integer
  23267. phonenum:
  23268. description: 提货人联系方式
  23269. type: string
  23270. qty:
  23271. description: 提货数量
  23272. type: number
  23273. recivername:
  23274. description: 提货人姓名
  23275. type: string
  23276. reqtime:
  23277. description: 更新时间
  23278. type: string
  23279. takemode:
  23280. description: 提货方式 - 2:自提 3:配送
  23281. type: integer
  23282. takeorderid:
  23283. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23284. type: string
  23285. takeorderstatus:
  23286. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23287. type: integer
  23288. takeremark:
  23289. description: 提货备注
  23290. type: string
  23291. tradedate:
  23292. description: 交易日(yyyyMMdd)
  23293. type: string
  23294. userid:
  23295. description: 用户ID
  23296. type: integer
  23297. required:
  23298. - takeorderid
  23299. type: object
  23300. szdz.QueryRecieptOrderRsp:
  23301. properties:
  23302. accountName:
  23303. description: 所属账号名称(已脱敏)
  23304. type: string
  23305. accountid:
  23306. description: 资金账号
  23307. type: integer
  23308. buyorsell:
  23309. description: 方向 - 0:买 1:卖
  23310. type: integer
  23311. enableqty:
  23312. description: 可摘数量
  23313. type: integer
  23314. goodscode:
  23315. description: 商品代码
  23316. type: string
  23317. goodsid:
  23318. description: 商品ID
  23319. type: integer
  23320. goodsname:
  23321. description: 商品名称
  23322. type: string
  23323. orderid:
  23324. description: 委托单号
  23325. type: string
  23326. orderprice:
  23327. description: 委托价格
  23328. type: number
  23329. ordertime:
  23330. description: 委托时间
  23331. type: string
  23332. tradedate:
  23333. description: 交易日(yyyyMMdd)
  23334. type: string
  23335. required:
  23336. - ordertime
  23337. type: object
  23338. szdz.QuerySZDZTradePositionRsp:
  23339. properties:
  23340. accountid:
  23341. description: 账号Id
  23342. type: integer
  23343. agreeunit:
  23344. description: 合约单位
  23345. type: number
  23346. averageprice:
  23347. description: 持仓均价
  23348. type: number
  23349. buyorsell:
  23350. description: 方向 - 0:买 1:卖
  23351. type: integer
  23352. closetotalqty:
  23353. description: 平仓总数量
  23354. type: integer
  23355. curholderamount:
  23356. description: 当前持仓总金额
  23357. type: number
  23358. curpositionqty:
  23359. description: 当前持仓总数量
  23360. type: integer
  23361. currencyid:
  23362. description: 报价货币ID
  23363. type: integer
  23364. curtdposition:
  23365. description: 期末今日头寸
  23366. type: integer
  23367. decimalplace:
  23368. description: 报价小数位
  23369. type: integer
  23370. enableqty:
  23371. description: 可用量
  23372. type: integer
  23373. fretdposition:
  23374. description: 冻结今日头寸
  23375. type: integer
  23376. frozenqty:
  23377. description: 持仓冻结数量
  23378. type: integer
  23379. goodscode:
  23380. description: 商品代码(内部)
  23381. type: string
  23382. goodsid:
  23383. description: 商品Id
  23384. type: integer
  23385. goodsname:
  23386. description: 商品名称
  23387. type: string
  23388. goodunit:
  23389. description: 报价单位
  23390. type: string
  23391. goodunitid:
  23392. description: 报价单位ID
  23393. type: integer
  23394. holderamount:
  23395. description: 期初持仓总金额
  23396. type: number
  23397. marketid:
  23398. description: 市场ID
  23399. type: integer
  23400. openreqqty:
  23401. description: 开仓申请数量
  23402. type: integer
  23403. opentotalqty:
  23404. description: 开仓总数量
  23405. type: integer
  23406. otherfrozenqty:
  23407. description: 持仓其他冻结数量(交割冻结)
  23408. type: integer
  23409. positionqty:
  23410. description: 期初持仓数量
  23411. type: integer
  23412. szdz3freezqty:
  23413. description: 尚志大宗转换冻结总数量
  23414. type: integer
  23415. tnqty:
  23416. description: T+N冻结总量
  23417. type: integer
  23418. tnusedqty:
  23419. description: T+N使用量
  23420. type: integer
  23421. trademode:
  23422. description: 交易模式
  23423. type: integer
  23424. usedmargin:
  23425. description: 占用保证金
  23426. type: number
  23427. type: object
  23428. taaccount.QueryAmountLogRsp:
  23429. properties:
  23430. accountid:
  23431. description: 资金账户ID
  23432. type: integer
  23433. agoodscode:
  23434. description: 竞拍商品代码
  23435. type: string
  23436. agoodsname:
  23437. description: 竞拍商品名称
  23438. type: string
  23439. amount:
  23440. description: 资金金额
  23441. type: number
  23442. amountadjusttype:
  23443. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23444. type: integer
  23445. autoid:
  23446. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23447. type: integer
  23448. balance:
  23449. description: 期初余额
  23450. type: number
  23451. businesscode:
  23452. description: 业务编号
  23453. type: integer
  23454. createtime:
  23455. description: 发生时间
  23456. type: string
  23457. currencyid:
  23458. description: 币种ID
  23459. type: integer
  23460. currentbalance:
  23461. description: 期末余额(变动后金额)
  23462. type: number
  23463. dgoodscode:
  23464. description: 交割商品代码
  23465. type: string
  23466. dgoodsname:
  23467. description: 交割商品名称
  23468. type: string
  23469. goodscode:
  23470. description: 商品代码
  23471. type: string
  23472. goodsid:
  23473. description: 商品ID
  23474. type: integer
  23475. goodsname:
  23476. description: 商品名称
  23477. type: string
  23478. marketid:
  23479. description: 市场ID
  23480. type: integer
  23481. marketname:
  23482. description: 市场名称
  23483. type: string
  23484. moneyticket:
  23485. description: 资金流水号:银行端流水号
  23486. type: integer
  23487. operatetype:
  23488. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23489. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23490. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23491. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23492. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23493. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23494. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23495. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23496. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23497. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23498. type: integer
  23499. relationorderid:
  23500. description: 关联单号
  23501. type: string
  23502. remark:
  23503. description: 备注
  23504. type: string
  23505. trademode:
  23506. description: 交易模式
  23507. type: integer
  23508. required:
  23509. - accountid
  23510. - amount
  23511. - amountadjusttype
  23512. - autoid
  23513. - balance
  23514. - createtime
  23515. - currentbalance
  23516. - operatetype
  23517. type: object
  23518. taaccount.QueryHisAmountLogRsp:
  23519. properties:
  23520. accountid:
  23521. description: 资金账户ID
  23522. type: integer
  23523. agoodscode:
  23524. description: 竞拍商品代码
  23525. type: string
  23526. agoodsname:
  23527. description: 竞拍商品名称
  23528. type: string
  23529. amount:
  23530. description: 资金金额
  23531. type: number
  23532. amountadjusttype:
  23533. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23534. type: integer
  23535. autoid:
  23536. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23537. type: integer
  23538. balance:
  23539. description: 期初余额
  23540. type: number
  23541. businesscode:
  23542. description: 业务编号
  23543. type: integer
  23544. createtime:
  23545. description: 发生时间
  23546. type: string
  23547. currencyid:
  23548. description: 币种ID
  23549. type: integer
  23550. currentbalance:
  23551. description: 期末余额(变动后金额)
  23552. type: number
  23553. dgoodscode:
  23554. description: 交割商品代码
  23555. type: string
  23556. dgoodsname:
  23557. description: 交割商品名称
  23558. type: string
  23559. goodscode:
  23560. description: 商品代码
  23561. type: string
  23562. goodsid:
  23563. description: 商品ID
  23564. type: integer
  23565. goodsname:
  23566. description: 商品名称
  23567. type: string
  23568. histradedate:
  23569. description: 历史交易日
  23570. type: string
  23571. isvaliddata:
  23572. description: 是否有效 - 0:无效 1:有效
  23573. type: integer
  23574. marketid:
  23575. description: 市场ID
  23576. type: integer
  23577. marketname:
  23578. description: 市场名称
  23579. type: string
  23580. moneyticket:
  23581. description: 资金流水号:银行端流水号
  23582. type: integer
  23583. operatetype:
  23584. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23585. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23586. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23587. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23588. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23589. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23590. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23591. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23592. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23593. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23594. type: integer
  23595. relationorderid:
  23596. description: 关联单号
  23597. type: string
  23598. remark:
  23599. description: 备注
  23600. type: string
  23601. trademode:
  23602. description: 交易模式
  23603. type: integer
  23604. required:
  23605. - accountid
  23606. - amount
  23607. - amountadjusttype
  23608. - autoid
  23609. - balance
  23610. - createtime
  23611. - currentbalance
  23612. - histradedate
  23613. - operatetype
  23614. type: object
  23615. trade.QueryRecieptOrderRsp:
  23616. properties:
  23617. accountName:
  23618. description: 所属账号名称(已脱敏)
  23619. type: string
  23620. accountid:
  23621. description: 资金账号
  23622. type: integer
  23623. buyorsell:
  23624. description: 方向 - 0:买 1:卖
  23625. type: integer
  23626. enableqty:
  23627. description: 可摘数量
  23628. type: integer
  23629. goodscode:
  23630. description: 商品代码
  23631. type: string
  23632. goodsid:
  23633. description: 商品ID
  23634. type: integer
  23635. goodsname:
  23636. description: 商品名称
  23637. type: string
  23638. orderid:
  23639. description: 委托单号
  23640. type: string
  23641. orderprice:
  23642. description: 委托价格
  23643. type: number
  23644. ordertime:
  23645. description: 委托时间
  23646. type: string
  23647. tradedate:
  23648. description: 交易日(yyyyMMdd)
  23649. type: string
  23650. required:
  23651. - ordertime
  23652. type: object
  23653. user.LoginQueryRsp:
  23654. properties:
  23655. areaRoles:
  23656. description: 所属角色信息
  23657. items:
  23658. $ref: '#/definitions/models.Arearole'
  23659. type: array
  23660. exchangeRateConfigs:
  23661. description: 汇率信息
  23662. items:
  23663. $ref: '#/definitions/models.Exchangerateconfig'
  23664. type: array
  23665. externalExchanges:
  23666. description: 外部交易所
  23667. items:
  23668. $ref: '#/definitions/models.Externalexchange'
  23669. type: array
  23670. goodsgroups:
  23671. description: 商品组
  23672. items:
  23673. $ref: '#/definitions/models.Goodsgroup'
  23674. type: array
  23675. loginAccount:
  23676. $ref: '#/definitions/models.Loginaccount'
  23677. description: 登录账号
  23678. markets:
  23679. description: 市场
  23680. items:
  23681. $ref: '#/definitions/models.Market'
  23682. type: array
  23683. systemParams:
  23684. description: 系统参数
  23685. items:
  23686. $ref: '#/definitions/models.Systemparam'
  23687. type: array
  23688. userAccount:
  23689. $ref: '#/definitions/models.Useraccount'
  23690. description: 用户账号
  23691. userInfo:
  23692. $ref: '#/definitions/models.Userinfo'
  23693. description: 用户信息
  23694. username:
  23695. description: 用户姓名
  23696. type: string
  23697. type: object
  23698. info:
  23699. contact: {}
  23700. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23701. termsOfService: http://www.muchinfo.cn
  23702. title: MTP2.0 查询服务 API
  23703. version: "1.0"
  23704. paths:
  23705. /CPTrade/QueryCPTradeMyBidInfos:
  23706. get:
  23707. parameters:
  23708. - description: 资金账户
  23709. in: query
  23710. name: accountid
  23711. required: true
  23712. type: integer
  23713. - description: 预售市场ID
  23714. in: query
  23715. name: marketid
  23716. type: integer
  23717. - description: 预售商品ID
  23718. in: query
  23719. name: goodsid
  23720. type: integer
  23721. produces:
  23722. - application/json
  23723. responses:
  23724. "200":
  23725. description: OK
  23726. schema:
  23727. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23728. "500":
  23729. description: Internal Server Error
  23730. schema:
  23731. $ref: '#/definitions/app.Response'
  23732. security:
  23733. - ApiKeyAuth: []
  23734. summary: 查询产能预售我的出价信息
  23735. tags:
  23736. - 产能预售
  23737. /CPTrade/QueryCPTradeOrderDetail:
  23738. get:
  23739. parameters:
  23740. - description: 预售商品ID
  23741. in: query
  23742. name: goodsid
  23743. type: integer
  23744. - description: 预售市场ID
  23745. in: query
  23746. name: marketid
  23747. type: integer
  23748. - description: 预售商品ID列表 - 格式:1,2,3
  23749. in: query
  23750. name: goodsids
  23751. type: string
  23752. produces:
  23753. - application/json
  23754. responses:
  23755. "200":
  23756. description: OK
  23757. schema:
  23758. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23759. "500":
  23760. description: Internal Server Error
  23761. schema:
  23762. $ref: '#/definitions/app.Response'
  23763. security:
  23764. - ApiKeyAuth: []
  23765. summary: 查询产能预售委托单信息
  23766. tags:
  23767. - 产能预售
  23768. /CPTrade/QueryMyCPTradeGoods:
  23769. get:
  23770. parameters:
  23771. - description: 资金账户
  23772. in: query
  23773. name: accountid
  23774. required: true
  23775. type: integer
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 查询我的预售信息
  23790. tags:
  23791. - 产能预售
  23792. /CPTrade/QueryPositionCancel:
  23793. get:
  23794. parameters:
  23795. - description: 账户ID
  23796. in: query
  23797. name: userid
  23798. required: true
  23799. type: integer
  23800. - description: 注销ID
  23801. in: query
  23802. name: cancelid
  23803. type: integer
  23804. - description: 资金账户ID
  23805. in: query
  23806. name: accountid
  23807. type: integer
  23808. produces:
  23809. - application/json
  23810. responses:
  23811. "200":
  23812. description: OK
  23813. schema:
  23814. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23815. "500":
  23816. description: Internal Server Error
  23817. schema:
  23818. $ref: '#/definitions/app.Response'
  23819. security:
  23820. - ApiKeyAuth: []
  23821. summary: 查询远期订单注销申请信息
  23822. tags:
  23823. - 产能预售
  23824. /CPTrade/QueryPreasleApply:
  23825. get:
  23826. parameters:
  23827. - description: 账户ID
  23828. in: query
  23829. name: userid
  23830. required: true
  23831. type: integer
  23832. - description: 申请ID
  23833. in: query
  23834. name: applyid
  23835. type: integer
  23836. - description: 资金账户ID
  23837. in: query
  23838. name: accountid
  23839. type: integer
  23840. produces:
  23841. - application/json
  23842. responses:
  23843. "200":
  23844. description: OK
  23845. schema:
  23846. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23847. "500":
  23848. description: Internal Server Error
  23849. schema:
  23850. $ref: '#/definitions/app.Response'
  23851. security:
  23852. - ApiKeyAuth: []
  23853. summary: 查询产能预售申请信息
  23854. tags:
  23855. - 产能预售
  23856. /CPTrade/QueryPresaleGoodsEx:
  23857. get:
  23858. parameters:
  23859. - description: 预售商品ID
  23860. in: query
  23861. name: goodsid
  23862. type: integer
  23863. - description: 预售市场ID
  23864. in: query
  23865. name: marketid
  23866. type: integer
  23867. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23868. in: query
  23869. name: presalemode
  23870. type: integer
  23871. - description: 预售商品ID列表 - 格式:1,2,3
  23872. in: query
  23873. name: goodsids
  23874. type: string
  23875. - description: 预售商品代码
  23876. in: query
  23877. name: goodscode
  23878. type: string
  23879. produces:
  23880. - application/json
  23881. responses:
  23882. "200":
  23883. description: OK
  23884. schema:
  23885. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. summary: 查询产能预售商品扩展信息
  23893. tags:
  23894. - 产能预售
  23895. /CPTrade/QueryUserGoodsData:
  23896. get:
  23897. parameters:
  23898. - description: 资金账户ID
  23899. in: query
  23900. name: accountid
  23901. required: true
  23902. type: integer
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23910. "500":
  23911. description: Internal Server Error
  23912. schema:
  23913. $ref: '#/definitions/app.Response'
  23914. security:
  23915. - ApiKeyAuth: []
  23916. summary: 查询远期订单信息
  23917. tags:
  23918. - 产能预售
  23919. /Common/DeleteNewFuncmenu:
  23920. delete:
  23921. consumes:
  23922. - application/json
  23923. parameters:
  23924. - description: 菜单表数据,只需要resourcecode字段即可
  23925. in: body
  23926. name: data
  23927. required: true
  23928. schema:
  23929. $ref: '#/definitions/models.NewFuncmenulist'
  23930. produces:
  23931. - application/json
  23932. responses:
  23933. "200":
  23934. description: OK
  23935. schema:
  23936. $ref: '#/definitions/app.Response'
  23937. "500":
  23938. description: Internal Server Error
  23939. schema:
  23940. $ref: '#/definitions/app.Response'
  23941. security:
  23942. - ApiKeyAuth: []
  23943. summary: 删除菜单表数据
  23944. tags:
  23945. - 通用服务
  23946. /Common/FindNewFuncmenu:
  23947. get:
  23948. parameters:
  23949. - description: 资源代码
  23950. in: query
  23951. name: resourcecode
  23952. type: string
  23953. - description: 上级资源代码
  23954. in: query
  23955. name: parentcode
  23956. type: string
  23957. - description: 资源名(Title), 模糊查询
  23958. in: query
  23959. name: resourcename
  23960. type: string
  23961. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23962. in: query
  23963. name: menutype
  23964. type: string
  23965. produces:
  23966. - application/json
  23967. responses:
  23968. "200":
  23969. description: OK
  23970. schema:
  23971. items:
  23972. $ref: '#/definitions/models.NewFuncmenulist'
  23973. type: array
  23974. "500":
  23975. description: Internal Server Error
  23976. schema:
  23977. $ref: '#/definitions/app.Response'
  23978. security:
  23979. - ApiKeyAuth: []
  23980. summary: 获取菜单表数据
  23981. tags:
  23982. - 通用服务
  23983. /Common/GetAllEnums:
  23984. get:
  23985. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23986. parameters:
  23987. - description: 起始自增ID
  23988. in: query
  23989. name: autoid
  23990. type: integer
  23991. produces:
  23992. - application/json
  23993. responses:
  23994. "200":
  23995. description: OK
  23996. schema:
  23997. $ref: '#/definitions/models.Enumdicitem'
  23998. "500":
  23999. description: Internal Server Error
  24000. schema:
  24001. $ref: '#/definitions/app.Response'
  24002. summary: 获取所有枚举信息
  24003. tags:
  24004. - 通用服务
  24005. /Common/GetClientMenus:
  24006. get:
  24007. parameters:
  24008. - description: 登录账号
  24009. in: query
  24010. name: loginID
  24011. required: true
  24012. type: integer
  24013. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24014. in: query
  24015. name: clientType
  24016. type: integer
  24017. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24018. in: query
  24019. name: name
  24020. type: string
  24021. produces:
  24022. - application/json
  24023. responses:
  24024. "200":
  24025. description: OK
  24026. schema:
  24027. items:
  24028. $ref: '#/definitions/common.ClientMenu'
  24029. type: array
  24030. "500":
  24031. description: Internal Server Error
  24032. schema:
  24033. $ref: '#/definitions/app.Response'
  24034. security:
  24035. - ApiKeyAuth: []
  24036. summary: 获取交易端菜单
  24037. tags:
  24038. - 通用服务
  24039. /Common/GetClientNewFuncmenu:
  24040. get:
  24041. parameters:
  24042. - description: 登录账号
  24043. in: query
  24044. name: loginid
  24045. required: true
  24046. type: integer
  24047. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24048. in: query
  24049. name: menutype
  24050. required: true
  24051. type: integer
  24052. produces:
  24053. - application/json
  24054. responses:
  24055. "200":
  24056. description: OK
  24057. schema:
  24058. items:
  24059. $ref: '#/definitions/models.NewFuncmenulist'
  24060. type: array
  24061. "500":
  24062. description: Internal Server Error
  24063. schema:
  24064. $ref: '#/definitions/app.Response'
  24065. security:
  24066. - ApiKeyAuth: []
  24067. summary: 获取终端菜单
  24068. tags:
  24069. - 通用服务
  24070. /Common/GetDivisions:
  24071. get:
  24072. produces:
  24073. - application/json
  24074. responses:
  24075. "200":
  24076. description: OK
  24077. schema:
  24078. $ref: '#/definitions/models.Division'
  24079. "500":
  24080. description: Internal Server Error
  24081. schema:
  24082. $ref: '#/definitions/app.Response'
  24083. summary: 查询区域信息
  24084. tags:
  24085. - 通用服务
  24086. /Common/GetPCWebMenus:
  24087. get:
  24088. parameters:
  24089. - description: 登录账号
  24090. in: query
  24091. name: loginID
  24092. required: true
  24093. type: integer
  24094. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24095. in: query
  24096. name: name
  24097. type: string
  24098. produces:
  24099. - application/json
  24100. responses:
  24101. "200":
  24102. description: OK
  24103. schema:
  24104. items:
  24105. $ref: '#/definitions/common.PCWebMenu'
  24106. type: array
  24107. "500":
  24108. description: Internal Server Error
  24109. schema:
  24110. $ref: '#/definitions/app.Response'
  24111. security:
  24112. - ApiKeyAuth: []
  24113. summary: 获取PCWeb交易端菜单
  24114. tags:
  24115. - 通用服务
  24116. /Common/GetServerTime:
  24117. get:
  24118. produces:
  24119. - application/json
  24120. responses:
  24121. "200":
  24122. description: OK
  24123. schema:
  24124. $ref: '#/definitions/app.Response'
  24125. "500":
  24126. description: Internal Server Error
  24127. schema:
  24128. $ref: '#/definitions/app.Response'
  24129. summary: 获取服务器时间
  24130. tags:
  24131. - 通用服务
  24132. /Common/InsertNewFuncmenu:
  24133. post:
  24134. consumes:
  24135. - application/json
  24136. parameters:
  24137. - description: 菜单表数据
  24138. in: body
  24139. name: data
  24140. required: true
  24141. schema:
  24142. $ref: '#/definitions/models.NewFuncmenulist'
  24143. produces:
  24144. - application/json
  24145. responses:
  24146. "200":
  24147. description: OK
  24148. schema:
  24149. $ref: '#/definitions/app.Response'
  24150. "500":
  24151. description: Internal Server Error
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. security:
  24155. - ApiKeyAuth: []
  24156. summary: 插入菜单表数据
  24157. tags:
  24158. - 通用服务
  24159. /Common/NoticeReaded:
  24160. post:
  24161. parameters:
  24162. - description: 登录账号
  24163. in: query
  24164. name: loginID
  24165. required: true
  24166. type: integer
  24167. - description: 通知公告ID
  24168. in: query
  24169. name: noticeID
  24170. required: true
  24171. type: integer
  24172. produces:
  24173. - application/json
  24174. responses:
  24175. "200":
  24176. description: OK
  24177. schema:
  24178. $ref: '#/definitions/app.Response'
  24179. "500":
  24180. description: Internal Server Error
  24181. schema:
  24182. $ref: '#/definitions/app.Response'
  24183. security:
  24184. - ApiKeyAuth: []
  24185. summary: 通知公告设置已读请求
  24186. tags:
  24187. - 通用服务
  24188. /Common/QueryErrorInfos:
  24189. get:
  24190. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24191. parameters:
  24192. - description: 起始行号前索引
  24193. in: query
  24194. name: rowNumber
  24195. type: string
  24196. produces:
  24197. - application/json
  24198. responses:
  24199. "200":
  24200. description: OK
  24201. schema:
  24202. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24203. "500":
  24204. description: Internal Server Error
  24205. schema:
  24206. $ref: '#/definitions/app.Response'
  24207. summary: 获取数据库错误信息
  24208. tags:
  24209. - 通用服务
  24210. /Common/QueryImageConfigs:
  24211. get:
  24212. parameters:
  24213. - description: 用户id
  24214. in: query
  24215. name: userId
  24216. type: integer
  24217. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24218. in: query
  24219. name: imageType
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24228. "500":
  24229. description: Internal Server Error
  24230. schema:
  24231. $ref: '#/definitions/app.Response'
  24232. summary: 查询轮播图配置信息
  24233. tags:
  24234. - 通用服务
  24235. /Common/QueryNotice:
  24236. get:
  24237. parameters:
  24238. - description: 页码
  24239. in: query
  24240. name: page
  24241. type: integer
  24242. - description: 每页条数
  24243. in: query
  24244. name: pagesize
  24245. type: integer
  24246. - description: 登录账号
  24247. in: query
  24248. name: loginID
  24249. required: true
  24250. type: integer
  24251. - description: 消息类型 - 1:公告通知 2:系统消息
  24252. in: query
  24253. name: msgType
  24254. type: integer
  24255. - description: 是否只获取未读信息
  24256. in: query
  24257. name: onlyUnRead
  24258. type: boolean
  24259. - description: 自增ID,传入后会返回这个ID后面的记录
  24260. in: query
  24261. name: lastID
  24262. type: integer
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. $ref: '#/definitions/common.QueryNoticeRsp'
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 通知公告系统消息查询
  24277. tags:
  24278. - 通用服务
  24279. /Common/QueryProvincesAndCities:
  24280. get:
  24281. parameters:
  24282. - description: 省ID
  24283. in: query
  24284. name: provinceID
  24285. type: integer
  24286. produces:
  24287. - application/json
  24288. responses:
  24289. "200":
  24290. description: OK
  24291. schema:
  24292. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24293. "500":
  24294. description: Internal Server Error
  24295. schema:
  24296. $ref: '#/definitions/app.Response'
  24297. summary: 查询省市信息(不包括区)
  24298. tags:
  24299. - 通用服务
  24300. /Common/QueryRates:
  24301. get:
  24302. parameters:
  24303. - description: 页码
  24304. in: query
  24305. name: page
  24306. type: integer
  24307. - description: 每页条数
  24308. in: query
  24309. name: pagesize
  24310. type: integer
  24311. - description: 源币种ID
  24312. in: query
  24313. name: oricurrencyid
  24314. type: integer
  24315. - description: 目标币种ID
  24316. in: query
  24317. name: descurrencyid
  24318. type: integer
  24319. produces:
  24320. - application/json
  24321. responses:
  24322. "200":
  24323. description: OK
  24324. schema:
  24325. items:
  24326. $ref: '#/definitions/models.Exchangerateconfig'
  24327. type: array
  24328. "500":
  24329. description: Internal Server Error
  24330. schema:
  24331. $ref: '#/definitions/app.Response'
  24332. security:
  24333. - ApiKeyAuth: []
  24334. - LoginID: []
  24335. - Group: []
  24336. summary: 查询汇率信息
  24337. tags:
  24338. - 通用服务
  24339. /Common/QueryTableDefine:
  24340. get:
  24341. parameters:
  24342. - description: 表key
  24343. in: query
  24344. name: tableKey
  24345. type: string
  24346. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24347. in: query
  24348. name: tableType
  24349. type: integer
  24350. produces:
  24351. - application/json
  24352. responses:
  24353. "200":
  24354. description: OK
  24355. schema:
  24356. $ref: '#/definitions/common.QueryTableDefineRsp'
  24357. "500":
  24358. description: Internal Server Error
  24359. schema:
  24360. $ref: '#/definitions/app.Response'
  24361. summary: 查询交易端列表头信息
  24362. tags:
  24363. - 通用服务
  24364. /Common/QueryTraderMenu:
  24365. get:
  24366. parameters:
  24367. - description: 登录账号
  24368. in: query
  24369. name: loginid
  24370. required: true
  24371. type: integer
  24372. produces:
  24373. - application/json
  24374. responses:
  24375. "200":
  24376. description: OK
  24377. schema:
  24378. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24379. "500":
  24380. description: Internal Server Error
  24381. schema:
  24382. $ref: '#/definitions/app.Response'
  24383. summary: 查询交易端菜单
  24384. tags:
  24385. - 通用服务
  24386. /Common/UpdateNewFuncmenu:
  24387. put:
  24388. consumes:
  24389. - application/json
  24390. parameters:
  24391. - description: 菜单表数据
  24392. in: body
  24393. name: data
  24394. required: true
  24395. schema:
  24396. $ref: '#/definitions/models.NewFuncmenulist'
  24397. produces:
  24398. - application/json
  24399. responses:
  24400. "200":
  24401. description: OK
  24402. schema:
  24403. $ref: '#/definitions/app.Response'
  24404. "500":
  24405. description: Internal Server Error
  24406. schema:
  24407. $ref: '#/definitions/app.Response'
  24408. security:
  24409. - ApiKeyAuth: []
  24410. summary: 更新菜单表数据
  24411. tags:
  24412. - 通用服务
  24413. /Delivery/QueryDeliveryRelation:
  24414. get:
  24415. parameters:
  24416. - description: 商品ID
  24417. in: query
  24418. name: goodsid
  24419. type: integer
  24420. - description: 品种ID
  24421. in: query
  24422. name: deliverygoodsid
  24423. type: integer
  24424. - description: 市场ID
  24425. in: query
  24426. name: marketid
  24427. type: integer
  24428. produces:
  24429. - application/json
  24430. responses:
  24431. "200":
  24432. description: OK
  24433. schema:
  24434. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24435. "500":
  24436. description: Internal Server Error
  24437. schema:
  24438. $ref: '#/definitions/app.Response'
  24439. security:
  24440. - ApiKeyAuth: []
  24441. summary: 查询商品交割关系表
  24442. tags:
  24443. - 交割服务
  24444. /Ermcp/GetErmcpGoods:
  24445. get:
  24446. parameters:
  24447. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24448. in: query
  24449. name: userid
  24450. type: integer
  24451. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24452. in: query
  24453. name: lastUpdateTime
  24454. type: string
  24455. produces:
  24456. - application/json
  24457. responses:
  24458. "200":
  24459. description: OK
  24460. schema:
  24461. $ref: '#/definitions/models.ErmcpGoods'
  24462. "500":
  24463. description: Internal Server Error
  24464. schema:
  24465. $ref: '#/definitions/app.Response'
  24466. security:
  24467. - ApiKeyAuth: []
  24468. summary: 查询企业风管期货商品信息
  24469. tags:
  24470. - 企业风险管理(app)
  24471. /Ermcp/GetErmcpGoodsSortByPosition:
  24472. get:
  24473. parameters:
  24474. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24475. in: query
  24476. name: sortIndex
  24477. type: string
  24478. produces:
  24479. - application/json
  24480. responses:
  24481. "200":
  24482. description: OK
  24483. schema:
  24484. $ref: '#/definitions/models.Goodssortbypreposition'
  24485. "500":
  24486. description: Internal Server Error
  24487. schema:
  24488. $ref: '#/definitions/app.Response'
  24489. security:
  24490. - ApiKeyAuth: []
  24491. summary: 查询企业风管期货主力、次主力商品信息
  24492. tags:
  24493. - 企业风险管理(app)
  24494. /Ermcp/GetErmcpOutAccountStatus:
  24495. get:
  24496. parameters:
  24497. - description: 登录账号
  24498. in: query
  24499. name: loginID
  24500. required: true
  24501. type: integer
  24502. produces:
  24503. - application/json
  24504. responses:
  24505. "200":
  24506. description: OK
  24507. schema:
  24508. $ref: '#/definitions/models.Hedgemarketopenlog'
  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/GetErmcpRoleFuncMenuLists:
  24519. get:
  24520. parameters:
  24521. - description: 登录账号
  24522. in: query
  24523. name: loginID
  24524. required: true
  24525. type: integer
  24526. produces:
  24527. - application/json
  24528. responses:
  24529. "200":
  24530. description: OK
  24531. schema:
  24532. $ref: '#/definitions/models.Funcmenulist'
  24533. "500":
  24534. description: Internal Server Error
  24535. schema:
  24536. $ref: '#/definitions/app.Response'
  24537. security:
  24538. - ApiKeyAuth: []
  24539. summary: 获取企业风管终端权限
  24540. tags:
  24541. - 企业风险管理(app)
  24542. /Ermcp/QueryAccMgrBizGroupSet:
  24543. get:
  24544. parameters:
  24545. - description: 用户ID
  24546. in: query
  24547. name: userid
  24548. required: true
  24549. type: integer
  24550. - description: 现货商品id
  24551. in: query
  24552. name: deliverygoodsid
  24553. type: integer
  24554. produces:
  24555. - application/json
  24556. responses:
  24557. "200":
  24558. description: OK
  24559. schema:
  24560. items:
  24561. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24562. type: array
  24563. "500":
  24564. description: Internal Server Error
  24565. schema:
  24566. $ref: '#/definitions/app.Response'
  24567. security:
  24568. - ApiKeyAuth: []
  24569. summary: 查询业务类型分组(账户管理/账户设置)
  24570. tags:
  24571. - 企业风险管理(app)
  24572. /Ermcp/QueryAccMgrLoginUser:
  24573. get:
  24574. parameters:
  24575. - description: 用户ID
  24576. in: query
  24577. name: userid
  24578. required: true
  24579. type: integer
  24580. - description: 用户类型 2-机构 7-企业成员
  24581. in: query
  24582. name: usertype
  24583. type: integer
  24584. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24585. in: query
  24586. name: querytype
  24587. required: true
  24588. type: integer
  24589. produces:
  24590. - application/json
  24591. responses:
  24592. "200":
  24593. description: OK
  24594. schema:
  24595. items:
  24596. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24597. type: array
  24598. "500":
  24599. description: Internal Server Error
  24600. schema:
  24601. $ref: '#/definitions/app.Response'
  24602. security:
  24603. - ApiKeyAuth: []
  24604. summary: 查询账户管理登录账号(账户管理/登录账号)
  24605. tags:
  24606. - 企业风险管理(app)
  24607. /Ermcp/QueryAccMgrMainAccountInfo:
  24608. get:
  24609. parameters:
  24610. - description: 用户ID
  24611. in: query
  24612. name: userid
  24613. type: integer
  24614. - description: 主账号id
  24615. in: query
  24616. name: accountid
  24617. type: integer
  24618. produces:
  24619. - application/json
  24620. responses:
  24621. "200":
  24622. description: OK
  24623. schema:
  24624. items:
  24625. $ref: '#/definitions/models.MainAccountInfo'
  24626. type: array
  24627. "500":
  24628. description: Internal Server Error
  24629. schema:
  24630. $ref: '#/definitions/app.Response'
  24631. security:
  24632. - ApiKeyAuth: []
  24633. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24634. tags:
  24635. - 企业风险管理(app)
  24636. /Ermcp/QueryAccMgrRole:
  24637. get:
  24638. parameters:
  24639. - description: 用户ID
  24640. in: query
  24641. name: userid
  24642. required: true
  24643. type: integer
  24644. produces:
  24645. - application/json
  24646. responses:
  24647. "200":
  24648. description: OK
  24649. schema:
  24650. items:
  24651. $ref: '#/definitions/models.ErmcpRole'
  24652. type: array
  24653. "500":
  24654. description: Internal Server Error
  24655. schema:
  24656. $ref: '#/definitions/app.Response'
  24657. security:
  24658. - ApiKeyAuth: []
  24659. summary: 查询账户管理角色设置(账户管理/角色设置)
  24660. tags:
  24661. - 企业风险管理(app)
  24662. /Ermcp/QueryAccMgrRoleMenu:
  24663. get:
  24664. parameters:
  24665. - description: 用户ID
  24666. in: query
  24667. name: userid
  24668. required: true
  24669. type: integer
  24670. - description: 角色id(可多个,逗号隔开)
  24671. in: query
  24672. name: roleid
  24673. type: string
  24674. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24675. in: query
  24676. name: menutype
  24677. type: integer
  24678. produces:
  24679. - application/json
  24680. responses:
  24681. "200":
  24682. description: OK
  24683. schema:
  24684. items:
  24685. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24686. type: array
  24687. "500":
  24688. description: Internal Server Error
  24689. schema:
  24690. $ref: '#/definitions/app.Response'
  24691. security:
  24692. - ApiKeyAuth: []
  24693. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24694. tags:
  24695. - 企业风险管理(app)
  24696. /Ermcp/QueryAccMgrTaAccountInfo:
  24697. get:
  24698. parameters:
  24699. - description: 用户ID
  24700. in: query
  24701. name: userid
  24702. required: true
  24703. type: integer
  24704. - description: 账号id
  24705. in: query
  24706. name: accountid
  24707. type: integer
  24708. produces:
  24709. - application/json
  24710. responses:
  24711. "200":
  24712. description: OK
  24713. schema:
  24714. items:
  24715. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24716. type: array
  24717. "500":
  24718. description: Internal Server Error
  24719. schema:
  24720. $ref: '#/definitions/app.Response'
  24721. security:
  24722. - ApiKeyAuth: []
  24723. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24724. tags:
  24725. - 企业风险管理(app)
  24726. /Ermcp/QueryAccMgrTaaccount:
  24727. get:
  24728. parameters:
  24729. - description: 用户ID
  24730. in: query
  24731. name: userid
  24732. required: true
  24733. type: integer
  24734. produces:
  24735. - application/json
  24736. responses:
  24737. "200":
  24738. description: OK
  24739. schema:
  24740. items:
  24741. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24742. type: array
  24743. "500":
  24744. description: Internal Server Error
  24745. schema:
  24746. $ref: '#/definitions/app.Response'
  24747. security:
  24748. - ApiKeyAuth: []
  24749. summary: 查询账户管理期货账号(账户管理/期货账号)
  24750. tags:
  24751. - 企业风险管理(app)
  24752. /Ermcp/QueryAvaildGoodsGroup:
  24753. get:
  24754. parameters:
  24755. - description: 所属机构ID
  24756. in: query
  24757. name: userid
  24758. required: true
  24759. type: integer
  24760. produces:
  24761. - application/json
  24762. responses:
  24763. "200":
  24764. description: OK
  24765. schema:
  24766. items:
  24767. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24768. type: array
  24769. "500":
  24770. description: Internal Server Error
  24771. schema:
  24772. $ref: '#/definitions/app.Response'
  24773. security:
  24774. - ApiKeyAuth: []
  24775. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24776. tags:
  24777. - 企业风险管理(app)
  24778. /Ermcp/QueryBusinessDj:
  24779. get:
  24780. parameters:
  24781. - description: 用户ID
  24782. in: query
  24783. name: UserId
  24784. required: true
  24785. type: integer
  24786. - description: 用户类型 2-机构 7-企业成员
  24787. in: query
  24788. name: usertype
  24789. type: integer
  24790. - description: 现货合同ID, 不填则查所有
  24791. in: query
  24792. name: relatedid
  24793. type: string
  24794. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24795. in: query
  24796. name: applystatus
  24797. type: string
  24798. produces:
  24799. - application/json
  24800. responses:
  24801. "200":
  24802. description: OK
  24803. schema:
  24804. items:
  24805. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24806. type: array
  24807. "500":
  24808. description: Internal Server Error
  24809. schema:
  24810. $ref: '#/definitions/app.Response'
  24811. security:
  24812. - ApiKeyAuth: []
  24813. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24814. tags:
  24815. - 企业风险管理(app)
  24816. /Ermcp/QueryBusinessFp:
  24817. get:
  24818. parameters:
  24819. - description: 用户ID
  24820. in: query
  24821. name: UserId
  24822. required: true
  24823. type: integer
  24824. - description: 用户类型 2-机构 7-企业成员
  24825. in: query
  24826. name: usertype
  24827. type: integer
  24828. - description: 现货合同ID, 不填则查所有
  24829. in: query
  24830. name: relatedid
  24831. type: string
  24832. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24833. in: query
  24834. name: applystatus
  24835. type: string
  24836. produces:
  24837. - application/json
  24838. responses:
  24839. "200":
  24840. description: OK
  24841. schema:
  24842. items:
  24843. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24844. type: array
  24845. "500":
  24846. description: Internal Server Error
  24847. schema:
  24848. $ref: '#/definitions/app.Response'
  24849. security:
  24850. - ApiKeyAuth: []
  24851. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24852. tags:
  24853. - 企业风险管理(app)
  24854. /Ermcp/QueryBusinessJs:
  24855. get:
  24856. parameters:
  24857. - description: 用户ID
  24858. in: query
  24859. name: UserId
  24860. required: true
  24861. type: integer
  24862. - description: 用户类型 2-机构 7-企业成员
  24863. in: query
  24864. name: usertype
  24865. type: integer
  24866. - description: 现货合同ID, 不填则查所有
  24867. in: query
  24868. name: relatedid
  24869. type: string
  24870. - description: 操作申请id
  24871. in: query
  24872. name: operateapplyid
  24873. type: string
  24874. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24875. in: query
  24876. name: applystatus
  24877. type: string
  24878. produces:
  24879. - application/json
  24880. responses:
  24881. "200":
  24882. description: OK
  24883. schema:
  24884. items:
  24885. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24886. type: array
  24887. "500":
  24888. description: Internal Server Error
  24889. schema:
  24890. $ref: '#/definitions/app.Response'
  24891. security:
  24892. - ApiKeyAuth: []
  24893. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24894. tags:
  24895. - 企业风险管理(app)
  24896. /Ermcp/QueryBusinessJsEx:
  24897. get:
  24898. parameters:
  24899. - description: 用户ID
  24900. in: query
  24901. name: UserId
  24902. required: true
  24903. type: integer
  24904. - description: 用户类型 2-机构 7-企业成员
  24905. in: query
  24906. name: usertype
  24907. type: integer
  24908. - description: 现货合同ID, 不填则查所有
  24909. in: query
  24910. name: relatedid
  24911. type: string
  24912. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24913. in: query
  24914. name: applystatus
  24915. type: string
  24916. produces:
  24917. - application/json
  24918. responses:
  24919. "200":
  24920. description: OK
  24921. schema:
  24922. items:
  24923. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24924. type: array
  24925. "500":
  24926. description: Internal Server Error
  24927. schema:
  24928. $ref: '#/definitions/app.Response'
  24929. security:
  24930. - ApiKeyAuth: []
  24931. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24932. tags:
  24933. - 企业风险管理(app)
  24934. /Ermcp/QueryBusinessKx:
  24935. get:
  24936. parameters:
  24937. - description: 用户ID
  24938. in: query
  24939. name: UserId
  24940. required: true
  24941. type: integer
  24942. - description: 用户类型 2-机构 7-企业成员
  24943. in: query
  24944. name: usertype
  24945. type: integer
  24946. - description: 现货合同ID, 不填则查所有
  24947. in: query
  24948. name: relatedid
  24949. type: string
  24950. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24951. in: query
  24952. name: applystatus
  24953. type: string
  24954. produces:
  24955. - application/json
  24956. responses:
  24957. "200":
  24958. description: OK
  24959. schema:
  24960. items:
  24961. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24962. type: array
  24963. "500":
  24964. description: Internal Server Error
  24965. schema:
  24966. $ref: '#/definitions/app.Response'
  24967. security:
  24968. - ApiKeyAuth: []
  24969. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24970. tags:
  24971. - 企业风险管理(app)
  24972. /Ermcp/QueryChangeLog:
  24973. get:
  24974. parameters:
  24975. - description: 合同ID
  24976. in: query
  24977. name: RelatedId
  24978. required: true
  24979. type: string
  24980. produces:
  24981. - application/json
  24982. responses:
  24983. "200":
  24984. description: OK
  24985. schema:
  24986. items:
  24987. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24988. type: array
  24989. "500":
  24990. description: Internal Server Error
  24991. schema:
  24992. $ref: '#/definitions/app.Response'
  24993. security:
  24994. - ApiKeyAuth: []
  24995. summary: 查询变更记录
  24996. tags:
  24997. - 企业风险管理(app)
  24998. /Ermcp/QueryErmcpHisOrderDetails:
  24999. get:
  25000. parameters:
  25001. - description: 资金账户ID
  25002. in: query
  25003. name: accountID
  25004. required: true
  25005. type: integer
  25006. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25007. in: query
  25008. name: startDate
  25009. type: string
  25010. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25011. in: query
  25012. name: endDate
  25013. type: string
  25014. produces:
  25015. - application/json
  25016. responses:
  25017. "200":
  25018. description: OK
  25019. schema:
  25020. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25021. "500":
  25022. description: Internal Server Error
  25023. schema:
  25024. $ref: '#/definitions/app.Response'
  25025. security:
  25026. - ApiKeyAuth: []
  25027. summary: 获取企业风管期货历史委托单信息
  25028. tags:
  25029. - 企业风险管理(app)
  25030. /Ermcp/QueryErmcpHisTradeDetails:
  25031. get:
  25032. parameters:
  25033. - description: 资金账户ID
  25034. in: query
  25035. name: accountID
  25036. required: true
  25037. type: integer
  25038. - description: 商品ID
  25039. in: query
  25040. name: goodsID
  25041. type: integer
  25042. - description: 买卖方向,0:买 1:卖
  25043. in: query
  25044. name: buyOrSell
  25045. type: integer
  25046. - description: 关联委托单号
  25047. in: query
  25048. name: orderID
  25049. type: integer
  25050. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25051. in: query
  25052. name: startDate
  25053. type: string
  25054. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25055. in: query
  25056. name: endDate
  25057. type: string
  25058. produces:
  25059. - application/json
  25060. responses:
  25061. "200":
  25062. description: OK
  25063. schema:
  25064. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25065. "500":
  25066. description: Internal Server Error
  25067. schema:
  25068. $ref: '#/definitions/app.Response'
  25069. security:
  25070. - ApiKeyAuth: []
  25071. summary: 获取企业风管期货历史成交单信息
  25072. tags:
  25073. - 企业风险管理(app)
  25074. /Ermcp/QueryErmcpInnerHolderDetails:
  25075. get:
  25076. parameters:
  25077. - description: 资金账户ID
  25078. in: query
  25079. name: accountID
  25080. required: true
  25081. type: integer
  25082. - description: 商品ID
  25083. in: query
  25084. name: goodsID
  25085. type: integer
  25086. - description: 买卖方向,0:买 1:卖
  25087. in: query
  25088. name: buyOrSell
  25089. type: integer
  25090. produces:
  25091. - application/json
  25092. responses:
  25093. "200":
  25094. description: OK
  25095. schema:
  25096. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25097. "500":
  25098. description: Internal Server Error
  25099. schema:
  25100. $ref: '#/definitions/app.Response'
  25101. security:
  25102. - ApiKeyAuth: []
  25103. summary: 获取企业风管期货内部持仓单信息
  25104. tags:
  25105. - 企业风险管理(app)
  25106. /Ermcp/QueryErmcpOrderDetails:
  25107. get:
  25108. parameters:
  25109. - description: 资金账户ID
  25110. in: query
  25111. name: accountID
  25112. required: true
  25113. type: integer
  25114. produces:
  25115. - application/json
  25116. responses:
  25117. "200":
  25118. description: OK
  25119. schema:
  25120. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25121. "500":
  25122. description: Internal Server Error
  25123. schema:
  25124. $ref: '#/definitions/app.Response'
  25125. security:
  25126. - ApiKeyAuth: []
  25127. summary: 获取企业风管期货委托单信息
  25128. tags:
  25129. - 企业风险管理(app)
  25130. /Ermcp/QueryErmcpTradeDetails:
  25131. get:
  25132. parameters:
  25133. - description: 资金账户ID
  25134. in: query
  25135. name: accountID
  25136. required: true
  25137. type: integer
  25138. - description: 商品ID
  25139. in: query
  25140. name: goodsID
  25141. type: integer
  25142. - description: 买卖方向,0:买 1:卖
  25143. in: query
  25144. name: buyOrSell
  25145. type: integer
  25146. - description: 关联委托单号
  25147. in: query
  25148. name: orderID
  25149. type: integer
  25150. produces:
  25151. - application/json
  25152. responses:
  25153. "200":
  25154. description: OK
  25155. schema:
  25156. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25157. "500":
  25158. description: Internal Server Error
  25159. schema:
  25160. $ref: '#/definitions/app.Response'
  25161. security:
  25162. - ApiKeyAuth: []
  25163. summary: 获取企业风管期货成交单信息
  25164. tags:
  25165. - 企业风险管理(app)
  25166. /Ermcp/QueryErmcpTradePosition:
  25167. get:
  25168. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25169. parameters:
  25170. - description: 资金账户ID
  25171. in: query
  25172. name: accountID
  25173. required: true
  25174. type: integer
  25175. - description: 所属市场ID
  25176. in: query
  25177. name: marketID
  25178. type: integer
  25179. produces:
  25180. - application/json
  25181. responses:
  25182. "200":
  25183. description: OK
  25184. schema:
  25185. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25186. "500":
  25187. description: Internal Server Error
  25188. schema:
  25189. $ref: '#/definitions/app.Response'
  25190. security:
  25191. - ApiKeyAuth: []
  25192. summary: 获取企业风管期货持仓头寸信息
  25193. tags:
  25194. - 企业风险管理(app)
  25195. /Ermcp/QueryExposureDetail:
  25196. get:
  25197. parameters:
  25198. - description: 所属机构ID
  25199. in: query
  25200. name: areaUserId
  25201. required: true
  25202. type: integer
  25203. - description: 套保商品
  25204. in: query
  25205. name: middleGoodsId
  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.ExposureDetailRsp'
  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/QueryExposureGoods:
  25227. get:
  25228. parameters:
  25229. - description: 套保商品id
  25230. in: query
  25231. name: middlegoodsid
  25232. required: true
  25233. type: integer
  25234. produces:
  25235. - application/json
  25236. responses:
  25237. "200":
  25238. description: OK
  25239. schema:
  25240. items:
  25241. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25242. type: array
  25243. "500":
  25244. description: Internal Server Error
  25245. schema:
  25246. $ref: '#/definitions/app.Response'
  25247. security:
  25248. - ApiKeyAuth: []
  25249. summary: 查询敞口主力合约
  25250. tags:
  25251. - 企业风险管理(app)
  25252. /Ermcp/QueryExposureHedgePosition:
  25253. get:
  25254. parameters:
  25255. - description: 用户id
  25256. in: query
  25257. name: userid
  25258. required: true
  25259. type: integer
  25260. produces:
  25261. - application/json
  25262. responses:
  25263. "200":
  25264. description: OK
  25265. schema:
  25266. items:
  25267. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25268. type: array
  25269. "500":
  25270. description: Internal Server Error
  25271. schema:
  25272. $ref: '#/definitions/app.Response'
  25273. security:
  25274. - ApiKeyAuth: []
  25275. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25276. tags:
  25277. - 企业风险管理(app)
  25278. /Ermcp/QueryExposureHedgePositionDetail:
  25279. get:
  25280. parameters:
  25281. - description: 所属机构ID
  25282. in: query
  25283. name: userid
  25284. required: true
  25285. type: integer
  25286. - description: 商品id
  25287. in: query
  25288. name: goodsId
  25289. required: true
  25290. type: integer
  25291. produces:
  25292. - application/json
  25293. responses:
  25294. "200":
  25295. description: OK
  25296. schema:
  25297. items:
  25298. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25299. type: array
  25300. "500":
  25301. description: Internal Server Error
  25302. schema:
  25303. $ref: '#/definitions/app.Response'
  25304. security:
  25305. - ApiKeyAuth: []
  25306. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25307. tags:
  25308. - 企业风险管理(app)
  25309. /Ermcp/QueryExposureSpot:
  25310. get:
  25311. parameters:
  25312. - description: 所属机构ID
  25313. in: query
  25314. name: areaUserId
  25315. required: true
  25316. type: integer
  25317. produces:
  25318. - application/json
  25319. responses:
  25320. "200":
  25321. description: OK
  25322. schema:
  25323. items:
  25324. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25325. type: array
  25326. "500":
  25327. description: Internal Server Error
  25328. schema:
  25329. $ref: '#/definitions/app.Response'
  25330. security:
  25331. - ApiKeyAuth: []
  25332. summary: 查询敞口现货头寸(敞口/现货头寸)
  25333. tags:
  25334. - 企业风险管理(app)
  25335. /Ermcp/QueryExposureSpotDetail:
  25336. get:
  25337. parameters:
  25338. - description: 所属机构ID
  25339. in: query
  25340. name: areaUserId
  25341. required: true
  25342. type: integer
  25343. - description: 现货品种ID
  25344. in: query
  25345. name: wrstandardId
  25346. required: true
  25347. type: integer
  25348. produces:
  25349. - application/json
  25350. responses:
  25351. "200":
  25352. description: OK
  25353. schema:
  25354. items:
  25355. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25356. type: array
  25357. "500":
  25358. description: Internal Server Error
  25359. schema:
  25360. $ref: '#/definitions/app.Response'
  25361. security:
  25362. - ApiKeyAuth: []
  25363. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25364. tags:
  25365. - 企业风险管理(app)
  25366. /Ermcp/QueryFuturesCompany:
  25367. get:
  25368. produces:
  25369. - application/json
  25370. responses:
  25371. "200":
  25372. description: OK
  25373. schema:
  25374. items:
  25375. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25376. type: array
  25377. "500":
  25378. description: Internal Server Error
  25379. schema:
  25380. $ref: '#/definitions/app.Response'
  25381. security:
  25382. - ApiKeyAuth: []
  25383. summary: 查询期货公司
  25384. tags:
  25385. - 企业风险管理(app)
  25386. /Ermcp/QueryGGConvertConfig:
  25387. get:
  25388. parameters:
  25389. - description: 品种id(不填则查所有)
  25390. in: query
  25391. name: goodsgroupid
  25392. type: integer
  25393. produces:
  25394. - application/json
  25395. responses:
  25396. "200":
  25397. description: OK
  25398. schema:
  25399. items:
  25400. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25401. type: array
  25402. "500":
  25403. description: Internal Server Error
  25404. schema:
  25405. $ref: '#/definitions/app.Response'
  25406. security:
  25407. - ApiKeyAuth: []
  25408. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25409. tags:
  25410. - 企业风险管理(app)
  25411. /Ermcp/QueryGoodsBrand:
  25412. get:
  25413. parameters:
  25414. - description: 用户ID
  25415. in: query
  25416. name: userid
  25417. required: true
  25418. type: integer
  25419. - description: 现货商品ID
  25420. in: query
  25421. name: wrstandardid
  25422. type: integer
  25423. produces:
  25424. - application/json
  25425. responses:
  25426. "200":
  25427. description: OK
  25428. schema:
  25429. items:
  25430. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25431. type: array
  25432. "500":
  25433. description: Internal Server Error
  25434. schema:
  25435. $ref: '#/definitions/app.Response'
  25436. security:
  25437. - ApiKeyAuth: []
  25438. summary: 查询商品品牌
  25439. tags:
  25440. - 企业风险管理(app)
  25441. /Ermcp/QueryGoodsModel:
  25442. get:
  25443. parameters:
  25444. - description: 用户ID
  25445. in: query
  25446. name: userid
  25447. required: true
  25448. type: integer
  25449. produces:
  25450. - application/json
  25451. responses:
  25452. "200":
  25453. description: OK
  25454. schema:
  25455. items:
  25456. $ref: '#/definitions/models.ErmcpGoodsModel'
  25457. type: array
  25458. "500":
  25459. description: Internal Server Error
  25460. schema:
  25461. $ref: '#/definitions/app.Response'
  25462. security:
  25463. - ApiKeyAuth: []
  25464. summary: 查询商品型号
  25465. tags:
  25466. - 企业风险管理(app)
  25467. /Ermcp/QueryHisExposure:
  25468. get:
  25469. parameters:
  25470. - description: 用户id
  25471. in: query
  25472. name: userid
  25473. required: true
  25474. type: integer
  25475. - description: 每个品种记录数
  25476. in: query
  25477. name: lastNum
  25478. required: true
  25479. type: integer
  25480. produces:
  25481. - application/json
  25482. responses:
  25483. "200":
  25484. description: OK
  25485. schema:
  25486. items:
  25487. $ref: '#/definitions/ermcp.HisExposureRsp'
  25488. type: array
  25489. "500":
  25490. description: Internal Server Error
  25491. schema:
  25492. $ref: '#/definitions/app.Response'
  25493. security:
  25494. - ApiKeyAuth: []
  25495. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25496. tags:
  25497. - 企业风险管理(app)
  25498. /Ermcp/QueryMiddleGoods:
  25499. get:
  25500. parameters:
  25501. - description: 所属机构ID
  25502. in: query
  25503. name: userid
  25504. required: true
  25505. type: integer
  25506. - description: 状态 0-停用 1-正常
  25507. in: query
  25508. name: status
  25509. required: true
  25510. type: integer
  25511. produces:
  25512. - application/json
  25513. responses:
  25514. "200":
  25515. description: OK
  25516. schema:
  25517. items:
  25518. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25519. type: array
  25520. "500":
  25521. description: Internal Server Error
  25522. schema:
  25523. $ref: '#/definitions/app.Response'
  25524. security:
  25525. - ApiKeyAuth: []
  25526. summary: 查询套保品种(菜单:套保品种)
  25527. tags:
  25528. - 企业风险管理(app)
  25529. /Ermcp/QueryMiddleGoodsChangeLog:
  25530. get:
  25531. parameters:
  25532. - description: 所属机构ID
  25533. in: query
  25534. name: userid
  25535. required: true
  25536. type: integer
  25537. - description: 套保品种id
  25538. in: query
  25539. name: middlegoodsid
  25540. required: true
  25541. type: integer
  25542. produces:
  25543. - application/json
  25544. responses:
  25545. "200":
  25546. description: OK
  25547. schema:
  25548. items:
  25549. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25550. type: array
  25551. "500":
  25552. description: Internal Server Error
  25553. schema:
  25554. $ref: '#/definitions/app.Response'
  25555. security:
  25556. - ApiKeyAuth: []
  25557. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25558. tags:
  25559. - 企业风险管理(app)
  25560. /Ermcp/QueryMiddleGoodsDetail:
  25561. get:
  25562. parameters:
  25563. - description: 所属机构ID
  25564. in: query
  25565. name: userid
  25566. required: true
  25567. type: integer
  25568. - description: 套保品种id
  25569. in: query
  25570. name: middlegoodsid
  25571. type: integer
  25572. produces:
  25573. - application/json
  25574. responses:
  25575. "200":
  25576. description: OK
  25577. schema:
  25578. items:
  25579. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25580. type: array
  25581. "500":
  25582. description: Internal Server Error
  25583. schema:
  25584. $ref: '#/definitions/app.Response'
  25585. security:
  25586. - ApiKeyAuth: []
  25587. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25588. tags:
  25589. - 企业风险管理(app)
  25590. /Ermcp/QueryPendingAuditInfo:
  25591. get:
  25592. parameters:
  25593. - description: 用户ID
  25594. in: query
  25595. name: UserId
  25596. required: true
  25597. type: integer
  25598. produces:
  25599. - application/json
  25600. responses:
  25601. "200":
  25602. description: OK
  25603. schema:
  25604. items:
  25605. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25606. type: array
  25607. "500":
  25608. description: Internal Server Error
  25609. schema:
  25610. $ref: '#/definitions/app.Response'
  25611. security:
  25612. - ApiKeyAuth: []
  25613. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25614. tags:
  25615. - 企业风险管理(app)
  25616. /Ermcp/QueryRealtimeExposure:
  25617. get:
  25618. parameters:
  25619. - description: 所属机构ID
  25620. in: query
  25621. name: userid
  25622. required: true
  25623. type: integer
  25624. produces:
  25625. - application/json
  25626. responses:
  25627. "200":
  25628. description: OK
  25629. schema:
  25630. items:
  25631. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25632. type: array
  25633. "500":
  25634. description: Internal Server Error
  25635. schema:
  25636. $ref: '#/definitions/app.Response'
  25637. security:
  25638. - ApiKeyAuth: []
  25639. summary: 查询实时敞口
  25640. tags:
  25641. - 企业风险管理(app)
  25642. /Ermcp/QueryRealtimeExposurePosition:
  25643. get:
  25644. parameters:
  25645. - description: 用户id
  25646. in: query
  25647. name: userid
  25648. required: true
  25649. type: integer
  25650. - description: 套保商品ID
  25651. in: query
  25652. name: middleGoodsId
  25653. required: true
  25654. type: integer
  25655. produces:
  25656. - application/json
  25657. responses:
  25658. "200":
  25659. description: OK
  25660. schema:
  25661. items:
  25662. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25663. type: array
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25671. tags:
  25672. - 企业风险管理(app)
  25673. /Ermcp/QueryRoleMenu:
  25674. get:
  25675. parameters:
  25676. - description: 登录ID
  25677. in: query
  25678. name: loginid
  25679. required: true
  25680. type: integer
  25681. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25682. in: query
  25683. name: menutype
  25684. type: integer
  25685. produces:
  25686. - application/json
  25687. responses:
  25688. "200":
  25689. description: OK
  25690. schema:
  25691. items:
  25692. $ref: '#/definitions/models.RoleMenu'
  25693. type: array
  25694. "500":
  25695. description: Internal Server Error
  25696. schema:
  25697. $ref: '#/definitions/app.Response'
  25698. security:
  25699. - ApiKeyAuth: []
  25700. summary: 查询角色菜单和权限
  25701. tags:
  25702. - 企业风险管理(app)
  25703. /Ermcp/QueryTradeConfigTMP:
  25704. get:
  25705. parameters:
  25706. - description: 所属机构id
  25707. in: query
  25708. name: areauserid
  25709. type: integer
  25710. produces:
  25711. - application/json
  25712. responses:
  25713. "200":
  25714. description: OK
  25715. schema:
  25716. items:
  25717. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25718. type: array
  25719. "500":
  25720. description: Internal Server Error
  25721. schema:
  25722. $ref: '#/definitions/app.Response'
  25723. security:
  25724. - ApiKeyAuth: []
  25725. summary: 查询交易模板配置
  25726. tags:
  25727. - 企业风险管理(app)
  25728. /Ermcp/QueryUserInfo:
  25729. get:
  25730. parameters:
  25731. - description: 所属机构用户ID
  25732. in: query
  25733. name: MemberUserID
  25734. required: true
  25735. type: integer
  25736. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25737. in: query
  25738. name: queryType
  25739. required: true
  25740. type: integer
  25741. produces:
  25742. - application/json
  25743. responses:
  25744. "200":
  25745. description: OK
  25746. schema:
  25747. items:
  25748. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25749. type: array
  25750. "500":
  25751. description: Internal Server Error
  25752. schema:
  25753. $ref: '#/definitions/app.Response'
  25754. security:
  25755. - ApiKeyAuth: []
  25756. summary: 查询客户资料
  25757. tags:
  25758. - 企业风险管理(app)
  25759. /Ermcp/QueryWarehouseInfo:
  25760. get:
  25761. parameters:
  25762. - description: 用户ID
  25763. in: query
  25764. name: userid
  25765. required: true
  25766. type: integer
  25767. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25768. in: query
  25769. name: status
  25770. type: string
  25771. produces:
  25772. - application/json
  25773. responses:
  25774. "200":
  25775. description: OK
  25776. schema:
  25777. items:
  25778. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25779. type: array
  25780. "500":
  25781. description: Internal Server Error
  25782. schema:
  25783. $ref: '#/definitions/app.Response'
  25784. security:
  25785. - ApiKeyAuth: []
  25786. summary: 查询仓库信息
  25787. tags:
  25788. - 企业风险管理(app)
  25789. /Ermcp3/QryAreaExpourseContractDetail:
  25790. get:
  25791. parameters:
  25792. - description: 用户ID
  25793. in: query
  25794. name: userid
  25795. required: true
  25796. type: integer
  25797. - description: 套保商品id
  25798. in: query
  25799. name: middlegoodsid
  25800. required: true
  25801. type: integer
  25802. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25803. in: query
  25804. name: cycletype
  25805. required: true
  25806. type: integer
  25807. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25808. 全(0)【原值】
  25809. in: query
  25810. name: cycletime
  25811. required: true
  25812. type: string
  25813. produces:
  25814. - application/json
  25815. responses:
  25816. "200":
  25817. description: OK
  25818. schema:
  25819. items:
  25820. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25821. type: array
  25822. "500":
  25823. description: Internal Server Error
  25824. schema:
  25825. $ref: '#/definitions/app.Response'
  25826. security:
  25827. - ApiKeyAuth: []
  25828. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25829. tags:
  25830. - 企业风险管理v3(app)
  25831. /Ermcp3/QryAreaExpourseFutuDetail:
  25832. get:
  25833. parameters:
  25834. - description: 用户ID
  25835. in: query
  25836. name: userid
  25837. required: true
  25838. type: integer
  25839. - description: 套保商品id
  25840. in: query
  25841. name: middlegoodsid
  25842. required: true
  25843. type: integer
  25844. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25845. in: query
  25846. name: cycletype
  25847. required: true
  25848. type: integer
  25849. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25850. 全(0)【原值】
  25851. in: query
  25852. name: cycletime
  25853. required: true
  25854. type: string
  25855. produces:
  25856. - application/json
  25857. responses:
  25858. "200":
  25859. description: OK
  25860. schema:
  25861. items:
  25862. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25863. type: array
  25864. "500":
  25865. description: Internal Server Error
  25866. schema:
  25867. $ref: '#/definitions/app.Response'
  25868. security:
  25869. - ApiKeyAuth: []
  25870. summary: 查询敞口期货明细(敞口报表/期货明细)
  25871. tags:
  25872. - 企业风险管理v3(app)
  25873. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25874. get:
  25875. parameters:
  25876. - description: 用户ID
  25877. in: query
  25878. name: userid
  25879. required: true
  25880. type: integer
  25881. - description: 套保商品id
  25882. in: query
  25883. name: middlegoodsid
  25884. required: true
  25885. type: integer
  25886. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25887. in: query
  25888. name: cycletype
  25889. required: true
  25890. type: integer
  25891. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25892. 全(0)【原值】
  25893. in: query
  25894. name: cycletime
  25895. required: true
  25896. type: string
  25897. produces:
  25898. - application/json
  25899. responses:
  25900. "200":
  25901. description: OK
  25902. schema:
  25903. items:
  25904. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  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/QryAreaExpourseParamChLogDetail:
  25916. get:
  25917. parameters:
  25918. - description: 用户ID
  25919. in: query
  25920. name: userid
  25921. required: true
  25922. type: integer
  25923. - description: 套保商品id
  25924. in: query
  25925. name: middlegoodsid
  25926. required: true
  25927. type: integer
  25928. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25929. in: query
  25930. name: cycletype
  25931. required: true
  25932. type: integer
  25933. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25934. 全(0)【原值】
  25935. in: query
  25936. name: cycletime
  25937. required: true
  25938. type: string
  25939. produces:
  25940. - application/json
  25941. responses:
  25942. "200":
  25943. description: OK
  25944. schema:
  25945. items:
  25946. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25947. type: array
  25948. "500":
  25949. description: Internal Server Error
  25950. schema:
  25951. $ref: '#/definitions/app.Response'
  25952. security:
  25953. - ApiKeyAuth: []
  25954. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25955. tags:
  25956. - 企业风险管理v3(app)
  25957. /Ermcp3/QryAreaExpourseReport:
  25958. get:
  25959. parameters:
  25960. - description: 用户ID
  25961. in: query
  25962. name: userid
  25963. required: true
  25964. type: integer
  25965. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25966. in: query
  25967. name: querytype
  25968. required: true
  25969. type: integer
  25970. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25971. in: query
  25972. name: cycletype
  25973. required: true
  25974. type: integer
  25975. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25976. 全(0)【原值】
  25977. in: query
  25978. name: cycletime
  25979. required: true
  25980. type: string
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. items:
  25988. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  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/QryAreaSpotplReport:
  26000. get:
  26001. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26002. parameters:
  26003. - description: 用户ID
  26004. in: query
  26005. name: userid
  26006. required: true
  26007. type: integer
  26008. - description: 查询类型 1-报表 2-报表明细
  26009. in: query
  26010. name: querytype
  26011. required: true
  26012. type: integer
  26013. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26014. in: query
  26015. name: cycletype
  26016. required: true
  26017. type: integer
  26018. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26019. 全(0)【原值】
  26020. in: query
  26021. name: cycletime
  26022. required: true
  26023. type: string
  26024. - description: 现货品种id(明细必填)
  26025. in: query
  26026. name: deliverygoodsid
  26027. type: integer
  26028. - description: 币种id(明细必填)
  26029. in: query
  26030. name: currencyid
  26031. type: integer
  26032. - description: 日/周/月报表汇总维度 1:品种+品类
  26033. in: query
  26034. name: sumflag
  26035. type: integer
  26036. produces:
  26037. - application/json
  26038. responses:
  26039. "200":
  26040. description: OK
  26041. schema:
  26042. items:
  26043. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26044. type: array
  26045. "500":
  26046. description: Internal Server Error
  26047. schema:
  26048. $ref: '#/definitions/app.Response'
  26049. security:
  26050. - ApiKeyAuth: []
  26051. summary: 查询现货报表
  26052. tags:
  26053. - 企业风险管理v3(app)
  26054. /Ermcp3/QryAreaStockReport:
  26055. get:
  26056. parameters:
  26057. - description: 用户ID
  26058. in: query
  26059. name: userid
  26060. required: true
  26061. type: integer
  26062. - description: 查询类型 1-报表 2-报表明细
  26063. in: query
  26064. name: querytype
  26065. required: true
  26066. type: integer
  26067. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26068. in: query
  26069. name: cycletype
  26070. required: true
  26071. type: integer
  26072. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26073. 全(0)【原值】
  26074. in: query
  26075. name: cycletime
  26076. required: true
  26077. type: string
  26078. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26079. in: query
  26080. name: sumfields
  26081. type: string
  26082. - description: 品种ID
  26083. in: query
  26084. name: deliverygoodsid
  26085. type: integer
  26086. - description: 品类ID
  26087. in: query
  26088. name: wrstandardid
  26089. type: integer
  26090. - description: 品牌ID
  26091. in: query
  26092. name: spotgoodsbrandid
  26093. type: integer
  26094. - description: 仓库ID
  26095. in: query
  26096. name: warehouseinfoid
  26097. type: integer
  26098. produces:
  26099. - application/json
  26100. responses:
  26101. "200":
  26102. description: OK
  26103. schema:
  26104. items:
  26105. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26106. type: array
  26107. "500":
  26108. description: Internal Server Error
  26109. schema:
  26110. $ref: '#/definitions/app.Response'
  26111. security:
  26112. - ApiKeyAuth: []
  26113. summary: 查询库存报表
  26114. tags:
  26115. - 企业风险管理v3(app)
  26116. /Ermcp3/QryAreaSumPL:
  26117. get:
  26118. parameters:
  26119. - description: 用户ID
  26120. in: query
  26121. name: userid
  26122. required: true
  26123. type: integer
  26124. - description: 查询类型 1-报表 2-报表明细
  26125. in: query
  26126. name: querytype
  26127. required: true
  26128. type: integer
  26129. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26130. in: query
  26131. name: cycletype
  26132. required: true
  26133. type: integer
  26134. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26135. 全(0)【原值】
  26136. in: query
  26137. name: cycletime
  26138. required: true
  26139. type: string
  26140. - description: 币种id(明细必填)
  26141. in: query
  26142. name: currencyid
  26143. type: integer
  26144. - description: 套保品种ID, 查询类型为2时起效
  26145. in: query
  26146. name: middlegoodsid
  26147. type: integer
  26148. produces:
  26149. - application/json
  26150. responses:
  26151. "200":
  26152. description: OK
  26153. schema:
  26154. items:
  26155. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26156. type: array
  26157. "500":
  26158. description: Internal Server Error
  26159. schema:
  26160. $ref: '#/definitions/app.Response'
  26161. security:
  26162. - ApiKeyAuth: []
  26163. summary: 查询汇总损益表
  26164. tags:
  26165. - 企业风险管理v3(app)
  26166. /Ermcp3/QryFinanceReport:
  26167. get:
  26168. parameters:
  26169. - description: 用户ID
  26170. in: query
  26171. name: userid
  26172. required: true
  26173. type: integer
  26174. - description: 查询类型 1-报表 2-报表明细
  26175. in: query
  26176. name: querytype
  26177. required: true
  26178. type: integer
  26179. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26180. in: query
  26181. name: cycletype
  26182. required: true
  26183. type: integer
  26184. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26185. 全(0)【原值】
  26186. in: query
  26187. name: cycletime
  26188. required: true
  26189. type: string
  26190. - description: 币种id(报表明细必填)
  26191. in: query
  26192. name: currencyid
  26193. type: integer
  26194. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26195. in: query
  26196. name: sumfields
  26197. type: string
  26198. produces:
  26199. - application/json
  26200. responses:
  26201. "200":
  26202. description: OK
  26203. schema:
  26204. items:
  26205. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26206. type: array
  26207. "500":
  26208. description: Internal Server Error
  26209. schema:
  26210. $ref: '#/definitions/app.Response'
  26211. security:
  26212. - ApiKeyAuth: []
  26213. summary: 查询财务报表
  26214. tags:
  26215. - 企业风险管理v3(app)
  26216. /Ermcp3/QrySCMiddleGoodsReport:
  26217. get:
  26218. parameters:
  26219. - description: 用户ID
  26220. in: query
  26221. name: userid
  26222. required: true
  26223. type: integer
  26224. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26225. in: query
  26226. name: cycletype
  26227. required: true
  26228. type: integer
  26229. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26230. 全(0)【原值】
  26231. in: query
  26232. name: cycletime
  26233. required: true
  26234. type: string
  26235. - description: 合同id
  26236. in: query
  26237. name: spotcontractid
  26238. type: integer
  26239. - description: 套保品种id
  26240. in: query
  26241. name: middlegoodsid
  26242. type: integer
  26243. - description: 现货品种id
  26244. in: query
  26245. name: deliverygoodsid
  26246. type: integer
  26247. - description: 现货商品id
  26248. in: query
  26249. name: wrstandardid
  26250. type: integer
  26251. - description: 合同编号(模糊匹配)
  26252. in: query
  26253. name: contractno
  26254. type: string
  26255. produces:
  26256. - application/json
  26257. responses:
  26258. "200":
  26259. description: OK
  26260. schema:
  26261. items:
  26262. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26263. type: array
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 查询定价报表
  26271. tags:
  26272. - 企业风险管理v3(app)
  26273. /Ermcp3/QryTaFutureDataReport:
  26274. get:
  26275. parameters:
  26276. - description: 用户ID
  26277. in: query
  26278. name: userid
  26279. required: true
  26280. type: integer
  26281. - description: 查询类型 1-报表 2-报表明细
  26282. in: query
  26283. name: querytype
  26284. required: true
  26285. type: integer
  26286. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26287. in: query
  26288. name: cycletype
  26289. required: true
  26290. type: integer
  26291. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26292. 全(0)【原值】
  26293. in: query
  26294. name: cycletime
  26295. required: true
  26296. type: string
  26297. - description: 币种id(查明细必填)
  26298. in: query
  26299. name: currencyid
  26300. type: integer
  26301. - description: 品种id(查明细必填)
  26302. in: query
  26303. name: goodsgroupid
  26304. type: integer
  26305. - description: 商品id(查明细必填)
  26306. in: query
  26307. name: goodsid
  26308. type: integer
  26309. - description: 买卖方向(查明细必填)
  26310. in: query
  26311. name: buyorsell
  26312. type: integer
  26313. produces:
  26314. - application/json
  26315. responses:
  26316. "200":
  26317. description: OK
  26318. schema:
  26319. items:
  26320. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26321. type: array
  26322. "500":
  26323. description: Internal Server Error
  26324. schema:
  26325. $ref: '#/definitions/app.Response'
  26326. security:
  26327. - ApiKeyAuth: []
  26328. summary: 查询期货报表
  26329. tags:
  26330. - 企业风险管理v3(app)
  26331. /Ermcp3/QueryAreaStock:
  26332. get:
  26333. parameters:
  26334. - description: 用户ID
  26335. in: query
  26336. name: userid
  26337. required: true
  26338. type: integer
  26339. produces:
  26340. - application/json
  26341. responses:
  26342. "200":
  26343. description: OK
  26344. schema:
  26345. items:
  26346. $ref: '#/definitions/models.Ermcp3AreaStock'
  26347. type: array
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. security:
  26353. - ApiKeyAuth: []
  26354. summary: 查询机构库存(库存管理/当前库存)
  26355. tags:
  26356. - 企业风险管理v3(app)
  26357. /Ermcp3/QueryAreaStockApply:
  26358. get:
  26359. parameters:
  26360. - description: 用户ID
  26361. in: query
  26362. name: userid
  26363. required: true
  26364. type: integer
  26365. - description: 用户类型 2-机构 7-企业成员
  26366. in: query
  26367. name: usertype
  26368. type: integer
  26369. - description: 现货商品ID
  26370. in: query
  26371. name: deliverygoodsid
  26372. type: integer
  26373. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26374. in: query
  26375. name: inouttype
  26376. type: string
  26377. - description: 合同ID
  26378. in: query
  26379. name: spotcontractid
  26380. type: integer
  26381. - description: 品类ID
  26382. in: query
  26383. name: wrstandardid
  26384. type: integer
  26385. - description: 品牌ID
  26386. in: query
  26387. name: spotgoodsbrandid
  26388. type: integer
  26389. - description: 仓库ID
  26390. in: query
  26391. name: warehouseinfoid
  26392. type: integer
  26393. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26394. in: query
  26395. name: applystatus
  26396. type: string
  26397. produces:
  26398. - application/json
  26399. responses:
  26400. "200":
  26401. description: OK
  26402. schema:
  26403. items:
  26404. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26405. type: array
  26406. "500":
  26407. description: Internal Server Error
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. security:
  26411. - ApiKeyAuth: []
  26412. summary: 查询库存申请(出入库记录|库存审核)
  26413. tags:
  26414. - 企业风险管理v3(app)
  26415. /Ermcp3/QueryAreaStockApplySum:
  26416. get:
  26417. parameters:
  26418. - description: 合同ID
  26419. in: query
  26420. name: spotcontractid
  26421. required: true
  26422. type: integer
  26423. produces:
  26424. - application/json
  26425. responses:
  26426. "200":
  26427. description: OK
  26428. schema:
  26429. items:
  26430. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26431. type: array
  26432. "500":
  26433. description: Internal Server Error
  26434. schema:
  26435. $ref: '#/definitions/app.Response'
  26436. security:
  26437. - ApiKeyAuth: []
  26438. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26439. tags:
  26440. - 企业风险管理v3(app)
  26441. /Ermcp3/QueryDGFactoryItem:
  26442. get:
  26443. parameters:
  26444. - description: 用户id
  26445. in: query
  26446. name: userid
  26447. type: integer
  26448. - description: 用户类型 2-机构 7-企业成员
  26449. in: query
  26450. name: usertype
  26451. type: integer
  26452. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26453. in: query
  26454. name: dgfactoryitemid
  26455. type: integer
  26456. - description: 现货品种ID
  26457. in: query
  26458. name: deliverygoodsid
  26459. type: integer
  26460. - description: 要素项类型
  26461. in: query
  26462. name: dgfactoryitemtypeid
  26463. type: integer
  26464. - description: 顺序
  26465. in: query
  26466. name: orderindex
  26467. type: integer
  26468. produces:
  26469. - application/json
  26470. responses:
  26471. "200":
  26472. description: OK
  26473. schema:
  26474. items:
  26475. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26476. type: array
  26477. "500":
  26478. description: Internal Server Error
  26479. schema:
  26480. $ref: '#/definitions/app.Response'
  26481. security:
  26482. - ApiKeyAuth: []
  26483. summary: 查询品种要素定义项
  26484. tags:
  26485. - 企业风险管理v3(app)
  26486. /Ermcp3/QueryDeliveryGoods:
  26487. get:
  26488. parameters:
  26489. - description: 用户id
  26490. in: query
  26491. name: userid
  26492. required: true
  26493. type: integer
  26494. - description: 用户类型 2-机构 7-企业成员
  26495. in: query
  26496. name: usertype
  26497. type: integer
  26498. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26499. in: query
  26500. name: excludecfg
  26501. type: integer
  26502. produces:
  26503. - application/json
  26504. responses:
  26505. "200":
  26506. description: OK
  26507. schema:
  26508. items:
  26509. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26510. type: array
  26511. "500":
  26512. description: Internal Server Error
  26513. schema:
  26514. $ref: '#/definitions/app.Response'
  26515. security:
  26516. - ApiKeyAuth: []
  26517. summary: 查询现货商品
  26518. tags:
  26519. - 企业风险管理v3(app)
  26520. /Ermcp3/QueryDeliveryGoodsDetail:
  26521. get:
  26522. parameters:
  26523. - description: 用户id
  26524. in: query
  26525. name: userid
  26526. required: true
  26527. type: integer
  26528. - description: 用户类型 2-机构 7-企业成员
  26529. in: query
  26530. name: usertype
  26531. type: integer
  26532. - description: 现货商品id
  26533. in: query
  26534. name: deliverygoodsid
  26535. type: integer
  26536. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26537. in: query
  26538. name: filtersubempty
  26539. type: integer
  26540. produces:
  26541. - application/json
  26542. responses:
  26543. "200":
  26544. description: OK
  26545. schema:
  26546. items:
  26547. $ref: '#/definitions/models.XHDeliveryGoods'
  26548. type: array
  26549. "500":
  26550. description: Internal Server Error
  26551. schema:
  26552. $ref: '#/definitions/app.Response'
  26553. security:
  26554. - ApiKeyAuth: []
  26555. summary: 查询现货商品详情
  26556. tags:
  26557. - 企业风险管理v3(app)
  26558. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26559. get:
  26560. parameters:
  26561. - description: 合同id
  26562. in: query
  26563. name: spotcontractid
  26564. required: true
  26565. type: string
  26566. produces:
  26567. - application/json
  26568. responses:
  26569. "200":
  26570. description: OK
  26571. schema:
  26572. items:
  26573. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26574. type: array
  26575. "500":
  26576. description: Internal Server Error
  26577. schema:
  26578. $ref: '#/definitions/app.Response'
  26579. security:
  26580. - ApiKeyAuth: []
  26581. summary: 查询现货合同期现配置信息
  26582. tags:
  26583. - 企业风险管理v3(app)
  26584. /Ermcp3/QueryExposureDetail:
  26585. get:
  26586. parameters:
  26587. - description: 用户id
  26588. in: query
  26589. name: userid
  26590. required: true
  26591. type: integer
  26592. - description: 用户类型 2-机构 7-企业成员
  26593. in: query
  26594. name: usertype
  26595. type: integer
  26596. - description: 套保商品
  26597. in: query
  26598. name: middlegoodsid
  26599. required: true
  26600. type: integer
  26601. produces:
  26602. - application/json
  26603. responses:
  26604. "200":
  26605. description: OK
  26606. schema:
  26607. items:
  26608. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26609. type: array
  26610. "500":
  26611. description: Internal Server Error
  26612. schema:
  26613. $ref: '#/definitions/app.Response'
  26614. security:
  26615. - ApiKeyAuth: []
  26616. summary: 查询敞口现货明细
  26617. tags:
  26618. - 企业风险管理v3(app)
  26619. /Ermcp3/QueryExposureSpot:
  26620. get:
  26621. parameters:
  26622. - description: 用户id
  26623. in: query
  26624. name: userid
  26625. required: true
  26626. type: integer
  26627. - description: 用户类型 2-机构 7-企业成员
  26628. in: query
  26629. name: usertype
  26630. type: integer
  26631. produces:
  26632. - application/json
  26633. responses:
  26634. "200":
  26635. description: OK
  26636. schema:
  26637. items:
  26638. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26639. type: array
  26640. "500":
  26641. description: Internal Server Error
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. security:
  26645. - ApiKeyAuth: []
  26646. summary: 查询敞口现货头寸(敞口/现货头寸)
  26647. tags:
  26648. - 企业风险管理v3(app)
  26649. /Ermcp3/QueryExposureSpotDetail:
  26650. get:
  26651. parameters:
  26652. - description: 用户id
  26653. in: query
  26654. name: userid
  26655. required: true
  26656. type: integer
  26657. - description: 用户类型 2-机构 7-企业成员
  26658. in: query
  26659. name: usertype
  26660. type: integer
  26661. - description: 现货商品ID
  26662. in: query
  26663. name: wrstandardid
  26664. required: true
  26665. type: integer
  26666. produces:
  26667. - application/json
  26668. responses:
  26669. "200":
  26670. description: OK
  26671. schema:
  26672. items:
  26673. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26674. type: array
  26675. "500":
  26676. description: Internal Server Error
  26677. schema:
  26678. $ref: '#/definitions/app.Response'
  26679. security:
  26680. - ApiKeyAuth: []
  26681. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26682. tags:
  26683. - 企业风险管理v3(app)
  26684. /Ermcp3/QueryGoodsGroup:
  26685. get:
  26686. parameters:
  26687. - description: 用户id
  26688. in: query
  26689. name: userid
  26690. required: true
  26691. type: integer
  26692. - description: 用户类型 2-机构 7-企业成员
  26693. in: query
  26694. name: usertype
  26695. type: integer
  26696. - description: 排除套保品中已关联的商品组 1-排除
  26697. in: query
  26698. name: excludecfg
  26699. type: integer
  26700. produces:
  26701. - application/json
  26702. responses:
  26703. "200":
  26704. description: OK
  26705. schema:
  26706. items:
  26707. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26708. type: array
  26709. "500":
  26710. description: Internal Server Error
  26711. schema:
  26712. $ref: '#/definitions/app.Response'
  26713. security:
  26714. - ApiKeyAuth: []
  26715. summary: 查询期货商品组
  26716. tags:
  26717. - 企业风险管理v3(app)
  26718. /Ermcp3/QueryGoodsWrstandard:
  26719. get:
  26720. parameters:
  26721. - description: 用户id
  26722. in: query
  26723. name: userid
  26724. required: true
  26725. type: integer
  26726. - description: 用户类型 2-机构 7-企业成员
  26727. in: query
  26728. name: usertype
  26729. type: integer
  26730. - description: 现货商品id
  26731. in: query
  26732. name: deliverygoodsid
  26733. type: integer
  26734. produces:
  26735. - application/json
  26736. responses:
  26737. "200":
  26738. description: OK
  26739. schema:
  26740. items:
  26741. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26742. type: array
  26743. "500":
  26744. description: Internal Server Error
  26745. schema:
  26746. $ref: '#/definitions/app.Response'
  26747. security:
  26748. - ApiKeyAuth: []
  26749. summary: 查询商品品类
  26750. tags:
  26751. - 企业风险管理v3(app)
  26752. /Ermcp3/QueryGoodsbrand:
  26753. get:
  26754. parameters:
  26755. - description: 用户id
  26756. in: query
  26757. name: userid
  26758. required: true
  26759. type: integer
  26760. - description: 用户类型 2-机构 7-企业成员
  26761. in: query
  26762. name: usertype
  26763. type: integer
  26764. produces:
  26765. - application/json
  26766. responses:
  26767. "200":
  26768. description: OK
  26769. schema:
  26770. items:
  26771. $ref: '#/definitions/models.Ermcp3Brand'
  26772. type: array
  26773. "500":
  26774. description: Internal Server Error
  26775. schema:
  26776. $ref: '#/definitions/app.Response'
  26777. security:
  26778. - ApiKeyAuth: []
  26779. summary: 查询商品品牌
  26780. tags:
  26781. - 企业风险管理v3(app)
  26782. /Ermcp3/QueryHPMiddleGoods:
  26783. get:
  26784. parameters:
  26785. - description: 用户ID(填登录用户的userid)
  26786. in: query
  26787. name: userid
  26788. required: true
  26789. type: integer
  26790. - description: 买卖方向 0-买 1-卖
  26791. in: query
  26792. name: buyorsell
  26793. required: true
  26794. type: integer
  26795. - description: 商品组id
  26796. in: query
  26797. name: goodsgroupid
  26798. required: true
  26799. type: integer
  26800. - description: 套保计划编号(模糊匹配)
  26801. in: query
  26802. name: hedgeplanno
  26803. type: string
  26804. - description: 现货商品名称(模糊匹配)
  26805. in: query
  26806. name: wrstandardname
  26807. type: string
  26808. produces:
  26809. - application/json
  26810. responses:
  26811. "200":
  26812. description: OK
  26813. schema:
  26814. items:
  26815. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26816. type: array
  26817. "500":
  26818. description: Internal Server Error
  26819. schema:
  26820. $ref: '#/definitions/app.Response'
  26821. security:
  26822. - ApiKeyAuth: []
  26823. summary: 查询可关联套保计划
  26824. tags:
  26825. - 企业风险管理v3(app)
  26826. /Ermcp3/QueryHedgePlan:
  26827. get:
  26828. parameters:
  26829. - description: 用户ID
  26830. in: query
  26831. name: userid
  26832. required: true
  26833. type: integer
  26834. - description: 用户类型 2-机构 7-企业成员
  26835. in: query
  26836. name: usertype
  26837. type: integer
  26838. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26839. in: query
  26840. name: hedgeplanstatus
  26841. required: true
  26842. type: string
  26843. produces:
  26844. - application/json
  26845. responses:
  26846. "200":
  26847. description: OK
  26848. schema:
  26849. items:
  26850. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26851. type: array
  26852. "500":
  26853. description: Internal Server Error
  26854. schema:
  26855. $ref: '#/definitions/app.Response'
  26856. security:
  26857. - ApiKeyAuth: []
  26858. summary: 查询套保计划
  26859. tags:
  26860. - 企业风险管理v3(app)
  26861. /Ermcp3/QueryInnerTradeLink:
  26862. get:
  26863. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26864. parameters:
  26865. - description: 外部成交单号
  26866. in: query
  26867. name: outtradeid
  26868. required: true
  26869. type: integer
  26870. produces:
  26871. - application/json
  26872. responses:
  26873. "200":
  26874. description: OK
  26875. schema:
  26876. items:
  26877. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26878. type: array
  26879. "500":
  26880. description: Internal Server Error
  26881. schema:
  26882. $ref: '#/definitions/app.Response'
  26883. security:
  26884. - ApiKeyAuth: []
  26885. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26886. tags:
  26887. - 企业风险管理v3(app)
  26888. /Ermcp3/QueryMiddleGoodsDetail:
  26889. get:
  26890. parameters:
  26891. - description: 用户id
  26892. in: query
  26893. name: userid
  26894. required: true
  26895. type: integer
  26896. - description: 用户类型 2-机构 7-企业成员
  26897. in: query
  26898. name: usertype
  26899. type: integer
  26900. - description: 套保品种id
  26901. in: query
  26902. name: middlegoodsid
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. items:
  26911. $ref: '#/definitions/models.TBMiddleGoods'
  26912. type: array
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询套保品种详情(套保品种/商品详情)
  26920. tags:
  26921. - 企业风险管理v3(app)
  26922. /Ermcp3/QueryOutTradeLink:
  26923. get:
  26924. description: 页面 app 现货->期现关联->外部成交单关联
  26925. parameters:
  26926. - description: 用户ID(填登录用户的userid)
  26927. in: query
  26928. name: userid
  26929. required: true
  26930. type: integer
  26931. - description: 外部订单号(模糊匹配)
  26932. in: query
  26933. name: outtradeid
  26934. type: string
  26935. - description: 合约名称/代码(模糊匹配)
  26936. in: query
  26937. name: goodsname
  26938. type: string
  26939. - description: 关联状态 0-未关联 1-已关联
  26940. in: query
  26941. name: hasinnerorder
  26942. type: integer
  26943. produces:
  26944. - application/json
  26945. responses:
  26946. "200":
  26947. description: OK
  26948. schema:
  26949. items:
  26950. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26951. type: array
  26952. "500":
  26953. description: Internal Server Error
  26954. schema:
  26955. $ref: '#/definitions/app.Response'
  26956. security:
  26957. - ApiKeyAuth: []
  26958. summary: 查询外部成交单关联
  26959. tags:
  26960. - 企业风险管理v3(app)
  26961. /Ermcp3/QueryPaAreaAuditCfg:
  26962. get:
  26963. parameters:
  26964. - description: 用户id
  26965. in: query
  26966. name: userid
  26967. required: true
  26968. type: integer
  26969. produces:
  26970. - application/json
  26971. responses:
  26972. "200":
  26973. description: OK
  26974. schema:
  26975. items:
  26976. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26977. type: array
  26978. "500":
  26979. description: Internal Server Error
  26980. schema:
  26981. $ref: '#/definitions/app.Response'
  26982. security:
  26983. - ApiKeyAuth: []
  26984. summary: 查询审核设置
  26985. tags:
  26986. - 企业风险管理v3(app)
  26987. /Ermcp3/QueryPaAreaSubject:
  26988. get:
  26989. parameters:
  26990. - description: 用户id
  26991. in: query
  26992. name: userid
  26993. required: true
  26994. type: integer
  26995. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26996. in: query
  26997. name: subjectid
  26998. type: integer
  26999. - description: 主体类型 - 1:交易主体 2:业务部门
  27000. in: query
  27001. name: subjecttype
  27002. type: integer
  27003. - description: '主体状态 - 1:正常 2: 停用'
  27004. in: query
  27005. name: subjectstatus
  27006. type: integer
  27007. produces:
  27008. - application/json
  27009. responses:
  27010. "200":
  27011. description: OK
  27012. schema:
  27013. items:
  27014. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27015. type: array
  27016. "500":
  27017. description: Internal Server Error
  27018. schema:
  27019. $ref: '#/definitions/app.Response'
  27020. security:
  27021. - ApiKeyAuth: []
  27022. summary: 查询交易主体
  27023. tags:
  27024. - 企业风险管理v3(app)
  27025. /Ermcp3/QueryPaTradeLink:
  27026. get:
  27027. description: 页面 app 现货->期现关联->期现单据关联
  27028. parameters:
  27029. - description: 用户ID
  27030. in: query
  27031. name: userid
  27032. required: true
  27033. type: integer
  27034. produces:
  27035. - application/json
  27036. responses:
  27037. "200":
  27038. description: OK
  27039. schema:
  27040. items:
  27041. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27042. type: array
  27043. "500":
  27044. description: Internal Server Error
  27045. schema:
  27046. $ref: '#/definitions/app.Response'
  27047. security:
  27048. - ApiKeyAuth: []
  27049. summary: 查询期现单据关联
  27050. tags:
  27051. - 企业风险管理v3(app)
  27052. /Ermcp3/QueryPaTradeLinkDetail:
  27053. get:
  27054. description: 页面 app 现货->期现关联->关联记录
  27055. parameters:
  27056. - description: 用户ID(填登录用户的userid)
  27057. in: query
  27058. name: userid
  27059. required: true
  27060. type: integer
  27061. - description: 关联状态 1:成功 2:失败 3:解绑
  27062. in: query
  27063. name: linkstatus
  27064. type: integer
  27065. - description: 期货订单号(模糊匹配)
  27066. in: query
  27067. name: tradeid
  27068. type: string
  27069. - description: 现货编号(模糊匹配)
  27070. in: query
  27071. name: contractno
  27072. type: string
  27073. - description: 期货账户(模糊匹配)
  27074. in: query
  27075. name: taname
  27076. type: string
  27077. produces:
  27078. - application/json
  27079. responses:
  27080. "200":
  27081. description: OK
  27082. schema:
  27083. items:
  27084. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27085. type: array
  27086. "500":
  27087. description: Internal Server Error
  27088. schema:
  27089. $ref: '#/definitions/app.Response'
  27090. security:
  27091. - ApiKeyAuth: []
  27092. summary: 查询期现关联记录
  27093. tags:
  27094. - 企业风险管理v3(app)
  27095. /Ermcp3/QueryParamChangeApp:
  27096. get:
  27097. description: |-
  27098. 原型页面:
  27099. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27100. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27101. parameters:
  27102. - description: 用户ID
  27103. in: query
  27104. name: userid
  27105. required: true
  27106. type: integer
  27107. - description: 现货品种id
  27108. in: query
  27109. name: deliverygoodsid
  27110. type: integer
  27111. - description: 现货商品id
  27112. in: query
  27113. name: wrstandardid
  27114. type: integer
  27115. - description: 套保商品id
  27116. in: query
  27117. name: middlegoodsid
  27118. type: integer
  27119. - description: 操作类型 1:新增 2:修改
  27120. in: query
  27121. name: operatetype
  27122. type: integer
  27123. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27124. in: query
  27125. name: paramchangetype
  27126. type: integer
  27127. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27128. in: query
  27129. name: ftstatus
  27130. type: string
  27131. produces:
  27132. - application/json
  27133. responses:
  27134. "200":
  27135. description: OK
  27136. schema:
  27137. items:
  27138. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27139. type: array
  27140. "500":
  27141. description: Internal Server Error
  27142. schema:
  27143. $ref: '#/definitions/app.Response'
  27144. security:
  27145. - ApiKeyAuth: []
  27146. summary: 查询现货商品参数变更申请(流水)
  27147. tags:
  27148. - 企业风险管理v3(app)
  27149. /Ermcp3/QueryRootUserAccount:
  27150. get:
  27151. parameters:
  27152. - description: 用户ID
  27153. in: query
  27154. name: userid
  27155. required: true
  27156. type: integer
  27157. produces:
  27158. - application/json
  27159. responses:
  27160. "200":
  27161. description: OK
  27162. schema:
  27163. items:
  27164. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27165. type: array
  27166. "500":
  27167. description: Internal Server Error
  27168. schema:
  27169. $ref: '#/definitions/app.Response'
  27170. security:
  27171. - ApiKeyAuth: []
  27172. summary: 查询顶级用户信息
  27173. tags:
  27174. - 企业风险管理v3(app)
  27175. /Ermcp3/QuerySCMiddleGoods:
  27176. get:
  27177. description: |-
  27178. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27179. 现货编号 即 合同编号
  27180. parameters:
  27181. - description: 用户ID(填登录用户的userid)
  27182. in: query
  27183. name: userid
  27184. required: true
  27185. type: integer
  27186. - description: 买卖方向 0-买 1-卖
  27187. in: query
  27188. name: buyorsell
  27189. required: true
  27190. type: integer
  27191. - description: 商品组id
  27192. in: query
  27193. name: goodsgroupid
  27194. required: true
  27195. type: integer
  27196. - description: 业务类型 1:套保 2:套利
  27197. in: query
  27198. name: biztype
  27199. type: integer
  27200. - description: 现货编号(模糊匹配)
  27201. in: query
  27202. name: contractno
  27203. type: string
  27204. - description: 对手方(模糊匹配)
  27205. in: query
  27206. name: customername
  27207. type: string
  27208. - description: 现货商品名称(模糊匹配)
  27209. in: query
  27210. name: wrstandardname
  27211. type: string
  27212. produces:
  27213. - application/json
  27214. responses:
  27215. "200":
  27216. description: OK
  27217. schema:
  27218. items:
  27219. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27220. type: array
  27221. "500":
  27222. description: Internal Server Error
  27223. schema:
  27224. $ref: '#/definitions/app.Response'
  27225. security:
  27226. - ApiKeyAuth: []
  27227. summary: 查询现货订单
  27228. tags:
  27229. - 企业风险管理v3(app)
  27230. /Ermcp3/QuerySpotContract:
  27231. get:
  27232. parameters:
  27233. - description: 用户id(当指定contractid, userid可不填)
  27234. in: query
  27235. name: userid
  27236. required: true
  27237. type: integer
  27238. - description: 用户类型 2-机构 7-企业成员
  27239. in: query
  27240. name: usertype
  27241. type: integer
  27242. - description: 合同类型 1-采购, -1-销售
  27243. in: query
  27244. name: contracttype
  27245. type: integer
  27246. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27247. in: query
  27248. name: querytype
  27249. type: string
  27250. - description: 合同ID(SpotContractId)
  27251. in: query
  27252. name: contractid
  27253. type: string
  27254. - description: 合同编号(模糊匹配)
  27255. in: query
  27256. name: contractno
  27257. type: string
  27258. - description: 商品名称(模糊匹配)
  27259. in: query
  27260. name: wrstandardname
  27261. type: string
  27262. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27263. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27264. in: query
  27265. name: status
  27266. type: string
  27267. - description: 是否只查今日的合同 1-查今日合同
  27268. in: query
  27269. name: istoday
  27270. type: integer
  27271. produces:
  27272. - application/json
  27273. responses:
  27274. "200":
  27275. description: OK
  27276. schema:
  27277. items:
  27278. $ref: '#/definitions/models.Ermcp3Contract'
  27279. type: array
  27280. "500":
  27281. description: Internal Server Error
  27282. schema:
  27283. $ref: '#/definitions/app.Response'
  27284. security:
  27285. - ApiKeyAuth: []
  27286. summary: 查询现货合同
  27287. tags:
  27288. - 企业风险管理v3(app)
  27289. /Ermcp3/QuerySpotContractBS:
  27290. get:
  27291. parameters:
  27292. - description: 用户id
  27293. in: query
  27294. name: userid
  27295. required: true
  27296. type: integer
  27297. - description: 用户类型 2-机构 7-企业成员
  27298. in: query
  27299. name: usertype
  27300. type: integer
  27301. - description: 合同类型 1-采购, -1-销售
  27302. in: query
  27303. name: contracttype
  27304. required: true
  27305. type: integer
  27306. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27307. in: query
  27308. name: querytype
  27309. type: integer
  27310. - description: 合同ID(SpotContractId)
  27311. in: query
  27312. name: contractid
  27313. type: string
  27314. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27315. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27316. in: query
  27317. name: status
  27318. type: string
  27319. - description: 是否只查今日的合同 1-查今日合同
  27320. in: query
  27321. name: istoday
  27322. type: integer
  27323. produces:
  27324. - application/json
  27325. responses:
  27326. "200":
  27327. description: OK
  27328. schema:
  27329. items:
  27330. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27331. type: array
  27332. "500":
  27333. description: Internal Server Error
  27334. schema:
  27335. $ref: '#/definitions/app.Response'
  27336. security:
  27337. - ApiKeyAuth: []
  27338. summary: 查询合同(采购/销售)
  27339. tags:
  27340. - 企业风险管理v3(app)
  27341. /Ermcp3/QuerySpotGoodsPrice:
  27342. get:
  27343. parameters:
  27344. - description: 用户ID
  27345. in: query
  27346. name: userid
  27347. required: true
  27348. type: integer
  27349. produces:
  27350. - application/json
  27351. responses:
  27352. "200":
  27353. description: OK
  27354. schema:
  27355. items:
  27356. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27357. type: array
  27358. "500":
  27359. description: Internal Server Error
  27360. schema:
  27361. $ref: '#/definitions/app.Response'
  27362. security:
  27363. - ApiKeyAuth: []
  27364. summary: 查询现货市价(现货市价)
  27365. tags:
  27366. - 企业风险管理v3(app)
  27367. /Ermcp3/QuerySpotGoodsPriceLog:
  27368. get:
  27369. parameters:
  27370. - description: 用户ID
  27371. in: query
  27372. name: userid
  27373. required: true
  27374. type: integer
  27375. - description: 现货商品ID
  27376. in: query
  27377. name: deliverygoodsid
  27378. required: true
  27379. type: integer
  27380. - description: 品牌ID
  27381. in: query
  27382. name: brandid
  27383. type: integer
  27384. - description: 品类ID
  27385. in: query
  27386. name: wrstandardid
  27387. type: integer
  27388. produces:
  27389. - application/json
  27390. responses:
  27391. "200":
  27392. description: OK
  27393. schema:
  27394. items:
  27395. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27396. type: array
  27397. "500":
  27398. description: Internal Server Error
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. security:
  27402. - ApiKeyAuth: []
  27403. summary: 查询现货市价详情(现货市价/详情)
  27404. tags:
  27405. - 企业风险管理v3(app)
  27406. /Ermcp3/QuerySubTaaccount:
  27407. get:
  27408. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27409. parameters:
  27410. - description: 母账号id
  27411. in: query
  27412. name: parentaccountid
  27413. type: integer
  27414. - description: 母账号代码
  27415. in: query
  27416. name: parentaccountcode
  27417. type: string
  27418. produces:
  27419. - application/json
  27420. responses:
  27421. "200":
  27422. description: OK
  27423. schema:
  27424. items:
  27425. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27426. type: array
  27427. "500":
  27428. description: Internal Server Error
  27429. schema:
  27430. $ref: '#/definitions/app.Response'
  27431. security:
  27432. - ApiKeyAuth: []
  27433. summary: 查询期货子账户
  27434. tags:
  27435. - 企业风险管理v3(app)
  27436. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27437. get:
  27438. parameters:
  27439. - description: 套期项目ID
  27440. in: query
  27441. name: hedgeditemid
  27442. required: true
  27443. type: integer
  27444. produces:
  27445. - application/json
  27446. responses:
  27447. "200":
  27448. description: OK
  27449. schema:
  27450. items:
  27451. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27452. type: array
  27453. "500":
  27454. description: Internal Server Error
  27455. schema:
  27456. $ref: '#/definitions/app.Response'
  27457. security:
  27458. - ApiKeyAuth: []
  27459. summary: 现货成交明细查询
  27460. tags:
  27461. - 企业风险管理v8
  27462. /Ermcp8/QueryERMCP2HedgedItemspot:
  27463. get:
  27464. parameters:
  27465. - description: 套期项目ID
  27466. in: query
  27467. name: hedgeditemid
  27468. required: true
  27469. type: integer
  27470. produces:
  27471. - application/json
  27472. responses:
  27473. "200":
  27474. description: OK
  27475. schema:
  27476. items:
  27477. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27478. type: array
  27479. "500":
  27480. description: Internal Server Error
  27481. schema:
  27482. $ref: '#/definitions/app.Response'
  27483. security:
  27484. - ApiKeyAuth: []
  27485. summary: 套期计划明细查询
  27486. tags:
  27487. - 企业风险管理v8
  27488. /Ermcp8/QueryERMCPJRLinkPos:
  27489. get:
  27490. parameters:
  27491. - description: 套期项目ID
  27492. in: query
  27493. name: hedgeditemid
  27494. required: true
  27495. type: integer
  27496. produces:
  27497. - application/json
  27498. responses:
  27499. "200":
  27500. description: OK
  27501. schema:
  27502. items:
  27503. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27504. type: array
  27505. "500":
  27506. description: Internal Server Error
  27507. schema:
  27508. $ref: '#/definitions/app.Response'
  27509. security:
  27510. - ApiKeyAuth: []
  27511. summary: 期货持仓明细查询
  27512. tags:
  27513. - 企业风险管理v8
  27514. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27515. get:
  27516. parameters:
  27517. - description: 套期项目ID
  27518. in: query
  27519. name: hedgeditemid
  27520. required: true
  27521. type: integer
  27522. produces:
  27523. - application/json
  27524. responses:
  27525. "200":
  27526. description: OK
  27527. schema:
  27528. items:
  27529. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27530. type: array
  27531. "500":
  27532. description: Internal Server Error
  27533. schema:
  27534. $ref: '#/definitions/app.Response'
  27535. security:
  27536. - ApiKeyAuth: []
  27537. summary: 期货成交单明细查询
  27538. tags:
  27539. - 企业风险管理v8
  27540. /Ermcp8/QueryErmcp2AreaExposure:
  27541. get:
  27542. parameters:
  27543. - description: 用户ID
  27544. in: query
  27545. name: userid
  27546. required: true
  27547. type: string
  27548. produces:
  27549. - application/json
  27550. responses:
  27551. "200":
  27552. description: OK
  27553. schema:
  27554. items:
  27555. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27556. type: array
  27557. "500":
  27558. description: Internal Server Error
  27559. schema:
  27560. $ref: '#/definitions/app.Response'
  27561. security:
  27562. - ApiKeyAuth: []
  27563. summary: 企业敞口查询
  27564. tags:
  27565. - 企业风险管理v8
  27566. /Ermcp8/QueryErmcp2HedgedItem:
  27567. get:
  27568. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27569. parameters:
  27570. - description: 用户ID
  27571. in: query
  27572. name: userid
  27573. required: true
  27574. type: string
  27575. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27576. in: query
  27577. name: hedgedtype
  27578. type: integer
  27579. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27580. in: query
  27581. name: hedgeditemstatus
  27582. type: integer
  27583. produces:
  27584. - application/json
  27585. responses:
  27586. "200":
  27587. description: OK
  27588. schema:
  27589. items:
  27590. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27591. type: array
  27592. "500":
  27593. description: Internal Server Error
  27594. schema:
  27595. $ref: '#/definitions/app.Response'
  27596. security:
  27597. - ApiKeyAuth: []
  27598. summary: 查询被套期项目信息
  27599. tags:
  27600. - 企业风险管理v8
  27601. /Ermcp8/QueryErmcp2HedgedItemLink:
  27602. get:
  27603. parameters:
  27604. - description: 现货合同ID
  27605. in: query
  27606. name: spotcontractid
  27607. required: true
  27608. type: integer
  27609. produces:
  27610. - application/json
  27611. responses:
  27612. "200":
  27613. description: OK
  27614. schema:
  27615. items:
  27616. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27617. type: array
  27618. "500":
  27619. description: Internal Server Error
  27620. schema:
  27621. $ref: '#/definitions/app.Response'
  27622. security:
  27623. - ApiKeyAuth: []
  27624. summary: 现货合同关联被套期项目查询
  27625. tags:
  27626. - 企业风险管理v8
  27627. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27628. get:
  27629. parameters:
  27630. - description: 用户ID
  27631. in: query
  27632. name: userid
  27633. required: true
  27634. type: integer
  27635. - description: 套保品种ID
  27636. in: query
  27637. name: middlegoodsid
  27638. required: true
  27639. type: integer
  27640. produces:
  27641. - application/json
  27642. responses:
  27643. "200":
  27644. description: OK
  27645. schema:
  27646. items:
  27647. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27648. type: array
  27649. "500":
  27650. description: Internal Server Error
  27651. schema:
  27652. $ref: '#/definitions/app.Response'
  27653. security:
  27654. - ApiKeyAuth: []
  27655. summary: 敞口明细 - 计划变动明细
  27656. tags:
  27657. - 企业风险管理v8
  27658. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27659. get:
  27660. parameters:
  27661. - description: 用户ID
  27662. in: query
  27663. name: userid
  27664. required: true
  27665. type: integer
  27666. - description: 套保品种ID
  27667. in: query
  27668. name: middlegoodsid
  27669. required: true
  27670. type: integer
  27671. produces:
  27672. - application/json
  27673. responses:
  27674. "200":
  27675. description: OK
  27676. schema:
  27677. items:
  27678. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27679. type: array
  27680. "500":
  27681. description: Internal Server Error
  27682. schema:
  27683. $ref: '#/definitions/app.Response'
  27684. security:
  27685. - ApiKeyAuth: []
  27686. summary: 敞口明细 - 现货变动明细查询
  27687. tags:
  27688. - 企业风险管理v8
  27689. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27690. get:
  27691. parameters:
  27692. - description: 用户ID
  27693. in: query
  27694. name: userid
  27695. required: true
  27696. type: integer
  27697. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27698. in: query
  27699. name: spottype
  27700. required: true
  27701. type: integer
  27702. - description: 现货商品ID
  27703. in: query
  27704. name: wrstandardid
  27705. type: integer
  27706. produces:
  27707. - application/json
  27708. responses:
  27709. "200":
  27710. description: OK
  27711. schema:
  27712. items:
  27713. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27714. type: array
  27715. "500":
  27716. description: Internal Server Error
  27717. schema:
  27718. $ref: '#/definitions/app.Response'
  27719. security:
  27720. - ApiKeyAuth: []
  27721. summary: 可关联项目查询
  27722. tags:
  27723. - 企业风险管理v8
  27724. /Ermcp8/QueryErmcp8HedgeditemReport:
  27725. get:
  27726. parameters:
  27727. - description: 用户ID
  27728. in: query
  27729. name: userid
  27730. required: true
  27731. type: integer
  27732. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27733. in: query
  27734. name: cycletype
  27735. type: integer
  27736. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27737. 全(0)【原值】
  27738. in: query
  27739. name: cycletime
  27740. required: true
  27741. type: string
  27742. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27743. in: query
  27744. name: hedgedtype
  27745. type: integer
  27746. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27747. in: query
  27748. name: hedgeditemstatus
  27749. type: integer
  27750. - description: 项目编号,模糊查询
  27751. in: query
  27752. name: hedgeditemnum
  27753. type: string
  27754. - description: 现货商品ID
  27755. in: query
  27756. name: wrstandardid
  27757. type: integer
  27758. produces:
  27759. - application/json
  27760. responses:
  27761. "200":
  27762. description: OK
  27763. schema:
  27764. items:
  27765. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27766. type: array
  27767. "500":
  27768. description: Internal Server Error
  27769. schema:
  27770. $ref: '#/definitions/app.Response'
  27771. security:
  27772. - ApiKeyAuth: []
  27773. summary: 套期项目报表查询
  27774. tags:
  27775. - 企业风险管理v8
  27776. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27777. get:
  27778. parameters:
  27779. - description: 用户ID
  27780. in: query
  27781. name: userid
  27782. required: true
  27783. type: string
  27784. produces:
  27785. - application/json
  27786. responses:
  27787. "200":
  27788. description: OK
  27789. schema:
  27790. items:
  27791. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27792. type: array
  27793. "500":
  27794. description: Internal Server Error
  27795. schema:
  27796. $ref: '#/definitions/app.Response'
  27797. security:
  27798. - ApiKeyAuth: []
  27799. summary: 查询执行中项目查询信息
  27800. tags:
  27801. - 企业风险管理v8
  27802. /Ermcp8/QueryInternalEnableTradeDetail:
  27803. get:
  27804. parameters:
  27805. - description: 企业ID
  27806. in: query
  27807. name: areauserid
  27808. required: true
  27809. type: integer
  27810. - description: 期货合约ID
  27811. in: query
  27812. name: goodsid
  27813. required: true
  27814. type: integer
  27815. - description: 交易用户ID
  27816. in: query
  27817. name: tradeuserid
  27818. required: true
  27819. type: integer
  27820. produces:
  27821. - application/json
  27822. responses:
  27823. "200":
  27824. description: OK
  27825. schema:
  27826. items:
  27827. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27828. type: array
  27829. "500":
  27830. description: Internal Server Error
  27831. schema:
  27832. $ref: '#/definitions/app.Response'
  27833. security:
  27834. - ApiKeyAuth: []
  27835. summary: 内部成交单可关联项目查询
  27836. tags:
  27837. - 企业风险管理v8
  27838. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27839. get:
  27840. parameters:
  27841. - description: 用户编号
  27842. in: query
  27843. name: userid
  27844. required: true
  27845. type: integer
  27846. - description: 起始日期(格式yyyymmdd)
  27847. in: query
  27848. name: begindate
  27849. type: string
  27850. - description: 终止日期(格式yyyymmdd)
  27851. in: query
  27852. name: enddate
  27853. type: string
  27854. - description: 合约代码
  27855. in: query
  27856. name: goodscode
  27857. type: string
  27858. - description: 合约名称
  27859. in: query
  27860. name: goodsname
  27861. type: string
  27862. - description: 成交单号
  27863. in: query
  27864. name: tradeid
  27865. type: integer
  27866. - description: 方向 - 0:买 1:卖
  27867. in: query
  27868. name: buyorsell
  27869. type: integer
  27870. - description: 套期主体
  27871. in: query
  27872. name: accountname
  27873. type: string
  27874. produces:
  27875. - application/json
  27876. responses:
  27877. "200":
  27878. description: OK
  27879. schema:
  27880. items:
  27881. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27882. type: array
  27883. "500":
  27884. description: Internal Server Error
  27885. schema:
  27886. $ref: '#/definitions/app.Response'
  27887. security:
  27888. - ApiKeyAuth: []
  27889. summary: 内部未关联成交单查询
  27890. tags:
  27891. - 企业风险管理v8
  27892. /Ermcp8/QueryMarketCalendar:
  27893. get:
  27894. parameters:
  27895. - description: 市场ID
  27896. in: query
  27897. name: marketid
  27898. type: integer
  27899. produces:
  27900. - application/json
  27901. responses:
  27902. "200":
  27903. description: OK
  27904. schema:
  27905. items:
  27906. $ref: '#/definitions/models.Marketcalendar'
  27907. type: array
  27908. "500":
  27909. description: Internal Server Error
  27910. schema:
  27911. $ref: '#/definitions/app.Response'
  27912. security:
  27913. - ApiKeyAuth: []
  27914. summary: 市场节假日查询
  27915. tags:
  27916. - 企业风险管理v8
  27917. /Ermcp8/QueryPatradeLinkDetail:
  27918. get:
  27919. parameters:
  27920. - description: 用户ID
  27921. in: query
  27922. name: userid
  27923. required: true
  27924. type: integer
  27925. - description: 套保品种ID
  27926. in: query
  27927. name: middlegoodsid
  27928. required: true
  27929. type: integer
  27930. produces:
  27931. - application/json
  27932. responses:
  27933. "200":
  27934. description: OK
  27935. schema:
  27936. items:
  27937. $ref: '#/definitions/models.Patradelinkdetail'
  27938. type: array
  27939. "500":
  27940. description: Internal Server Error
  27941. schema:
  27942. $ref: '#/definitions/app.Response'
  27943. security:
  27944. - ApiKeyAuth: []
  27945. summary: 敞口明细 - 期货变动明细
  27946. tags:
  27947. - 企业风险管理v8
  27948. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27949. get:
  27950. parameters:
  27951. - description: 企业ID
  27952. in: query
  27953. name: areauserid
  27954. required: true
  27955. type: integer
  27956. - description: 计划类型 - 1:采购 -1:销售
  27957. in: query
  27958. name: contracttype
  27959. type: integer
  27960. - description: 计划编号,模糊查询
  27961. in: query
  27962. name: hedgeplanno
  27963. type: string
  27964. - description: 现货商品,模糊查询
  27965. in: query
  27966. name: wrstandardname
  27967. type: string
  27968. produces:
  27969. - application/json
  27970. responses:
  27971. "200":
  27972. description: OK
  27973. schema:
  27974. items:
  27975. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27976. type: array
  27977. "500":
  27978. description: Internal Server Error
  27979. schema:
  27980. $ref: '#/definitions/app.Response'
  27981. security:
  27982. - ApiKeyAuth: []
  27983. summary: 未关联购销计划
  27984. tags:
  27985. - 企业风险管理v8
  27986. /Ermcp8/QueryUnLinkSpotContract:
  27987. get:
  27988. parameters:
  27989. - description: 用户ID
  27990. in: query
  27991. name: userid
  27992. required: true
  27993. type: integer
  27994. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27995. in: query
  27996. name: pricetype
  27997. type: integer
  27998. - description: 合同编号, 模拟查询
  27999. in: query
  28000. name: contractno
  28001. type: string
  28002. - description: 对手方, 模拟查询
  28003. in: query
  28004. name: customername
  28005. type: string
  28006. - description: 项合同类型 - 1:采购 -1:销售
  28007. in: query
  28008. name: contracttype
  28009. type: integer
  28010. produces:
  28011. - application/json
  28012. responses:
  28013. "200":
  28014. description: OK
  28015. schema:
  28016. items:
  28017. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28018. type: array
  28019. "500":
  28020. description: Internal Server Error
  28021. schema:
  28022. $ref: '#/definitions/app.Response'
  28023. security:
  28024. - ApiKeyAuth: []
  28025. summary: 未关联合同查询
  28026. tags:
  28027. - 企业风险管理v8
  28028. /Erms2/QueryArbitrageStrategy:
  28029. get:
  28030. parameters:
  28031. - description: 账户ID
  28032. in: query
  28033. name: userid
  28034. required: true
  28035. type: integer
  28036. - description: 商品组ID(品种ID)
  28037. in: query
  28038. name: goodsgroupid
  28039. type: string
  28040. produces:
  28041. - application/json
  28042. responses:
  28043. "200":
  28044. description: OK
  28045. schema:
  28046. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28047. "500":
  28048. description: Internal Server Error
  28049. schema:
  28050. $ref: '#/definitions/app.Response'
  28051. security:
  28052. - ApiKeyAuth: []
  28053. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28054. tags:
  28055. - 风险管理
  28056. /Erms2/QueryInnerTradeDetail:
  28057. get:
  28058. parameters:
  28059. - description: 资金账户
  28060. in: query
  28061. name: accountid
  28062. required: true
  28063. type: integer
  28064. produces:
  28065. - application/json
  28066. responses:
  28067. "200":
  28068. description: OK
  28069. schema:
  28070. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  28071. "500":
  28072. description: Internal Server Error
  28073. schema:
  28074. $ref: '#/definitions/app.Response'
  28075. security:
  28076. - ApiKeyAuth: []
  28077. summary: 查询内部成交单信息
  28078. tags:
  28079. - 风险管理
  28080. /Erms2/QuerySpotContract:
  28081. get:
  28082. parameters:
  28083. - description: 策略申请ID
  28084. in: query
  28085. name: asapplyid
  28086. required: true
  28087. type: integer
  28088. - description: 现货合同ID
  28089. in: query
  28090. name: spotcontractid
  28091. type: integer
  28092. produces:
  28093. - application/json
  28094. responses:
  28095. "200":
  28096. description: OK
  28097. schema:
  28098. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28099. "500":
  28100. description: Internal Server Error
  28101. schema:
  28102. $ref: '#/definitions/app.Response'
  28103. security:
  28104. - ApiKeyAuth: []
  28105. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28106. tags:
  28107. - 风险管理
  28108. /Erms3/AddErms2ASApply:
  28109. post:
  28110. parameters:
  28111. - description: 申请参数
  28112. in: body
  28113. name: jsonBody
  28114. required: true
  28115. schema:
  28116. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28117. produces:
  28118. - application/json
  28119. responses:
  28120. "200":
  28121. description: OK
  28122. schema:
  28123. $ref: '#/definitions/app.Response'
  28124. "500":
  28125. description: Internal Server Error
  28126. schema:
  28127. $ref: '#/definitions/app.Response'
  28128. security:
  28129. - ApiKeyAuth: []
  28130. summary: 新增期现套利业务申请
  28131. tags:
  28132. - 风险管理v3
  28133. /Erms3/AddErms2SpotTradeApply:
  28134. post:
  28135. parameters:
  28136. - description: 申请参数
  28137. in: body
  28138. name: jsonBody
  28139. required: true
  28140. schema:
  28141. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28142. produces:
  28143. - application/json
  28144. responses:
  28145. "200":
  28146. description: OK
  28147. schema:
  28148. $ref: '#/definitions/app.Response'
  28149. "500":
  28150. description: Internal Server Error
  28151. schema:
  28152. $ref: '#/definitions/app.Response'
  28153. security:
  28154. - ApiKeyAuth: []
  28155. summary: 新增现货贸易业务申请
  28156. tags:
  28157. - 风险管理v3
  28158. /Erms3/AddSpotContractApply:
  28159. post:
  28160. parameters:
  28161. - description: 申请参数
  28162. in: body
  28163. name: jsonBody
  28164. required: true
  28165. schema:
  28166. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28167. produces:
  28168. - application/json
  28169. responses:
  28170. "200":
  28171. description: OK
  28172. schema:
  28173. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28174. "500":
  28175. description: Internal Server Error
  28176. schema:
  28177. $ref: '#/definitions/app.Response'
  28178. security:
  28179. - ApiKeyAuth: []
  28180. summary: 新增现货合同申请
  28181. tags:
  28182. - 风险管理v3
  28183. /Erms3/AddUserInfoApply:
  28184. post:
  28185. parameters:
  28186. - description: 用户信息
  28187. in: body
  28188. name: jsonBody
  28189. required: true
  28190. schema:
  28191. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28192. produces:
  28193. - application/json
  28194. responses:
  28195. "200":
  28196. description: OK
  28197. schema:
  28198. $ref: '#/definitions/app.Response'
  28199. "500":
  28200. description: Internal Server Error
  28201. schema:
  28202. $ref: '#/definitions/app.Response'
  28203. security:
  28204. - ApiKeyAuth: []
  28205. summary: 新增客户申请
  28206. tags:
  28207. - 风险管理v3
  28208. /Erms3/DeleteUserInfoApply:
  28209. get:
  28210. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28211. parameters:
  28212. - description: 用户ID
  28213. in: query
  28214. name: userID
  28215. required: true
  28216. type: integer
  28217. produces:
  28218. - application/json
  28219. responses:
  28220. "200":
  28221. description: OK
  28222. schema:
  28223. $ref: '#/definitions/app.Response'
  28224. "500":
  28225. description: Internal Server Error
  28226. schema:
  28227. $ref: '#/definitions/app.Response'
  28228. security:
  28229. - ApiKeyAuth: []
  28230. summary: 删除客户申请
  28231. tags:
  28232. - 风险管理v3
  28233. /Erms3/ModifyUserInfoApply:
  28234. post:
  28235. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28236. int, "userstate": 2 }'
  28237. parameters:
  28238. - description: 用户信息
  28239. in: body
  28240. name: jsonBody
  28241. required: true
  28242. schema:
  28243. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28244. produces:
  28245. - application/json
  28246. responses:
  28247. "200":
  28248. description: OK
  28249. schema:
  28250. $ref: '#/definitions/app.Response'
  28251. "500":
  28252. description: Internal Server Error
  28253. schema:
  28254. $ref: '#/definitions/app.Response'
  28255. security:
  28256. - ApiKeyAuth: []
  28257. summary: 修改客户申请
  28258. tags:
  28259. - 风险管理v3
  28260. /Erms3/QueryBusinessInfo:
  28261. get:
  28262. parameters:
  28263. - description: 资金账号ID列表,用逗号分隔
  28264. in: query
  28265. name: accountids
  28266. required: true
  28267. type: string
  28268. - description: 状态,0为未结束 1为已结束
  28269. in: query
  28270. name: status
  28271. required: true
  28272. type: integer
  28273. produces:
  28274. - application/json
  28275. responses:
  28276. "200":
  28277. description: OK
  28278. schema:
  28279. items:
  28280. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28281. type: array
  28282. "500":
  28283. description: Internal Server Error
  28284. schema:
  28285. $ref: '#/definitions/app.Response'
  28286. security:
  28287. - ApiKeyAuth: []
  28288. summary: 查询业务表单数据
  28289. tags:
  28290. - 风险管理v3
  28291. /Erms3/QueryPendingAuditContract:
  28292. get:
  28293. parameters:
  28294. - description: 资金账号ID列表,逗号隔开
  28295. in: query
  28296. name: accountids
  28297. required: true
  28298. type: string
  28299. - description: 合同类型 1-采购 -1-销售
  28300. in: query
  28301. name: contracttype
  28302. required: true
  28303. type: integer
  28304. - description: 合同模式 1-普通 2-回购
  28305. in: query
  28306. name: contractmode
  28307. required: true
  28308. type: integer
  28309. produces:
  28310. - application/json
  28311. responses:
  28312. "200":
  28313. description: OK
  28314. schema:
  28315. items:
  28316. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28317. type: array
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. summary: 查询待审核合同
  28325. tags:
  28326. - 风险管理v3
  28327. /Erms3/QueryPendingBusiness:
  28328. get:
  28329. parameters:
  28330. - description: 资金账号ID列表,逗号隔开
  28331. in: query
  28332. name: accountids
  28333. required: true
  28334. type: string
  28335. produces:
  28336. - application/json
  28337. responses:
  28338. "200":
  28339. description: OK
  28340. schema:
  28341. items:
  28342. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28343. type: array
  28344. "500":
  28345. description: Internal Server Error
  28346. schema:
  28347. $ref: '#/definitions/app.Response'
  28348. security:
  28349. - ApiKeyAuth: []
  28350. summary: 查询待审核基差贸易业务
  28351. tags:
  28352. - 风险管理v3
  28353. /Erms3/QuerySpotContractAppleForm:
  28354. get:
  28355. parameters:
  28356. - description: 登录账号
  28357. in: query
  28358. name: loginID
  28359. required: true
  28360. type: integer
  28361. produces:
  28362. - application/json
  28363. responses:
  28364. "200":
  28365. description: OK
  28366. schema:
  28367. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28368. "500":
  28369. description: Internal Server Error
  28370. schema:
  28371. $ref: '#/definitions/app.Response'
  28372. security:
  28373. - ApiKeyAuth: []
  28374. summary: 查询合同申请表单数据
  28375. tags:
  28376. - 风险管理v3
  28377. /Erms3/QuerySpotContractDetail:
  28378. get:
  28379. parameters:
  28380. - description: 资金账号ID列表,用逗号分隔
  28381. in: query
  28382. name: accountids
  28383. required: true
  28384. type: string
  28385. - description: 合同类型,1为采购合同 -1为销售合同
  28386. in: query
  28387. name: contracttype
  28388. required: true
  28389. type: integer
  28390. - description: 合同模式,1为普通合同 2为回购销售合同
  28391. in: query
  28392. name: contractmode
  28393. required: true
  28394. type: integer
  28395. - description: 状态,0为履约中 1为已完成
  28396. in: query
  28397. name: status
  28398. required: true
  28399. type: integer
  28400. produces:
  28401. - application/json
  28402. responses:
  28403. "200":
  28404. description: OK
  28405. schema:
  28406. items:
  28407. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28408. type: array
  28409. "500":
  28410. description: Internal Server Error
  28411. schema:
  28412. $ref: '#/definitions/app.Response'
  28413. security:
  28414. - ApiKeyAuth: []
  28415. summary: 查询合同详细信息
  28416. tags:
  28417. - 风险管理v3
  28418. /Erms3/QueryUserInfoApplies:
  28419. get:
  28420. parameters:
  28421. - description: 页码
  28422. in: query
  28423. name: page
  28424. type: integer
  28425. - description: 每页条数
  28426. in: query
  28427. name: pagesize
  28428. type: integer
  28429. - description: 客户名称,支持模糊查询
  28430. in: query
  28431. name: userName
  28432. type: string
  28433. produces:
  28434. - application/json
  28435. responses:
  28436. "200":
  28437. description: OK
  28438. schema:
  28439. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28440. "500":
  28441. description: Internal Server Error
  28442. schema:
  28443. $ref: '#/definitions/app.Response'
  28444. security:
  28445. - ApiKeyAuth: []
  28446. summary: 客户申请信息查询
  28447. tags:
  28448. - 风险管理v3
  28449. /Erms3/QueryUserInfos:
  28450. get:
  28451. parameters:
  28452. - description: 页码
  28453. in: query
  28454. name: page
  28455. type: integer
  28456. - description: 每页条数
  28457. in: query
  28458. name: pagesize
  28459. type: integer
  28460. - description: 客户名称,支持模糊查询
  28461. in: query
  28462. name: userName
  28463. type: string
  28464. produces:
  28465. - application/json
  28466. responses:
  28467. "200":
  28468. description: OK
  28469. schema:
  28470. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28471. "500":
  28472. description: Internal Server Error
  28473. schema:
  28474. $ref: '#/definitions/app.Response'
  28475. security:
  28476. - ApiKeyAuth: []
  28477. summary: 客户信息查询
  28478. tags:
  28479. - 风险管理v3
  28480. /Ferroalloy/GetSpotGoodsPrice:
  28481. get:
  28482. parameters:
  28483. - description: 页码
  28484. in: query
  28485. name: page
  28486. type: integer
  28487. - description: 每页条数
  28488. in: query
  28489. name: pagesize
  28490. type: integer
  28491. produces:
  28492. - application/json
  28493. responses:
  28494. "200":
  28495. description: OK
  28496. schema:
  28497. items:
  28498. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28499. type: array
  28500. "500":
  28501. description: Internal Server Error
  28502. schema:
  28503. $ref: '#/definitions/app.Response'
  28504. security:
  28505. - ApiKeyAuth: []
  28506. summary: 获取现货行情
  28507. tags:
  28508. - 铁合金
  28509. /Ferroalloy/QueryMyRefer:
  28510. get:
  28511. parameters:
  28512. - description: 用户ID
  28513. in: query
  28514. name: userid
  28515. required: true
  28516. type: integer
  28517. - description: 页码
  28518. in: query
  28519. name: page
  28520. type: integer
  28521. - description: 每页条数
  28522. in: query
  28523. name: pagesize
  28524. type: integer
  28525. produces:
  28526. - application/json
  28527. responses:
  28528. "200":
  28529. description: OK
  28530. schema:
  28531. items:
  28532. $ref: '#/definitions/models.MyRefer'
  28533. type: array
  28534. "500":
  28535. description: Internal Server Error
  28536. schema:
  28537. $ref: '#/definitions/app.Response'
  28538. security:
  28539. - ApiKeyAuth: []
  28540. summary: 查询我的推荐列表
  28541. tags:
  28542. - 铁合金
  28543. /Ferroalloy/QueryMyRegisterMoney:
  28544. get:
  28545. parameters:
  28546. - description: 资金账户
  28547. in: query
  28548. name: accountid
  28549. required: true
  28550. type: integer
  28551. produces:
  28552. - application/json
  28553. responses:
  28554. "200":
  28555. description: OK
  28556. schema:
  28557. items:
  28558. $ref: '#/definitions/models.RegisterMoney'
  28559. type: array
  28560. "500":
  28561. description: Internal Server Error
  28562. schema:
  28563. $ref: '#/definitions/app.Response'
  28564. summary: 查询我的注册红包
  28565. tags:
  28566. - 铁合金
  28567. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  28568. get:
  28569. parameters:
  28570. - description: 用户ID
  28571. in: query
  28572. name: userid
  28573. required: true
  28574. type: integer
  28575. - description: 类型 - 0:未完成 1:已完成
  28576. in: query
  28577. name: type
  28578. type: integer
  28579. - description: 页码
  28580. in: query
  28581. name: page
  28582. type: integer
  28583. - description: 每页条数
  28584. in: query
  28585. name: pagesize
  28586. type: integer
  28587. produces:
  28588. - application/json
  28589. responses:
  28590. "200":
  28591. description: OK
  28592. schema:
  28593. items:
  28594. $ref: '#/definitions/models.Thjpurchasetradedetail'
  28595. type: array
  28596. "500":
  28597. description: Internal Server Error
  28598. schema:
  28599. $ref: '#/definitions/app.Response'
  28600. security:
  28601. - ApiKeyAuth: []
  28602. summary: 查询我的订单-采购订单
  28603. tags:
  28604. - 铁合金
  28605. /Ferroalloy/QueryTHJWrstandard:
  28606. get:
  28607. parameters:
  28608. - description: 现货商品名称(模糊查询)
  28609. in: query
  28610. name: wrstandardname
  28611. type: string
  28612. - description: 页码
  28613. in: query
  28614. name: page
  28615. type: integer
  28616. - description: 每页条数
  28617. in: query
  28618. name: pagesize
  28619. type: integer
  28620. produces:
  28621. - application/json
  28622. responses:
  28623. "200":
  28624. description: OK
  28625. schema:
  28626. items:
  28627. $ref: '#/definitions/models.THJWrstandard'
  28628. type: array
  28629. "500":
  28630. description: Internal Server Error
  28631. schema:
  28632. $ref: '#/definitions/app.Response'
  28633. security:
  28634. - ApiKeyAuth: []
  28635. summary: 查询采购列表
  28636. tags:
  28637. - 铁合金
  28638. /Ferroalloy/QueryTHJWrstandardDetail:
  28639. get:
  28640. parameters:
  28641. - description: 现货商品ID
  28642. in: query
  28643. name: wrstandardid
  28644. required: true
  28645. type: integer
  28646. produces:
  28647. - application/json
  28648. responses:
  28649. "200":
  28650. description: OK
  28651. schema:
  28652. items:
  28653. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  28654. type: array
  28655. "500":
  28656. description: Internal Server Error
  28657. schema:
  28658. $ref: '#/definitions/app.Response'
  28659. security:
  28660. - ApiKeyAuth: []
  28661. summary: 查询采购详情
  28662. tags:
  28663. - 铁合金
  28664. /Ferroalloy/QueryUserScoreLog:
  28665. get:
  28666. parameters:
  28667. - description: 用户ID
  28668. in: query
  28669. name: userid
  28670. required: true
  28671. type: integer
  28672. - description: 页码
  28673. in: query
  28674. name: page
  28675. type: integer
  28676. - description: 每页条数
  28677. in: query
  28678. name: pagesize
  28679. type: integer
  28680. produces:
  28681. - application/json
  28682. responses:
  28683. "200":
  28684. description: OK
  28685. schema:
  28686. items:
  28687. $ref: '#/definitions/models.GThjuserscorelog'
  28688. type: array
  28689. "500":
  28690. description: Internal Server Error
  28691. schema:
  28692. $ref: '#/definitions/app.Response'
  28693. security:
  28694. - ApiKeyAuth: []
  28695. summary: 查询我的积分流水
  28696. tags:
  28697. - 铁合金
  28698. /Ferroalloy/Signin:
  28699. post:
  28700. parameters:
  28701. - description: 用户签到请求
  28702. in: body
  28703. name: jsonBody
  28704. required: true
  28705. schema:
  28706. $ref: '#/definitions/models.THJSigninReq'
  28707. produces:
  28708. - application/json
  28709. responses:
  28710. "200":
  28711. description: OK
  28712. schema:
  28713. $ref: '#/definitions/models.THJSigninRsp'
  28714. "500":
  28715. description: Internal Server Error
  28716. schema:
  28717. $ref: '#/definitions/app.Response'
  28718. security:
  28719. - ApiKeyAuth: []
  28720. summary: 用户签到
  28721. tags:
  28722. - 铁合金
  28723. /Guangzuan/GZBSFWOrderOperate:
  28724. get:
  28725. parameters:
  28726. - description: 单据ID
  28727. in: query
  28728. name: orderid
  28729. required: true
  28730. type: integer
  28731. produces:
  28732. - application/json
  28733. responses:
  28734. "200":
  28735. description: OK
  28736. schema:
  28737. items:
  28738. $ref: '#/definitions/models.Gzbsfworderoperate'
  28739. type: array
  28740. "500":
  28741. description: Internal Server Error
  28742. schema:
  28743. $ref: '#/definitions/app.Response'
  28744. security:
  28745. - ApiKeyAuth: []
  28746. - LoginID: []
  28747. - Group: []
  28748. summary: 保税服务单据操作信息
  28749. tags:
  28750. - 广钻
  28751. /Guangzuan/GetGoods:
  28752. get:
  28753. parameters:
  28754. - description: 商品编号
  28755. in: query
  28756. name: goodsno
  28757. required: true
  28758. type: string
  28759. produces:
  28760. - application/json
  28761. responses:
  28762. "200":
  28763. description: OK
  28764. schema:
  28765. $ref: '#/definitions/models.GZGoods'
  28766. "500":
  28767. description: Internal Server Error
  28768. schema:
  28769. $ref: '#/definitions/app.Response'
  28770. security:
  28771. - ApiKeyAuth: []
  28772. - LoginID: []
  28773. - Group: []
  28774. summary: 获取钻石详情
  28775. tags:
  28776. - 广钻
  28777. /Guangzuan/GzCertAddressConfig:
  28778. get:
  28779. produces:
  28780. - application/json
  28781. responses:
  28782. "200":
  28783. description: OK
  28784. schema:
  28785. items:
  28786. $ref: '#/definitions/models.Gzcertaddressconfig'
  28787. type: array
  28788. "500":
  28789. description: Internal Server Error
  28790. schema:
  28791. $ref: '#/definitions/app.Response'
  28792. security:
  28793. - ApiKeyAuth: []
  28794. - LoginID: []
  28795. - Group: []
  28796. summary: Rapaport最新报价表(广钻)
  28797. tags:
  28798. - 广钻
  28799. /Guangzuan/GzCertAddressParam:
  28800. get:
  28801. produces:
  28802. - application/json
  28803. responses:
  28804. "200":
  28805. description: OK
  28806. schema:
  28807. items:
  28808. $ref: '#/definitions/models.Gzcertaddressparam'
  28809. type: array
  28810. "500":
  28811. description: Internal Server Error
  28812. schema:
  28813. $ref: '#/definitions/app.Response'
  28814. security:
  28815. - ApiKeyAuth: []
  28816. - LoginID: []
  28817. - Group: []
  28818. summary: 钻石证书地址参数
  28819. tags:
  28820. - 广钻
  28821. /Guangzuan/HomeData:
  28822. get:
  28823. parameters:
  28824. - description: 用户ID
  28825. in: query
  28826. name: userid
  28827. required: true
  28828. type: integer
  28829. produces:
  28830. - application/json
  28831. responses:
  28832. "200":
  28833. description: OK
  28834. schema:
  28835. $ref: '#/definitions/models.GZHomeData'
  28836. "500":
  28837. description: Internal Server Error
  28838. schema:
  28839. $ref: '#/definitions/app.Response'
  28840. security:
  28841. - ApiKeyAuth: []
  28842. - LoginID: []
  28843. - Group: []
  28844. summary: 首页统计数据
  28845. tags:
  28846. - 广钻
  28847. /Guangzuan/PriceCalc:
  28848. get:
  28849. parameters:
  28850. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  28851. in: query
  28852. name: zsshape
  28853. required: true
  28854. type: integer
  28855. - description: 颜色(D-M)
  28856. in: query
  28857. name: zscolor
  28858. required: true
  28859. type: string
  28860. - description: 净度
  28861. in: query
  28862. name: zsclarity
  28863. required: true
  28864. type: string
  28865. - description: 重量
  28866. in: query
  28867. name: weight
  28868. required: true
  28869. type: number
  28870. - description: 汇率
  28871. in: query
  28872. name: rate
  28873. required: true
  28874. type: number
  28875. - description: 折扣(%), 方向(加:10, 减:-10 )
  28876. in: query
  28877. name: discount
  28878. type: number
  28879. produces:
  28880. - application/json
  28881. responses:
  28882. "200":
  28883. description: OK
  28884. schema:
  28885. items:
  28886. $ref: '#/definitions/models.Gzrapaportprice'
  28887. type: array
  28888. "500":
  28889. description: Internal Server Error
  28890. schema:
  28891. $ref: '#/definitions/app.Response'
  28892. security:
  28893. - ApiKeyAuth: []
  28894. - LoginID: []
  28895. - Group: []
  28896. summary: 钻石价格计算器
  28897. tags:
  28898. - 广钻
  28899. /Guangzuan/QueryBuyOrder:
  28900. get:
  28901. parameters:
  28902. - description: 页码
  28903. in: query
  28904. name: page
  28905. type: integer
  28906. - description: 每页条数
  28907. in: query
  28908. name: pagesize
  28909. type: integer
  28910. - description: 商品(查询字段-模糊查询)
  28911. in: query
  28912. name: zsallproperties
  28913. type: string
  28914. - description: 钻石分类, 格式:1,2,3
  28915. in: query
  28916. name: zscategorys
  28917. type: string
  28918. - description: 委托单号
  28919. in: query
  28920. name: wrtradeorderid
  28921. type: integer
  28922. - description: 买方(查询字段-模糊查询)
  28923. in: query
  28924. name: buyusername
  28925. type: string
  28926. produces:
  28927. - application/json
  28928. responses:
  28929. "200":
  28930. description: OK
  28931. schema:
  28932. items:
  28933. $ref: '#/definitions/models.BuyOrder'
  28934. type: array
  28935. "500":
  28936. description: Internal Server Error
  28937. schema:
  28938. $ref: '#/definitions/app.Response'
  28939. security:
  28940. - ApiKeyAuth: []
  28941. - LoginID: []
  28942. - Group: []
  28943. summary: 查询求购大厅委托单
  28944. tags:
  28945. - 广钻
  28946. /Guangzuan/QueryDiamond:
  28947. post:
  28948. parameters:
  28949. - description: 钻石搜索入参
  28950. in: body
  28951. name: data
  28952. required: true
  28953. schema:
  28954. $ref: '#/definitions/models.SellOrderQueryReq'
  28955. produces:
  28956. - application/json
  28957. responses:
  28958. "200":
  28959. description: OK
  28960. schema:
  28961. items:
  28962. $ref: '#/definitions/models.SellOrder'
  28963. type: array
  28964. "500":
  28965. description: Internal Server Error
  28966. schema:
  28967. $ref: '#/definitions/app.Response'
  28968. security:
  28969. - ApiKeyAuth: []
  28970. - LoginID: []
  28971. - Group: []
  28972. summary: 钻石搜索
  28973. tags:
  28974. - 广钻
  28975. /Guangzuan/QueryGZBSFWOrder:
  28976. get:
  28977. parameters:
  28978. - description: 用户ID
  28979. in: query
  28980. name: userid
  28981. required: true
  28982. type: integer
  28983. - description: 页码
  28984. in: query
  28985. name: page
  28986. type: integer
  28987. - description: 每页条数
  28988. in: query
  28989. name: pagesize
  28990. type: integer
  28991. produces:
  28992. - application/json
  28993. responses:
  28994. "200":
  28995. description: OK
  28996. schema:
  28997. items:
  28998. $ref: '#/definitions/models.GzbsfworderM'
  28999. type: array
  29000. "500":
  29001. description: Internal Server Error
  29002. schema:
  29003. $ref: '#/definitions/app.Response'
  29004. security:
  29005. - ApiKeyAuth: []
  29006. - LoginID: []
  29007. - Group: []
  29008. summary: 查询保税服务单据
  29009. tags:
  29010. - 广钻
  29011. /Guangzuan/QueryGZBSFWOrderDetail:
  29012. get:
  29013. parameters:
  29014. - description: 用户ID
  29015. in: query
  29016. name: userid
  29017. required: true
  29018. type: integer
  29019. - description: 单据ID
  29020. in: query
  29021. name: orderid
  29022. type: integer
  29023. - description: 页码
  29024. in: query
  29025. name: page
  29026. type: integer
  29027. - description: 每页条数
  29028. in: query
  29029. name: pagesize
  29030. type: integer
  29031. produces:
  29032. - application/json
  29033. responses:
  29034. "200":
  29035. description: OK
  29036. schema:
  29037. items:
  29038. $ref: '#/definitions/models.GzbsfworderdetailM'
  29039. type: array
  29040. "500":
  29041. description: Internal Server Error
  29042. schema:
  29043. $ref: '#/definitions/app.Response'
  29044. security:
  29045. - ApiKeyAuth: []
  29046. - LoginID: []
  29047. - Group: []
  29048. summary: 查询保税服务单据明细
  29049. tags:
  29050. - 广钻
  29051. /Guangzuan/QueryGZCJBSOrderFile:
  29052. get:
  29053. parameters:
  29054. - description: 单据ID
  29055. in: query
  29056. name: orderid
  29057. required: true
  29058. type: integer
  29059. - description: 页码
  29060. in: query
  29061. name: page
  29062. type: integer
  29063. - description: 每页条数
  29064. in: query
  29065. name: pagesize
  29066. type: integer
  29067. produces:
  29068. - application/json
  29069. responses:
  29070. "200":
  29071. description: OK
  29072. schema:
  29073. items:
  29074. $ref: '#/definitions/models.GzcjbsorderfileM'
  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/QueryGZCJJCOrder:
  29088. get:
  29089. parameters:
  29090. - description: 用户ID
  29091. in: query
  29092. name: userid
  29093. required: true
  29094. type: integer
  29095. - description: 页码
  29096. in: query
  29097. name: page
  29098. type: integer
  29099. - description: 每页条数
  29100. in: query
  29101. name: pagesize
  29102. type: integer
  29103. produces:
  29104. - application/json
  29105. responses:
  29106. "200":
  29107. description: OK
  29108. schema:
  29109. items:
  29110. $ref: '#/definitions/models.GzcjjcorderM'
  29111. type: array
  29112. "500":
  29113. description: Internal Server Error
  29114. schema:
  29115. $ref: '#/definitions/app.Response'
  29116. security:
  29117. - ApiKeyAuth: []
  29118. - LoginID: []
  29119. - Group: []
  29120. summary: 查询出境检测单据
  29121. tags:
  29122. - 广钻
  29123. /Guangzuan/QueryGZCJJCOrderDetail:
  29124. get:
  29125. parameters:
  29126. - description: 用户ID
  29127. in: query
  29128. name: userid
  29129. required: true
  29130. type: integer
  29131. - description: 单据ID
  29132. in: query
  29133. name: orderid
  29134. type: integer
  29135. - description: 页码
  29136. in: query
  29137. name: page
  29138. type: integer
  29139. - description: 每页条数
  29140. in: query
  29141. name: pagesize
  29142. type: integer
  29143. produces:
  29144. - application/json
  29145. responses:
  29146. "200":
  29147. description: OK
  29148. schema:
  29149. items:
  29150. $ref: '#/definitions/models.GzcjjcorderdetailM'
  29151. type: array
  29152. "500":
  29153. description: Internal Server Error
  29154. schema:
  29155. $ref: '#/definitions/app.Response'
  29156. security:
  29157. - ApiKeyAuth: []
  29158. - LoginID: []
  29159. - Group: []
  29160. summary: 查询出境检测单据明细(批次信息)
  29161. tags:
  29162. - 广钻
  29163. /Guangzuan/QueryMemberReport:
  29164. get:
  29165. parameters:
  29166. - description: 用户ID
  29167. in: query
  29168. name: userid
  29169. required: true
  29170. type: integer
  29171. - description: 页码
  29172. in: query
  29173. name: page
  29174. type: integer
  29175. - description: 每页条数
  29176. in: query
  29177. name: pagesize
  29178. type: integer
  29179. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29180. in: query
  29181. name: cycletype
  29182. type: string
  29183. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29184. in: query
  29185. name: begindate
  29186. required: true
  29187. type: string
  29188. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29189. in: query
  29190. name: enddate
  29191. required: true
  29192. type: string
  29193. produces:
  29194. - application/json
  29195. responses:
  29196. "200":
  29197. description: OK
  29198. schema:
  29199. items:
  29200. $ref: '#/definitions/models.Reckondaytaaccount'
  29201. type: array
  29202. "500":
  29203. description: Internal Server Error
  29204. schema:
  29205. $ref: '#/definitions/app.Response'
  29206. security:
  29207. - ApiKeyAuth: []
  29208. - LoginID: []
  29209. - Group: []
  29210. summary: 查询会员报表
  29211. tags:
  29212. - 广钻
  29213. /Guangzuan/QueryMyBargainApply:
  29214. get:
  29215. parameters:
  29216. - description: 用户ID
  29217. in: query
  29218. name: userid
  29219. required: true
  29220. type: integer
  29221. - description: 页码
  29222. in: query
  29223. name: page
  29224. type: integer
  29225. - description: 每页条数
  29226. in: query
  29227. name: pagesize
  29228. type: integer
  29229. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29230. in: query
  29231. name: applystatus
  29232. type: integer
  29233. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29234. in: query
  29235. name: type
  29236. type: integer
  29237. - description: 关联委托单ID
  29238. in: query
  29239. name: wrtradeorderid
  29240. type: string
  29241. produces:
  29242. - application/json
  29243. responses:
  29244. "200":
  29245. description: OK
  29246. schema:
  29247. items:
  29248. $ref: '#/definitions/models.MyBargainApply'
  29249. type: array
  29250. "500":
  29251. description: Internal Server Error
  29252. schema:
  29253. $ref: '#/definitions/app.Response'
  29254. security:
  29255. - ApiKeyAuth: []
  29256. - LoginID: []
  29257. - Group: []
  29258. summary: 查询询价-求购
  29259. tags:
  29260. - 广钻
  29261. /Guangzuan/QueryMyBuyOrder:
  29262. get:
  29263. parameters:
  29264. - description: 用户ID
  29265. in: query
  29266. name: userid
  29267. required: true
  29268. type: integer
  29269. - description: 页码
  29270. in: query
  29271. name: page
  29272. type: integer
  29273. - description: 每页条数
  29274. in: query
  29275. name: pagesize
  29276. type: integer
  29277. - description: 商品(查询字段-模糊查询)
  29278. in: query
  29279. name: zsallproperties
  29280. type: string
  29281. - description: 钻石分类, 格式:1,2,3
  29282. in: query
  29283. name: zscategorys
  29284. type: string
  29285. - description: 委托单号
  29286. in: query
  29287. name: wrtradeorderid
  29288. type: integer
  29289. - description: 是否历史查询
  29290. in: query
  29291. name: ishis
  29292. type: boolean
  29293. - description: 开始交易日(yyyymmdd)
  29294. in: query
  29295. name: begindate
  29296. type: string
  29297. - description: 结束交易日(yyyymmdd)
  29298. in: query
  29299. name: enddate
  29300. type: string
  29301. produces:
  29302. - application/json
  29303. responses:
  29304. "200":
  29305. description: OK
  29306. schema:
  29307. items:
  29308. $ref: '#/definitions/models.MyBuyOrder'
  29309. type: array
  29310. "500":
  29311. description: Internal Server Error
  29312. schema:
  29313. $ref: '#/definitions/app.Response'
  29314. security:
  29315. - ApiKeyAuth: []
  29316. - LoginID: []
  29317. - Group: []
  29318. summary: 查询我的求购
  29319. tags:
  29320. - 广钻
  29321. /Guangzuan/QueryMyDeListing:
  29322. get:
  29323. parameters:
  29324. - description: 用户ID
  29325. in: query
  29326. name: userid
  29327. required: true
  29328. type: integer
  29329. - description: 页码
  29330. in: query
  29331. name: page
  29332. type: integer
  29333. - description: 每页条数
  29334. in: query
  29335. name: pagesize
  29336. type: integer
  29337. - description: 商品(查询字段-模糊查询)
  29338. in: query
  29339. name: zsallproperties
  29340. type: string
  29341. - description: 钻石分类, 格式:1,2,3
  29342. in: query
  29343. name: zscategorys
  29344. type: string
  29345. - description: 成交单号
  29346. in: query
  29347. name: wrtradedetailid
  29348. type: integer
  29349. - description: 方向,0-购买 1-出售
  29350. in: query
  29351. name: buyorsell
  29352. type: integer
  29353. - description: 对手方(模糊匹配)
  29354. in: query
  29355. name: matchusername
  29356. type: string
  29357. - description: 开始交易日(yyyymmdd)
  29358. in: query
  29359. name: begindate
  29360. type: string
  29361. - description: 结束交易日(yyyymmdd)
  29362. in: query
  29363. name: enddate
  29364. type: string
  29365. produces:
  29366. - application/json
  29367. responses:
  29368. "200":
  29369. description: OK
  29370. schema:
  29371. items:
  29372. $ref: '#/definitions/models.MyDeListing'
  29373. type: array
  29374. "500":
  29375. description: Internal Server Error
  29376. schema:
  29377. $ref: '#/definitions/app.Response'
  29378. security:
  29379. - ApiKeyAuth: []
  29380. - LoginID: []
  29381. - Group: []
  29382. summary: 查询我的摘牌
  29383. tags:
  29384. - 广钻
  29385. /Guangzuan/QueryMyDelistingApply:
  29386. get:
  29387. parameters:
  29388. - description: 用户ID
  29389. in: query
  29390. name: userid
  29391. required: true
  29392. type: integer
  29393. - description: 页码
  29394. in: query
  29395. name: page
  29396. type: integer
  29397. - description: 每页条数
  29398. in: query
  29399. name: pagesize
  29400. type: integer
  29401. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29402. in: query
  29403. name: applystatus
  29404. type: integer
  29405. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29406. in: query
  29407. name: type
  29408. type: integer
  29409. - description: 买委托单ID
  29410. in: query
  29411. name: buywrtradeorderid
  29412. type: string
  29413. produces:
  29414. - application/json
  29415. responses:
  29416. "200":
  29417. description: OK
  29418. schema:
  29419. items:
  29420. $ref: '#/definitions/models.MyDelistingApply'
  29421. type: array
  29422. "500":
  29423. description: Internal Server Error
  29424. schema:
  29425. $ref: '#/definitions/app.Response'
  29426. security:
  29427. - ApiKeyAuth: []
  29428. - LoginID: []
  29429. - Group: []
  29430. summary: 查询询价-出售
  29431. tags:
  29432. - 广钻
  29433. /Guangzuan/QueryMyFavorite:
  29434. get:
  29435. parameters:
  29436. - description: 用户ID
  29437. in: query
  29438. name: userid
  29439. required: true
  29440. type: integer
  29441. - description: 页码
  29442. in: query
  29443. name: page
  29444. type: integer
  29445. - description: 每页条数
  29446. in: query
  29447. name: pagesize
  29448. type: integer
  29449. - description: 钻石分类, 格式:1,2,3
  29450. in: query
  29451. name: zscategorys
  29452. type: string
  29453. produces:
  29454. - application/json
  29455. responses:
  29456. "200":
  29457. description: OK
  29458. schema:
  29459. items:
  29460. $ref: '#/definitions/models.MyFavorite'
  29461. type: array
  29462. "500":
  29463. description: Internal Server Error
  29464. schema:
  29465. $ref: '#/definitions/app.Response'
  29466. security:
  29467. - ApiKeyAuth: []
  29468. - LoginID: []
  29469. - Group: []
  29470. summary: 查询我的收藏
  29471. tags:
  29472. - 广钻
  29473. /Guangzuan/QueryMyPerformanc:
  29474. get:
  29475. parameters:
  29476. - description: 用户ID
  29477. in: query
  29478. name: userid
  29479. required: true
  29480. type: integer
  29481. - description: 页码
  29482. in: query
  29483. name: page
  29484. type: integer
  29485. - description: 每页条数
  29486. in: query
  29487. name: pagesize
  29488. type: integer
  29489. - description: 商品(查询字段-模糊查询)
  29490. in: query
  29491. name: zsallproperties
  29492. type: string
  29493. - description: 方向,0-买 1-卖
  29494. in: query
  29495. name: buyorsell
  29496. type: integer
  29497. - description: 是否历史查询
  29498. in: query
  29499. name: ishis
  29500. type: boolean
  29501. - description: 开始交易日(yyyymmdd)
  29502. in: query
  29503. name: begindate
  29504. type: string
  29505. - description: 结束交易日(yyyymmdd)
  29506. in: query
  29507. name: enddate
  29508. type: string
  29509. produces:
  29510. - application/json
  29511. responses:
  29512. "200":
  29513. description: OK
  29514. schema:
  29515. items:
  29516. $ref: '#/definitions/models.MyPerformanc'
  29517. type: array
  29518. "500":
  29519. description: Internal Server Error
  29520. schema:
  29521. $ref: '#/definitions/app.Response'
  29522. security:
  29523. - ApiKeyAuth: []
  29524. - LoginID: []
  29525. - Group: []
  29526. summary: 查询我的履约
  29527. tags:
  29528. - 广钻
  29529. /Guangzuan/QueryMySellOrder:
  29530. get:
  29531. parameters:
  29532. - description: 用户ID
  29533. in: query
  29534. name: userid
  29535. required: true
  29536. type: integer
  29537. - description: 页码
  29538. in: query
  29539. name: page
  29540. type: integer
  29541. - description: 每页条数
  29542. in: query
  29543. name: pagesize
  29544. type: integer
  29545. - description: 商品(查询字段-模糊查询)
  29546. in: query
  29547. name: zsallproperties
  29548. type: string
  29549. - description: 钻石分类, 格式:1,2,3
  29550. in: query
  29551. name: zscategorys
  29552. type: string
  29553. - description: 委托单号
  29554. in: query
  29555. name: wrtradeorderid
  29556. type: integer
  29557. - description: 是否历史查询
  29558. in: query
  29559. name: ishis
  29560. type: boolean
  29561. - description: 开始交易日(yyyymmdd)
  29562. in: query
  29563. name: begindate
  29564. type: string
  29565. - description: 结束交易日(yyyymmdd)
  29566. in: query
  29567. name: enddate
  29568. type: string
  29569. produces:
  29570. - application/json
  29571. responses:
  29572. "200":
  29573. description: OK
  29574. schema:
  29575. items:
  29576. $ref: '#/definitions/models.MySellOrder'
  29577. type: array
  29578. "500":
  29579. description: Internal Server Error
  29580. schema:
  29581. $ref: '#/definitions/app.Response'
  29582. security:
  29583. - ApiKeyAuth: []
  29584. - LoginID: []
  29585. - Group: []
  29586. summary: 查询我的出售
  29587. tags:
  29588. - 广钻
  29589. /Guangzuan/QueryMyWRPosition:
  29590. get:
  29591. parameters:
  29592. - description: 页码
  29593. in: query
  29594. name: page
  29595. type: integer
  29596. - description: 每页条数
  29597. in: query
  29598. name: pagesize
  29599. type: integer
  29600. - description: 登录用户ID
  29601. in: query
  29602. name: wruserid
  29603. required: true
  29604. type: integer
  29605. - description: 商品(查询字段-模糊查询)
  29606. in: query
  29607. name: zsallproperties
  29608. type: string
  29609. - description: 钻石分类, 格式:1,2,3
  29610. in: query
  29611. name: zscategorys
  29612. type: string
  29613. - description: 仓库ID
  29614. in: query
  29615. name: warehouseid
  29616. type: integer
  29617. - description: 是否上架,0-全部 1-是 2-否
  29618. in: query
  29619. name: marketflag
  29620. type: integer
  29621. produces:
  29622. - application/json
  29623. responses:
  29624. "200":
  29625. description: OK
  29626. schema:
  29627. items:
  29628. $ref: '#/definitions/models.MyWRPosition'
  29629. type: array
  29630. "500":
  29631. description: Internal Server Error
  29632. schema:
  29633. $ref: '#/definitions/app.Response'
  29634. security:
  29635. - ApiKeyAuth: []
  29636. - LoginID: []
  29637. - Group: []
  29638. summary: 查询我的库存
  29639. tags:
  29640. - 广钻
  29641. /Guangzuan/QuerySellOrder:
  29642. get:
  29643. parameters:
  29644. - description: 页码
  29645. in: query
  29646. name: page
  29647. type: integer
  29648. - description: 每页条数
  29649. in: query
  29650. name: pagesize
  29651. type: integer
  29652. - description: 商品(查询字段-模糊查询)
  29653. in: query
  29654. name: zsallproperties
  29655. type: string
  29656. - description: 钻石分类, 格式:1,2,3
  29657. in: query
  29658. name: zscategorys
  29659. type: string
  29660. - description: 委托单号
  29661. in: query
  29662. name: wrtradeorderid
  29663. type: integer
  29664. - description: 卖方(查询字段-模糊查询)
  29665. in: query
  29666. name: buyusername
  29667. type: string
  29668. produces:
  29669. - application/json
  29670. responses:
  29671. "200":
  29672. description: OK
  29673. schema:
  29674. items:
  29675. $ref: '#/definitions/models.SellOrder'
  29676. type: array
  29677. "500":
  29678. description: Internal Server Error
  29679. schema:
  29680. $ref: '#/definitions/app.Response'
  29681. security:
  29682. - ApiKeyAuth: []
  29683. - LoginID: []
  29684. - Group: []
  29685. summary: 查询出售大厅委托单
  29686. tags:
  29687. - 广钻
  29688. /Guangzuan/QueryTradeReport:
  29689. get:
  29690. parameters:
  29691. - description: 用户ID
  29692. in: query
  29693. name: userid
  29694. required: true
  29695. type: integer
  29696. - description: 页码
  29697. in: query
  29698. name: page
  29699. type: integer
  29700. - description: 每页条数
  29701. in: query
  29702. name: pagesize
  29703. type: integer
  29704. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29705. in: query
  29706. name: cycletype
  29707. type: string
  29708. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29709. in: query
  29710. name: begindate
  29711. required: true
  29712. type: string
  29713. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29714. in: query
  29715. name: enddate
  29716. required: true
  29717. type: string
  29718. - description: 商品分类
  29719. in: query
  29720. name: zscategory
  29721. type: integer
  29722. - description: 商品币种
  29723. in: query
  29724. name: zscurrencytype
  29725. type: integer
  29726. produces:
  29727. - application/json
  29728. responses:
  29729. "200":
  29730. description: OK
  29731. schema:
  29732. items:
  29733. $ref: '#/definitions/models.Reckongzmemtradesum'
  29734. type: array
  29735. "500":
  29736. description: Internal Server Error
  29737. schema:
  29738. $ref: '#/definitions/app.Response'
  29739. security:
  29740. - ApiKeyAuth: []
  29741. - LoginID: []
  29742. - Group: []
  29743. summary: 查询交易报表
  29744. tags:
  29745. - 广钻
  29746. /Guangzuan/QueryWRPositionReport:
  29747. get:
  29748. parameters:
  29749. - description: 用户ID
  29750. in: query
  29751. name: userid
  29752. required: true
  29753. type: integer
  29754. - description: 页码
  29755. in: query
  29756. name: page
  29757. type: integer
  29758. - description: 每页条数
  29759. in: query
  29760. name: pagesize
  29761. type: integer
  29762. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29763. in: query
  29764. name: cycletype
  29765. type: string
  29766. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29767. in: query
  29768. name: begindate
  29769. required: true
  29770. type: string
  29771. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29772. in: query
  29773. name: enddate
  29774. required: true
  29775. type: string
  29776. - description: 商品分类
  29777. in: query
  29778. name: zscategory
  29779. type: integer
  29780. - description: 商品币种
  29781. in: query
  29782. name: zscurrencytype
  29783. type: integer
  29784. produces:
  29785. - application/json
  29786. responses:
  29787. "200":
  29788. description: OK
  29789. schema:
  29790. items:
  29791. $ref: '#/definitions/models.WRPositionReport'
  29792. type: array
  29793. "500":
  29794. description: Internal Server Error
  29795. schema:
  29796. $ref: '#/definitions/app.Response'
  29797. security:
  29798. - ApiKeyAuth: []
  29799. - LoginID: []
  29800. - Group: []
  29801. summary: 查询仓储报表
  29802. tags:
  29803. - 广钻
  29804. /Guangzuan/QueryWarehouseInfo:
  29805. get:
  29806. parameters:
  29807. - description: 页码
  29808. in: query
  29809. name: page
  29810. type: integer
  29811. - description: 每页条数
  29812. in: query
  29813. name: pagesize
  29814. type: integer
  29815. - description: 用户ID
  29816. in: query
  29817. name: userid
  29818. required: true
  29819. type: integer
  29820. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  29821. in: query
  29822. name: status
  29823. type: string
  29824. - description: 是返回交易所仓库
  29825. in: query
  29826. name: isincludeexchange
  29827. type: boolean
  29828. produces:
  29829. - application/json
  29830. responses:
  29831. "200":
  29832. description: OK
  29833. schema:
  29834. items:
  29835. $ref: '#/definitions/models.GZWarehouseinfo'
  29836. type: array
  29837. "500":
  29838. description: Internal Server Error
  29839. schema:
  29840. $ref: '#/definitions/app.Response'
  29841. security:
  29842. - ApiKeyAuth: []
  29843. - LoginID: []
  29844. - Group: []
  29845. summary: 查询仓库信息
  29846. tags:
  29847. - 广钻
  29848. /Market/GetAllExExchanges:
  29849. get:
  29850. produces:
  29851. - application/json
  29852. responses:
  29853. "200":
  29854. description: OK
  29855. schema:
  29856. $ref: '#/definitions/models.Goods'
  29857. "500":
  29858. description: Internal Server Error
  29859. schema:
  29860. $ref: '#/definitions/app.Response'
  29861. security:
  29862. - ApiKeyAuth: []
  29863. summary: 获取所有外部交易所信息
  29864. tags:
  29865. - 通用市场
  29866. /Market/QueryGoodsesByLoginID:
  29867. get:
  29868. parameters:
  29869. - description: 登录账号
  29870. in: query
  29871. name: loginID
  29872. required: true
  29873. type: integer
  29874. - description: 市场ID列表,格式:1,2,3
  29875. in: query
  29876. name: marketIDs
  29877. type: string
  29878. produces:
  29879. - application/json
  29880. responses:
  29881. "200":
  29882. description: OK
  29883. schema:
  29884. $ref: '#/definitions/models.Goods'
  29885. "500":
  29886. description: Internal Server Error
  29887. schema:
  29888. $ref: '#/definitions/app.Response'
  29889. security:
  29890. - ApiKeyAuth: []
  29891. summary: 获取登录账号有权限的商品信息
  29892. tags:
  29893. - 通用市场
  29894. /Market/QueryMarketRun:
  29895. get:
  29896. parameters:
  29897. - description: 市场ID,不传返回所有
  29898. in: query
  29899. name: marketID
  29900. type: integer
  29901. produces:
  29902. - application/json
  29903. responses:
  29904. "200":
  29905. description: OK
  29906. schema:
  29907. $ref: '#/definitions/models.Marketrun'
  29908. "500":
  29909. description: Internal Server Error
  29910. schema:
  29911. $ref: '#/definitions/app.Response'
  29912. security:
  29913. - ApiKeyAuth: []
  29914. summary: 查询市场运行信息
  29915. tags:
  29916. - 通用市场
  29917. /Market/QueryMarketsByLoginID:
  29918. get:
  29919. parameters:
  29920. - description: 登录账号
  29921. in: query
  29922. name: loginID
  29923. required: true
  29924. type: integer
  29925. produces:
  29926. - application/json
  29927. responses:
  29928. "200":
  29929. description: OK
  29930. schema:
  29931. $ref: '#/definitions/models.Market'
  29932. "500":
  29933. description: Internal Server Error
  29934. schema:
  29935. $ref: '#/definitions/app.Response'
  29936. security:
  29937. - ApiKeyAuth: []
  29938. summary: 获取登录账号有权限的市场信息
  29939. tags:
  29940. - 通用市场
  29941. /Order/QueryHisTradeDetail:
  29942. get:
  29943. parameters:
  29944. - description: 资金账户 - 格式:1,2,3
  29945. in: query
  29946. name: accountID
  29947. required: true
  29948. type: string
  29949. - description: 成交单号
  29950. in: query
  29951. name: tradeID
  29952. type: integer
  29953. - description: 委托单号
  29954. in: query
  29955. name: orderID
  29956. type: integer
  29957. - description: 商品ID
  29958. in: query
  29959. name: goodsID
  29960. type: integer
  29961. - description: 交易模式 - 格式:1,2,3
  29962. in: query
  29963. name: tradeMode
  29964. type: string
  29965. - description: 委托单据类型
  29966. in: query
  29967. name: buildType
  29968. type: integer
  29969. - description: 成交类别 - 格式:1,2,3
  29970. in: query
  29971. name: tradeType
  29972. type: string
  29973. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  29974. in: query
  29975. name: startDate
  29976. type: string
  29977. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  29978. in: query
  29979. name: endDate
  29980. type: string
  29981. produces:
  29982. - application/json
  29983. responses:
  29984. "200":
  29985. description: OK
  29986. schema:
  29987. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  29988. "500":
  29989. description: Internal Server Error
  29990. schema:
  29991. $ref: '#/definitions/app.Response'
  29992. security:
  29993. - ApiKeyAuth: []
  29994. summary: 历史成交单查询(合约市场)
  29995. tags:
  29996. - 通用单据
  29997. /Order/QueryHisTradeOrderDetail:
  29998. get:
  29999. parameters:
  30000. - description: 资金账户 - 格式:1,2,3
  30001. in: query
  30002. name: accountID
  30003. required: true
  30004. type: string
  30005. - description: 交易模式 - 格式:1,2,3
  30006. in: query
  30007. name: tradeMode
  30008. type: string
  30009. - description: 委托状态 - 格式:1,2,3
  30010. in: query
  30011. name: orderStatus
  30012. type: string
  30013. - description: 委托单号
  30014. in: query
  30015. name: orderID
  30016. type: integer
  30017. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30018. in: query
  30019. name: startDate
  30020. type: string
  30021. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30022. in: query
  30023. name: endDate
  30024. type: string
  30025. produces:
  30026. - application/json
  30027. responses:
  30028. "200":
  30029. description: OK
  30030. schema:
  30031. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30032. "500":
  30033. description: Internal Server Error
  30034. schema:
  30035. $ref: '#/definitions/app.Response'
  30036. security:
  30037. - ApiKeyAuth: []
  30038. summary: 历史委托单查询请求(合约市场)
  30039. tags:
  30040. - 通用单据
  30041. /Order/QueryTradeDetail:
  30042. get:
  30043. parameters:
  30044. - description: 资金账户 - 格式:1,2,3
  30045. in: query
  30046. name: accountID
  30047. required: true
  30048. type: string
  30049. - description: 成交单号
  30050. in: query
  30051. name: tradeID
  30052. type: integer
  30053. - description: 委托单号
  30054. in: query
  30055. name: orderID
  30056. type: integer
  30057. - description: 交易模式 - 格式:1,2,3
  30058. in: query
  30059. name: tradeMode
  30060. type: string
  30061. - description: 委托单据类型
  30062. in: query
  30063. name: buildType
  30064. type: integer
  30065. - description: 成交类别 - 格式:1,2,3
  30066. in: query
  30067. name: tradeType
  30068. type: string
  30069. - description: 商品ID
  30070. in: query
  30071. name: goodsID
  30072. type: integer
  30073. produces:
  30074. - application/json
  30075. responses:
  30076. "200":
  30077. description: OK
  30078. schema:
  30079. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30080. "500":
  30081. description: Internal Server Error
  30082. schema:
  30083. $ref: '#/definitions/app.Response'
  30084. security:
  30085. - ApiKeyAuth: []
  30086. summary: 成交单查询(合约市场)
  30087. tags:
  30088. - 通用单据
  30089. /Order/QueryTradeHolderDetail:
  30090. get:
  30091. parameters:
  30092. - description: 用户id
  30093. in: query
  30094. name: userid
  30095. type: integer
  30096. - description: 资金账号, 格式 1,2,3
  30097. in: query
  30098. name: accids
  30099. type: string
  30100. - description: 交易模式, 格式 1,2,3
  30101. in: query
  30102. name: trademodes
  30103. type: string
  30104. - description: 市场id, 格式 1,2,3
  30105. in: query
  30106. name: marketids
  30107. type: string
  30108. - description: 商品id
  30109. in: query
  30110. name: goodsid
  30111. type: integer
  30112. - description: 买卖方向 0-买 1-卖
  30113. in: query
  30114. name: buyorsell
  30115. type: integer
  30116. produces:
  30117. - application/json
  30118. responses:
  30119. "200":
  30120. description: OK
  30121. schema:
  30122. items:
  30123. $ref: '#/definitions/models.TradeHolderDetail'
  30124. type: array
  30125. "500":
  30126. description: Internal Server Error
  30127. schema:
  30128. $ref: '#/definitions/app.Response'
  30129. security:
  30130. - ApiKeyAuth: []
  30131. summary: 查询持仓明细
  30132. tags:
  30133. - 通用单据
  30134. /Order/QueryTradeOrderDetail:
  30135. get:
  30136. parameters:
  30137. - description: 资金账户 - 格式:1,2,3
  30138. in: query
  30139. name: accountID
  30140. required: true
  30141. type: string
  30142. - description: 交易模式 - 格式:1,2,3
  30143. in: query
  30144. name: tradeMode
  30145. type: string
  30146. - description: 委托状态 - 格式:1,2,3
  30147. in: query
  30148. name: orderStatus
  30149. type: string
  30150. - description: 委托单号
  30151. in: query
  30152. name: orderID
  30153. type: integer
  30154. produces:
  30155. - application/json
  30156. responses:
  30157. "200":
  30158. description: OK
  30159. schema:
  30160. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  30161. "500":
  30162. description: Internal Server Error
  30163. schema:
  30164. $ref: '#/definitions/app.Response'
  30165. security:
  30166. - ApiKeyAuth: []
  30167. summary: 委托单查询请求(合约市场)
  30168. tags:
  30169. - 通用单据
  30170. /Order/QueryTradePosition:
  30171. get:
  30172. parameters:
  30173. - description: 资金账户 - 格式:1,2,3
  30174. in: query
  30175. name: accountID
  30176. required: true
  30177. type: string
  30178. - description: 交易模式 - 格式:1,2,3
  30179. in: query
  30180. name: tradeMode
  30181. type: string
  30182. produces:
  30183. - application/json
  30184. responses:
  30185. "200":
  30186. description: OK
  30187. schema:
  30188. $ref: '#/definitions/order.QueryTradePositionRsp'
  30189. "500":
  30190. description: Internal Server Error
  30191. schema:
  30192. $ref: '#/definitions/app.Response'
  30193. security:
  30194. - ApiKeyAuth: []
  30195. summary: 持仓汇总查询(合约市场)
  30196. tags:
  30197. - 通用单据
  30198. /Qhj/QueryAccountInOutApply:
  30199. get:
  30200. parameters:
  30201. - description: 用户ID
  30202. in: query
  30203. name: userid
  30204. required: true
  30205. type: integer
  30206. - description: 申请起始日期(格式yyyymmdd)
  30207. in: query
  30208. name: begindate
  30209. type: string
  30210. - description: 申请截止日期(格式yyyymmdd)
  30211. in: query
  30212. name: enddate
  30213. type: string
  30214. - description: 模糊搜索名称
  30215. in: query
  30216. name: likename
  30217. type: string
  30218. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30219. in: query
  30220. name: applystatus
  30221. type: integer
  30222. - description: 查询类型 1-提现(出金) 2-充值(入金)
  30223. in: query
  30224. name: querytype
  30225. type: integer
  30226. produces:
  30227. - application/json
  30228. responses:
  30229. "200":
  30230. description: OK
  30231. schema:
  30232. items:
  30233. $ref: '#/definitions/models.QhjAccountOutInApply'
  30234. type: array
  30235. "500":
  30236. description: Internal Server Error
  30237. schema:
  30238. $ref: '#/definitions/app.Response'
  30239. security:
  30240. - ApiKeyAuth: []
  30241. summary: 查询充值提现
  30242. tags:
  30243. - 大连千海金
  30244. /Qhj/QueryAreaFinanceConfig:
  30245. get:
  30246. parameters:
  30247. - description: 机构用户ID 其他做市关系,都设置为 1
  30248. in: query
  30249. name: userid
  30250. type: integer
  30251. produces:
  30252. - application/json
  30253. responses:
  30254. "200":
  30255. description: OK
  30256. schema:
  30257. items:
  30258. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  30259. type: array
  30260. "500":
  30261. description: Internal Server Error
  30262. schema:
  30263. $ref: '#/definitions/app.Response'
  30264. security:
  30265. - ApiKeyAuth: []
  30266. summary: 查询企业配置表
  30267. tags:
  30268. - 大连千海金
  30269. /Qhj/QueryBankAccountSign:
  30270. get:
  30271. parameters:
  30272. - description: 用户ID
  30273. in: query
  30274. name: userid
  30275. required: true
  30276. type: integer
  30277. produces:
  30278. - application/json
  30279. responses:
  30280. "200":
  30281. description: OK
  30282. schema:
  30283. items:
  30284. $ref: '#/definitions/models.QhjBankAccountSign'
  30285. type: array
  30286. "500":
  30287. description: Internal Server Error
  30288. schema:
  30289. $ref: '#/definitions/app.Response'
  30290. security:
  30291. - ApiKeyAuth: []
  30292. summary: 查询签约银行信息(提现账户管理)
  30293. tags:
  30294. - 大连千海金
  30295. /Qhj/QueryBankInfo:
  30296. get:
  30297. produces:
  30298. - application/json
  30299. responses:
  30300. "200":
  30301. description: OK
  30302. schema:
  30303. items:
  30304. $ref: '#/definitions/models.QhjBankInfo'
  30305. type: array
  30306. "500":
  30307. description: Internal Server Error
  30308. schema:
  30309. $ref: '#/definitions/app.Response'
  30310. security:
  30311. - ApiKeyAuth: []
  30312. summary: 查询开户行
  30313. tags:
  30314. - 大连千海金
  30315. /Qhj/QueryBrokerApply:
  30316. get:
  30317. parameters:
  30318. - description: 所属机构ID
  30319. in: query
  30320. name: userid
  30321. type: integer
  30322. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30323. in: query
  30324. name: filterstatus
  30325. type: string
  30326. produces:
  30327. - application/json
  30328. responses:
  30329. "200":
  30330. description: OK
  30331. schema:
  30332. items:
  30333. $ref: '#/definitions/models.QhjBrokerApply'
  30334. type: array
  30335. "500":
  30336. description: Internal Server Error
  30337. schema:
  30338. $ref: '#/definitions/app.Response'
  30339. security:
  30340. - ApiKeyAuth: []
  30341. summary: 查询经纪人申请
  30342. tags:
  30343. - 大连千海金
  30344. /Qhj/QueryBrokerApplyEx:
  30345. get:
  30346. parameters:
  30347. - description: 所属机构ID
  30348. in: query
  30349. name: userid
  30350. type: integer
  30351. produces:
  30352. - application/json
  30353. responses:
  30354. "200":
  30355. description: OK
  30356. schema:
  30357. items:
  30358. $ref: '#/definitions/models.QhjBrokerApplyEx'
  30359. type: array
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. summary: 查询经纪人信息和申请记录
  30367. tags:
  30368. - 大连千海金
  30369. /Qhj/QueryBrokerRewardLog:
  30370. get:
  30371. parameters:
  30372. - description: 用户ID
  30373. in: query
  30374. name: userid
  30375. required: true
  30376. type: integer
  30377. - description: 开始交易日(yyyymmdd)
  30378. in: query
  30379. name: begindate
  30380. type: string
  30381. - description: 结束交易日(yyyymmdd)
  30382. in: query
  30383. name: enddate
  30384. type: string
  30385. produces:
  30386. - application/json
  30387. responses:
  30388. "200":
  30389. description: OK
  30390. schema:
  30391. items:
  30392. $ref: '#/definitions/models.QhjBrokerRewardLog'
  30393. type: array
  30394. "500":
  30395. description: Internal Server Error
  30396. schema:
  30397. $ref: '#/definitions/app.Response'
  30398. security:
  30399. - ApiKeyAuth: []
  30400. summary: 查询奖励流水(我的奖励)
  30401. tags:
  30402. - 大连千海金
  30403. /Qhj/QueryContract:
  30404. get:
  30405. parameters:
  30406. - description: 用户ID
  30407. in: query
  30408. name: userid
  30409. type: integer
  30410. - description: scf合同id
  30411. in: query
  30412. name: scfcontractid
  30413. type: integer
  30414. produces:
  30415. - application/json
  30416. responses:
  30417. "200":
  30418. description: OK
  30419. schema:
  30420. items:
  30421. $ref: '#/definitions/models.QhjContract'
  30422. type: array
  30423. "500":
  30424. description: Internal Server Error
  30425. schema:
  30426. $ref: '#/definitions/app.Response'
  30427. security:
  30428. - ApiKeyAuth: []
  30429. summary: 查询融资明细(合同)
  30430. tags:
  30431. - 大连千海金
  30432. /Qhj/QueryContractLog:
  30433. get:
  30434. parameters:
  30435. - description: scf合同id
  30436. in: query
  30437. name: scfcontractid
  30438. required: true
  30439. type: integer
  30440. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  30441. in: query
  30442. name: amounttype
  30443. type: string
  30444. produces:
  30445. - application/json
  30446. responses:
  30447. "200":
  30448. description: OK
  30449. schema:
  30450. items:
  30451. $ref: '#/definitions/models.QhjContractLog'
  30452. type: array
  30453. "500":
  30454. description: Internal Server Error
  30455. schema:
  30456. $ref: '#/definitions/app.Response'
  30457. security:
  30458. - ApiKeyAuth: []
  30459. summary: 查询融资明细流水(融资明细详情页中的流水)
  30460. tags:
  30461. - 大连千海金
  30462. /Qhj/QueryCusBankSignBank:
  30463. get:
  30464. produces:
  30465. - application/json
  30466. responses:
  30467. "200":
  30468. description: OK
  30469. schema:
  30470. items:
  30471. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  30472. type: array
  30473. "500":
  30474. description: Internal Server Error
  30475. schema:
  30476. $ref: '#/definitions/app.Response'
  30477. security:
  30478. - ApiKeyAuth: []
  30479. summary: 查询托管银行
  30480. tags:
  30481. - 大连千海金
  30482. /Qhj/QueryCustomerInfo:
  30483. get:
  30484. parameters:
  30485. - description: 用户ID
  30486. in: query
  30487. name: userid
  30488. required: true
  30489. type: integer
  30490. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30491. in: query
  30492. name: querytype
  30493. required: true
  30494. type: integer
  30495. - description: 客户类型 1-个人 2-企业
  30496. in: query
  30497. name: userinfotype
  30498. type: integer
  30499. - description: 客户名称(模糊匹配)
  30500. in: query
  30501. name: customername
  30502. type: string
  30503. - description: 昵称(模糊匹配)
  30504. in: query
  30505. name: nickname
  30506. type: string
  30507. - description: 是否包含子级 1-包含
  30508. in: query
  30509. name: includesub
  30510. type: integer
  30511. produces:
  30512. - application/json
  30513. responses:
  30514. "200":
  30515. description: OK
  30516. schema:
  30517. items:
  30518. $ref: '#/definitions/models.QhjCustomer'
  30519. type: array
  30520. "500":
  30521. description: Internal Server Error
  30522. schema:
  30523. $ref: '#/definitions/app.Response'
  30524. security:
  30525. - ApiKeyAuth: []
  30526. summary: 查询客户资料
  30527. tags:
  30528. - 大连千海金
  30529. /Qhj/QueryGoodsEx:
  30530. get:
  30531. parameters:
  30532. - description: 商品id
  30533. in: query
  30534. name: goodsid
  30535. type: integer
  30536. produces:
  30537. - application/json
  30538. responses:
  30539. "200":
  30540. description: OK
  30541. schema:
  30542. items:
  30543. $ref: '#/definitions/models.Qhjgoodsex'
  30544. type: array
  30545. "500":
  30546. description: Internal Server Error
  30547. schema:
  30548. $ref: '#/definitions/app.Response'
  30549. security:
  30550. - ApiKeyAuth: []
  30551. summary: 交易商品扩展表
  30552. tags:
  30553. - 大连千海金
  30554. /Qhj/QueryMyTeam:
  30555. get:
  30556. parameters:
  30557. - description: 用户ID
  30558. in: query
  30559. name: userid
  30560. required: true
  30561. type: integer
  30562. produces:
  30563. - application/json
  30564. responses:
  30565. "200":
  30566. description: OK
  30567. schema:
  30568. items:
  30569. $ref: '#/definitions/models.QhjMyTeamEx'
  30570. type: array
  30571. "500":
  30572. description: Internal Server Error
  30573. schema:
  30574. $ref: '#/definitions/app.Response'
  30575. security:
  30576. - ApiKeyAuth: []
  30577. summary: 查询我的团队
  30578. tags:
  30579. - 大连千海金
  30580. /Qhj/QueryMyTeamOrder:
  30581. get:
  30582. parameters:
  30583. - description: 页码
  30584. in: query
  30585. name: page
  30586. type: integer
  30587. - description: 每页条数
  30588. in: query
  30589. name: pagesize
  30590. type: integer
  30591. - description: 用户ID
  30592. in: query
  30593. name: userid
  30594. required: true
  30595. type: integer
  30596. - description: 交易模式
  30597. in: query
  30598. name: trademode
  30599. type: integer
  30600. - description: 名称(模糊搜索账户)
  30601. in: query
  30602. name: filtername
  30603. type: string
  30604. produces:
  30605. - application/json
  30606. responses:
  30607. "200":
  30608. description: OK
  30609. schema:
  30610. items:
  30611. $ref: '#/definitions/models.QhjTeamOrder'
  30612. type: array
  30613. "500":
  30614. description: Internal Server Error
  30615. schema:
  30616. $ref: '#/definitions/app.Response'
  30617. security:
  30618. - ApiKeyAuth: []
  30619. summary: 查询团队订单(我的团队/团队订单)
  30620. tags:
  30621. - 大连千海金
  30622. /Qhj/QueryParentAreaList:
  30623. get:
  30624. parameters:
  30625. - description: 用户ID
  30626. in: query
  30627. name: userid
  30628. required: true
  30629. type: integer
  30630. produces:
  30631. - application/json
  30632. responses:
  30633. "200":
  30634. description: OK
  30635. schema:
  30636. items:
  30637. $ref: '#/definitions/models.QhjParentAreaList'
  30638. type: array
  30639. "500":
  30640. description: Internal Server Error
  30641. schema:
  30642. $ref: '#/definitions/app.Response'
  30643. security:
  30644. - ApiKeyAuth: []
  30645. summary: 查询所属机构列表
  30646. tags:
  30647. - 大连千海金
  30648. /Qhj/QueryPayOrder:
  30649. get:
  30650. parameters:
  30651. - description: 资金账号id
  30652. in: query
  30653. name: accountid
  30654. required: true
  30655. type: integer
  30656. - description: 成交单号
  30657. in: query
  30658. name: tradeid
  30659. type: integer
  30660. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30661. in: query
  30662. name: payflag
  30663. type: string
  30664. produces:
  30665. - application/json
  30666. responses:
  30667. "200":
  30668. description: OK
  30669. schema:
  30670. items:
  30671. $ref: '#/definitions/models.QhjPayOrder'
  30672. type: array
  30673. "500":
  30674. description: Internal Server Error
  30675. schema:
  30676. $ref: '#/definitions/app.Response'
  30677. security:
  30678. - ApiKeyAuth: []
  30679. summary: 查询待付款单据
  30680. tags:
  30681. - 大连千海金
  30682. /Qhj/QueryPickArea:
  30683. get:
  30684. parameters:
  30685. - description: 用户ID
  30686. in: query
  30687. name: userid
  30688. type: integer
  30689. produces:
  30690. - application/json
  30691. responses:
  30692. "200":
  30693. description: OK
  30694. schema:
  30695. items:
  30696. $ref: '#/definitions/models.QhjPickArea'
  30697. type: array
  30698. "500":
  30699. description: Internal Server Error
  30700. schema:
  30701. $ref: '#/definitions/app.Response'
  30702. security:
  30703. - ApiKeyAuth: []
  30704. summary: 查询提货门店
  30705. tags:
  30706. - 大连千海金
  30707. /Qhj/QueryPickGoods:
  30708. get:
  30709. parameters:
  30710. - description: 交易商品id
  30711. in: query
  30712. name: goodsid
  30713. required: true
  30714. type: integer
  30715. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30716. in: query
  30717. name: status
  30718. type: string
  30719. produces:
  30720. - application/json
  30721. responses:
  30722. "200":
  30723. description: OK
  30724. schema:
  30725. items:
  30726. $ref: '#/definitions/models.QhjPickGoods'
  30727. type: array
  30728. "500":
  30729. description: Internal Server Error
  30730. schema:
  30731. $ref: '#/definitions/app.Response'
  30732. security:
  30733. - ApiKeyAuth: []
  30734. summary: 查询提货商品
  30735. tags:
  30736. - 大连千海金
  30737. /Qhj/QueryRSTriggerLog:
  30738. get:
  30739. parameters:
  30740. - description: 用户ID
  30741. in: query
  30742. name: userid
  30743. type: integer
  30744. - description: 定投策略id
  30745. in: query
  30746. name: regularlystrategyid
  30747. type: integer
  30748. - description: 商品id
  30749. in: query
  30750. name: goodsid
  30751. type: integer
  30752. - description: 开始交易日(yyyymmdd)
  30753. in: query
  30754. name: begindate
  30755. type: string
  30756. - description: 结束交易日(yyyymmdd)
  30757. in: query
  30758. name: enddate
  30759. type: string
  30760. - description: 名称(模糊搜索账户)
  30761. in: query
  30762. name: filtername
  30763. type: string
  30764. produces:
  30765. - application/json
  30766. responses:
  30767. "200":
  30768. description: OK
  30769. schema:
  30770. items:
  30771. $ref: '#/definitions/models.QhjRSTriggerLog'
  30772. type: array
  30773. "500":
  30774. description: Internal Server Error
  30775. schema:
  30776. $ref: '#/definitions/app.Response'
  30777. security:
  30778. - ApiKeyAuth: []
  30779. summary: 查询定投记录(定投管理/详情/定投记录)
  30780. tags:
  30781. - 大连千海金
  30782. /Qhj/QueryRStrategy:
  30783. get:
  30784. parameters:
  30785. - description: 用户ID
  30786. in: query
  30787. name: userid
  30788. type: integer
  30789. - description: 商品id
  30790. in: query
  30791. name: goodsid
  30792. type: integer
  30793. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30794. in: query
  30795. name: status
  30796. type: string
  30797. - description: 名称(模糊搜索账户)
  30798. in: query
  30799. name: filtername
  30800. type: string
  30801. produces:
  30802. - application/json
  30803. responses:
  30804. "200":
  30805. description: OK
  30806. schema:
  30807. items:
  30808. $ref: '#/definitions/models.QhjRStrategy'
  30809. type: array
  30810. "500":
  30811. description: Internal Server Error
  30812. schema:
  30813. $ref: '#/definitions/app.Response'
  30814. security:
  30815. - ApiKeyAuth: []
  30816. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  30817. tags:
  30818. - 大连千海金
  30819. /Qhj/QueryReckonPriceLog:
  30820. get:
  30821. parameters:
  30822. - description: 商品ID
  30823. in: query
  30824. name: goodsid
  30825. type: integer
  30826. - description: 交易日 格式(yyyymmdd)
  30827. in: query
  30828. name: tradedate
  30829. type: string
  30830. produces:
  30831. - application/json
  30832. responses:
  30833. "200":
  30834. description: OK
  30835. schema:
  30836. items:
  30837. $ref: '#/definitions/models.QhjReckonPriceLog'
  30838. type: array
  30839. "500":
  30840. description: Internal Server Error
  30841. schema:
  30842. $ref: '#/definitions/app.Response'
  30843. security:
  30844. - ApiKeyAuth: []
  30845. summary: 查询定投价(结算价)
  30846. tags:
  30847. - 大连千海金
  30848. /Qhj/QueryScoreLog:
  30849. get:
  30850. parameters:
  30851. - description: 用户ID
  30852. in: query
  30853. name: userid
  30854. required: true
  30855. type: integer
  30856. - description: 开始交易日(yyyymmdd)
  30857. in: query
  30858. name: begindate
  30859. type: string
  30860. - description: 结束交易日(yyyymmdd)
  30861. in: query
  30862. name: enddate
  30863. type: string
  30864. - description: 最近多少条
  30865. in: query
  30866. name: lastnum
  30867. type: integer
  30868. produces:
  30869. - application/json
  30870. responses:
  30871. "200":
  30872. description: OK
  30873. schema:
  30874. items:
  30875. $ref: '#/definitions/models.QhjScoreLog'
  30876. type: array
  30877. "500":
  30878. description: Internal Server Error
  30879. schema:
  30880. $ref: '#/definitions/app.Response'
  30881. security:
  30882. - ApiKeyAuth: []
  30883. summary: 查询积分流水(我的积分)
  30884. tags:
  30885. - 大连千海金
  30886. /Qhj/QuerySiteColumnDetail:
  30887. get:
  30888. parameters:
  30889. - description: 用户ID
  30890. in: query
  30891. name: userid
  30892. required: true
  30893. type: integer
  30894. produces:
  30895. - application/json
  30896. responses:
  30897. "200":
  30898. description: OK
  30899. schema:
  30900. items:
  30901. $ref: '#/definitions/models.QhjSiteColumnDetail'
  30902. type: array
  30903. "500":
  30904. description: Internal Server Error
  30905. schema:
  30906. $ref: '#/definitions/app.Response'
  30907. security:
  30908. - ApiKeyAuth: []
  30909. summary: 查询资讯
  30910. tags:
  30911. - 大连千海金
  30912. /Qhj/QueryTradeGoodsPickup:
  30913. get:
  30914. parameters:
  30915. - description: 用户ID
  30916. in: query
  30917. name: userid
  30918. required: true
  30919. type: integer
  30920. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  30921. 7:已拒绝 8:已撤销
  30922. in: query
  30923. name: takeorderstatus
  30924. type: integer
  30925. produces:
  30926. - application/json
  30927. responses:
  30928. "200":
  30929. description: OK
  30930. schema:
  30931. items:
  30932. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  30933. type: array
  30934. "500":
  30935. description: Internal Server Error
  30936. schema:
  30937. $ref: '#/definitions/app.Response'
  30938. security:
  30939. - ApiKeyAuth: []
  30940. summary: 查询提货
  30941. tags:
  30942. - 大连千海金
  30943. /Qhj/QueryUserCollectConfig:
  30944. get:
  30945. parameters:
  30946. - description: 用户ID
  30947. in: query
  30948. name: userid
  30949. required: true
  30950. type: integer
  30951. produces:
  30952. - application/json
  30953. responses:
  30954. "200":
  30955. description: OK
  30956. schema:
  30957. items:
  30958. $ref: '#/definitions/models.UserCollectConfig'
  30959. type: array
  30960. "500":
  30961. description: Internal Server Error
  30962. schema:
  30963. $ref: '#/definitions/app.Response'
  30964. security:
  30965. - ApiKeyAuth: []
  30966. summary: 查询提现账户设置
  30967. tags:
  30968. - 大连千海金
  30969. /Qhj/QueryUserReceiveInfo:
  30970. get:
  30971. parameters:
  30972. - description: 用户ID
  30973. in: query
  30974. name: userid
  30975. required: true
  30976. type: integer
  30977. produces:
  30978. - application/json
  30979. responses:
  30980. "200":
  30981. description: OK
  30982. schema:
  30983. items:
  30984. $ref: '#/definitions/models.UserReceiveInfo'
  30985. type: array
  30986. "500":
  30987. description: Internal Server Error
  30988. schema:
  30989. $ref: '#/definitions/app.Response'
  30990. security:
  30991. - ApiKeyAuth: []
  30992. summary: 查询收货地址信息
  30993. tags:
  30994. - 大连千海金
  30995. /QhjMgr/QueryAccountInOutApply:
  30996. get:
  30997. parameters:
  30998. - description: 查询类型 1-提现(出金) 2-充值(出金)
  30999. in: query
  31000. name: querytype
  31001. required: true
  31002. type: integer
  31003. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31004. in: query
  31005. name: applystatus
  31006. type: integer
  31007. - description: 申请起始日期(格式yyyymmdd)
  31008. in: query
  31009. name: begindate
  31010. type: string
  31011. - description: 申请截止日期(格式yyyymmdd)
  31012. in: query
  31013. name: enddate
  31014. type: string
  31015. - description: 模糊搜索名称
  31016. in: query
  31017. name: likename
  31018. type: string
  31019. produces:
  31020. - application/json
  31021. responses:
  31022. "200":
  31023. description: OK
  31024. schema:
  31025. items:
  31026. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31027. type: array
  31028. "500":
  31029. description: Internal Server Error
  31030. schema:
  31031. $ref: '#/definitions/app.Response'
  31032. security:
  31033. - ApiKeyAuth: []
  31034. summary: 查询充值提现
  31035. tags:
  31036. - 大连千海金(PCWeb)
  31037. /QhjMgr/QueryBrokerApply:
  31038. get:
  31039. parameters:
  31040. - description: 所属机构ID
  31041. in: query
  31042. name: userid
  31043. type: integer
  31044. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31045. in: query
  31046. name: filterstatus
  31047. type: string
  31048. - description: 名称(模糊匹配)
  31049. in: query
  31050. name: filtername
  31051. type: string
  31052. - description: 是否包含子级 1-包含
  31053. in: query
  31054. name: includesub
  31055. type: integer
  31056. produces:
  31057. - application/json
  31058. responses:
  31059. "200":
  31060. description: OK
  31061. schema:
  31062. items:
  31063. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31064. type: array
  31065. "500":
  31066. description: Internal Server Error
  31067. schema:
  31068. $ref: '#/definitions/app.Response'
  31069. security:
  31070. - ApiKeyAuth: []
  31071. summary: 查询经纪人申请
  31072. tags:
  31073. - 大连千海金(PCWeb)
  31074. /QhjMgr/QueryBrokerRewardReport:
  31075. get:
  31076. parameters:
  31077. - description: 所属机构ID
  31078. in: query
  31079. name: userid
  31080. required: true
  31081. type: integer
  31082. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31083. in: query
  31084. name: cycletype
  31085. required: true
  31086. type: integer
  31087. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  31088. in: query
  31089. name: cycletime
  31090. required: true
  31091. type: string
  31092. - description: 名称(模糊匹配)
  31093. in: query
  31094. name: filtername
  31095. type: string
  31096. - description: 是否包含子级 1-包含
  31097. in: query
  31098. name: includesub
  31099. type: integer
  31100. produces:
  31101. - application/json
  31102. responses:
  31103. "200":
  31104. description: OK
  31105. schema:
  31106. items:
  31107. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  31108. type: array
  31109. "500":
  31110. description: Internal Server Error
  31111. schema:
  31112. $ref: '#/definitions/app.Response'
  31113. security:
  31114. - ApiKeyAuth: []
  31115. summary: 查询经纪人奖励报表(废弃)
  31116. tags:
  31117. - 大连千海金(PCWeb)
  31118. /QhjMgr/QueryContract:
  31119. get:
  31120. parameters:
  31121. - description: 用户ID
  31122. in: query
  31123. name: userid
  31124. type: integer
  31125. - description: 商品id
  31126. in: query
  31127. name: goodsid
  31128. type: integer
  31129. - description: 名称(模糊搜索账户)
  31130. in: query
  31131. name: filtername
  31132. type: string
  31133. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  31134. in: query
  31135. name: risklevel
  31136. type: string
  31137. - description: 开始交易日(yyyymmdd)
  31138. in: query
  31139. name: begindate
  31140. type: string
  31141. - description: 结束交易日(yyyymmdd)
  31142. in: query
  31143. name: enddate
  31144. type: string
  31145. produces:
  31146. - application/json
  31147. responses:
  31148. "200":
  31149. description: OK
  31150. schema:
  31151. items:
  31152. $ref: '#/definitions/models.QhjMgrContract'
  31153. type: array
  31154. "500":
  31155. description: Internal Server Error
  31156. schema:
  31157. $ref: '#/definitions/app.Response'
  31158. security:
  31159. - ApiKeyAuth: []
  31160. summary: 查询融资信息(合同)
  31161. tags:
  31162. - 大连千海金(PCWeb)
  31163. /QhjMgr/QueryCustomerInfo:
  31164. get:
  31165. parameters:
  31166. - description: 用户ID
  31167. in: query
  31168. name: userid
  31169. required: true
  31170. type: integer
  31171. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31172. in: query
  31173. name: querytype
  31174. required: true
  31175. type: integer
  31176. - description: 客户类型 1-个人 2-企业
  31177. in: query
  31178. name: userinfotype
  31179. type: integer
  31180. - description: 客户名称(模糊匹配)
  31181. in: query
  31182. name: customername
  31183. type: string
  31184. - description: 昵称(模糊匹配)
  31185. in: query
  31186. name: nickname
  31187. type: string
  31188. - description: 所属客户经理(模糊匹配)
  31189. in: query
  31190. name: brokername
  31191. type: string
  31192. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  31193. 如0503 -5月3日)
  31194. in: query
  31195. name: birthday
  31196. type: string
  31197. - description: 是否包含子级 1-包含
  31198. in: query
  31199. name: includesub
  31200. type: integer
  31201. produces:
  31202. - application/json
  31203. responses:
  31204. "200":
  31205. description: OK
  31206. schema:
  31207. items:
  31208. $ref: '#/definitions/models.QhjMgrCustomer'
  31209. type: array
  31210. "500":
  31211. description: Internal Server Error
  31212. schema:
  31213. $ref: '#/definitions/app.Response'
  31214. security:
  31215. - ApiKeyAuth: []
  31216. summary: 查询客户资料
  31217. tags:
  31218. - 大连千海金(PCWeb)
  31219. /QhjMgr/QueryPickGoods:
  31220. get:
  31221. parameters:
  31222. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31223. in: query
  31224. name: status
  31225. type: string
  31226. produces:
  31227. - application/json
  31228. responses:
  31229. "200":
  31230. description: OK
  31231. schema:
  31232. items:
  31233. $ref: '#/definitions/models.QhjMgrPickGoods'
  31234. type: array
  31235. "500":
  31236. description: Internal Server Error
  31237. schema:
  31238. $ref: '#/definitions/app.Response'
  31239. security:
  31240. - ApiKeyAuth: []
  31241. summary: 查询提货商品
  31242. tags:
  31243. - 大连千海金(PCWeb)
  31244. /QhjMgr/QuerySubArea:
  31245. get:
  31246. parameters:
  31247. - description: 用户ID
  31248. in: query
  31249. name: userid
  31250. required: true
  31251. type: integer
  31252. produces:
  31253. - application/json
  31254. responses:
  31255. "200":
  31256. description: OK
  31257. schema:
  31258. items:
  31259. $ref: '#/definitions/models.QhjMgrSubArea'
  31260. type: array
  31261. "500":
  31262. description: Internal Server Error
  31263. schema:
  31264. $ref: '#/definitions/app.Response'
  31265. security:
  31266. - ApiKeyAuth: []
  31267. summary: 查询子机构列表
  31268. tags:
  31269. - 大连千海金(PCWeb)
  31270. /QhjMgr/QueryTradeDetail:
  31271. get:
  31272. parameters:
  31273. - description: 用户ID
  31274. in: query
  31275. name: userid
  31276. required: true
  31277. type: integer
  31278. - description: 用户类型 1-个人 2-企业
  31279. in: query
  31280. name: userinfotype
  31281. type: integer
  31282. - description: 交易模式
  31283. in: query
  31284. name: trademode
  31285. type: integer
  31286. - description: 商品id
  31287. in: query
  31288. name: goodsid
  31289. type: integer
  31290. - description: 名称(模糊搜索账户)
  31291. in: query
  31292. name: filtername
  31293. type: string
  31294. - description: 开始交易日(yyyymmdd)
  31295. in: query
  31296. name: begindate
  31297. type: string
  31298. - description: 结束交易日(yyyymmdd)
  31299. in: query
  31300. name: enddate
  31301. type: string
  31302. - description: 是否包含子级 1-包含
  31303. in: query
  31304. name: includesub
  31305. type: integer
  31306. produces:
  31307. - application/json
  31308. responses:
  31309. "200":
  31310. description: OK
  31311. schema:
  31312. items:
  31313. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  31314. type: array
  31315. "500":
  31316. description: Internal Server Error
  31317. schema:
  31318. $ref: '#/definitions/app.Response'
  31319. security:
  31320. - ApiKeyAuth: []
  31321. summary: 查询成交明细
  31322. tags:
  31323. - 大连千海金(PCWeb)
  31324. /QhjMgr/QueryTradeOrderDetail:
  31325. get:
  31326. parameters:
  31327. - description: 用户ID
  31328. in: query
  31329. name: userid
  31330. required: true
  31331. type: integer
  31332. - description: 用户类型 1-个人 2-企业
  31333. in: query
  31334. name: userinfotype
  31335. type: integer
  31336. - description: 交易模式
  31337. in: query
  31338. name: trademode
  31339. type: integer
  31340. - description: 商品id
  31341. in: query
  31342. name: goodsid
  31343. type: integer
  31344. - description: 名称(模糊搜索账户)
  31345. in: query
  31346. name: filtername
  31347. type: string
  31348. - description: 开始交易日(yyyymmdd)
  31349. in: query
  31350. name: begindate
  31351. type: string
  31352. - description: 结束交易日(yyyymmdd)
  31353. in: query
  31354. name: enddate
  31355. type: string
  31356. - description: 是否包含子级 1-包含
  31357. in: query
  31358. name: includesub
  31359. type: integer
  31360. produces:
  31361. - application/json
  31362. responses:
  31363. "200":
  31364. description: OK
  31365. schema:
  31366. items:
  31367. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  31368. type: array
  31369. "500":
  31370. description: Internal Server Error
  31371. schema:
  31372. $ref: '#/definitions/app.Response'
  31373. security:
  31374. - ApiKeyAuth: []
  31375. summary: 查询委托明细
  31376. tags:
  31377. - 大连千海金(PCWeb)
  31378. /QhjMgr/QueryTradePayOrder:
  31379. get:
  31380. parameters:
  31381. - description: 用户ID
  31382. in: query
  31383. name: userid
  31384. required: true
  31385. type: integer
  31386. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31387. in: query
  31388. name: payflag
  31389. type: string
  31390. - description: 用户类型 1-个人 2-企业
  31391. in: query
  31392. name: userinfotype
  31393. type: integer
  31394. - description: 交易模式
  31395. in: query
  31396. name: trademode
  31397. type: integer
  31398. - description: 商品id
  31399. in: query
  31400. name: goodsid
  31401. type: integer
  31402. - description: 名称(模糊搜索账户)
  31403. in: query
  31404. name: filtername
  31405. type: string
  31406. - description: 开始交易日(yyyymmdd)
  31407. in: query
  31408. name: begindate
  31409. type: string
  31410. - description: 结束交易日(yyyymmdd)
  31411. in: query
  31412. name: enddate
  31413. type: string
  31414. - description: 是否包含子级 1-包含
  31415. in: query
  31416. name: includesub
  31417. type: integer
  31418. produces:
  31419. - application/json
  31420. responses:
  31421. "200":
  31422. description: OK
  31423. schema:
  31424. items:
  31425. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  31426. type: array
  31427. "500":
  31428. description: Internal Server Error
  31429. schema:
  31430. $ref: '#/definitions/app.Response'
  31431. security:
  31432. - ApiKeyAuth: []
  31433. summary: 查询待付款单
  31434. tags:
  31435. - 大连千海金(PCWeb)
  31436. /QhjMgr/QueryTradePosition:
  31437. get:
  31438. parameters:
  31439. - description: 用户ID
  31440. in: query
  31441. name: userid
  31442. required: true
  31443. type: integer
  31444. - description: 用户类型 1-个人 2-企业
  31445. in: query
  31446. name: userinfotype
  31447. type: integer
  31448. - description: 交易模式
  31449. in: query
  31450. name: trademode
  31451. type: integer
  31452. - description: 商品id
  31453. in: query
  31454. name: goodsid
  31455. type: integer
  31456. - description: 名称(模糊搜索账户)
  31457. in: query
  31458. name: filtername
  31459. type: string
  31460. - description: 是否包含子级 1-包含
  31461. in: query
  31462. name: includesub
  31463. type: integer
  31464. produces:
  31465. - application/json
  31466. responses:
  31467. "200":
  31468. description: OK
  31469. schema:
  31470. items:
  31471. $ref: '#/definitions/models.QhjMgrPositionRsp'
  31472. type: array
  31473. "500":
  31474. description: Internal Server Error
  31475. schema:
  31476. $ref: '#/definitions/app.Response'
  31477. security:
  31478. - ApiKeyAuth: []
  31479. summary: 查询持仓汇总
  31480. tags:
  31481. - 大连千海金(PCWeb)
  31482. /QhjSys/QueryAgreementChangeLog:
  31483. get:
  31484. parameters:
  31485. - description: 协议ID
  31486. in: query
  31487. name: agreementid
  31488. type: integer
  31489. - description: 协议版本号
  31490. in: query
  31491. name: agreementversion
  31492. type: integer
  31493. - description: 协议类型 - 1:注册 2:登录 3:交易
  31494. in: query
  31495. name: agreementtype
  31496. type: integer
  31497. - description: 协议编号(模糊匹配)
  31498. in: query
  31499. name: agreementno
  31500. type: string
  31501. - description: 协议名称(模糊匹配)
  31502. in: query
  31503. name: agreementname
  31504. type: string
  31505. produces:
  31506. - application/json
  31507. responses:
  31508. "200":
  31509. description: OK
  31510. schema:
  31511. items:
  31512. $ref: '#/definitions/models.QhjAgreementChangeLog'
  31513. type: array
  31514. "500":
  31515. description: Internal Server Error
  31516. schema:
  31517. $ref: '#/definitions/app.Response'
  31518. security:
  31519. - ApiKeyAuth: []
  31520. summary: 查询协议配置变更流水
  31521. tags:
  31522. - 大连千海金(协议和签约信息)
  31523. /QhjSys/QueryAgreementConfig:
  31524. get:
  31525. parameters:
  31526. - description: 协议ID
  31527. in: query
  31528. name: agreementid
  31529. type: integer
  31530. - description: 协议版本号
  31531. in: query
  31532. name: agreementversion
  31533. type: integer
  31534. - description: 协议类型 - 1:注册 2:登录 3:交易
  31535. in: query
  31536. name: agreementtype
  31537. type: integer
  31538. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31539. in: query
  31540. name: isvalid
  31541. type: integer
  31542. - description: 协议编号(模糊匹配)
  31543. in: query
  31544. name: agreementno
  31545. type: string
  31546. - description: 协议名称(模糊匹配)
  31547. in: query
  31548. name: agreementname
  31549. type: string
  31550. produces:
  31551. - application/json
  31552. responses:
  31553. "200":
  31554. description: OK
  31555. schema:
  31556. items:
  31557. $ref: '#/definitions/models.QhjAgreementConfig'
  31558. type: array
  31559. "500":
  31560. description: Internal Server Error
  31561. schema:
  31562. $ref: '#/definitions/app.Response'
  31563. security:
  31564. - ApiKeyAuth: []
  31565. summary: 查询协议配置
  31566. tags:
  31567. - 大连千海金(协议和签约信息)
  31568. /QhjSys/QueryCustomerSignStatus:
  31569. get:
  31570. parameters:
  31571. - description: 客户ID
  31572. in: query
  31573. name: userid
  31574. type: integer
  31575. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31576. in: query
  31577. name: nodetype
  31578. type: integer
  31579. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31580. in: query
  31581. name: goodsid
  31582. type: integer
  31583. - description: 创建交易日(yyyyMMdd)
  31584. in: query
  31585. name: tradedate
  31586. type: string
  31587. - description: 用户名称(模糊匹配)
  31588. in: query
  31589. name: username
  31590. type: string
  31591. produces:
  31592. - application/json
  31593. responses:
  31594. "200":
  31595. description: OK
  31596. schema:
  31597. items:
  31598. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31599. type: array
  31600. "500":
  31601. description: Internal Server Error
  31602. schema:
  31603. $ref: '#/definitions/app.Response'
  31604. security:
  31605. - ApiKeyAuth: []
  31606. summary: 查询客户协议签约状态
  31607. tags:
  31608. - 大连千海金(协议和签约信息)
  31609. /QhjSys/QueryNodeAgreementConfig:
  31610. get:
  31611. parameters:
  31612. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31613. in: query
  31614. name: configid
  31615. type: integer
  31616. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31617. in: query
  31618. name: nodetype
  31619. type: integer
  31620. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31621. in: query
  31622. name: goodsid
  31623. type: integer
  31624. - description: 协议ID
  31625. in: query
  31626. name: agreementid
  31627. type: integer
  31628. - description: 协议类型 - 1:注册 2:登录 3:交易
  31629. in: query
  31630. name: agreementtype
  31631. type: integer
  31632. - description: 协议版本号
  31633. in: query
  31634. name: agreementversion
  31635. type: integer
  31636. - description: 协议编号(模糊匹配)
  31637. in: query
  31638. name: agreementno
  31639. type: string
  31640. - description: 协议名称(模糊匹配)
  31641. in: query
  31642. name: agreementname
  31643. type: string
  31644. produces:
  31645. - application/json
  31646. responses:
  31647. "200":
  31648. description: OK
  31649. schema:
  31650. items:
  31651. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31652. type: array
  31653. "500":
  31654. description: Internal Server Error
  31655. schema:
  31656. $ref: '#/definitions/app.Response'
  31657. security:
  31658. - ApiKeyAuth: []
  31659. summary: 查询协议节点配置
  31660. tags:
  31661. - 大连千海金(协议和签约信息)
  31662. /QhjSys/QueryQhjCustomerSignLog:
  31663. get:
  31664. parameters:
  31665. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31666. in: query
  31667. name: logid
  31668. type: integer
  31669. - description: 客户ID
  31670. in: query
  31671. name: userid
  31672. type: integer
  31673. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31674. in: query
  31675. name: nodetype
  31676. type: integer
  31677. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31678. in: query
  31679. name: goodsid
  31680. type: integer
  31681. - description: 协议ID
  31682. in: query
  31683. name: agreementid
  31684. type: integer
  31685. - description: 用户名称(模糊匹配)
  31686. in: query
  31687. name: username
  31688. type: string
  31689. - description: 协议编号(模糊匹配)
  31690. in: query
  31691. name: agreementno
  31692. type: string
  31693. - description: 协议名称(模糊匹配)
  31694. in: query
  31695. name: agreementname
  31696. type: string
  31697. produces:
  31698. - application/json
  31699. responses:
  31700. "200":
  31701. description: OK
  31702. schema:
  31703. items:
  31704. $ref: '#/definitions/models.QhjCustomerSignLog'
  31705. type: array
  31706. "500":
  31707. description: Internal Server Error
  31708. schema:
  31709. $ref: '#/definitions/app.Response'
  31710. security:
  31711. - ApiKeyAuth: []
  31712. summary: 查询客户协议签约流水
  31713. tags:
  31714. - 大连千海金(协议和签约信息)
  31715. /QhjSys/QueryUserNodeCfgAndStatus:
  31716. get:
  31717. parameters:
  31718. - description: 客户ID
  31719. in: query
  31720. name: userid
  31721. type: integer
  31722. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31723. in: query
  31724. name: configid
  31725. type: integer
  31726. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31727. in: query
  31728. name: nodetype
  31729. type: string
  31730. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31731. in: query
  31732. name: goodsid
  31733. type: integer
  31734. - description: 协议ID
  31735. in: query
  31736. name: agreementid
  31737. type: integer
  31738. - description: 协议类型 - 1:注册 2:登录 3:交易
  31739. in: query
  31740. name: agreementtype
  31741. type: integer
  31742. - description: 协议版本号
  31743. in: query
  31744. name: agreementversion
  31745. type: integer
  31746. - description: 协议编号(模糊匹配)
  31747. in: query
  31748. name: agreementno
  31749. type: string
  31750. - description: 协议名称(模糊匹配)
  31751. in: query
  31752. name: agreementname
  31753. type: string
  31754. produces:
  31755. - application/json
  31756. responses:
  31757. "200":
  31758. description: OK
  31759. schema:
  31760. items:
  31761. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31762. type: array
  31763. "500":
  31764. description: Internal Server Error
  31765. schema:
  31766. $ref: '#/definitions/app.Response'
  31767. security:
  31768. - ApiKeyAuth: []
  31769. summary: 查询用户协议节点配置和状态
  31770. tags:
  31771. - 大连千海金(协议和签约信息)
  31772. /Quote/QueryHistoryDatas:
  31773. get:
  31774. parameters:
  31775. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31776. 日线 12:周线 13:月线 14:年线'
  31777. in: query
  31778. name: cycleType
  31779. required: true
  31780. type: integer
  31781. - description: 商品代码
  31782. in: query
  31783. name: goodsCode
  31784. required: true
  31785. type: string
  31786. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31787. in: query
  31788. name: startTime
  31789. type: string
  31790. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31791. in: query
  31792. name: endTime
  31793. type: string
  31794. - description: 条数
  31795. in: query
  31796. name: count
  31797. type: integer
  31798. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31799. in: query
  31800. name: isAsc
  31801. type: boolean
  31802. produces:
  31803. - application/json
  31804. responses:
  31805. "200":
  31806. description: OK
  31807. schema:
  31808. $ref: '#/definitions/quote.HistoryData'
  31809. "500":
  31810. description: Internal Server Error
  31811. schema:
  31812. $ref: '#/definitions/app.Response'
  31813. security:
  31814. - ApiKeyAuth: []
  31815. summary: 查询行情历史数据
  31816. tags:
  31817. - 行情服务
  31818. /Quote/QueryHistoryTikDatas:
  31819. get:
  31820. parameters:
  31821. - description: 商品代码
  31822. in: query
  31823. name: goodsCode
  31824. required: true
  31825. type: string
  31826. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31827. in: query
  31828. name: startTime
  31829. type: string
  31830. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31831. in: query
  31832. name: endTime
  31833. type: string
  31834. - description: 条数
  31835. in: query
  31836. name: count
  31837. type: integer
  31838. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31839. in: query
  31840. name: isAsc
  31841. type: boolean
  31842. produces:
  31843. - application/json
  31844. responses:
  31845. "200":
  31846. description: OK
  31847. schema:
  31848. $ref: '#/definitions/quote.HistoryTikData'
  31849. "500":
  31850. description: Internal Server Error
  31851. schema:
  31852. $ref: '#/definitions/app.Response'
  31853. security:
  31854. - ApiKeyAuth: []
  31855. summary: 查询行情Tik数据
  31856. tags:
  31857. - 行情服务
  31858. /Quote/QueryQuoteDay:
  31859. get:
  31860. parameters:
  31861. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  31862. in: query
  31863. name: goodsCodes
  31864. type: string
  31865. produces:
  31866. - application/json
  31867. responses:
  31868. "200":
  31869. description: OK
  31870. schema:
  31871. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  31872. "500":
  31873. description: Internal Server Error
  31874. schema:
  31875. $ref: '#/definitions/app.Response'
  31876. security:
  31877. - ApiKeyAuth: []
  31878. summary: 获取商品盘面信息
  31879. tags:
  31880. - 行情服务
  31881. /Quote/QueryTSData:
  31882. get:
  31883. parameters:
  31884. - description: 商品代码
  31885. in: query
  31886. name: goodsCode
  31887. required: true
  31888. type: string
  31889. produces:
  31890. - application/json
  31891. responses:
  31892. "200":
  31893. description: OK
  31894. schema:
  31895. $ref: '#/definitions/quote.QueryTSDataRsp'
  31896. "500":
  31897. description: Internal Server Error
  31898. schema:
  31899. $ref: '#/definitions/app.Response'
  31900. security:
  31901. - ApiKeyAuth: []
  31902. summary: 分时图数据查询
  31903. tags:
  31904. - 行情服务
  31905. /SZDZ/QueryConvertConfig:
  31906. get:
  31907. parameters:
  31908. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  31909. 6:交易转花生米(不设置)
  31910. in: query
  31911. name: convertType
  31912. type: integer
  31913. - description: 外部商品代码[JD\PD]
  31914. in: query
  31915. name: outerGoodsCode
  31916. type: string
  31917. - description: 内部商品ID列表[交易],格式:1,2,3
  31918. in: query
  31919. name: innerGoodsIDs
  31920. type: string
  31921. produces:
  31922. - application/json
  31923. responses:
  31924. "200":
  31925. description: OK
  31926. schema:
  31927. $ref: '#/definitions/models.Szdz3convertconfig'
  31928. "500":
  31929. description: Internal Server Error
  31930. schema:
  31931. $ref: '#/definitions/app.Response'
  31932. security:
  31933. - ApiKeyAuth: []
  31934. summary: 查询交易系统转换设置
  31935. tags:
  31936. - 定制【尚志大宗】
  31937. /SZDZ/QueryConvertLog:
  31938. get:
  31939. parameters:
  31940. - description: 资金账户 - 格式:1,2,3
  31941. in: query
  31942. name: accountID
  31943. required: true
  31944. type: string
  31945. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31946. in: query
  31947. name: startDate
  31948. type: string
  31949. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  31950. in: query
  31951. name: endDate
  31952. type: string
  31953. produces:
  31954. - application/json
  31955. responses:
  31956. "200":
  31957. description: OK
  31958. schema:
  31959. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  31960. "500":
  31961. description: Internal Server Error
  31962. schema:
  31963. $ref: '#/definitions/app.Response'
  31964. security:
  31965. - ApiKeyAuth: []
  31966. summary: 交易系统转换流水查询
  31967. tags:
  31968. - 定制【尚志大宗】
  31969. /SZDZ/QueryGoodsPickup:
  31970. get:
  31971. parameters:
  31972. - description: 资金账户 - 格式:1,2,3
  31973. in: query
  31974. name: accountID
  31975. required: true
  31976. type: string
  31977. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  31978. in: query
  31979. name: takeOrderStatus
  31980. type: integer
  31981. produces:
  31982. - application/json
  31983. responses:
  31984. "200":
  31985. description: OK
  31986. schema:
  31987. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  31988. "500":
  31989. description: Internal Server Error
  31990. schema:
  31991. $ref: '#/definitions/app.Response'
  31992. security:
  31993. - ApiKeyAuth: []
  31994. summary: 商品提货单查询
  31995. tags:
  31996. - 定制【尚志大宗】
  31997. /SZDZ/QueryRecieptOrder:
  31998. get:
  31999. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32000. parameters:
  32001. - description: 页码
  32002. in: query
  32003. name: page
  32004. type: integer
  32005. - description: 每页条数
  32006. in: query
  32007. name: pagesize
  32008. type: integer
  32009. - description: 商品ID
  32010. in: query
  32011. name: goodsID
  32012. required: true
  32013. type: integer
  32014. - description: 所属账户名称
  32015. in: query
  32016. name: accountName
  32017. type: string
  32018. - description: 市场ID
  32019. in: query
  32020. name: marketID
  32021. type: integer
  32022. - description: 方向 - 0:买 1:卖
  32023. in: query
  32024. name: buyorsell
  32025. required: true
  32026. type: integer
  32027. produces:
  32028. - application/json
  32029. responses:
  32030. "200":
  32031. description: OK
  32032. schema:
  32033. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32034. "500":
  32035. description: Internal Server Error
  32036. schema:
  32037. $ref: '#/definitions/app.Response'
  32038. security:
  32039. - ApiKeyAuth: []
  32040. summary: 点选挂牌委托单据查询(摘牌大厅)
  32041. tags:
  32042. - 定制【尚志大宗】
  32043. /SZDZ/QuerySZDZTradePosition:
  32044. get:
  32045. parameters:
  32046. - description: 资金账户
  32047. in: query
  32048. name: accountID
  32049. required: true
  32050. type: integer
  32051. produces:
  32052. - application/json
  32053. responses:
  32054. "200":
  32055. description: OK
  32056. schema:
  32057. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32058. "500":
  32059. description: Internal Server Error
  32060. schema:
  32061. $ref: '#/definitions/app.Response'
  32062. security:
  32063. - ApiKeyAuth: []
  32064. summary: 持仓汇总查询(尚志大宗)
  32065. tags:
  32066. - 定制【尚志大宗】
  32067. /SZDZ/SearchWhite:
  32068. get:
  32069. parameters:
  32070. - description: 用户ID
  32071. in: query
  32072. name: userID
  32073. required: true
  32074. type: integer
  32075. produces:
  32076. - application/json
  32077. responses:
  32078. "200":
  32079. description: OK
  32080. schema:
  32081. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32082. "500":
  32083. description: Internal Server Error
  32084. schema:
  32085. $ref: '#/definitions/app.Response'
  32086. security:
  32087. - ApiKeyAuth: []
  32088. summary: 搜索白名单
  32089. tags:
  32090. - 定制【尚志大宗】
  32091. /Search/SearchGoodses:
  32092. get:
  32093. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  32094. parameters:
  32095. - description: 检索内容
  32096. in: query
  32097. name: content
  32098. required: true
  32099. type: string
  32100. - description: 交易模式,格式:1,2,3
  32101. in: query
  32102. name: tradeModes
  32103. type: string
  32104. produces:
  32105. - application/json
  32106. responses:
  32107. "200":
  32108. description: OK
  32109. schema:
  32110. $ref: '#/definitions/models.SearchGoods'
  32111. "500":
  32112. description: Internal Server Error
  32113. schema:
  32114. $ref: '#/definitions/app.Response'
  32115. summary: 检索商品信息
  32116. tags:
  32117. - 检索服务
  32118. /TaAccount/GetTaAccounts:
  32119. get:
  32120. parameters:
  32121. - description: 登录账户
  32122. in: query
  32123. name: loginID
  32124. required: true
  32125. type: integer
  32126. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  32127. in: query
  32128. name: taAccountType
  32129. type: integer
  32130. produces:
  32131. - application/json
  32132. responses:
  32133. "200":
  32134. description: OK
  32135. schema:
  32136. $ref: '#/definitions/models.Taaccount'
  32137. "500":
  32138. description: Internal Server Error
  32139. schema:
  32140. $ref: '#/definitions/app.Response'
  32141. security:
  32142. - ApiKeyAuth: []
  32143. summary: 获取资金账户信息
  32144. tags:
  32145. - 资金账户
  32146. /TaAccount/QueryAmountLog:
  32147. get:
  32148. parameters:
  32149. - description: 页码
  32150. in: query
  32151. name: page
  32152. type: integer
  32153. - description: 每页条数
  32154. in: query
  32155. name: pagesize
  32156. type: integer
  32157. - description: 资金账户 - 格式:1,2,3
  32158. in: query
  32159. name: accountID
  32160. required: true
  32161. type: string
  32162. - description: 资金操作类型 - 格式:1,2,3
  32163. in: query
  32164. name: OperateType
  32165. type: string
  32166. produces:
  32167. - application/json
  32168. responses:
  32169. "200":
  32170. description: OK
  32171. schema:
  32172. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  32173. "500":
  32174. description: Internal Server Error
  32175. schema:
  32176. $ref: '#/definitions/app.Response'
  32177. security:
  32178. - ApiKeyAuth: []
  32179. summary: 资金流水查询(当前)
  32180. tags:
  32181. - 资金账户
  32182. /TaAccount/QueryHisAmountLog:
  32183. get:
  32184. parameters:
  32185. - description: 页码
  32186. in: query
  32187. name: page
  32188. type: integer
  32189. - description: 每页条数
  32190. in: query
  32191. name: pagesize
  32192. type: integer
  32193. - description: 资金账户 - 格式:1,2,3
  32194. in: query
  32195. name: accountID
  32196. required: true
  32197. type: string
  32198. - description: 资金操作类型 - 格式:1,2,3
  32199. in: query
  32200. name: OperateType
  32201. type: string
  32202. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32203. in: query
  32204. name: startDate
  32205. type: string
  32206. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32207. in: query
  32208. name: endDate
  32209. type: string
  32210. produces:
  32211. - application/json
  32212. responses:
  32213. "200":
  32214. description: OK
  32215. schema:
  32216. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  32217. "500":
  32218. description: Internal Server Error
  32219. schema:
  32220. $ref: '#/definitions/app.Response'
  32221. security:
  32222. - ApiKeyAuth: []
  32223. summary: 资金流水查询(历史)
  32224. tags:
  32225. - 资金账户
  32226. /TaAccount/QueryRelatedTaAccount:
  32227. get:
  32228. parameters:
  32229. - description: 关联UserID
  32230. in: query
  32231. name: relateduserid
  32232. required: true
  32233. type: integer
  32234. produces:
  32235. - application/json
  32236. responses:
  32237. "200":
  32238. description: OK
  32239. schema:
  32240. items:
  32241. $ref: '#/definitions/models.RelatedTaAccount'
  32242. type: array
  32243. "500":
  32244. description: Internal Server Error
  32245. schema:
  32246. $ref: '#/definitions/app.Response'
  32247. security:
  32248. - ApiKeyAuth: []
  32249. summary: 查询关联资金账户信息
  32250. tags:
  32251. - 资金账户
  32252. /Tjmd/QueryQuoteGoodsList:
  32253. get:
  32254. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  32255. parameters:
  32256. - description: 用户类型
  32257. in: query
  32258. name: usertype
  32259. required: true
  32260. type: integer
  32261. - description: 市场id, 格式 1,2,3
  32262. in: query
  32263. name: marketids
  32264. type: string
  32265. - description: 商品组id
  32266. in: query
  32267. name: goodsgroupid
  32268. type: integer
  32269. - description: 商品id
  32270. in: query
  32271. name: goodsid
  32272. type: integer
  32273. produces:
  32274. - application/json
  32275. responses:
  32276. "200":
  32277. description: OK
  32278. schema:
  32279. items:
  32280. $ref: '#/definitions/models.TjmdQuoteGoods'
  32281. type: array
  32282. "500":
  32283. description: Internal Server Error
  32284. schema:
  32285. $ref: '#/definitions/app.Response'
  32286. security:
  32287. - ApiKeyAuth: []
  32288. summary: 查询掉期报价列表
  32289. tags:
  32290. - 天津麦顿
  32291. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  32292. get:
  32293. parameters:
  32294. - description: 成交单号
  32295. in: query
  32296. name: tradeid
  32297. required: true
  32298. type: string
  32299. produces:
  32300. - application/json
  32301. responses:
  32302. "200":
  32303. description: OK
  32304. schema:
  32305. items:
  32306. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  32307. type: array
  32308. "500":
  32309. description: Internal Server Error
  32310. schema:
  32311. $ref: '#/definitions/app.Response'
  32312. security:
  32313. - ApiKeyAuth: []
  32314. summary: 掉期商品订单详情(交易确认书)
  32315. tags:
  32316. - 天津麦顿
  32317. /Tjmd/QueryTjmdMarketSection:
  32318. get:
  32319. produces:
  32320. - application/json
  32321. responses:
  32322. "200":
  32323. description: OK
  32324. schema:
  32325. items:
  32326. $ref: '#/definitions/models.TjmdMarketSection'
  32327. type: array
  32328. "500":
  32329. description: Internal Server Error
  32330. schema:
  32331. $ref: '#/definitions/app.Response'
  32332. security:
  32333. - ApiKeyAuth: []
  32334. summary: 查询市场板块
  32335. tags:
  32336. - 天津麦顿
  32337. /Tjmd/QueryTjmdTodayAccountMargin:
  32338. get:
  32339. parameters:
  32340. - description: 市场id
  32341. in: query
  32342. name: marketid
  32343. type: string
  32344. - description: 商品id
  32345. in: query
  32346. name: goodsid
  32347. type: string
  32348. - description: 资金账号
  32349. in: query
  32350. name: accountid
  32351. type: string
  32352. produces:
  32353. - application/json
  32354. responses:
  32355. "200":
  32356. description: OK
  32357. schema:
  32358. items:
  32359. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  32360. type: array
  32361. "500":
  32362. description: Internal Server Error
  32363. schema:
  32364. $ref: '#/definitions/app.Response'
  32365. security:
  32366. - ApiKeyAuth: []
  32367. summary: 查询今日账户保证金配置
  32368. tags:
  32369. - 天津麦顿
  32370. /Tjmd/QueryTjmdTradeOrderDetail:
  32371. get:
  32372. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  32373. parameters:
  32374. - description: 页码
  32375. in: query
  32376. name: page
  32377. type: integer
  32378. - description: 每页条数
  32379. in: query
  32380. name: pagesize
  32381. type: integer
  32382. - description: 用户id
  32383. in: query
  32384. name: userid
  32385. required: true
  32386. type: integer
  32387. - description: 用户类型
  32388. in: query
  32389. name: usertype
  32390. required: true
  32391. type: integer
  32392. - description: 市场id, 格式 1,2,3
  32393. in: query
  32394. name: marketids
  32395. type: string
  32396. - description: 商品id
  32397. in: query
  32398. name: goodsid
  32399. required: true
  32400. type: integer
  32401. - description: 买卖方向 0-买 1-卖
  32402. in: query
  32403. name: buyorsell
  32404. required: true
  32405. type: integer
  32406. produces:
  32407. - application/json
  32408. responses:
  32409. "200":
  32410. description: OK
  32411. schema:
  32412. items:
  32413. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  32414. type: array
  32415. "500":
  32416. description: Internal Server Error
  32417. schema:
  32418. $ref: '#/definitions/app.Response'
  32419. security:
  32420. - ApiKeyAuth: []
  32421. summary: 查询掉期买卖大厅
  32422. tags:
  32423. - 天津麦顿
  32424. /Tjmd/QueryTjmdTransferApply:
  32425. get:
  32426. parameters:
  32427. - description: 类型 1-我的申请 2-对方申请
  32428. in: query
  32429. name: applytype
  32430. required: true
  32431. type: integer
  32432. - description: 市场id, 格式 1,2,3
  32433. in: query
  32434. name: marketids
  32435. type: string
  32436. - description: 资金账号, 格式 25000000001,25000000003
  32437. in: query
  32438. name: accountids
  32439. type: string
  32440. - description: 开始交易日(yyyymmdd)
  32441. in: query
  32442. name: begindate
  32443. type: string
  32444. - description: 结束交易日(yyyymmdd)
  32445. in: query
  32446. name: enddate
  32447. type: string
  32448. produces:
  32449. - application/json
  32450. responses:
  32451. "200":
  32452. description: OK
  32453. schema:
  32454. items:
  32455. $ref: '#/definitions/models.TjmdTransferApply'
  32456. type: array
  32457. "500":
  32458. description: Internal Server Error
  32459. schema:
  32460. $ref: '#/definitions/app.Response'
  32461. security:
  32462. - ApiKeyAuth: []
  32463. summary: 查询掉期协议单
  32464. tags:
  32465. - 天津麦顿
  32466. /Trade/QueryRecieptOrder:
  32467. get:
  32468. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32469. parameters:
  32470. - description: 页码
  32471. in: query
  32472. name: page
  32473. type: integer
  32474. - description: 每页条数
  32475. in: query
  32476. name: pagesize
  32477. type: integer
  32478. - description: 商品ID
  32479. in: query
  32480. name: goodsID
  32481. required: true
  32482. type: integer
  32483. - description: 所属账户名称
  32484. in: query
  32485. name: accountName
  32486. type: string
  32487. - description: 市场ID
  32488. in: query
  32489. name: marketID
  32490. type: integer
  32491. - description: 方向 - 0:买 1:卖
  32492. in: query
  32493. name: buyorsell
  32494. required: true
  32495. type: integer
  32496. produces:
  32497. - application/json
  32498. responses:
  32499. "200":
  32500. description: OK
  32501. schema:
  32502. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  32503. "500":
  32504. description: Internal Server Error
  32505. schema:
  32506. $ref: '#/definitions/app.Response'
  32507. security:
  32508. - ApiKeyAuth: []
  32509. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  32510. tags:
  32511. - 通用交易
  32512. /User/AddMessageBoard:
  32513. post:
  32514. parameters:
  32515. - description: 用户ID
  32516. in: query
  32517. name: userID
  32518. required: true
  32519. type: integer
  32520. - description: 留言信息
  32521. in: query
  32522. name: message
  32523. required: true
  32524. type: string
  32525. - description: 联系电话
  32526. in: query
  32527. name: contactNum
  32528. required: true
  32529. type: string
  32530. produces:
  32531. - application/json
  32532. responses:
  32533. "200":
  32534. description: OK
  32535. schema:
  32536. $ref: '#/definitions/app.Response'
  32537. "500":
  32538. description: Internal Server Error
  32539. schema:
  32540. $ref: '#/definitions/app.Response'
  32541. security:
  32542. - ApiKeyAuth: []
  32543. summary: 添加用户留言板信息
  32544. tags:
  32545. - 用户信息
  32546. /User/AddUserFavoriteGoods:
  32547. post:
  32548. parameters:
  32549. - description: 用户ID
  32550. in: query
  32551. name: userID
  32552. required: true
  32553. type: integer
  32554. - description: 商品ID
  32555. in: query
  32556. name: goodsID
  32557. required: true
  32558. type: integer
  32559. produces:
  32560. - application/json
  32561. responses:
  32562. "200":
  32563. description: OK
  32564. schema:
  32565. $ref: '#/definitions/app.Response'
  32566. "500":
  32567. description: Internal Server Error
  32568. schema:
  32569. $ref: '#/definitions/app.Response'
  32570. security:
  32571. - ApiKeyAuth: []
  32572. summary: 添加用户商品收藏信息
  32573. tags:
  32574. - 用户信息
  32575. /User/GetLoginID:
  32576. get:
  32577. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32578. parameters:
  32579. - description: 登录代码
  32580. in: query
  32581. name: username
  32582. required: true
  32583. type: string
  32584. produces:
  32585. - application/json
  32586. responses:
  32587. "200":
  32588. description: OK
  32589. schema:
  32590. $ref: '#/definitions/app.Response'
  32591. "500":
  32592. description: Internal Server Error
  32593. schema:
  32594. $ref: '#/definitions/app.Response'
  32595. summary: 获取登录ID
  32596. tags:
  32597. - 用户信息
  32598. /User/GetUserAccount:
  32599. get:
  32600. parameters:
  32601. - description: 用户ID
  32602. in: query
  32603. name: userID
  32604. required: true
  32605. type: integer
  32606. produces:
  32607. - application/json
  32608. responses:
  32609. "200":
  32610. description: OK
  32611. schema:
  32612. $ref: '#/definitions/models.Useraccount'
  32613. "500":
  32614. description: Internal Server Error
  32615. schema:
  32616. $ref: '#/definitions/app.Response'
  32617. security:
  32618. - ApiKeyAuth: []
  32619. summary: 获取用户账号信息
  32620. tags:
  32621. - 用户信息
  32622. /User/GetUserAuthStatus:
  32623. get:
  32624. parameters:
  32625. - description: 用户ID
  32626. in: query
  32627. name: userID
  32628. required: true
  32629. type: integer
  32630. produces:
  32631. - application/json
  32632. responses:
  32633. "200":
  32634. description: OK
  32635. schema:
  32636. $ref: '#/definitions/app.Response'
  32637. "500":
  32638. description: Internal Server Error
  32639. schema:
  32640. $ref: '#/definitions/app.Response'
  32641. security:
  32642. - ApiKeyAuth: []
  32643. summary: 获取用户实名认证状态
  32644. tags:
  32645. - 用户信息
  32646. /User/LoginQuery:
  32647. get:
  32648. parameters:
  32649. - description: 登录账号
  32650. in: query
  32651. name: loginID
  32652. required: true
  32653. type: integer
  32654. produces:
  32655. - application/json
  32656. responses:
  32657. "200":
  32658. description: OK
  32659. schema:
  32660. $ref: '#/definitions/user.LoginQueryRsp'
  32661. "500":
  32662. description: Internal Server Error
  32663. schema:
  32664. $ref: '#/definitions/app.Response'
  32665. security:
  32666. - ApiKeyAuth: []
  32667. summary: 账户登录后信息查询
  32668. tags:
  32669. - 用户信息
  32670. /User/QueryMessageBoard:
  32671. get:
  32672. parameters:
  32673. - description: 用户ID
  32674. in: query
  32675. name: userID
  32676. required: true
  32677. type: integer
  32678. produces:
  32679. - application/json
  32680. responses:
  32681. "200":
  32682. description: OK
  32683. schema:
  32684. $ref: '#/definitions/models.Messageboard'
  32685. "500":
  32686. description: Internal Server Error
  32687. schema:
  32688. $ref: '#/definitions/app.Response'
  32689. security:
  32690. - ApiKeyAuth: []
  32691. summary: 获取用户留言板信息
  32692. tags:
  32693. - 用户信息
  32694. /User/QueryUserFavoriteGoodses:
  32695. get:
  32696. parameters:
  32697. - description: 用户ID
  32698. in: query
  32699. name: userID
  32700. required: true
  32701. type: integer
  32702. produces:
  32703. - application/json
  32704. responses:
  32705. "200":
  32706. description: OK
  32707. schema:
  32708. $ref: '#/definitions/models.Userfavoritegoods'
  32709. "500":
  32710. description: Internal Server Error
  32711. schema:
  32712. $ref: '#/definitions/app.Response'
  32713. security:
  32714. - ApiKeyAuth: []
  32715. summary: 获取用户商品收藏信息
  32716. tags:
  32717. - 用户信息
  32718. /User/QueryUserInfo:
  32719. get:
  32720. parameters:
  32721. - description: 用户ID
  32722. in: query
  32723. name: userID
  32724. required: true
  32725. type: integer
  32726. - description: 是否解密
  32727. in: query
  32728. name: isDecrypt
  32729. type: boolean
  32730. produces:
  32731. - application/json
  32732. responses:
  32733. "200":
  32734. description: OK
  32735. schema:
  32736. $ref: '#/definitions/models.Userinfo'
  32737. "500":
  32738. description: Internal Server Error
  32739. schema:
  32740. $ref: '#/definitions/app.Response'
  32741. security:
  32742. - ApiKeyAuth: []
  32743. summary: 获取用户信息
  32744. tags:
  32745. - 用户信息
  32746. /User/QueryUserReferNum:
  32747. get:
  32748. parameters:
  32749. - description: 用户ID
  32750. in: query
  32751. name: userID
  32752. required: true
  32753. type: integer
  32754. produces:
  32755. - application/json
  32756. responses:
  32757. "200":
  32758. description: OK
  32759. schema:
  32760. $ref: '#/definitions/app.Response'
  32761. "500":
  32762. description: Internal Server Error
  32763. schema:
  32764. $ref: '#/definitions/app.Response'
  32765. summary: 获取用户邀请码
  32766. tags:
  32767. - 用户信息
  32768. /User/RemoveUserFavoriteGoods:
  32769. post:
  32770. parameters:
  32771. - description: 用户ID
  32772. in: query
  32773. name: userID
  32774. required: true
  32775. type: integer
  32776. - description: 商品ID
  32777. in: query
  32778. name: goodsID
  32779. required: true
  32780. type: integer
  32781. produces:
  32782. - application/json
  32783. responses:
  32784. "200":
  32785. description: OK
  32786. schema:
  32787. $ref: '#/definitions/app.Response'
  32788. "500":
  32789. description: Internal Server Error
  32790. schema:
  32791. $ref: '#/definitions/app.Response'
  32792. security:
  32793. - ApiKeyAuth: []
  32794. summary: 移除用户商品收藏信息
  32795. tags:
  32796. - 用户信息
  32797. /User/UpdateUserAccountStatus:
  32798. post:
  32799. parameters:
  32800. - description: 用户ID
  32801. in: query
  32802. name: userID
  32803. required: true
  32804. type: integer
  32805. - description: 账户状态 - 4:正常 6:注销(停用)
  32806. in: query
  32807. name: accountStatus
  32808. required: true
  32809. type: integer
  32810. produces:
  32811. - application/json
  32812. responses:
  32813. "200":
  32814. description: OK
  32815. schema:
  32816. $ref: '#/definitions/app.Response'
  32817. "500":
  32818. description: Internal Server Error
  32819. schema:
  32820. $ref: '#/definitions/app.Response'
  32821. security:
  32822. - ApiKeyAuth: []
  32823. summary: 更新用户状态
  32824. tags:
  32825. - 用户信息
  32826. /WRTrade/GetAllDeliveryGoods:
  32827. get:
  32828. produces:
  32829. - application/json
  32830. responses:
  32831. "200":
  32832. description: OK
  32833. schema:
  32834. $ref: '#/definitions/app.Response'
  32835. "500":
  32836. description: Internal Server Error
  32837. schema:
  32838. $ref: '#/definitions/app.Response'
  32839. security:
  32840. - ApiKeyAuth: []
  32841. summary: 获取带仓单分类的种类信息
  32842. tags:
  32843. - 仓单贸易
  32844. - 仓单贸易
  32845. /WrTrade2/InsertXhcpSellBackApply:
  32846. post:
  32847. parameters:
  32848. - description: 回收申请
  32849. in: body
  32850. name: jsonBody
  32851. required: true
  32852. schema:
  32853. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  32854. produces:
  32855. - application/json
  32856. responses:
  32857. "200":
  32858. description: OK
  32859. schema:
  32860. $ref: '#/definitions/app.Response'
  32861. "500":
  32862. description: Internal Server Error
  32863. schema:
  32864. $ref: '#/definitions/app.Response'
  32865. security:
  32866. - ApiKeyAuth: []
  32867. summary: 新增回收申请(新会陈皮)
  32868. tags:
  32869. - 仓单贸易v2
  32870. /WrTrade2/QueryDeliveryGoodsSection:
  32871. get:
  32872. produces:
  32873. - application/json
  32874. responses:
  32875. "200":
  32876. description: OK
  32877. schema:
  32878. items:
  32879. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  32880. type: array
  32881. "500":
  32882. description: Internal Server Error
  32883. schema:
  32884. $ref: '#/definitions/app.Response'
  32885. security:
  32886. - ApiKeyAuth: []
  32887. summary: 查询板块(分类)
  32888. tags:
  32889. - 仓单贸易v2
  32890. /WrTrade2/QueryFaProductDetail:
  32891. get:
  32892. description: 页面 买卖大厅 -> 选择融资方案
  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.WrFAProductDetail'
  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/QueryFilterItem:
  32918. get:
  32919. parameters:
  32920. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  32921. in: query
  32922. name: itype
  32923. required: true
  32924. type: string
  32925. produces:
  32926. - application/json
  32927. responses:
  32928. "200":
  32929. description: OK
  32930. schema:
  32931. items:
  32932. $ref: '#/definitions/models.WrFilterItem'
  32933. type: array
  32934. "500":
  32935. description: Internal Server Error
  32936. schema:
  32937. $ref: '#/definitions/app.Response'
  32938. security:
  32939. - ApiKeyAuth: []
  32940. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  32941. tags:
  32942. - 仓单贸易v2
  32943. /WrTrade2/QueryFtDeliveryGoods:
  32944. get:
  32945. produces:
  32946. - application/json
  32947. responses:
  32948. "200":
  32949. description: OK
  32950. schema:
  32951. items:
  32952. $ref: '#/definitions/models.WrFtDeliveryGoods'
  32953. type: array
  32954. "500":
  32955. description: Internal Server Error
  32956. schema:
  32957. $ref: '#/definitions/app.Response'
  32958. security:
  32959. - ApiKeyAuth: []
  32960. summary: 查询品种品类筛选框列表
  32961. tags:
  32962. - 仓单贸易v2
  32963. /WrTrade2/QueryHoldLB:
  32964. get:
  32965. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  32966. parameters:
  32967. - description: 资金账号
  32968. in: query
  32969. name: accountid
  32970. required: true
  32971. type: integer
  32972. - description: 仓库id
  32973. in: query
  32974. name: warehouseid
  32975. type: integer
  32976. - description: 品种id
  32977. in: query
  32978. name: deliverygoodsid
  32979. type: integer
  32980. - description: 品类id
  32981. in: query
  32982. name: wrstandardid
  32983. type: integer
  32984. - description: 仓单要素id
  32985. in: query
  32986. name: wrfactortypeid
  32987. type: integer
  32988. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32989. in: query
  32990. name: dgitemname
  32991. type: string
  32992. produces:
  32993. - application/json
  32994. responses:
  32995. "200":
  32996. description: OK
  32997. schema:
  32998. items:
  32999. $ref: '#/definitions/models.WrHoldLB'
  33000. type: array
  33001. "500":
  33002. description: Internal Server Error
  33003. schema:
  33004. $ref: '#/definitions/app.Response'
  33005. security:
  33006. - ApiKeyAuth: []
  33007. summary: 查询仓单持有记录
  33008. tags:
  33009. - 仓单贸易v2
  33010. /WrTrade2/QueryOrderQuote:
  33011. get:
  33012. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33013. 唯一确定1条记录
  33014. parameters:
  33015. - description: 页码
  33016. in: query
  33017. name: page
  33018. type: integer
  33019. - description: 每页条数
  33020. in: query
  33021. name: pagesize
  33022. type: integer
  33023. - description: 仓单贸易市场id
  33024. in: query
  33025. name: marketid
  33026. type: integer
  33027. - description: 价格方式 - 1:固定价 2-浮动价
  33028. in: query
  33029. name: wrpricetype
  33030. required: true
  33031. type: integer
  33032. - description: 0:仓单预售 1:仓单贸易
  33033. in: query
  33034. name: haswr
  33035. type: integer
  33036. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33037. in: query
  33038. name: dgitemname
  33039. type: string
  33040. - description: 仓库id(筛选条件)
  33041. in: query
  33042. name: warehouseid
  33043. type: integer
  33044. - description: 品种id
  33045. in: query
  33046. name: deliverygoodsid
  33047. type: integer
  33048. - description: 品类id
  33049. in: query
  33050. name: wrstandardid
  33051. type: integer
  33052. - description: 品牌id(dgfactoryitemid)
  33053. in: query
  33054. name: brandid
  33055. type: integer
  33056. - description: 年份id(dgfactoryitemid)
  33057. in: query
  33058. name: yearsid
  33059. type: integer
  33060. - description: 仓单要素id
  33061. in: query
  33062. name: wrfactortypeid
  33063. type: integer
  33064. - description: 交收月(yyyy-mm) 仓单预售填写
  33065. in: query
  33066. name: deliverymonth
  33067. type: string
  33068. produces:
  33069. - application/json
  33070. responses:
  33071. "200":
  33072. description: OK
  33073. schema:
  33074. items:
  33075. $ref: '#/definitions/models.WrOrderQuote'
  33076. type: array
  33077. "500":
  33078. description: Internal Server Error
  33079. schema:
  33080. $ref: '#/definitions/app.Response'
  33081. security:
  33082. - ApiKeyAuth: []
  33083. summary: 查询大厅行情列表
  33084. tags:
  33085. - 仓单贸易v2
  33086. /WrTrade2/QueryOrderQuoteDetail:
  33087. get:
  33088. parameters:
  33089. - description: 页码
  33090. in: query
  33091. name: page
  33092. type: integer
  33093. - description: 每页条数
  33094. in: query
  33095. name: pagesize
  33096. type: integer
  33097. - description: 仓单贸易市场id
  33098. in: query
  33099. name: marketid
  33100. type: integer
  33101. - description: 价格方式 - 1:固定价 2-浮动价
  33102. in: query
  33103. name: wrpricetype
  33104. required: true
  33105. type: integer
  33106. - description: 0:仓单预售 1:仓单贸易
  33107. in: query
  33108. name: haswr
  33109. type: integer
  33110. - description: 仓单要素id
  33111. in: query
  33112. name: wrfactortypeid
  33113. required: true
  33114. type: integer
  33115. - description: 期货商品id(浮动价方式时填)
  33116. in: query
  33117. name: goodsid
  33118. type: integer
  33119. - description: 买卖方向 0-买 1-卖
  33120. in: query
  33121. name: buyorsell
  33122. required: true
  33123. type: integer
  33124. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  33125. in: query
  33126. name: deliverymonth
  33127. type: string
  33128. produces:
  33129. - application/json
  33130. responses:
  33131. "200":
  33132. description: OK
  33133. schema:
  33134. items:
  33135. $ref: '#/definitions/models.WrOrderQuoteDetail'
  33136. type: array
  33137. "500":
  33138. description: Internal Server Error
  33139. schema:
  33140. $ref: '#/definitions/app.Response'
  33141. security:
  33142. - ApiKeyAuth: []
  33143. summary: 查询买卖大厅
  33144. tags:
  33145. - 仓单贸易v2
  33146. /WrTrade2/QueryOrderQuoteMyq:
  33147. get:
  33148. parameters:
  33149. - description: 页码
  33150. in: query
  33151. name: page
  33152. type: integer
  33153. - description: 每页条数
  33154. in: query
  33155. name: pagesize
  33156. type: integer
  33157. - description: 用户id
  33158. in: query
  33159. name: userid
  33160. required: true
  33161. type: integer
  33162. - description: 仓单贸易市场id
  33163. in: query
  33164. name: marketid
  33165. type: integer
  33166. - description: 0:仓单预售 1:仓单贸易
  33167. in: query
  33168. name: haswr
  33169. type: integer
  33170. - description: 买卖方向 0-买 1-卖
  33171. in: query
  33172. name: buyorsell
  33173. required: true
  33174. type: integer
  33175. - description: 品种id
  33176. in: query
  33177. name: deliverygoodsid
  33178. type: integer
  33179. - description: 品类id
  33180. in: query
  33181. name: wrstandardid
  33182. type: integer
  33183. - description: 交收月(yyyy-mm) 仓单预售填写
  33184. in: query
  33185. name: deliverymonth
  33186. type: string
  33187. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33188. in: query
  33189. name: dgitemname
  33190. type: string
  33191. produces:
  33192. - application/json
  33193. responses:
  33194. "200":
  33195. description: OK
  33196. schema:
  33197. items:
  33198. $ref: '#/definitions/models.WrQuoteOrderMyq'
  33199. type: array
  33200. "500":
  33201. description: Internal Server Error
  33202. schema:
  33203. $ref: '#/definitions/app.Response'
  33204. security:
  33205. - ApiKeyAuth: []
  33206. summary: 查询贸易圈挂牌大厅
  33207. tags:
  33208. - 仓单贸易v2
  33209. /WrTrade2/QueryPerformancePlan:
  33210. get:
  33211. parameters:
  33212. - description: 用户id
  33213. in: query
  33214. name: userid
  33215. required: true
  33216. type: integer
  33217. - description: 买卖方向 0-买 1-卖
  33218. in: query
  33219. name: buyorsell
  33220. required: true
  33221. type: integer
  33222. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  33223. 8:释放冻结失败 9:超时待处理 10:超时关闭
  33224. in: query
  33225. name: status
  33226. type: string
  33227. - description: 开始交易日(yyyymmdd)
  33228. in: query
  33229. name: begindate
  33230. type: string
  33231. - description: 结束交易日(yyyymmdd)
  33232. in: query
  33233. name: enddate
  33234. type: string
  33235. produces:
  33236. - application/json
  33237. responses:
  33238. "200":
  33239. description: OK
  33240. schema:
  33241. items:
  33242. $ref: '#/definitions/models.WrPerformancePlan'
  33243. type: array
  33244. "500":
  33245. description: Internal Server Error
  33246. schema:
  33247. $ref: '#/definitions/app.Response'
  33248. security:
  33249. - ApiKeyAuth: []
  33250. summary: 查询履约信息
  33251. tags:
  33252. - 仓单贸易v2
  33253. /WrTrade2/QueryPermancePlanTmp:
  33254. get:
  33255. description: |-
  33256. 返回指定用户的模板和公共模板(用户id为空)
  33257. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  33258. parameters:
  33259. - description: 用户id
  33260. in: query
  33261. name: userid
  33262. type: integer
  33263. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  33264. (无仓单) 5:挂牌期权 6:竞拍-降价式
  33265. in: query
  33266. name: tmptype
  33267. type: string
  33268. - description: 是否包含公共模板(用户id为空的) 1-包含
  33269. in: query
  33270. name: includepub
  33271. type: integer
  33272. - description: 市场id(天津麦顿指定此参数,其它不用)
  33273. in: query
  33274. name: marketid
  33275. type: integer
  33276. produces:
  33277. - application/json
  33278. responses:
  33279. "200":
  33280. description: OK
  33281. schema:
  33282. items:
  33283. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  33284. type: array
  33285. "500":
  33286. description: Internal Server Error
  33287. schema:
  33288. $ref: '#/definitions/app.Response'
  33289. security:
  33290. - ApiKeyAuth: []
  33291. summary: 查询履约模板
  33292. tags:
  33293. - 仓单贸易v2
  33294. /WrTrade2/QuerySiteColumnDetail:
  33295. get:
  33296. parameters:
  33297. - description: 页码
  33298. in: query
  33299. name: page
  33300. type: integer
  33301. - description: 每页条数
  33302. in: query
  33303. name: pagesize
  33304. type: integer
  33305. - description: 所属栏目id
  33306. in: query
  33307. name: columnid
  33308. type: integer
  33309. produces:
  33310. - application/json
  33311. responses:
  33312. "200":
  33313. description: OK
  33314. schema:
  33315. items:
  33316. $ref: '#/definitions/models.WrSiteColumnDetail'
  33317. type: array
  33318. "500":
  33319. description: Internal Server Error
  33320. schema:
  33321. $ref: '#/definitions/app.Response'
  33322. security:
  33323. - ApiKeyAuth: []
  33324. summary: 查询资讯
  33325. tags:
  33326. - 仓单贸易v2
  33327. /WrTrade2/QuerySpotGroupTradeSum:
  33328. get:
  33329. produces:
  33330. - application/json
  33331. responses:
  33332. "200":
  33333. description: OK
  33334. schema:
  33335. items:
  33336. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  33337. type: array
  33338. "500":
  33339. description: Internal Server Error
  33340. schema:
  33341. $ref: '#/definitions/app.Response'
  33342. security:
  33343. - ApiKeyAuth: []
  33344. summary: 查询指数
  33345. tags:
  33346. - 仓单贸易v2
  33347. /WrTrade2/QuerySpotGroupTradeSumDetail:
  33348. get:
  33349. description: 查询的结果将会按日期 从小到大 排序
  33350. parameters:
  33351. - description: 现货商品id
  33352. in: query
  33353. name: deliverygoodsid
  33354. required: true
  33355. type: integer
  33356. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  33357. in: query
  33358. name: lastnum
  33359. type: integer
  33360. produces:
  33361. - application/json
  33362. responses:
  33363. "200":
  33364. description: OK
  33365. schema:
  33366. items:
  33367. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  33368. type: array
  33369. "500":
  33370. description: Internal Server Error
  33371. schema:
  33372. $ref: '#/definitions/app.Response'
  33373. security:
  33374. - ApiKeyAuth: []
  33375. summary: 查询指数详细(价格走势图)
  33376. tags:
  33377. - 仓单贸易v2
  33378. /WrTrade2/QueryWrAverageTradePrice:
  33379. get:
  33380. parameters:
  33381. - description: 页码
  33382. in: query
  33383. name: page
  33384. type: integer
  33385. - description: 每页条数
  33386. in: query
  33387. name: pagesize
  33388. type: integer
  33389. - description: 0:仓单预售 1:仓单贸易
  33390. in: query
  33391. name: haswr
  33392. required: true
  33393. type: integer
  33394. - description: 仓单要素id
  33395. in: query
  33396. name: wrfactortypeid
  33397. required: true
  33398. type: integer
  33399. produces:
  33400. - application/json
  33401. responses:
  33402. "200":
  33403. description: OK
  33404. schema:
  33405. items:
  33406. $ref: '#/definitions/models.WrAverageTradePrice'
  33407. type: array
  33408. "500":
  33409. description: Internal Server Error
  33410. schema:
  33411. $ref: '#/definitions/app.Response'
  33412. security:
  33413. - ApiKeyAuth: []
  33414. summary: 查询成交价(历史走势)
  33415. tags:
  33416. - 仓单贸易v2
  33417. /WrTrade2/QueryWrBrandAndYears:
  33418. get:
  33419. produces:
  33420. - application/json
  33421. responses:
  33422. "200":
  33423. description: OK
  33424. schema:
  33425. items:
  33426. $ref: '#/definitions/models.WrBrandAndYears'
  33427. type: array
  33428. "500":
  33429. description: Internal Server Error
  33430. schema:
  33431. $ref: '#/definitions/app.Response'
  33432. security:
  33433. - ApiKeyAuth: []
  33434. summary: 查询品牌和年份
  33435. tags:
  33436. - 仓单贸易v2
  33437. /WrTrade2/QueryWrBsGoodsInfo:
  33438. get:
  33439. description: 合约交易/买卖大厅/详情
  33440. parameters:
  33441. - description: 商品id
  33442. in: query
  33443. name: goodsid
  33444. required: true
  33445. type: integer
  33446. produces:
  33447. - application/json
  33448. responses:
  33449. "200":
  33450. description: OK
  33451. schema:
  33452. items:
  33453. $ref: '#/definitions/models.WrBsGoodsInfo'
  33454. type: array
  33455. "500":
  33456. description: Internal Server Error
  33457. schema:
  33458. $ref: '#/definitions/app.Response'
  33459. security:
  33460. - ApiKeyAuth: []
  33461. summary: 查询合约交易买卖大厅详情
  33462. tags:
  33463. - 仓单贸易v2
  33464. /WrTrade2/QueryWrBuybackDetail:
  33465. get:
  33466. parameters:
  33467. - description: 融资合同id
  33468. in: query
  33469. name: scfcontractid
  33470. type: integer
  33471. produces:
  33472. - application/json
  33473. responses:
  33474. "200":
  33475. description: OK
  33476. schema:
  33477. items:
  33478. $ref: '#/definitions/models.WrBuybackDetail'
  33479. type: array
  33480. "500":
  33481. description: Internal Server Error
  33482. schema:
  33483. $ref: '#/definitions/app.Response'
  33484. security:
  33485. - ApiKeyAuth: []
  33486. summary: 查询仓单回购明细
  33487. tags:
  33488. - 仓单贸易v2
  33489. /WrTrade2/QueryWrClientAdSpaceConfig:
  33490. get:
  33491. produces:
  33492. - application/json
  33493. responses:
  33494. "200":
  33495. description: OK
  33496. schema:
  33497. items:
  33498. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  33499. type: array
  33500. "500":
  33501. description: Internal Server Error
  33502. schema:
  33503. $ref: '#/definitions/app.Response'
  33504. security:
  33505. - ApiKeyAuth: []
  33506. summary: 查询固定广告配置
  33507. tags:
  33508. - 仓单贸易v2
  33509. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  33510. get:
  33511. parameters:
  33512. - description: 资金账号
  33513. in: query
  33514. name: accountid
  33515. required: true
  33516. type: integer
  33517. - description: 商品id
  33518. in: query
  33519. name: goodsid
  33520. required: true
  33521. type: integer
  33522. produces:
  33523. - application/json
  33524. responses:
  33525. "200":
  33526. description: OK
  33527. schema:
  33528. items:
  33529. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33530. type: array
  33531. "500":
  33532. description: Internal Server Error
  33533. schema:
  33534. $ref: '#/definitions/app.Response'
  33535. security:
  33536. - ApiKeyAuth: []
  33537. summary: 查询合约交收可点选仓单
  33538. tags:
  33539. - 仓单贸易v2
  33540. /WrTrade2/QueryWrDeliveryDetail:
  33541. get:
  33542. parameters:
  33543. - description: 用户id
  33544. in: query
  33545. name: userid
  33546. required: true
  33547. type: integer
  33548. - description: 资金账号id
  33549. in: query
  33550. name: accountid
  33551. type: integer
  33552. - description: 开始交易日(yyyymmdd)
  33553. in: query
  33554. name: begindate
  33555. type: string
  33556. - description: 结束交易日(yyyymmdd)
  33557. in: query
  33558. name: enddate
  33559. type: string
  33560. produces:
  33561. - application/json
  33562. responses:
  33563. "200":
  33564. description: OK
  33565. schema:
  33566. items:
  33567. $ref: '#/definitions/models.WrDeliveryDetail'
  33568. type: array
  33569. "500":
  33570. description: Internal Server Error
  33571. schema:
  33572. $ref: '#/definitions/app.Response'
  33573. security:
  33574. - ApiKeyAuth: []
  33575. summary: 查询交收
  33576. tags:
  33577. - 仓单贸易v2
  33578. /WrTrade2/QueryWrDraftUserInfo:
  33579. get:
  33580. parameters:
  33581. - description: 用户ID
  33582. in: query
  33583. name: userid
  33584. required: true
  33585. type: integer
  33586. - description: 用户状态 1:正常 2:注销
  33587. in: query
  33588. name: userstatus
  33589. type: integer
  33590. produces:
  33591. - application/json
  33592. responses:
  33593. "200":
  33594. description: OK
  33595. schema:
  33596. items:
  33597. $ref: '#/definitions/models.WrDraftUserInfo'
  33598. type: array
  33599. "500":
  33600. description: Internal Server Error
  33601. schema:
  33602. $ref: '#/definitions/app.Response'
  33603. security:
  33604. - ApiKeyAuth: []
  33605. summary: 查询实名认证信息
  33606. tags:
  33607. - 仓单贸易v2
  33608. /WrTrade2/QueryWrFactorTypeInfo:
  33609. get:
  33610. parameters:
  33611. - description: 仓单要素id
  33612. in: query
  33613. name: wrfactortypeid
  33614. required: true
  33615. type: integer
  33616. produces:
  33617. - application/json
  33618. responses:
  33619. "200":
  33620. description: OK
  33621. schema:
  33622. items:
  33623. $ref: '#/definitions/models.WrFactorTypeInfo'
  33624. type: array
  33625. "500":
  33626. description: Internal Server Error
  33627. schema:
  33628. $ref: '#/definitions/app.Response'
  33629. security:
  33630. - ApiKeyAuth: []
  33631. summary: 查询仓单要素详细信息
  33632. tags:
  33633. - 仓单贸易v2
  33634. /WrTrade2/QueryWrFactorTypeInfoEx:
  33635. get:
  33636. parameters:
  33637. - description: 仓单要素id
  33638. in: query
  33639. name: wrfactortypeid
  33640. required: true
  33641. type: integer
  33642. produces:
  33643. - application/json
  33644. responses:
  33645. "200":
  33646. description: OK
  33647. schema:
  33648. items:
  33649. $ref: '#/definitions/models.WrTypeItem'
  33650. type: array
  33651. "500":
  33652. description: Internal Server Error
  33653. schema:
  33654. $ref: '#/definitions/app.Response'
  33655. security:
  33656. - ApiKeyAuth: []
  33657. summary: 查询仓单要素详细信息列表项
  33658. tags:
  33659. - 仓单贸易v2
  33660. /WrTrade2/QueryWrFinanceBuyApply:
  33661. get:
  33662. description: 页面 融资信息+ / 申请单
  33663. parameters:
  33664. - description: 用户id
  33665. in: query
  33666. name: userid
  33667. required: true
  33668. type: integer
  33669. produces:
  33670. - application/json
  33671. responses:
  33672. "200":
  33673. description: OK
  33674. schema:
  33675. items:
  33676. $ref: '#/definitions/models.WrFinanceBuyApply'
  33677. type: array
  33678. "500":
  33679. description: Internal Server Error
  33680. schema:
  33681. $ref: '#/definitions/app.Response'
  33682. security:
  33683. - ApiKeyAuth: []
  33684. summary: 查询融资购买申请
  33685. tags:
  33686. - 仓单贸易v2
  33687. /WrTrade2/QueryWrFriendApply:
  33688. get:
  33689. parameters:
  33690. - description: 用户id
  33691. in: query
  33692. name: userid
  33693. required: true
  33694. type: integer
  33695. produces:
  33696. - application/json
  33697. responses:
  33698. "200":
  33699. description: OK
  33700. schema:
  33701. items:
  33702. $ref: '#/definitions/models.WrFriendApply'
  33703. type: array
  33704. "500":
  33705. description: Internal Server Error
  33706. schema:
  33707. $ref: '#/definitions/app.Response'
  33708. security:
  33709. - ApiKeyAuth: []
  33710. summary: 查询好友申请记录
  33711. tags:
  33712. - 仓单贸易v2
  33713. /WrTrade2/QueryWrGoodsInfo:
  33714. get:
  33715. parameters:
  33716. - description: 仓单贸易市场id
  33717. in: query
  33718. name: marketid
  33719. type: integer
  33720. - description: 0:仓单预售 1:仓单贸易
  33721. in: query
  33722. name: haswr
  33723. required: true
  33724. type: integer
  33725. - description: 仓单要素id
  33726. in: query
  33727. name: wrfactortypeid
  33728. required: true
  33729. type: integer
  33730. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33731. in: query
  33732. name: tmplateid
  33733. type: integer
  33734. produces:
  33735. - application/json
  33736. responses:
  33737. "200":
  33738. description: OK
  33739. schema:
  33740. items:
  33741. $ref: '#/definitions/models.WrGoodsInfo'
  33742. type: array
  33743. "500":
  33744. description: Internal Server Error
  33745. schema:
  33746. $ref: '#/definitions/app.Response'
  33747. security:
  33748. - ApiKeyAuth: []
  33749. summary: 查询仓单商品信息
  33750. tags:
  33751. - 仓单贸易v2
  33752. /WrTrade2/QueryWrMarketTradeConfig:
  33753. get:
  33754. parameters:
  33755. - description: 市场id
  33756. in: query
  33757. name: marketid
  33758. type: integer
  33759. produces:
  33760. - application/json
  33761. responses:
  33762. "200":
  33763. description: OK
  33764. schema:
  33765. items:
  33766. $ref: '#/definitions/models.WrMarketTradeConfig'
  33767. type: array
  33768. "500":
  33769. description: Internal Server Error
  33770. schema:
  33771. $ref: '#/definitions/app.Response'
  33772. security:
  33773. - ApiKeyAuth: []
  33774. summary: 查询市场交易参数配置
  33775. tags:
  33776. - 仓单贸易v2
  33777. /WrTrade2/QueryWrOrderDetail:
  33778. get:
  33779. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33780. parameters:
  33781. - description: 页码
  33782. in: query
  33783. name: page
  33784. type: integer
  33785. - description: 每页条数
  33786. in: query
  33787. name: pagesize
  33788. type: integer
  33789. - description: 用户id
  33790. in: query
  33791. name: userid
  33792. required: true
  33793. type: integer
  33794. - description: 仓单贸易市场id
  33795. in: query
  33796. name: marketid
  33797. type: integer
  33798. - description: 0:仓单预售 1:仓单贸易
  33799. in: query
  33800. name: haswr
  33801. required: true
  33802. type: integer
  33803. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  33804. in: query
  33805. name: bcancel
  33806. type: integer
  33807. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  33808. in: query
  33809. name: wrtradetype
  33810. type: integer
  33811. - description: 开始交易日(yyyymmdd)
  33812. in: query
  33813. name: begindate
  33814. type: string
  33815. - description: 结束交易日(yyyymmdd)
  33816. in: query
  33817. name: enddate
  33818. type: string
  33819. produces:
  33820. - application/json
  33821. responses:
  33822. "200":
  33823. description: OK
  33824. schema:
  33825. items:
  33826. $ref: '#/definitions/models.WrOrderDetail'
  33827. type: array
  33828. "500":
  33829. description: Internal Server Error
  33830. schema:
  33831. $ref: '#/definitions/app.Response'
  33832. security:
  33833. - ApiKeyAuth: []
  33834. summary: 查询仓单委托单
  33835. tags:
  33836. - 仓单贸易v2
  33837. /WrTrade2/QueryWrOutInApply:
  33838. get:
  33839. parameters:
  33840. - description: 页码
  33841. in: query
  33842. name: page
  33843. type: integer
  33844. - description: 每页条数
  33845. in: query
  33846. name: pagesize
  33847. type: integer
  33848. - description: 用户id
  33849. in: query
  33850. name: userid
  33851. required: true
  33852. type: integer
  33853. - description: 开始交易日(yyyymmdd)
  33854. in: query
  33855. name: begindate
  33856. type: string
  33857. - description: 结束交易日(yyyymmdd)
  33858. in: query
  33859. name: enddate
  33860. type: string
  33861. produces:
  33862. - application/json
  33863. responses:
  33864. "200":
  33865. description: OK
  33866. schema:
  33867. items:
  33868. $ref: '#/definitions/models.WrOutInApply'
  33869. type: array
  33870. "500":
  33871. description: Internal Server Error
  33872. schema:
  33873. $ref: '#/definitions/app.Response'
  33874. security:
  33875. - ApiKeyAuth: []
  33876. summary: 查询提货申请
  33877. tags:
  33878. - 仓单贸易v2
  33879. /WrTrade2/QueryWrPerformancePlanStep:
  33880. get:
  33881. parameters:
  33882. - description: 履约计划id(performanceplanid)
  33883. in: query
  33884. name: planid
  33885. required: true
  33886. type: integer
  33887. - description: 当前步骤id
  33888. in: query
  33889. name: curstepid
  33890. type: integer
  33891. produces:
  33892. - application/json
  33893. responses:
  33894. "200":
  33895. description: OK
  33896. schema:
  33897. items:
  33898. $ref: '#/definitions/models.WrPerformancePlanStep'
  33899. type: array
  33900. "500":
  33901. description: Internal Server Error
  33902. schema:
  33903. $ref: '#/definitions/app.Response'
  33904. security:
  33905. - ApiKeyAuth: []
  33906. summary: 查询履约信息详情
  33907. tags:
  33908. - 仓单贸易v2
  33909. /WrTrade2/QueryWrPerformanceStepType:
  33910. get:
  33911. produces:
  33912. - application/json
  33913. responses:
  33914. "200":
  33915. description: OK
  33916. schema:
  33917. items:
  33918. $ref: '#/definitions/models.WrPerformanceStepType'
  33919. type: array
  33920. "500":
  33921. description: Internal Server Error
  33922. schema:
  33923. $ref: '#/definitions/app.Response'
  33924. security:
  33925. - ApiKeyAuth: []
  33926. summary: 查询履约步骤枚举
  33927. tags:
  33928. - 仓单贸易v2
  33929. /WrTrade2/QueryWrPosition:
  33930. get:
  33931. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  33932. parameters:
  33933. - description: 用户id
  33934. in: query
  33935. name: userid
  33936. required: true
  33937. type: integer
  33938. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  33939. in: query
  33940. name: querytype
  33941. required: true
  33942. type: integer
  33943. - description: 0:仓单预售 1:仓单贸易
  33944. in: query
  33945. name: haswr
  33946. required: true
  33947. type: integer
  33948. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33949. in: query
  33950. name: dgitemname
  33951. type: string
  33952. - description: 仓库id(筛选条件)
  33953. in: query
  33954. name: warehouseid
  33955. type: integer
  33956. - description: 品种id
  33957. in: query
  33958. name: deliverygoodsid
  33959. type: integer
  33960. - description: 品类id
  33961. in: query
  33962. name: wrstandardid
  33963. type: integer
  33964. produces:
  33965. - application/json
  33966. responses:
  33967. "200":
  33968. description: OK
  33969. schema:
  33970. items:
  33971. $ref: '#/definitions/models.WrPosition'
  33972. type: array
  33973. "500":
  33974. description: Internal Server Error
  33975. schema:
  33976. $ref: '#/definitions/app.Response'
  33977. security:
  33978. - ApiKeyAuth: []
  33979. summary: 查询现货(预售)仓单持仓
  33980. tags:
  33981. - 仓单贸易v2
  33982. /WrTrade2/QueryWrPreSaleInfo:
  33983. get:
  33984. parameters:
  33985. - description: 市场id
  33986. in: query
  33987. name: marketid
  33988. type: integer
  33989. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  33990. in: query
  33991. name: presalestatus
  33992. type: string
  33993. - description: 摇号标识 - 0:未摇号 1:已摇号
  33994. in: query
  33995. name: lotteryflag
  33996. type: integer
  33997. - description: 最近多少条记录(按创建时间倒序)
  33998. in: query
  33999. name: lastnum
  34000. type: integer
  34001. produces:
  34002. - application/json
  34003. responses:
  34004. "200":
  34005. description: OK
  34006. schema:
  34007. items:
  34008. $ref: '#/definitions/models.WrPreSaleInfo'
  34009. type: array
  34010. "500":
  34011. description: Internal Server Error
  34012. schema:
  34013. $ref: '#/definitions/app.Response'
  34014. security:
  34015. - ApiKeyAuth: []
  34016. summary: 查询新品发布
  34017. tags:
  34018. - 仓单贸易v2
  34019. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34020. get:
  34021. parameters:
  34022. - description: 市场id
  34023. in: query
  34024. name: marketid
  34025. required: true
  34026. type: integer
  34027. - description: 现货商品id
  34028. in: query
  34029. name: wrstandardid
  34030. required: true
  34031. type: integer
  34032. - description: 开始交易日(yyyymmdd)
  34033. in: query
  34034. name: begindate
  34035. type: string
  34036. - description: 结束交易日(yyyymmdd)
  34037. in: query
  34038. name: enddate
  34039. type: string
  34040. - description: 最近多少条记录(按交易日倒序)
  34041. in: query
  34042. name: lastnum
  34043. type: integer
  34044. - description: 是否今日
  34045. in: query
  34046. name: istoday
  34047. type: boolean
  34048. produces:
  34049. - application/json
  34050. responses:
  34051. "200":
  34052. description: OK
  34053. schema:
  34054. items:
  34055. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  34056. type: array
  34057. "500":
  34058. description: Internal Server Error
  34059. schema:
  34060. $ref: '#/definitions/app.Response'
  34061. security:
  34062. - ApiKeyAuth: []
  34063. summary: 查询价格走势
  34064. tags:
  34065. - 仓单贸易v2
  34066. /WrTrade2/QueryWrScfContract:
  34067. get:
  34068. parameters:
  34069. - description: 用户id
  34070. in: query
  34071. name: userid
  34072. required: true
  34073. type: integer
  34074. - description: 融资合同id
  34075. in: query
  34076. name: scfcontractid
  34077. type: integer
  34078. produces:
  34079. - application/json
  34080. responses:
  34081. "200":
  34082. description: OK
  34083. schema:
  34084. items:
  34085. $ref: '#/definitions/models.WrScfContract'
  34086. type: array
  34087. "500":
  34088. description: Internal Server Error
  34089. schema:
  34090. $ref: '#/definitions/app.Response'
  34091. security:
  34092. - ApiKeyAuth: []
  34093. summary: 查询仓单贸易融资合同
  34094. tags:
  34095. - 仓单贸易v2
  34096. /WrTrade2/QueryWrScfContractInterest:
  34097. get:
  34098. parameters:
  34099. - description: 融资合同id
  34100. in: query
  34101. name: scfcontractid
  34102. type: integer
  34103. produces:
  34104. - application/json
  34105. responses:
  34106. "200":
  34107. description: OK
  34108. schema:
  34109. items:
  34110. $ref: '#/definitions/models.WrScfContractInterest'
  34111. type: array
  34112. "500":
  34113. description: Internal Server Error
  34114. schema:
  34115. $ref: '#/definitions/app.Response'
  34116. security:
  34117. - ApiKeyAuth: []
  34118. summary: 查询融资合同费用明细
  34119. tags:
  34120. - 仓单贸易v2
  34121. /WrTrade2/QueryWrSearchUser:
  34122. get:
  34123. parameters:
  34124. - description: 用户名称(模糊匹配)
  34125. in: query
  34126. name: username
  34127. required: true
  34128. type: string
  34129. produces:
  34130. - application/json
  34131. responses:
  34132. "200":
  34133. description: OK
  34134. schema:
  34135. items:
  34136. $ref: '#/definitions/models.WrSearchUser'
  34137. type: array
  34138. "500":
  34139. description: Internal Server Error
  34140. schema:
  34141. $ref: '#/definitions/app.Response'
  34142. security:
  34143. - ApiKeyAuth: []
  34144. summary: 查询用户
  34145. tags:
  34146. - 仓单贸易v2
  34147. /WrTrade2/QueryWrSpecialMatchOrder:
  34148. get:
  34149. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  34150. parameters:
  34151. - description: 页码
  34152. in: query
  34153. name: page
  34154. type: integer
  34155. - description: 每页条数
  34156. in: query
  34157. name: pagesize
  34158. type: integer
  34159. - description: 用户id
  34160. in: query
  34161. name: userid
  34162. required: true
  34163. type: integer
  34164. - description: 仓单贸易市场id
  34165. in: query
  34166. name: marketid
  34167. type: integer
  34168. - description: 0:仓单预售 1:仓单贸易
  34169. in: query
  34170. name: haswr
  34171. required: true
  34172. type: integer
  34173. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  34174. in: query
  34175. name: isspecified
  34176. type: integer
  34177. produces:
  34178. - application/json
  34179. responses:
  34180. "200":
  34181. description: OK
  34182. schema:
  34183. items:
  34184. $ref: '#/definitions/models.WrSpecialMatchOrder'
  34185. type: array
  34186. "500":
  34187. description: Internal Server Error
  34188. schema:
  34189. $ref: '#/definitions/app.Response'
  34190. security:
  34191. - ApiKeyAuth: []
  34192. summary: 查询指定成交
  34193. tags:
  34194. - 仓单贸易v2
  34195. /WrTrade2/QueryWrStandardFactoryItem:
  34196. get:
  34197. parameters:
  34198. - description: 品类id
  34199. in: query
  34200. name: wrstandardid
  34201. required: true
  34202. type: integer
  34203. produces:
  34204. - application/json
  34205. responses:
  34206. "200":
  34207. description: OK
  34208. schema:
  34209. items:
  34210. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  34211. type: array
  34212. "500":
  34213. description: Internal Server Error
  34214. schema:
  34215. $ref: '#/definitions/app.Response'
  34216. security:
  34217. - ApiKeyAuth: []
  34218. summary: 查询品类要素定义项
  34219. tags:
  34220. - 仓单贸易v2
  34221. /WrTrade2/QueryWrTradeBargainApply:
  34222. get:
  34223. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  34224. 议价->对方议价 填写matchuserid=登录用户id
  34225. parameters:
  34226. - description: 议价人id(摘牌方)
  34227. in: query
  34228. name: userid
  34229. type: integer
  34230. - description: 挂牌方id(查对方议价时,填写此项)
  34231. in: query
  34232. name: matchuserid
  34233. type: integer
  34234. - description: 关联委托单id
  34235. in: query
  34236. name: wrtradeorderid
  34237. type: integer
  34238. - description: 0:仓单预售 1:仓单贸易
  34239. in: query
  34240. name: haswr
  34241. required: true
  34242. type: integer
  34243. - description: 开始交易日(yyyymmdd)
  34244. in: query
  34245. name: begindate
  34246. type: string
  34247. - description: 结束交易日(yyyymmdd)
  34248. in: query
  34249. name: enddate
  34250. type: string
  34251. produces:
  34252. - application/json
  34253. responses:
  34254. "200":
  34255. description: OK
  34256. schema:
  34257. items:
  34258. $ref: '#/definitions/models.WRTradeBargainApply'
  34259. type: array
  34260. "500":
  34261. description: Internal Server Error
  34262. schema:
  34263. $ref: '#/definitions/app.Response'
  34264. security:
  34265. - ApiKeyAuth: []
  34266. summary: 查询议价单
  34267. tags:
  34268. - 仓单贸易v2
  34269. /WrTrade2/QueryWrTradeDetail:
  34270. get:
  34271. parameters:
  34272. - description: 页码
  34273. in: query
  34274. name: page
  34275. type: integer
  34276. - description: 每页条数
  34277. in: query
  34278. name: pagesize
  34279. type: integer
  34280. - description: 用户id
  34281. in: query
  34282. name: userid
  34283. required: true
  34284. type: integer
  34285. - description: 仓单贸易市场id
  34286. in: query
  34287. name: marketid
  34288. type: integer
  34289. - description: 0:仓单预售 1:仓单贸易
  34290. in: query
  34291. name: haswr
  34292. required: true
  34293. type: integer
  34294. - description: 开始交易日(yyyymmdd)
  34295. in: query
  34296. name: begindate
  34297. type: string
  34298. - description: 结束交易日(yyyymmdd)
  34299. in: query
  34300. name: enddate
  34301. type: string
  34302. produces:
  34303. - application/json
  34304. responses:
  34305. "200":
  34306. description: OK
  34307. schema:
  34308. items:
  34309. $ref: '#/definitions/models.WrTradeDetail'
  34310. type: array
  34311. "500":
  34312. description: Internal Server Error
  34313. schema:
  34314. $ref: '#/definitions/app.Response'
  34315. security:
  34316. - ApiKeyAuth: []
  34317. summary: 查询仓单成交明细
  34318. tags:
  34319. - 仓单贸易v2
  34320. /WrTrade2/QueryWrTradeOrderDetail:
  34321. get:
  34322. parameters:
  34323. - description: 页码
  34324. in: query
  34325. name: page
  34326. type: integer
  34327. - description: 每页条数
  34328. in: query
  34329. name: pagesize
  34330. type: integer
  34331. - description: 商品id
  34332. in: query
  34333. name: goodsid
  34334. required: true
  34335. type: integer
  34336. - description: 买卖方向 0-买 1-卖
  34337. in: query
  34338. name: buyorsell
  34339. required: true
  34340. type: integer
  34341. produces:
  34342. - application/json
  34343. responses:
  34344. "200":
  34345. description: OK
  34346. schema:
  34347. items:
  34348. $ref: '#/definitions/models.WrTradeOrderDetail'
  34349. type: array
  34350. "500":
  34351. description: Internal Server Error
  34352. schema:
  34353. $ref: '#/definitions/app.Response'
  34354. security:
  34355. - ApiKeyAuth: []
  34356. summary: 查询合约交易买卖大厅
  34357. tags:
  34358. - 仓单贸易v2
  34359. /WrTrade2/QueryWrTradeQuote:
  34360. get:
  34361. parameters:
  34362. - description: 现货商品id
  34363. in: query
  34364. name: wrstandardid
  34365. required: true
  34366. type: integer
  34367. - description: 开始日期(yyyymmdd)
  34368. in: query
  34369. name: begindate
  34370. required: true
  34371. type: string
  34372. - description: 结束日期(yyyymmdd)
  34373. in: query
  34374. name: enddate
  34375. required: true
  34376. type: string
  34377. - description: 市场id
  34378. in: query
  34379. name: marketid
  34380. type: integer
  34381. produces:
  34382. - application/json
  34383. responses:
  34384. "200":
  34385. description: OK
  34386. schema:
  34387. items:
  34388. $ref: '#/definitions/models.Wrtradetradequote'
  34389. type: array
  34390. "500":
  34391. description: Internal Server Error
  34392. schema:
  34393. $ref: '#/definitions/app.Response'
  34394. security:
  34395. - ApiKeyAuth: []
  34396. summary: 查询仓单贸易成交行情
  34397. tags:
  34398. - 仓单贸易v2
  34399. /WrTrade2/QueryWrUserFriend:
  34400. get:
  34401. parameters:
  34402. - description: 用户id
  34403. in: query
  34404. name: userid
  34405. required: true
  34406. type: integer
  34407. - description: 新朋友userid, 如果填写了此项则查找新朋友
  34408. in: query
  34409. name: newuserid
  34410. type: integer
  34411. produces:
  34412. - application/json
  34413. responses:
  34414. "200":
  34415. description: OK
  34416. schema:
  34417. items:
  34418. $ref: '#/definitions/models.WrUserFriend'
  34419. type: array
  34420. "500":
  34421. description: Internal Server Error
  34422. schema:
  34423. $ref: '#/definitions/app.Response'
  34424. security:
  34425. - ApiKeyAuth: []
  34426. summary: 查询我的朋友
  34427. tags:
  34428. - 仓单贸易v2
  34429. /WrTrade2/QueryWrUserReceiptInfo:
  34430. get:
  34431. parameters:
  34432. - description: 用户id
  34433. in: query
  34434. name: userid
  34435. type: integer
  34436. - description: 发票类型 - 1:个人 2:企业
  34437. in: query
  34438. name: receipttype
  34439. type: integer
  34440. produces:
  34441. - application/json
  34442. responses:
  34443. "200":
  34444. description: OK
  34445. schema:
  34446. items:
  34447. $ref: '#/definitions/models.WrUserReceiptInfo'
  34448. type: array
  34449. "500":
  34450. description: Internal Server Error
  34451. schema:
  34452. $ref: '#/definitions/app.Response'
  34453. security:
  34454. - ApiKeyAuth: []
  34455. summary: 查询发票信息
  34456. tags:
  34457. - 仓单贸易v2
  34458. /WrTrade2/QueryXhcpSellBackApply:
  34459. get:
  34460. parameters:
  34461. - description: 用户ID
  34462. in: query
  34463. name: userid
  34464. required: true
  34465. type: integer
  34466. produces:
  34467. - application/json
  34468. responses:
  34469. "200":
  34470. description: OK
  34471. schema:
  34472. items:
  34473. $ref: '#/definitions/models.Xhcpsellbackapply'
  34474. type: array
  34475. "500":
  34476. description: Internal Server Error
  34477. schema:
  34478. $ref: '#/definitions/app.Response'
  34479. security:
  34480. - ApiKeyAuth: []
  34481. summary: 查询我的回收申请(新会陈皮)
  34482. tags:
  34483. - 仓单贸易v2
  34484. /ZJ/GetBankTip:
  34485. get:
  34486. produces:
  34487. - application/json
  34488. responses:
  34489. "200":
  34490. description: OK
  34491. schema:
  34492. type: string
  34493. "500":
  34494. description: Internal Server Error
  34495. schema:
  34496. $ref: '#/definitions/app.Response'
  34497. summary: 获取中江网银端出入金提示信息
  34498. tags:
  34499. - 中江
  34500. /ZJ/GetCusBankChannels:
  34501. get:
  34502. produces:
  34503. - application/json
  34504. responses:
  34505. "200":
  34506. description: OK
  34507. schema:
  34508. items:
  34509. type: string
  34510. type: array
  34511. "500":
  34512. description: Internal Server Error
  34513. schema:
  34514. $ref: '#/definitions/app.Response'
  34515. summary: 获取中江出入金渠道显示列表
  34516. tags:
  34517. - 中江
  34518. securityDefinitions:
  34519. ApiKeyAuth:
  34520. in: header
  34521. name: Authorization
  34522. type: apiKey
  34523. Group:
  34524. in: header
  34525. name: Group
  34526. type: apiKey
  34527. LoginID:
  34528. in: header
  34529. name: LoginID
  34530. type: apiKey
  34531. swagger: "2.0"