swagger.yaml 925 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GZGoods:
  9647. properties:
  9648. address:
  9649. description: 详细地址
  9650. type: string
  9651. cerno:
  9652. description: 证书编号 - 类型:2,4,5
  9653. type: string
  9654. cityname:
  9655. description: 城市名称
  9656. type: string
  9657. countryname:
  9658. description: 国家名称
  9659. type: string
  9660. cpcertno:
  9661. description: 金伯利证书编号 - 类型:3
  9662. type: string
  9663. districtname:
  9664. description: 地区名称
  9665. type: string
  9666. goodsno:
  9667. description: 商品编号
  9668. type: string
  9669. imagepath:
  9670. description: 商品照片(相对地址)
  9671. type: string
  9672. isvalid:
  9673. description: 是否有效 - 0:无效 1:有效
  9674. type: integer
  9675. kppath:
  9676. description: 金伯利证书图片(相对地址) - 类型:3
  9677. type: string
  9678. kpweight:
  9679. description: 金伯利证书重量 - 类型:3
  9680. type: string
  9681. marketprice:
  9682. description: 市场价
  9683. type: string
  9684. mobile:
  9685. description: 手机号码
  9686. type: string
  9687. origin:
  9688. description: 原产地 - 类型:3
  9689. type: string
  9690. performancetemplateid:
  9691. description: 履约计划模板ID
  9692. type: integer
  9693. price:
  9694. description: 总价(价格) - 类型:1,2,3,4,5
  9695. type: number
  9696. priceper:
  9697. description: 克拉单价 - 类型:1,2,3,5
  9698. type: string
  9699. provincename:
  9700. description: 省名称
  9701. type: string
  9702. remainqty:
  9703. description: 剩余重量
  9704. type: number
  9705. remark:
  9706. description: 备注
  9707. type: string
  9708. sellusername:
  9709. description: 账户名称(机构名称)
  9710. type: string
  9711. settingmaterial:
  9712. description: 镶嵌材料 - 类型:4
  9713. type: string
  9714. size1:
  9715. description: 尺寸1 - 类型:2,4,5
  9716. type: string
  9717. size2:
  9718. description: 尺寸2 - 类型:2,4,5
  9719. type: string
  9720. size3:
  9721. description: 尺寸3 - 类型:2,4,5
  9722. type: string
  9723. sizedisplay:
  9724. description: 尺寸
  9725. type: string
  9726. stonedesc:
  9727. description: 配石描述 - 类型:4
  9728. type: string
  9729. userid:
  9730. description: 用户ID
  9731. type: integer
  9732. warehouseid:
  9733. description: 仓库ID
  9734. type: integer
  9735. warehousenamedisplay:
  9736. type: string
  9737. weight:
  9738. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9739. type: number
  9740. weightavg:
  9741. description: 平均单颗重量 - 类型:1,3
  9742. type: number
  9743. wrpath:
  9744. description: 仓单扫描件(相对地址)
  9745. type: string
  9746. wrstandardid:
  9747. description: 现货商品ID
  9748. type: integer
  9749. wrtradeorderid:
  9750. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9751. type: string
  9752. zscategory:
  9753. description: 钻石分类 - 枚举”ZSCategory“
  9754. type: integer
  9755. zscategorydisplay:
  9756. type: string
  9757. zscerttype:
  9758. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9759. type: integer
  9760. zscerttypedisplay:
  9761. type: string
  9762. zsclaritytype1:
  9763. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9764. type: integer
  9765. zsclaritytype1display:
  9766. type: string
  9767. zsclaritytype2:
  9768. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9769. type: integer
  9770. zsclaritytype2display:
  9771. type: string
  9772. zscolortype1:
  9773. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9774. type: integer
  9775. zscolortype1display:
  9776. type: string
  9777. zscolortype2:
  9778. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9779. type: integer
  9780. zscolortype2display:
  9781. type: string
  9782. zscrystaltype:
  9783. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9784. type: string
  9785. zscrystaltypedisplay:
  9786. type: string
  9787. zscurrencytype:
  9788. description: 货币类型 - 枚举“ZSCurrencyType”
  9789. type: integer
  9790. zscurrencytypedisplay:
  9791. type: string
  9792. zscurrencytypedisplayunit:
  9793. type: string
  9794. zscuttype1:
  9795. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9796. type: integer
  9797. zscuttype1display:
  9798. type: string
  9799. zscuttype2:
  9800. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9801. type: integer
  9802. zscuttype2display:
  9803. type: string
  9804. zsczcolor1type:
  9805. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9806. type: integer
  9807. zsczcolor1typedisplay:
  9808. type: string
  9809. zsczcolor2type:
  9810. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9811. type: integer
  9812. zsczcolor2typedisplay:
  9813. type: string
  9814. zsczcolor3type:
  9815. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9816. type: integer
  9817. zsczcolor3typedisplay:
  9818. type: string
  9819. zsfluorescencetype1:
  9820. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9821. type: integer
  9822. zsfluorescencetype1display:
  9823. type: string
  9824. zsfluorescencetype2:
  9825. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9826. type: integer
  9827. zsfluorescencetype2display:
  9828. type: string
  9829. zspolishtype1:
  9830. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9831. type: integer
  9832. zspolishtype1display:
  9833. type: string
  9834. zspolishtype2:
  9835. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9836. type: integer
  9837. zspolishtype2display:
  9838. type: string
  9839. zsshapetype:
  9840. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9841. type: string
  9842. zsshapetypedisplay:
  9843. type: string
  9844. zsstyletype:
  9845. description: 款式 - 类型:4
  9846. type: integer
  9847. zsstyletypedisplay:
  9848. type: string
  9849. zssymmetrytype1:
  9850. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9851. type: integer
  9852. zssymmetrytype1display:
  9853. type: string
  9854. zssymmetrytype2:
  9855. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9856. type: integer
  9857. zssymmetrytype2display:
  9858. type: string
  9859. required:
  9860. - goodsno
  9861. type: object
  9862. models.GZHomeData:
  9863. properties:
  9864. purchasedtransactions:
  9865. description: 已购买的交易
  9866. type: integer
  9867. transactioninpurchase:
  9868. description: 求购中的交易
  9869. type: integer
  9870. transactionsonsale:
  9871. description: 出售中的交易
  9872. type: integer
  9873. transactionssold:
  9874. description: 已卖出的交易
  9875. type: integer
  9876. unhandledmessage:
  9877. description: 未处理消息
  9878. type: integer
  9879. type: object
  9880. models.GZWarehouseinfo:
  9881. properties:
  9882. address:
  9883. description: 详细地址
  9884. type: string
  9885. areauserid:
  9886. description: 所属机构
  9887. type: integer
  9888. autoid:
  9889. description: 自增ID
  9890. type: integer
  9891. cityid:
  9892. description: 市
  9893. type: integer
  9894. cityname:
  9895. description: 城市名称
  9896. type: string
  9897. contactname:
  9898. description: 联系人
  9899. type: string
  9900. contactnum:
  9901. description: 联系电话
  9902. type: string
  9903. countryid:
  9904. description: 国家
  9905. type: integer
  9906. countryname:
  9907. description: 国家名称
  9908. type: string
  9909. createtime:
  9910. description: 创建时间
  9911. type: string
  9912. districtid:
  9913. description: 区
  9914. type: integer
  9915. districtname:
  9916. description: 地区名称
  9917. type: string
  9918. hasvideo:
  9919. description: 是否有视频 - 0:无 1:有
  9920. type: integer
  9921. provinceid:
  9922. description: 省
  9923. type: integer
  9924. provincename:
  9925. description: 省名称
  9926. type: string
  9927. remark:
  9928. description: 审核备注
  9929. type: string
  9930. videourl:
  9931. description: 视频地址
  9932. type: string
  9933. warehousecode:
  9934. description: 仓库代码
  9935. type: string
  9936. warehousename:
  9937. description: 仓库名称
  9938. type: string
  9939. warehousestatus:
  9940. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9941. type: integer
  9942. warehousetype:
  9943. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9944. type: integer
  9945. type: object
  9946. models.Goods:
  9947. properties:
  9948. agreeunit:
  9949. description: 合约单位
  9950. type: number
  9951. areauserid:
  9952. description: 所属机构
  9953. type: integer
  9954. auditaccountid:
  9955. description: 审核操作员账号
  9956. type: integer
  9957. audittime:
  9958. description: 审核时间
  9959. type: string
  9960. cancelaccountid:
  9961. description: 注销操作员账号
  9962. type: integer
  9963. canceltime:
  9964. description: 注销时间
  9965. type: string
  9966. closepricemode:
  9967. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9968. type: integer
  9969. closepriceparam:
  9970. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9971. type: number
  9972. createtime:
  9973. description: 创建时间
  9974. type: string
  9975. creatorid:
  9976. description: 创建人
  9977. type: integer
  9978. currencyid:
  9979. description: 报价货币ID
  9980. type: integer
  9981. cutmode:
  9982. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9983. type: integer
  9984. decimalplace:
  9985. description: 报价小数位
  9986. type: integer
  9987. delistingdate:
  9988. description: 商品退市时间(状态:退市) -- 已作废
  9989. type: string
  9990. delistingmode:
  9991. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9992. type: integer
  9993. deliveryflag:
  9994. description: 交割标志 - 0:不可交割 1:可交割
  9995. type: integer
  9996. forceclosemode:
  9997. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9998. type: integer
  9999. forceclosevalue:
  10000. description: 定期强平参数 [收益权]
  10001. type: integer
  10002. goodscode:
  10003. description: 商品代码(内部)
  10004. type: string
  10005. goodscurrencyid:
  10006. description: 合约货币ID
  10007. type: integer
  10008. goodsgroupid:
  10009. description: 所属商品组ID
  10010. type: integer
  10011. goodsid:
  10012. description: 商品ID(自增ID SEQ_GOODS)
  10013. type: integer
  10014. goodsname:
  10015. description: 商品名称
  10016. type: string
  10017. goodsquotetype:
  10018. description: '合约报价类型: 1-直接报价 2-间接报价'
  10019. type: integer
  10020. goodsstatus:
  10021. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10022. type: integer
  10023. goodstradetype:
  10024. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10025. type: integer
  10026. goodunitid:
  10027. description: 报价单位ID
  10028. type: integer
  10029. hasquoter:
  10030. description: 是否有报价商 - 0:无报价商 1:有报价商
  10031. type: integer
  10032. hqprotecttime:
  10033. description: 行情保护时间(秒)
  10034. type: integer
  10035. innerdealmode:
  10036. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10037. type: integer
  10038. isbuylimited:
  10039. description: 是否限制建仓量 - 0:不限制 1:限制
  10040. type: integer
  10041. isvisible:
  10042. description: 游客是否可见 - 0:不可见 1:可见
  10043. type: integer
  10044. lasttradedate:
  10045. description: 最后交易日期(状态:待退市)
  10046. type: string
  10047. listingdate:
  10048. description: 交易开始日期
  10049. type: string
  10050. marketid:
  10051. description: 所属市场ID
  10052. type: integer
  10053. modifierid:
  10054. description: 修改人
  10055. type: integer
  10056. modifystatus:
  10057. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10058. type: integer
  10059. modifytime:
  10060. description: 修改时间
  10061. type: string
  10062. outerdealmode:
  10063. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10064. type: integer
  10065. outgoodscode:
  10066. description: 商品代码(外部)
  10067. type: string
  10068. pictureurl:
  10069. description: 商品图片
  10070. type: string
  10071. qtydecimalplace:
  10072. description: 成交量小数位
  10073. type: integer
  10074. quotegear:
  10075. description: 行情档位(1-10)
  10076. type: integer
  10077. quoteminunit:
  10078. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10079. type: integer
  10080. quoteshowtype:
  10081. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10082. type: integer
  10083. quoteshowtypeinterval:
  10084. description: 行情报价间隔时间(秒)(成交价时为0)
  10085. type: integer
  10086. remark:
  10087. description: 备注
  10088. type: string
  10089. required:
  10090. - goodscode
  10091. - goodsid
  10092. - goodsname
  10093. - marketid
  10094. type: object
  10095. models.GoodsIDAndName:
  10096. properties:
  10097. goodscode:
  10098. description: 商品代码(内部)
  10099. type: string
  10100. goodsid:
  10101. description: 商品ID(自增ID SEQ_GOODS)
  10102. type: integer
  10103. goodsname:
  10104. description: 商品名称
  10105. type: string
  10106. marketid:
  10107. description: 所属市场ID
  10108. type: integer
  10109. required:
  10110. - goodscode
  10111. - goodsid
  10112. - goodsname
  10113. - marketid
  10114. type: object
  10115. models.Goodsgroup:
  10116. properties:
  10117. agreeunit:
  10118. description: 合约单位
  10119. type: number
  10120. canshort:
  10121. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10122. type: integer
  10123. closepricemode:
  10124. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10125. type: integer
  10126. closepriceparam:
  10127. description: 强平最新价浮动比例 - 方式为2时使用
  10128. type: number
  10129. createtime:
  10130. description: 创建时间
  10131. type: string
  10132. creatorid:
  10133. description: 创建人
  10134. type: integer
  10135. currencyid:
  10136. description: 报价货币ID
  10137. type: integer
  10138. decimalplace:
  10139. description: 报价小数位
  10140. type: integer
  10141. exercisetype:
  10142. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10143. type: integer
  10144. exexchangeid:
  10145. description: 外部交易所ID[通道交易]
  10146. type: integer
  10147. goodsgroupid:
  10148. description: 商品组ID(自增ID)
  10149. type: integer
  10150. goodsgroupname:
  10151. description: 商品组名称
  10152. type: string
  10153. goodsgroupstatus:
  10154. description: 商品组状态 - 1:正常 2:注销
  10155. type: integer
  10156. goodunitid:
  10157. description: 报价单位ID
  10158. type: integer
  10159. innerdealmode:
  10160. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10161. type: integer
  10162. isbuylimited:
  10163. description: 是否限制建仓量 - 0:不限制 1:限制
  10164. type: integer
  10165. marketid:
  10166. description: 所属市场ID
  10167. type: integer
  10168. modifierid:
  10169. description: 修改人
  10170. type: integer
  10171. modifytime:
  10172. description: 修改时间
  10173. type: string
  10174. outerdealmode:
  10175. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10176. type: integer
  10177. outergroupcode:
  10178. description: 外部商品组代码[通道交易]
  10179. type: string
  10180. premiumdecimalplace:
  10181. description: 权利金小数位[场外期权]
  10182. type: integer
  10183. premiumspreadalgorithm:
  10184. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10185. type: integer
  10186. premiumspreadvalue:
  10187. description: 权利金点差值[场外期权]
  10188. type: number
  10189. qtydecimalplace:
  10190. description: 成交量小数位
  10191. type: integer
  10192. quotegear:
  10193. description: 行情档位(1-10)
  10194. type: integer
  10195. quoteminunit:
  10196. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10197. type: integer
  10198. quoterid:
  10199. description: 报价商ID[场外期权]
  10200. type: integer
  10201. quotesourcegroupid:
  10202. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10203. type: integer
  10204. syncgoodsqty:
  10205. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10206. type: integer
  10207. required:
  10208. - goodsgroupid
  10209. - goodsgroupname
  10210. - goodsgroupstatus
  10211. - marketid
  10212. type: object
  10213. models.Goodssortbypreposition:
  10214. properties:
  10215. goodscode:
  10216. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10217. type: string
  10218. goodsgroupcode:
  10219. description: 品种代码
  10220. type: string
  10221. prepositionqty:
  10222. description: 昨持仓量
  10223. type: integer
  10224. sortindex:
  10225. description: 排序
  10226. type: integer
  10227. tradedate:
  10228. description: 交易日
  10229. type: string
  10230. updatetime:
  10231. description: 更新时间
  10232. type: string
  10233. required:
  10234. - goodscode
  10235. - tradedate
  10236. type: object
  10237. models.GzbsfworderM:
  10238. properties:
  10239. accountid:
  10240. description: 资金账户ID
  10241. type: integer
  10242. addresscn:
  10243. description: 地址(中文)
  10244. type: string
  10245. addressen:
  10246. description: 地址(英文)
  10247. type: string
  10248. advanceamount:
  10249. description: 总预付款
  10250. type: number
  10251. colorrange:
  10252. description: 颜色范围
  10253. type: string
  10254. companynamecn:
  10255. description: 收货人(中文)
  10256. type: string
  10257. companynameen:
  10258. description: 收货人(英文)
  10259. type: string
  10260. contactfax:
  10261. description: 收货人传真
  10262. type: string
  10263. contactname:
  10264. description: 收货人姓名
  10265. type: string
  10266. contactphoneno:
  10267. description: 收货人电话
  10268. type: string
  10269. contentrange:
  10270. description: 【内容】内容范围
  10271. type: string
  10272. createtime:
  10273. description: 创建时间
  10274. type: string
  10275. executestatus:
  10276. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10277. type: integer
  10278. gzbsdeliverytype:
  10279. description: 收货方式 - 枚举"GZBSDeliveryType"
  10280. type: integer
  10281. gzbsstatus:
  10282. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10283. type: integer
  10284. gzbsstatusdisplay:
  10285. description: 单据状态
  10286. type: string
  10287. handlestatus:
  10288. description: 处理状态
  10289. type: integer
  10290. orderdate:
  10291. description: 单据日期
  10292. type: string
  10293. orderid:
  10294. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10295. type: integer
  10296. orderno:
  10297. description: 单据编号 - GZDEBSFW+单据流水号
  10298. type: string
  10299. ordersn:
  10300. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10301. type: string
  10302. origincountry:
  10303. description: 原产国
  10304. type: string
  10305. otherlogistics:
  10306. description: 指定其它物流
  10307. type: string
  10308. priceper:
  10309. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10310. type: number
  10311. settleamount:
  10312. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10313. type: number
  10314. shaperange:
  10315. description: 形状范围
  10316. type: string
  10317. taxmargin:
  10318. description: 税费保证金 - 确认结算费用时退回
  10319. type: number
  10320. totalamount:
  10321. description: 总值(美元)
  10322. type: number
  10323. totalgrossweightgm:
  10324. description: 总毛重(克)
  10325. type: number
  10326. totalnetweightgm:
  10327. description: 总净重(克)
  10328. type: number
  10329. totalnetweigthct:
  10330. description: 总净重(克拉)
  10331. type: number
  10332. totalnumber:
  10333. description: 总粒数
  10334. type: integer
  10335. userid:
  10336. description: 用户ID
  10337. type: integer
  10338. weightrange:
  10339. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10340. type: string
  10341. required:
  10342. - userid
  10343. type: object
  10344. models.GzbsfworderdetailM:
  10345. properties:
  10346. colorinfo:
  10347. description: 彩钻信息
  10348. type: string
  10349. createtime:
  10350. description: 创建时间
  10351. type: string
  10352. grossweightgm:
  10353. description: 毛重(克)
  10354. type: number
  10355. gzcjshape:
  10356. description: 形状(字符)
  10357. type: string
  10358. netweigthct:
  10359. description: 净重(克拉)
  10360. type: number
  10361. netweigthgm:
  10362. description: 净重(克)
  10363. type: number
  10364. ordercontent:
  10365. description: 内容
  10366. type: string
  10367. orderdetailid:
  10368. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10369. type: integer
  10370. orderid:
  10371. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10372. type: integer
  10373. orderindex:
  10374. description: 顺序
  10375. type: integer
  10376. perprice:
  10377. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10378. type: number
  10379. remark:
  10380. description: 备注(其它)
  10381. type: string
  10382. totalamount:
  10383. description: 总值(美元)
  10384. type: number
  10385. type: object
  10386. models.Gzbsfworderoperate:
  10387. properties:
  10388. advanceproofaddr:
  10389. description: 预付款收款凭证(确认结算费用时)
  10390. type: string
  10391. bankfee:
  10392. description: 汇款银行手续费
  10393. type: number
  10394. bankproofaddr:
  10395. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10396. type: string
  10397. customsproofaddr:
  10398. description: 海关税费保证金收据(确认结算费用时)
  10399. type: string
  10400. gzbsstatus:
  10401. description: 操作后单据状态 - 枚举"GZBSStatus"
  10402. type: integer
  10403. logisticsfee:
  10404. description: 代缴物流保险费
  10405. type: number
  10406. logisticsproofaddr:
  10407. description: 代缴物流保险费凭证(确认结算费用时)
  10408. type: string
  10409. operatetime:
  10410. description: 操作时间
  10411. type: string
  10412. operatoraccount:
  10413. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10414. type: string
  10415. operatorid:
  10416. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10417. type: integer
  10418. operatorname:
  10419. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10420. type: string
  10421. operatorsrc:
  10422. description: 操作人来源 - 1:管理端 2:终端
  10423. type: integer
  10424. orderid:
  10425. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10426. type: integer
  10427. otherfee:
  10428. description: 其它费用
  10429. type: number
  10430. remark:
  10431. description: 操作备注
  10432. type: string
  10433. servicefee:
  10434. description: 综合服务费
  10435. type: number
  10436. taxmargin:
  10437. description: 税费保证金
  10438. type: number
  10439. totalfee:
  10440. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10441. type: number
  10442. required:
  10443. - orderid
  10444. type: object
  10445. models.Gzcertaddressconfig:
  10446. properties:
  10447. certregion:
  10448. description: 证书地域 - 1:国内 2:国际
  10449. type: integer
  10450. certtype:
  10451. description: 证书类型
  10452. type: string
  10453. orderindex:
  10454. description: 显示顺序
  10455. type: integer
  10456. orgcnname:
  10457. description: 机构名称(中文)
  10458. type: string
  10459. orgenname:
  10460. description: 机构名称(英文)
  10461. type: string
  10462. queryaddress:
  10463. description: 查询地址
  10464. type: string
  10465. remark:
  10466. description: 备注
  10467. type: string
  10468. updatetime:
  10469. description: 更新时间
  10470. type: string
  10471. type: object
  10472. models.Gzcertaddressparam:
  10473. properties:
  10474. certtype:
  10475. description: 证书类型
  10476. type: string
  10477. orderindex:
  10478. description: 参数顺序
  10479. type: integer
  10480. paramkey:
  10481. description: 参数Key
  10482. type: string
  10483. paramname:
  10484. description: 参数名称
  10485. type: string
  10486. updatetime:
  10487. description: 更新时间
  10488. type: string
  10489. type: object
  10490. models.GzcjbsorderfileM:
  10491. properties:
  10492. canmembervisit:
  10493. description: 会员是否可访问 - 1:可 2:不可
  10494. type: integer
  10495. fileaddress:
  10496. description: 文件地址
  10497. type: string
  10498. filegentype:
  10499. description: 文件生成类型 - 1:系统生成 2:手动上传
  10500. type: integer
  10501. filename:
  10502. description: 文件名称
  10503. type: string
  10504. operatetime:
  10505. description: 操作时间
  10506. type: string
  10507. operatoraccount:
  10508. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10509. type: string
  10510. operatorid:
  10511. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10512. type: integer
  10513. operatorsrc:
  10514. description: 操作人来源 - 1:管理端 2:终端
  10515. type: integer
  10516. orderfileid:
  10517. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10518. type: integer
  10519. orderid:
  10520. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10521. type: integer
  10522. required:
  10523. - orderid
  10524. type: object
  10525. models.GzcjjcorderM:
  10526. properties:
  10527. accountid:
  10528. description: 资金账户ID
  10529. type: integer
  10530. addresscn:
  10531. description: 地址(中文)
  10532. type: string
  10533. addressen:
  10534. description: 地址(英文)
  10535. type: string
  10536. advanceamount:
  10537. description: 总预付款
  10538. type: number
  10539. colorrange:
  10540. description: 颜色范围
  10541. type: string
  10542. companynamecn:
  10543. description: 公司名称(中文)
  10544. type: string
  10545. companynameen:
  10546. description: 公司名称(英文)
  10547. type: string
  10548. contactname:
  10549. description: 联系人姓名
  10550. type: string
  10551. contactphoneno:
  10552. description: 联系人电话
  10553. type: string
  10554. contactposition:
  10555. description: 联系人职位
  10556. type: string
  10557. createtime:
  10558. description: 创建时间
  10559. type: string
  10560. email:
  10561. description: 邮箱
  10562. type: string
  10563. executestatus:
  10564. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10565. type: integer
  10566. gzcjaccount:
  10567. description: 送检账户
  10568. type: string
  10569. gzcjaccounttype:
  10570. description: 检测账户类型 - 枚举"GZCJAccountType"
  10571. type: integer
  10572. gzcjcategorytype:
  10573. description: 货物品类 - 枚举"GZCJCategoryType"
  10574. type: integer
  10575. gzcjcategorytypedisplay:
  10576. description: 货物品类
  10577. type: string
  10578. gzcjdeliverytype:
  10579. description: 收货方式 - 枚举"GZCJDeliveryType"
  10580. type: integer
  10581. gzcjdeliverytypedisplay:
  10582. description: 收货方式
  10583. type: string
  10584. gzcjstatus:
  10585. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10586. type: integer
  10587. gzcjstatusdisplay:
  10588. description: 单据状态(出境检测)
  10589. type: string
  10590. handlestatus:
  10591. description: 处理状态
  10592. type: integer
  10593. invoiceremark:
  10594. description: 复核备注 - 发票装箱单使用
  10595. type: string
  10596. orderid:
  10597. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10598. type: integer
  10599. orderno:
  10600. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10601. type: string
  10602. ordersn:
  10603. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10604. type: string
  10605. origincountry:
  10606. description: 原产国
  10607. type: string
  10608. processingcountry:
  10609. description: 成品钻石加工国
  10610. type: string
  10611. realservicefee:
  10612. description: 应收综合服务费
  10613. type: number
  10614. servicefeesum:
  10615. description: 汇总综合服务费 - 明细上值汇总
  10616. type: number
  10617. settleamount:
  10618. description: 总结算费用
  10619. type: number
  10620. shaperange:
  10621. description: 形状范围
  10622. type: string
  10623. totalamount:
  10624. description: 总金额(美元)
  10625. type: number
  10626. totalgrossweight:
  10627. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10628. * 200
  10629. type: number
  10630. totalnumber:
  10631. description: 总粒数
  10632. type: integer
  10633. totalweight:
  10634. description: 总克拉数(保留3位小数)
  10635. type: number
  10636. totalweightgm:
  10637. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10638. type: number
  10639. userid:
  10640. description: 用户ID
  10641. type: integer
  10642. weightrange:
  10643. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10644. type: string
  10645. zsorigin:
  10646. description: 天然钻石毛坯原产地
  10647. type: string
  10648. required:
  10649. - userid
  10650. type: object
  10651. models.GzcjjcorderdetailM:
  10652. properties:
  10653. amount:
  10654. description: 参考货值(USD)
  10655. type: number
  10656. colorinfo:
  10657. description: 彩钻信息
  10658. type: string
  10659. createtime:
  10660. description: 创建时间
  10661. type: string
  10662. gzcjmarktype:
  10663. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10664. type: integer
  10665. gzcjpublishtype:
  10666. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10667. type: integer
  10668. gzcjpublishtypestring:
  10669. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10670. type: string
  10671. gzcjservicetype:
  10672. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10673. type: integer
  10674. gzcjservicetypestring:
  10675. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10676. type: string
  10677. gzcjshapetype:
  10678. description: 形状 - 枚举"GZCJShapeType"
  10679. type: integer
  10680. gzcjshapetypestring:
  10681. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10682. type: string
  10683. gzno:
  10684. description: 货物编号
  10685. type: string
  10686. orderdetailid:
  10687. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10688. type: integer
  10689. orderid:
  10690. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10691. type: integer
  10692. orderindex:
  10693. description: 顺序
  10694. type: integer
  10695. origincertno:
  10696. description: 原证书号【送检账户为“广钻账户”】
  10697. type: string
  10698. remark:
  10699. description: 备注(其它)
  10700. type: string
  10701. servicefee:
  10702. description: 综合服务费 - 根据市场配置计算
  10703. type: number
  10704. weight:
  10705. description: 重量(CT)
  10706. type: number
  10707. type: object
  10708. models.Gzrapaportprice:
  10709. properties:
  10710. dollar:
  10711. description: 美元
  10712. type: string
  10713. rmb:
  10714. description: 人民币
  10715. type: string
  10716. type: object
  10717. models.Hedgeinnerholderdetail:
  10718. properties:
  10719. accountid:
  10720. description: 账号ID
  10721. type: integer
  10722. buyorsell:
  10723. description: 方向 - 0:买 1:卖
  10724. type: integer
  10725. freezeqty:
  10726. description: 冻结数量 - 按单平使用
  10727. type: integer
  10728. goodsid:
  10729. description: 商品ID
  10730. type: integer
  10731. holderamount:
  10732. description: 持仓金额 [商品币种]
  10733. type: number
  10734. holderdays:
  10735. description: 剩余冻结天数
  10736. type: integer
  10737. holderprice:
  10738. description: 持仓价格
  10739. type: number
  10740. holderqty:
  10741. description: 持仓数量
  10742. type: integer
  10743. marketid:
  10744. description: 市场ID
  10745. type: integer
  10746. openprice:
  10747. description: 建仓价格
  10748. type: number
  10749. openqty:
  10750. description: 建仓数量
  10751. type: integer
  10752. parentaccountid:
  10753. description: 所属母账户
  10754. type: integer
  10755. releaseamount:
  10756. description: 释放持仓金额[商品币种]
  10757. type: number
  10758. tradeamount:
  10759. description: 成交金额[账户]
  10760. type: number
  10761. tradedate:
  10762. description: 交易日(yyyyMMdd)
  10763. type: string
  10764. tradeid:
  10765. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10766. type: string
  10767. tradetime:
  10768. description: 交易时间
  10769. type: string
  10770. required:
  10771. - buyorsell
  10772. - tradeid
  10773. type: object
  10774. models.Hedgemarketopenlog:
  10775. properties:
  10776. accountid:
  10777. description: 资金账号[外部母账户]
  10778. type: integer
  10779. fcname:
  10780. description: 期货公司名称
  10781. type: string
  10782. handlestatus:
  10783. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10784. type: integer
  10785. marketid:
  10786. description: 市场ID
  10787. type: integer
  10788. status:
  10789. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10790. type: integer
  10791. tradedate:
  10792. description: 交易日(yyyyMMdd)
  10793. type: string
  10794. updatetime:
  10795. description: 更新时间
  10796. type: string
  10797. required:
  10798. - accountid
  10799. type: object
  10800. models.InternalEnableTradeDetail:
  10801. properties:
  10802. agreeunit:
  10803. description: 合约乘数
  10804. type: number
  10805. areauserid:
  10806. description: 企业ID
  10807. type: integer
  10808. convertratio:
  10809. description: 品种系数
  10810. type: number
  10811. deliverygoodscode:
  10812. description: 现货品种代码
  10813. type: string
  10814. deliverygoodsid:
  10815. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10816. type: integer
  10817. deliverygoodsname:
  10818. description: 现货品种名称
  10819. type: string
  10820. futurehedgeqty:
  10821. description: '[已关联数量]期货持仓套期量'
  10822. type: number
  10823. goodsid:
  10824. description: 期货合约ID
  10825. type: integer
  10826. hedgeditemid:
  10827. description: 被套期项目ID
  10828. type: string
  10829. hedgeditemnum:
  10830. description: 项目编号
  10831. type: string
  10832. tradeuserid:
  10833. description: 交易用户ID
  10834. type: integer
  10835. unexehedgeqty:
  10836. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10837. type: number
  10838. unexespotqty:
  10839. description: 未执行现货量
  10840. type: number
  10841. wrstandardcode:
  10842. description: 现货品类代码
  10843. type: string
  10844. wrstandardid:
  10845. description: 现货品类ID(SEQ_WRSTANDARD)
  10846. type: integer
  10847. wrstandardname:
  10848. description: 现货品类名称
  10849. type: string
  10850. required:
  10851. - areauserid
  10852. - goodsid
  10853. - tradeuserid
  10854. type: object
  10855. models.InternalUncorrelatedTradeDetail:
  10856. properties:
  10857. accountid:
  10858. description: 账号ID
  10859. type: integer
  10860. accountname:
  10861. description: 套期主体
  10862. type: string
  10863. agreeunit:
  10864. description: 合约乘数
  10865. type: number
  10866. areauserid:
  10867. description: 所属机构
  10868. type: integer
  10869. bizsubjectid:
  10870. description: 归属业务部门ID - SubjectID
  10871. type: integer
  10872. buyorsell:
  10873. description: 方向 - 0:买 1:卖
  10874. type: integer
  10875. channelbuildtype:
  10876. description: 委托单据类型 0:无 1:建仓 2:平仓
  10877. type: integer
  10878. convertratio:
  10879. description: 品种系数
  10880. type: number
  10881. createtime:
  10882. description: 创建时间
  10883. type: string
  10884. creatorid:
  10885. description: 创建人ID
  10886. type: integer
  10887. creatorsrc:
  10888. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10889. type: integer
  10890. enableqty:
  10891. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10892. type: number
  10893. enumdicname:
  10894. description: 单位
  10895. type: string
  10896. goodscode:
  10897. description: 合约代码
  10898. type: string
  10899. goodsgroupid:
  10900. description: 对冲品种ID[期货合约商品组ID]
  10901. type: integer
  10902. goodsid:
  10903. description: 商品ID
  10904. type: integer
  10905. goodsname:
  10906. description: 合约名称
  10907. type: string
  10908. hedgeditemid:
  10909. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10910. type: integer
  10911. hedgeflag:
  10912. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10913. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10914. type: integer
  10915. linkdetailid:
  10916. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10917. type: string
  10918. linkstatus:
  10919. description: 关联状态 - 1:成功 2:失败 3:解绑
  10920. type: integer
  10921. middlegoodsid:
  10922. description: 套保品种ID
  10923. type: integer
  10924. middlegoodsqty:
  10925. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10926. type: number
  10927. relatedlot:
  10928. description: '[数量]关联手数'
  10929. type: number
  10930. relatedmode:
  10931. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10932. type: integer
  10933. relatedqty:
  10934. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10935. type: number
  10936. retcode:
  10937. description: 返回码
  10938. type: integer
  10939. saleuserid:
  10940. description: 业务员ID
  10941. type: integer
  10942. tradedate:
  10943. description: 关联交易日(yyyyMMdd)
  10944. type: string
  10945. tradeid:
  10946. description: 成交单号
  10947. type: string
  10948. tradelot:
  10949. description: 成交手数
  10950. type: integer
  10951. tradeprice:
  10952. description: 成交价
  10953. type: number
  10954. tradetime:
  10955. description: 成交时间
  10956. type: string
  10957. tradetradedate:
  10958. description: 成交交易日(yyyyMMdd)
  10959. type: string
  10960. tradeuserid:
  10961. description: 交易用户ID
  10962. type: integer
  10963. type: object
  10964. models.Loginaccount:
  10965. properties:
  10966. accountname:
  10967. description: 账户名称
  10968. type: string
  10969. canoutin:
  10970. description: 是否可出入金 - 0:不可 1:可
  10971. type: integer
  10972. clientroleid:
  10973. description: 终端角色ID
  10974. type: integer
  10975. haslogined:
  10976. description: 是否已登录 - 0:未登录 1:已登录
  10977. type: integer
  10978. hasupdatedpwd:
  10979. description: 是否已更改密码 - 0:未修改 1:已修改
  10980. type: integer
  10981. lastloginip:
  10982. description: 最新登录地址
  10983. type: string
  10984. lastloginmode:
  10985. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10986. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10987. type: integer
  10988. lastloginremark:
  10989. description: 最新登录描述
  10990. type: string
  10991. lastlogintime:
  10992. description: 最新登录时间
  10993. type: string
  10994. logincode:
  10995. description: 登录代码
  10996. type: string
  10997. loginfailnum:
  10998. description: 连续登录失败次数(登录成功时清零)
  10999. type: integer
  11000. loginid:
  11001. description: 登陆账号
  11002. type: integer
  11003. loginport:
  11004. description: 最新登录端口
  11005. type: integer
  11006. loginstatus:
  11007. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11008. type: integer
  11009. loginusertype:
  11010. description: 登录账号类型 - 1:投资者 2:机构交易员
  11011. type: integer
  11012. mobile:
  11013. description: 手机号码(加密存储)
  11014. type: string
  11015. modifierid:
  11016. description: 修改人
  11017. type: integer
  11018. modifysrc:
  11019. description: 审核来源 - 1:管理端 2:终端
  11020. type: integer
  11021. modifytime:
  11022. description: 修改时间
  11023. type: string
  11024. pwdwrongcount:
  11025. description: 密码错误次数
  11026. type: integer
  11027. relateduserid:
  11028. description: 关联用户ID(机构)
  11029. type: integer
  11030. taaccountrighttype:
  11031. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11032. type: integer
  11033. unfreezetime:
  11034. description: 账户解冻时间
  11035. type: string
  11036. userid:
  11037. description: 用户ID
  11038. type: integer
  11039. required:
  11040. - loginid
  11041. type: object
  11042. models.MainAccountInfo:
  11043. properties:
  11044. accountid:
  11045. description: 账号id
  11046. type: integer
  11047. accountname:
  11048. description: 账号名称(taaccount表中的名称)
  11049. type: string
  11050. appid:
  11051. description: AppID
  11052. type: string
  11053. authcode:
  11054. description: 授权码
  11055. type: string
  11056. brokerid:
  11057. description: 经纪商id
  11058. type: string
  11059. fcid:
  11060. description: 期货公司id
  11061. type: integer
  11062. fcname:
  11063. description: 期货公司代码
  11064. type: string
  11065. hedgeaccountcode:
  11066. description: 外部账号代码(主账号登录代码)
  11067. type: string
  11068. hedgeaccountpwd:
  11069. description: 密码
  11070. type: string
  11071. ismain:
  11072. description: 是否主账号
  11073. type: integer
  11074. relateduserid:
  11075. description: 关联用户id
  11076. type: integer
  11077. userid:
  11078. description: 关联用户id
  11079. type: integer
  11080. type: object
  11081. models.Market:
  11082. properties:
  11083. auctionwrtype:
  11084. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11085. type: integer
  11086. canacceptquote:
  11087. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11088. type: integer
  11089. cangoodsexercise:
  11090. description: '[期权]是否可现货行权- 0:否 1:是'
  11091. type: integer
  11092. cangoodsexercisetype:
  11093. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11094. type: integer
  11095. canmanualquotestrike:
  11096. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11097. type: integer
  11098. canmutistage:
  11099. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11100. type: integer
  11101. canpreexercise:
  11102. description: '[期权]是否可预申报- 0:否 1:是'
  11103. type: integer
  11104. clearinterval:
  11105. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11106. type: integer
  11107. contracttmp:
  11108. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11109. type: string
  11110. exchareaid:
  11111. description: 所属交易所,可以没有
  11112. type: integer
  11113. goodstype:
  11114. description: 商品类型 - 1:交易商品 2:仓单商品
  11115. type: integer
  11116. hasrebate:
  11117. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11118. type: integer
  11119. hastradecredit:
  11120. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11121. type: integer
  11122. haswr:
  11123. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11124. type: integer
  11125. isdeductmargin:
  11126. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11127. type: integer
  11128. isrecordsource:
  11129. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11130. type: integer
  11131. isreleasemargin:
  11132. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11133. type: integer
  11134. marginformula:
  11135. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11136. type: integer
  11137. marginformula2:
  11138. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11139. type: integer
  11140. marketid:
  11141. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11142. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11143. type: integer
  11144. marketname:
  11145. description: 市场名称
  11146. type: string
  11147. marketserviceid:
  11148. description: 市场服务ID
  11149. type: integer
  11150. marketstatus:
  11151. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11152. type: integer
  11153. markettype:
  11154. description: 市场类型- 1:非交易服务 2:交易服务
  11155. type: integer
  11156. matchermode:
  11157. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11158. type: integer
  11159. openmethod:
  11160. description: 开盘模式 - 0 自动 1手动
  11161. type: integer
  11162. otcuserid:
  11163. description: 场外期权做市商[场外期权]
  11164. type: integer
  11165. outersynctime:
  11166. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11167. type: string
  11168. pendingflag:
  11169. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11170. type: integer
  11171. pendingtime:
  11172. description: 待开市时间[通道交易-对冲](HH:mm)
  11173. type: string
  11174. performancetempid:
  11175. description: 履约计划模板ID - 作废
  11176. type: integer
  11177. premiumquotemode:
  11178. description: 权利金报价方式 - 1:自动 2:手动
  11179. type: integer
  11180. rebateratio:
  11181. description: 返利比率[竞价式]
  11182. type: number
  11183. reckonorder:
  11184. description: 结算顺序
  11185. type: integer
  11186. reckonpricealgorithm:
  11187. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11188. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11189. type: integer
  11190. reckonpriceparam:
  11191. description: 结算价参数
  11192. type: integer
  11193. reckontime:
  11194. description: 结算时间[通道交易-对冲](HH:mm)
  11195. type: string
  11196. roleprioritytype:
  11197. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11198. type: integer
  11199. selllistingauditflag:
  11200. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11201. type: integer
  11202. trademarkettype:
  11203. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11204. type: integer
  11205. trademode:
  11206. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11207. 21:竞拍-大宗式 22:受托竞价
  11208. type: integer
  11209. tradeproperty:
  11210. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11211. 8:场外期权
  11212. type: integer
  11213. tradetype:
  11214. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11215. type: integer
  11216. required:
  11217. - marketid
  11218. - marketstatus
  11219. - openmethod
  11220. - reckonpricealgorithm
  11221. - trademode
  11222. - tradeproperty
  11223. type: object
  11224. models.Marketcalendar:
  11225. properties:
  11226. holidaydate:
  11227. description: 节假日期(yyyy-MM-dd)
  11228. type: string
  11229. marketid:
  11230. description: 市场ID
  11231. type: integer
  11232. type: object
  11233. models.Marketrun:
  11234. properties:
  11235. afternexttradedate:
  11236. description: 下下交易日
  11237. type: string
  11238. clearquoteflag:
  11239. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11240. type: integer
  11241. lastreckondate:
  11242. description: 最新交易日(结算成功)
  11243. type: string
  11244. machinedate:
  11245. description: 机器时间
  11246. type: string
  11247. manualflag:
  11248. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11249. type: integer
  11250. marketid:
  11251. description: 市场ID
  11252. type: integer
  11253. nexttradedate:
  11254. description: 下一交易日
  11255. type: string
  11256. pretradedate:
  11257. description: 上一交易日
  11258. type: string
  11259. reckonflag:
  11260. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11261. type: integer
  11262. runstatus:
  11263. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11264. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11265. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11266. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11267. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11268. 62.今日免清算
  11269. type: integer
  11270. sectionid:
  11271. description: 时间段号[多时段时用]
  11272. type: integer
  11273. tradedate:
  11274. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11275. type: string
  11276. tradedate2:
  11277. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11278. type: string
  11279. updatetime:
  11280. description: 更新时间
  11281. type: string
  11282. required:
  11283. - marketid
  11284. - nexttradedate
  11285. - reckonflag
  11286. - runstatus
  11287. - tradedate
  11288. - tradedate2
  11289. type: object
  11290. models.Messageboard:
  11291. properties:
  11292. contactnum:
  11293. description: 联系电话
  11294. type: string
  11295. createtime:
  11296. description: 创建时间
  11297. type: string
  11298. message:
  11299. description: 留言信息
  11300. type: string
  11301. messageboardid:
  11302. description: 留言簿ID(SEQ_MessageBoard)
  11303. type: integer
  11304. userid:
  11305. description: 用户ID
  11306. type: integer
  11307. required:
  11308. - messageboardid
  11309. type: object
  11310. models.MyBargainApply:
  11311. properties:
  11312. accountid:
  11313. description: 摘牌资金账号
  11314. type: integer
  11315. applyprice:
  11316. description: 申请价格
  11317. type: string
  11318. applyremark:
  11319. description: 申请备注
  11320. type: string
  11321. applystatus:
  11322. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11323. type: integer
  11324. applytime:
  11325. description: 申请时间
  11326. type: string
  11327. buyorsell:
  11328. description: 买卖 - 0:买 1:卖
  11329. type: integer
  11330. buyusername:
  11331. description: 买方
  11332. type: string
  11333. confirmprice:
  11334. description: 可接受价格(拒绝时填写)-作废
  11335. type: number
  11336. confirmqty:
  11337. description: 可接受数量(拒绝时填写)-作废
  11338. type: integer
  11339. confirmremark:
  11340. description: 确认备注
  11341. type: string
  11342. confirmtime:
  11343. description: 确认时间
  11344. type: string
  11345. confirmuserid:
  11346. description: 确认人
  11347. type: integer
  11348. goodsno:
  11349. description: 商品编号
  11350. type: string
  11351. handlestatus:
  11352. description: 处理状态
  11353. type: integer
  11354. ladingbillid:
  11355. description: 摘牌方提单ID [卖]
  11356. type: integer
  11357. marketid:
  11358. description: 市场ID
  11359. type: integer
  11360. matchaccountid:
  11361. description: 挂牌方资金账号
  11362. type: integer
  11363. matchuserid:
  11364. description: 挂牌方用户ID
  11365. type: integer
  11366. performancetemplateid:
  11367. description: 履约计划模板ID
  11368. type: integer
  11369. price:
  11370. description: 价格
  11371. type: number
  11372. priceper:
  11373. description: 克拉单价 - 类型:1,2,3,5
  11374. type: string
  11375. qty:
  11376. description: 申请数量
  11377. type: number
  11378. refprice:
  11379. description: 参考价格
  11380. type: string
  11381. retcode:
  11382. description: 委托返回代码
  11383. type: integer
  11384. sellusername:
  11385. description: 卖方
  11386. type: string
  11387. sizedisplay:
  11388. description: 尺寸
  11389. type: string
  11390. subnum:
  11391. description: 摘牌方提单子单号 [卖]
  11392. type: integer
  11393. tradedate:
  11394. description: 交易日(yyyyMMdd)
  11395. type: string
  11396. userid:
  11397. description: 摘牌人用户ID
  11398. type: integer
  11399. warehousenamedisplay:
  11400. type: string
  11401. wrbargainid:
  11402. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11403. type: string
  11404. wrtradeorderid:
  11405. description: 关联委托单ID
  11406. type: string
  11407. zscerttypedisplay:
  11408. type: string
  11409. zsclaritytype1display:
  11410. type: string
  11411. zsclaritytype2display:
  11412. type: string
  11413. zscolortype1display:
  11414. type: string
  11415. zscolortype2display:
  11416. type: string
  11417. zscrystaltypedisplay:
  11418. type: string
  11419. zscurrencytypedisplay:
  11420. type: string
  11421. zscurrencytypedisplayunit:
  11422. type: string
  11423. zscuttype1display:
  11424. type: string
  11425. zscuttype2display:
  11426. type: string
  11427. zsczcolor1typedisplay:
  11428. type: string
  11429. zsczcolor2typedisplay:
  11430. type: string
  11431. zsczcolor3typedisplay:
  11432. type: string
  11433. zsfluorescencetype1display:
  11434. type: string
  11435. zsfluorescencetype2display:
  11436. type: string
  11437. zspolishtype1display:
  11438. type: string
  11439. zspolishtype2display:
  11440. type: string
  11441. zsshapetypedisplay:
  11442. type: string
  11443. zsstyletypedisplay:
  11444. type: string
  11445. zssymmetrytype1display:
  11446. type: string
  11447. zssymmetrytype2display:
  11448. type: string
  11449. required:
  11450. - userid
  11451. type: object
  11452. models.MyBuyOrder:
  11453. properties:
  11454. accountid:
  11455. description: 资金账户ID
  11456. type: integer
  11457. marketid:
  11458. description: 市场ID
  11459. type: integer
  11460. ordertime:
  11461. description: 委托时间
  11462. type: string
  11463. origin:
  11464. description: 原产地
  11465. type: string
  11466. performancetemplateid:
  11467. description: 履约计划模板ID
  11468. type: integer
  11469. remark:
  11470. description: 备注
  11471. type: string
  11472. userid:
  11473. description: 用户ID
  11474. type: integer
  11475. validtime:
  11476. description: 有效期限
  11477. type: string
  11478. warehouseids:
  11479. description: 仓库ID - 多个, 逗号分隔
  11480. type: string
  11481. warehouseinfosdisplay:
  11482. type: string
  11483. wrtradeorderid:
  11484. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11485. type: string
  11486. wrtradeorderstatus:
  11487. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  11488. type: integer
  11489. zscategory:
  11490. description: 钻石分类 - 枚举”ZSCategory“
  11491. type: integer
  11492. zscategorydisplay:
  11493. type: string
  11494. zsclaritytype:
  11495. description: 净度 - 两个, 逗号分隔
  11496. type: string
  11497. zsclaritytypedisplay:
  11498. type: string
  11499. zscolortype:
  11500. description: 颜色 - 两个, 逗号分隔
  11501. type: string
  11502. zscolortypedisplay:
  11503. type: string
  11504. zscrystaltype:
  11505. description: 晶型 - 多个,逗号分隔
  11506. type: string
  11507. zscrystaltypedisplay:
  11508. type: string
  11509. zscurrencytype:
  11510. description: 货币类型 - 多个, 逗号分隔
  11511. type: string
  11512. zscurrencytypedisplay:
  11513. type: string
  11514. zscuttype:
  11515. description: 切工 - 两个, 逗号分隔
  11516. type: string
  11517. zscuttypedisplay:
  11518. type: string
  11519. zsczcolor1type:
  11520. description: 彩钻颜色1, 逗号分隔
  11521. type: string
  11522. zsczcolor1typedisplay:
  11523. type: string
  11524. zsczcolor2type:
  11525. description: 彩钻颜色2, 逗号分隔
  11526. type: string
  11527. zsczcolor2typedisplay:
  11528. type: string
  11529. zsczcolor3type:
  11530. description: 彩钻颜色3, 逗号分隔
  11531. type: string
  11532. zsczcolor3typedisplay:
  11533. type: string
  11534. zsfluorescencetype:
  11535. description: 荧光 - 多个, 逗号分隔
  11536. type: string
  11537. zsfluorescencetypedisplay:
  11538. type: string
  11539. zspolishtype:
  11540. description: 抛光度 - 两个, 逗号分隔
  11541. type: string
  11542. zspolishtypedisplay:
  11543. type: string
  11544. zsshapetype:
  11545. description: 形状 - 多个, 逗号分隔
  11546. type: string
  11547. zsshapetypedisplay:
  11548. type: string
  11549. zssize:
  11550. description: 尺寸 - 两个小数, 逗号分隔
  11551. type: string
  11552. zsstyletype:
  11553. description: 款式 - 多个, 逗号分隔
  11554. type: string
  11555. zsstyletypedisplay:
  11556. type: string
  11557. zssymmetrytype:
  11558. description: 对称度 - 两个, 逗号分隔
  11559. type: string
  11560. zssymmetrytypedisplay:
  11561. type: string
  11562. zstabledisplay:
  11563. description: 求购信息
  11564. type: string
  11565. required:
  11566. - userid
  11567. type: object
  11568. models.MyDeListing:
  11569. properties:
  11570. buyaccountid:
  11571. description: 买方账号ID
  11572. type: integer
  11573. buychargevalue:
  11574. description: 买方手续费
  11575. type: number
  11576. buyuserid:
  11577. description: 买方用户ID
  11578. type: integer
  11579. deliverygoodsid:
  11580. description: 现货品种ID
  11581. type: integer
  11582. exchangerate:
  11583. description: 汇率
  11584. type: number
  11585. goodsno:
  11586. description: 商品编号
  11587. type: string
  11588. marketid:
  11589. description: 市场ID
  11590. type: integer
  11591. matchusername:
  11592. description: 对手方
  11593. type: string
  11594. oritradeamount:
  11595. description: 成交金额[商品币种]
  11596. type: number
  11597. performanceplanid:
  11598. description: 履约计划ID/合同ID
  11599. type: string
  11600. price:
  11601. description: 价格
  11602. type: number
  11603. qty:
  11604. description: 成交重量
  11605. type: number
  11606. sellaccountid:
  11607. description: 卖方账号ID
  11608. type: integer
  11609. sellchargevalue:
  11610. description: 卖方手续费
  11611. type: number
  11612. selluserid:
  11613. description: 卖方用户ID
  11614. type: integer
  11615. sizedisplay:
  11616. description: 尺寸
  11617. type: string
  11618. tradeamount:
  11619. description: 成交金额
  11620. type: number
  11621. tradedate:
  11622. description: 交易日(yyyyMMdd)
  11623. type: string
  11624. tradeprice:
  11625. description: 成交价格
  11626. type: number
  11627. tradetime:
  11628. description: 成交时间
  11629. type: string
  11630. userid:
  11631. description: 用户ID
  11632. type: integer
  11633. warehousenamedisplay:
  11634. type: string
  11635. wrfactortypeid:
  11636. description: 仓单要素类型ID
  11637. type: integer
  11638. wrstandardid:
  11639. description: 现货商品ID
  11640. type: integer
  11641. wrtradedetailid:
  11642. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11643. type: string
  11644. zscategory:
  11645. description: 钻石分类 - 枚举”ZSCategory“
  11646. type: integer
  11647. zscategorydisplay:
  11648. type: string
  11649. zscerttypedisplay:
  11650. type: string
  11651. zsclaritytype1display:
  11652. type: string
  11653. zsclaritytype2display:
  11654. type: string
  11655. zscolortype1display:
  11656. type: string
  11657. zscolortype2display:
  11658. type: string
  11659. zscrystaltypedisplay:
  11660. type: string
  11661. zscurrencytype:
  11662. description: 货币类型 - 枚举“ZSCurrencyType”
  11663. type: integer
  11664. zscurrencytypedisplay:
  11665. type: string
  11666. zscurrencytypedisplayunit:
  11667. type: string
  11668. zscuttype1display:
  11669. type: string
  11670. zscuttype2display:
  11671. type: string
  11672. zsczcolor1typedisplay:
  11673. type: string
  11674. zsczcolor2typedisplay:
  11675. type: string
  11676. zsczcolor3typedisplay:
  11677. type: string
  11678. zsfluorescencetype1display:
  11679. type: string
  11680. zsfluorescencetype2display:
  11681. type: string
  11682. zspolishtype1display:
  11683. type: string
  11684. zspolishtype2display:
  11685. type: string
  11686. zsshapetypedisplay:
  11687. type: string
  11688. zsstyletypedisplay:
  11689. type: string
  11690. zssymmetrytype1display:
  11691. type: string
  11692. zssymmetrytype2display:
  11693. type: string
  11694. required:
  11695. - userid
  11696. type: object
  11697. models.MyDelistingApply:
  11698. properties:
  11699. applyprice:
  11700. description: 申请价格
  11701. type: number
  11702. applyqty:
  11703. description: 申请数量
  11704. type: number
  11705. applyremark:
  11706. description: 申请备注
  11707. type: string
  11708. applystatus:
  11709. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11710. type: integer
  11711. applytime:
  11712. description: 申请时间
  11713. type: string
  11714. auditremark:
  11715. description: 确认备注
  11716. type: string
  11717. audittime:
  11718. description: 确认时间
  11719. type: string
  11720. buyuserid:
  11721. description: 买方用户ID
  11722. type: integer
  11723. buyusername:
  11724. description: 买方
  11725. type: string
  11726. buywrtradeorderid:
  11727. description: 买委托单ID
  11728. type: string
  11729. goodsno:
  11730. description: 商品编号
  11731. type: string
  11732. ladingbillid:
  11733. description: 卖方提单ID
  11734. type: string
  11735. marketid:
  11736. description: 市场ID
  11737. type: integer
  11738. performancetemplateid:
  11739. description: 履约计划模板ID
  11740. type: integer
  11741. price:
  11742. description: 价格
  11743. type: number
  11744. sellaccountid:
  11745. description: 卖方账户ID
  11746. type: integer
  11747. selldelistingapplyid:
  11748. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11749. type: string
  11750. selltradeorderid:
  11751. description: 卖方委托ID(买方确认成交后更新)
  11752. type: string
  11753. selluserid:
  11754. description: 卖方用户ID
  11755. type: integer
  11756. sellusername:
  11757. description: 卖方
  11758. type: string
  11759. sizedisplay:
  11760. description: 尺寸
  11761. type: string
  11762. subnum:
  11763. description: 卖方提单子单号
  11764. type: integer
  11765. warehouseinfosdisplay:
  11766. type: string
  11767. weight:
  11768. description: 克拉重量
  11769. type: number
  11770. wrfactortypeid:
  11771. description: 仓单要素类型ID
  11772. type: string
  11773. wrstandardid:
  11774. description: 现货商品ID
  11775. type: integer
  11776. zsallproperties:
  11777. type: string
  11778. zscategorydisplay:
  11779. type: string
  11780. zsclaritytypedisplay:
  11781. type: string
  11782. zscolortypedisplay:
  11783. type: string
  11784. zscrystaltypedisplay:
  11785. type: string
  11786. zscurrencytypedisplay:
  11787. type: string
  11788. zscurrencytypedisplayunit:
  11789. description: 价格单位
  11790. type: string
  11791. zscuttypedisplay:
  11792. type: string
  11793. zsczcolor1typedisplay:
  11794. type: string
  11795. zsczcolor2typedisplay:
  11796. type: string
  11797. zsczcolor3typedisplay:
  11798. type: string
  11799. zsfluorescencetypedisplay:
  11800. type: string
  11801. zspolishtypedisplay:
  11802. type: string
  11803. zsshapetypedisplay:
  11804. type: string
  11805. zssizedisplay:
  11806. type: string
  11807. zsstyletypedisplay:
  11808. type: string
  11809. zssymmetrytypedisplay:
  11810. type: string
  11811. zstabledisplay:
  11812. type: string
  11813. required:
  11814. - selluserid
  11815. type: object
  11816. models.MyFavorite:
  11817. properties:
  11818. accountname:
  11819. description: 账户名称(机构名称)
  11820. type: string
  11821. buyorsell:
  11822. description: 买卖 - 0:买 1:卖
  11823. type: integer
  11824. favoritestatus:
  11825. description: 收藏状态 - 1:正常 2:失效
  11826. type: integer
  11827. goodsno:
  11828. description: 商品编号
  11829. type: string
  11830. marketid:
  11831. description: 市场ID
  11832. type: integer
  11833. price:
  11834. description: 价格
  11835. type: number
  11836. priceper:
  11837. description: 克拉单价
  11838. type: string
  11839. sizedisplay:
  11840. description: 尺寸
  11841. type: string
  11842. userid:
  11843. description: 用户ID
  11844. type: integer
  11845. warehousenamedisplay:
  11846. type: string
  11847. weight:
  11848. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11849. type: number
  11850. weightavg:
  11851. description: 平均单颗重量 - 类型:1,3
  11852. type: number
  11853. wrfactortypeid:
  11854. description: 仓单要素类型ID/商品ID(77)
  11855. type: string
  11856. wrstandardid:
  11857. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11858. type: integer
  11859. wrtradeorderid:
  11860. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11861. type: string
  11862. zscategory:
  11863. description: 钻石分类 - 枚举”ZSCategory“
  11864. type: integer
  11865. zscategorydisplay:
  11866. type: string
  11867. zscerttypedisplay:
  11868. type: string
  11869. zsclaritytype1display:
  11870. type: string
  11871. zsclaritytype2display:
  11872. type: string
  11873. zscolortype1display:
  11874. type: string
  11875. zscolortype2display:
  11876. type: string
  11877. zscrystaltypedisplay:
  11878. type: string
  11879. zscurrencytypedisplay:
  11880. type: string
  11881. zscurrencytypedisplayunit:
  11882. type: string
  11883. zscuttype1display:
  11884. type: string
  11885. zscuttype2display:
  11886. type: string
  11887. zsczcolor1typedisplay:
  11888. type: string
  11889. zsczcolor2typedisplay:
  11890. type: string
  11891. zsczcolor3typedisplay:
  11892. type: string
  11893. zsfluorescencetype1display:
  11894. type: string
  11895. zsfluorescencetype2display:
  11896. type: string
  11897. zspolishtype1display:
  11898. type: string
  11899. zspolishtype2display:
  11900. type: string
  11901. zsshapetypedisplay:
  11902. type: string
  11903. zsstyletypedisplay:
  11904. type: string
  11905. zssymmetrytype1display:
  11906. type: string
  11907. zssymmetrytype2display:
  11908. type: string
  11909. required:
  11910. - userid
  11911. type: object
  11912. models.MyPerformanc:
  11913. properties:
  11914. accountname:
  11915. description: '[对手方]账户名称(机构名称)'
  11916. type: string
  11917. amount:
  11918. description: 履约金额
  11919. type: number
  11920. buyaccountid:
  11921. description: 买方账号
  11922. type: integer
  11923. buyerfreezeamount:
  11924. description: 买方履约前冻结资金
  11925. type: number
  11926. buyerfreezeamountremain:
  11927. description: 买方履约前冻结资金剩余
  11928. type: number
  11929. buyerinfo:
  11930. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11931. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11932. type: string
  11933. buyorsell:
  11934. description: 方向 - 0:买 1:卖
  11935. type: integer
  11936. buypaidamount:
  11937. description: 买方已冻/已扣金额
  11938. type: number
  11939. buytodayamount:
  11940. description: 买方今日扣/冻金额 (待开市时清零)
  11941. type: number
  11942. curstepid:
  11943. description: 当前步骤ID
  11944. type: string
  11945. goodsno:
  11946. description: 商品编号
  11947. type: string
  11948. overshortamount:
  11949. description: 溢短金额
  11950. type: number
  11951. paymenttype:
  11952. description: 买方支付方式 - 1:冻结 2:扣款
  11953. type: integer
  11954. performanceplanid:
  11955. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11956. type: string
  11957. performancestatus:
  11958. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11959. 9:超时待处理 10:超时关闭
  11960. type: integer
  11961. price:
  11962. description: 价格
  11963. type: number
  11964. priceper:
  11965. description: 克拉单价
  11966. type: string
  11967. relatedorderid:
  11968. description: 关联单号(履约类型的关联单号)
  11969. type: string
  11970. remaindays:
  11971. description: 剩余天数
  11972. type: integer
  11973. sellerfreezeamount:
  11974. description: 卖方履约前冻结资金
  11975. type: number
  11976. sellerfreezeamountremain:
  11977. description: 卖方履约前冻结资金剩余
  11978. type: number
  11979. sellerinfo:
  11980. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11981. "xxxxxxxx"}'
  11982. type: string
  11983. sellreceivedamount:
  11984. description: 卖方已收金额
  11985. type: number
  11986. selltodayamount:
  11987. description: 卖方今日收取金额(待开市时清零)
  11988. type: number
  11989. sizedisplay:
  11990. description: 尺寸
  11991. type: string
  11992. steptypeid:
  11993. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11994. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11995. type: integer
  11996. warehousenamedisplay:
  11997. type: string
  11998. zscategorydisplay:
  11999. type: string
  12000. zscerttypedisplay:
  12001. type: string
  12002. zsclaritytype1display:
  12003. type: string
  12004. zsclaritytype2display:
  12005. type: string
  12006. zscolortype1display:
  12007. type: string
  12008. zscolortype2display:
  12009. type: string
  12010. zscrystaltypedisplay:
  12011. type: string
  12012. zscurrencytypedisplay:
  12013. type: string
  12014. zscurrencytypedisplayunit:
  12015. type: string
  12016. zscuttype1display:
  12017. type: string
  12018. zscuttype2display:
  12019. type: string
  12020. zsczcolor1typedisplay:
  12021. type: string
  12022. zsczcolor2typedisplay:
  12023. type: string
  12024. zsczcolor3typedisplay:
  12025. type: string
  12026. zsfluorescencetype1display:
  12027. type: string
  12028. zsfluorescencetype2display:
  12029. type: string
  12030. zspolishtype1display:
  12031. type: string
  12032. zspolishtype2display:
  12033. type: string
  12034. zsshapetypedisplay:
  12035. type: string
  12036. zsstyletypedisplay:
  12037. type: string
  12038. zssymmetrytype1display:
  12039. type: string
  12040. zssymmetrytype2display:
  12041. type: string
  12042. type: object
  12043. models.MySellOrder:
  12044. properties:
  12045. accountid:
  12046. description: 资金账号
  12047. type: integer
  12048. applyid:
  12049. description: 申请单ID
  12050. type: integer
  12051. attachment1:
  12052. description: 附件1
  12053. type: string
  12054. attachment2:
  12055. description: 附件2
  12056. type: string
  12057. buyorsell:
  12058. description: 买卖 - 0:买 1:卖
  12059. type: integer
  12060. canbargain:
  12061. description: 是否可议价 - 0:不可 1:可
  12062. type: integer
  12063. cancelqty:
  12064. description: 撤销数量
  12065. type: integer
  12066. canceltime:
  12067. description: 撤销时间
  12068. type: string
  12069. cerno:
  12070. type: string
  12071. chargealgorithm:
  12072. description: 手续费收取方式 1:比率 2:固定
  12073. type: integer
  12074. chargealgorithmvalue:
  12075. description: 手续费设置值(交易所部分)
  12076. type: number
  12077. chargealgorithmvalue2:
  12078. description: 手续费设置值(会员部分)
  12079. type: number
  12080. clientordertime:
  12081. description: 客户端委托时间
  12082. type: string
  12083. cpcertno:
  12084. type: string
  12085. exchangerate:
  12086. description: 汇率[67]
  12087. type: number
  12088. firstratio:
  12089. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12090. type: number
  12091. fixedprice:
  12092. description: '[克拉单价]固定价格 - [挂牌]'
  12093. type: number
  12094. freezecharge:
  12095. description: 冻结手续费
  12096. type: number
  12097. freezefirstamount:
  12098. description: 冻结首付金额 - [摘牌]
  12099. type: number
  12100. freezemargin:
  12101. description: 冻结保证金
  12102. type: number
  12103. goodsno:
  12104. description: 商品编号
  12105. type: string
  12106. imagepath:
  12107. type: string
  12108. isspecified:
  12109. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12110. type: integer
  12111. kppath:
  12112. type: string
  12113. kpweight:
  12114. type: string
  12115. marginalgorithm:
  12116. description: 保证金方式 - 1:比率 2:固定
  12117. type: integer
  12118. marginvalue:
  12119. description: 保证金设置值
  12120. type: number
  12121. marketid:
  12122. description: 市场ID
  12123. type: integer
  12124. marketprice:
  12125. type: string
  12126. orderamount:
  12127. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12128. type: number
  12129. ordertime:
  12130. description: 委托时间
  12131. type: string
  12132. performancetemplateid:
  12133. description: 履约计划模板ID
  12134. type: integer
  12135. price:
  12136. description: 价格
  12137. type: number
  12138. pricefactor:
  12139. description: 价格系数(浮动价时填写) - [挂牌]
  12140. type: number
  12141. pricemove:
  12142. description: 升贴水(浮动价时填写) - [挂牌]
  12143. type: number
  12144. priceper:
  12145. type: string
  12146. relatedwrtradeorderid:
  12147. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12148. type: integer
  12149. remark:
  12150. type: string
  12151. retcode:
  12152. description: 错误代码
  12153. type: integer
  12154. selledqty:
  12155. description: 成交重量
  12156. type: number
  12157. settingmaterial:
  12158. type: string
  12159. size1:
  12160. type: string
  12161. size2:
  12162. type: string
  12163. size3:
  12164. type: string
  12165. stonedesc:
  12166. type: string
  12167. totalqty:
  12168. description: 总重量
  12169. type: number
  12170. tradedate:
  12171. description: 交易日(yyyyMMdd)
  12172. type: string
  12173. tradeprice:
  12174. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12175. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12176. type: number
  12177. unfreezecharge:
  12178. description: 解冻手续费
  12179. type: number
  12180. unfreezefirstamount:
  12181. description: 解冻首付金额 - [摘牌]
  12182. type: number
  12183. unfreezemargin:
  12184. description: 解冻保证金
  12185. type: number
  12186. userid:
  12187. description: 用户ID
  12188. type: integer
  12189. uuid:
  12190. description: 发起端唯一id
  12191. type: string
  12192. validtime:
  12193. description: 有效期限
  12194. type: string
  12195. validtype:
  12196. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12197. type: integer
  12198. warehousenamedisplay:
  12199. type: string
  12200. wrbargainid:
  12201. description: 议价申请单ID
  12202. type: integer
  12203. wrfactortypeid:
  12204. description: 仓单要素类型ID/商品ID(77)
  12205. type: integer
  12206. wrpath:
  12207. type: string
  12208. wrpricetype:
  12209. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12210. type: integer
  12211. wrstandardid:
  12212. description: 现货商品ID
  12213. type: integer
  12214. wrtradeorderid:
  12215. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12216. type: string
  12217. wrtradeorderstatus:
  12218. 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:撤单解冻贷款失败
  12219. type: integer
  12220. wrtradetype:
  12221. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12222. type: integer
  12223. wrtransferuserid:
  12224. description: 仓单受让用户 - [摘牌]
  12225. type: integer
  12226. zscategory:
  12227. description: 钻石分类 - 枚举”ZSCategory“
  12228. type: integer
  12229. zscategorydisplay:
  12230. description: 钻石分类 - 描述
  12231. type: string
  12232. zscerttypedisplay:
  12233. type: string
  12234. zsclaritytype1display:
  12235. type: string
  12236. zsclaritytype2display:
  12237. type: string
  12238. zscolortype1display:
  12239. type: string
  12240. zscolortype2display:
  12241. type: string
  12242. zscrystaltype:
  12243. type: string
  12244. zscrystaltypedisplay:
  12245. type: string
  12246. zscurrencytype:
  12247. description: 货币类型 - 枚举“ZSCurrencyType”
  12248. type: integer
  12249. zscurrencytypedisplay:
  12250. type: string
  12251. zscurrencytypedisplayunit:
  12252. type: string
  12253. zscuttype1display:
  12254. type: string
  12255. zscuttype2display:
  12256. type: string
  12257. zsczcolor1typedisplay:
  12258. type: string
  12259. zsczcolor2typedisplay:
  12260. type: string
  12261. zsczcolor3typedisplay:
  12262. type: string
  12263. zsfluorescencetype1display:
  12264. type: string
  12265. zsfluorescencetype2display:
  12266. type: string
  12267. zspolishtype1display:
  12268. type: string
  12269. zspolishtype2display:
  12270. type: string
  12271. zsshapetypedisplay:
  12272. type: string
  12273. zsstyletypedisplay:
  12274. type: string
  12275. zssymmetrytype1display:
  12276. type: string
  12277. zssymmetrytype2display:
  12278. type: string
  12279. required:
  12280. - userid
  12281. type: object
  12282. models.MyWRPosition:
  12283. properties:
  12284. cerno:
  12285. description: 证书编号 - 类型:2,4,5
  12286. type: string
  12287. cpcertno:
  12288. description: 金伯利证书编号 - 类型:3
  12289. type: string
  12290. ffreezeqty:
  12291. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12292. type: number
  12293. ftotalqty:
  12294. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12295. type: number
  12296. goodsno:
  12297. description: 商品编号
  12298. type: string
  12299. imagepath:
  12300. description: 商品照片(相对地址)
  12301. type: string
  12302. isvalid:
  12303. description: 是否有效 - 0:无效 1:有效
  12304. type: integer
  12305. kppath:
  12306. description: 金伯利证书图片(相对地址) - 类型:3
  12307. type: string
  12308. kpweight:
  12309. description: 金伯利证书重量 - 类型:3
  12310. type: string
  12311. ladingbillid:
  12312. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12313. type: string
  12314. marketflag:
  12315. description: 是否上架,0-全部 1-是 2-否
  12316. type: integer
  12317. marketprice:
  12318. description: 市场价
  12319. type: string
  12320. origin:
  12321. description: 原产地 - 类型:3
  12322. type: string
  12323. price:
  12324. description: 总价(价格) - 类型:1,2,3,4,5
  12325. type: number
  12326. priceper:
  12327. description: 克拉单价 - 类型:1,2,3,5
  12328. type: string
  12329. remark:
  12330. description: 备注
  12331. type: string
  12332. sellmobile:
  12333. description: 手机号码(加密存储)
  12334. type: string
  12335. sellusername:
  12336. description: 账户名称(机构名称)
  12337. type: string
  12338. settingmaterial:
  12339. description: 镶嵌材料 - 类型:4
  12340. type: string
  12341. size1:
  12342. description: 尺寸1 - 类型:2,4,5
  12343. type: string
  12344. size2:
  12345. description: 尺寸2 - 类型:2,4,5
  12346. type: string
  12347. size3:
  12348. description: 尺寸3 - 类型:2,4,5
  12349. type: string
  12350. sizedisplay:
  12351. description: 尺寸
  12352. type: string
  12353. stonedesc:
  12354. description: 配石描述 - 类型:4
  12355. type: string
  12356. subnum:
  12357. description: 提单子单号
  12358. type: integer
  12359. userid:
  12360. description: 用户ID
  12361. type: integer
  12362. warehouseid:
  12363. description: 仓库ID
  12364. type: integer
  12365. warehousenamedisplay:
  12366. type: string
  12367. weight:
  12368. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12369. type: number
  12370. weightavg:
  12371. description: 平均单颗重量 - 类型:1,3
  12372. type: number
  12373. wrpath:
  12374. description: 仓单扫描件(相对地址)
  12375. type: string
  12376. wrstandardid:
  12377. description: 现货商品ID
  12378. type: integer
  12379. wrtradeorderid:
  12380. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12381. type: string
  12382. wruserid:
  12383. description: 登录用户ID
  12384. type: integer
  12385. zscategory:
  12386. description: 钻石分类 - 枚举”ZSCategory“
  12387. type: integer
  12388. zscategorydisplay:
  12389. type: string
  12390. zscerttype:
  12391. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12392. type: integer
  12393. zscerttypedisplay:
  12394. type: string
  12395. zsclaritytype1:
  12396. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12397. type: integer
  12398. zsclaritytype1display:
  12399. type: string
  12400. zsclaritytype2:
  12401. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12402. type: integer
  12403. zsclaritytype2display:
  12404. type: string
  12405. zscolortype1:
  12406. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12407. type: integer
  12408. zscolortype1display:
  12409. type: string
  12410. zscolortype2:
  12411. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12412. type: integer
  12413. zscolortype2display:
  12414. type: string
  12415. zscrystaltype:
  12416. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12417. type: string
  12418. zscrystaltypedisplay:
  12419. type: string
  12420. zscurrencytype:
  12421. description: 货币类型 - 枚举“ZSCurrencyType”
  12422. type: integer
  12423. zscurrencytypedisplay:
  12424. type: string
  12425. zscurrencytypedisplayunit:
  12426. type: string
  12427. zscuttype1:
  12428. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12429. type: integer
  12430. zscuttype1display:
  12431. type: string
  12432. zscuttype2:
  12433. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12434. type: integer
  12435. zscuttype2display:
  12436. type: string
  12437. zsczcolor1type:
  12438. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12439. type: integer
  12440. zsczcolor1typedisplay:
  12441. type: string
  12442. zsczcolor2type:
  12443. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12444. type: integer
  12445. zsczcolor2typedisplay:
  12446. type: string
  12447. zsczcolor3type:
  12448. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12449. type: integer
  12450. zsczcolor3typedisplay:
  12451. type: string
  12452. zsfluorescencetype1:
  12453. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12454. type: integer
  12455. zsfluorescencetype1display:
  12456. type: string
  12457. zsfluorescencetype2:
  12458. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12459. type: integer
  12460. zsfluorescencetype2display:
  12461. type: string
  12462. zspolishtype1:
  12463. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12464. type: integer
  12465. zspolishtype1display:
  12466. type: string
  12467. zspolishtype2:
  12468. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12469. type: integer
  12470. zspolishtype2display:
  12471. type: string
  12472. zsshapetype:
  12473. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12474. type: string
  12475. zsshapetypedisplay:
  12476. type: string
  12477. zsstyletype:
  12478. description: 款式 - 类型:4
  12479. type: integer
  12480. zsstyletypedisplay:
  12481. type: string
  12482. zssymmetrytype1:
  12483. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12484. type: integer
  12485. zssymmetrytype1display:
  12486. type: string
  12487. zssymmetrytype2:
  12488. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12489. type: integer
  12490. zssymmetrytype2display:
  12491. type: string
  12492. required:
  12493. - wruserid
  12494. type: object
  12495. models.NewFuncmenulist:
  12496. properties:
  12497. authtype:
  12498. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12499. type: integer
  12500. buttonname:
  12501. description: 按钮名称
  12502. type: string
  12503. buttontype:
  12504. description: 按钮类型 - 存按钮样式
  12505. type: string
  12506. component:
  12507. description: 组件名或组件地址
  12508. type: string
  12509. hidden:
  12510. description: 是否隐藏 - 0:显示 1:隐藏
  12511. type: integer
  12512. iconame:
  12513. description: 菜单图标
  12514. type: string
  12515. menutype:
  12516. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12517. type: integer
  12518. parentcode:
  12519. description: 上级资源代码
  12520. type: string
  12521. remark:
  12522. description: Remark
  12523. type: string
  12524. resourcecode:
  12525. description: 资源代码
  12526. type: string
  12527. resourcelevel:
  12528. description: 级别1-一级 2-二级 3-三级4-四级
  12529. type: integer
  12530. resourcename:
  12531. description: 资源名(Title)
  12532. type: string
  12533. sort:
  12534. description: 排序
  12535. type: integer
  12536. url:
  12537. description: Url
  12538. type: string
  12539. urltype:
  12540. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12541. type: integer
  12542. required:
  12543. - resourcecode
  12544. type: object
  12545. models.OperationPrimaryMenu:
  12546. properties:
  12547. Children:
  12548. description: 二级功能菜单
  12549. items:
  12550. $ref: '#/definitions/models.OperationSecondaryMenu'
  12551. type: array
  12552. Key:
  12553. description: 菜单KEY
  12554. type: string
  12555. Label:
  12556. description: 菜单标题
  12557. type: string
  12558. type: object
  12559. models.OperationSecondaryMenu:
  12560. properties:
  12561. Key:
  12562. description: 菜单KEY
  12563. type: string
  12564. Label:
  12565. description: 菜单标题
  12566. type: string
  12567. TabList:
  12568. description: 三级功能菜单
  12569. items:
  12570. $ref: '#/definitions/models.OperationTabMenu'
  12571. type: array
  12572. type: object
  12573. models.OperationTabMenu:
  12574. properties:
  12575. Key:
  12576. description: 菜单KEY
  12577. type: string
  12578. Label:
  12579. description: 菜单标题
  12580. type: string
  12581. type: object
  12582. models.Patradelinkdetail:
  12583. properties:
  12584. accountname:
  12585. description: 套期主体
  12586. type: string
  12587. agreeunit:
  12588. description: 合约乘数
  12589. type: number
  12590. amount:
  12591. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12592. type: number
  12593. areauserid:
  12594. description: 所属机构
  12595. type: integer
  12596. bizsubjectid:
  12597. description: 归属业务部门ID - SubjectID
  12598. type: integer
  12599. buyorsell:
  12600. description: 方向 - 0:买 1:卖
  12601. type: integer
  12602. convertratio:
  12603. description: 品种系数
  12604. type: number
  12605. convertratiochange:
  12606. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12607. type: number
  12608. createtime:
  12609. description: '[日期时间]创建时间'
  12610. type: string
  12611. creatorid:
  12612. description: 创建人ID
  12613. type: integer
  12614. creatorsrc:
  12615. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12616. type: integer
  12617. goodscode:
  12618. description: 商品代码(内部)
  12619. type: string
  12620. goodsgroupid:
  12621. description: 对冲品种ID[期货合约商品组ID]
  12622. type: integer
  12623. goodsid:
  12624. description: 商品ID
  12625. type: integer
  12626. hedgeditemid:
  12627. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12628. type: integer
  12629. hedgeflag:
  12630. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12631. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12632. type: integer
  12633. linkdetailid:
  12634. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12635. type: string
  12636. linkstatus:
  12637. description: 关联状态 - 1:成功 2:失败 3:解绑
  12638. type: integer
  12639. middlegoodsid:
  12640. description: 套保品种ID
  12641. type: integer
  12642. name:
  12643. description: 账户名/子账户
  12644. type: string
  12645. optioncode:
  12646. description: '[期货合约]期权代码 [期权]'
  12647. type: string
  12648. ordertype:
  12649. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12650. type: integer
  12651. relatedlot:
  12652. description: '[数量]关联手数'
  12653. type: number
  12654. relatedmode:
  12655. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12656. type: integer
  12657. relatedqty:
  12658. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12659. type: number
  12660. retcode:
  12661. description: 返回码
  12662. type: integer
  12663. saleuserid:
  12664. description: 业务员ID
  12665. type: integer
  12666. tradedate:
  12667. description: 关联交易日(yyyyMMdd)
  12668. type: string
  12669. tradeid:
  12670. description: '[成交单号]内部成交单ID'
  12671. type: string
  12672. tradelot:
  12673. description: 成交手数
  12674. type: integer
  12675. tradeprice:
  12676. description: '[价格]成交价格'
  12677. type: number
  12678. tradetradedate:
  12679. description: 成交交易日(yyyyMMdd)
  12680. type: string
  12681. type: object
  12682. models.QhjAccountOutInApply:
  12683. properties:
  12684. accountcode:
  12685. description: 资金账号
  12686. type: string
  12687. accountname:
  12688. description: 用户名称(名称)
  12689. type: string
  12690. accountpwd:
  12691. description: 资金密码
  12692. type: string
  12693. accountticket:
  12694. description: 最新账户服务流水号
  12695. type: string
  12696. amount:
  12697. description: 金额
  12698. type: number
  12699. applyremark:
  12700. description: 申请备注
  12701. type: string
  12702. applystatus:
  12703. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12704. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12705. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12706. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12707. type: integer
  12708. auditid:
  12709. description: 审核人
  12710. type: integer
  12711. audittime:
  12712. description: 审核时间
  12713. type: string
  12714. bank_apply_ticket:
  12715. description: 银行申请流水
  12716. type: string
  12717. bankaccountname:
  12718. description: 银行账户名
  12719. type: string
  12720. bankaccountno:
  12721. description: 银行卡号
  12722. type: string
  12723. bankid:
  12724. description: 银行编号
  12725. type: string
  12726. bankticket:
  12727. description: 银行流水
  12728. type: string
  12729. branchbankid:
  12730. description: 银行支行号
  12731. type: string
  12732. branchbankname:
  12733. description: 银行支行名称
  12734. type: string
  12735. capamountout:
  12736. description: 出金(劣后本金) - 外部子账户
  12737. type: number
  12738. certificatephotourl:
  12739. description: 凭证地址
  12740. type: string
  12741. charge:
  12742. description: 手续费
  12743. type: number
  12744. checkerrorflag:
  12745. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12746. type: integer
  12747. currency:
  12748. description: 币种
  12749. type: string
  12750. cusbankid:
  12751. description: 托管银行编号
  12752. type: string
  12753. cusbankname:
  12754. description: 托管银行名称
  12755. type: string
  12756. cusbankshortname:
  12757. description: 托管银行简称
  12758. type: string
  12759. exchticket:
  12760. description: 银行服务流水号
  12761. type: string
  12762. executetype:
  12763. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12764. 7:外部子账户:入金 8:外部子账户:出金'
  12765. type: integer
  12766. extendinfo:
  12767. description: 扩展信息
  12768. type: string
  12769. extoperateid:
  12770. description: 交易服务流水号
  12771. type: integer
  12772. infamount:
  12773. description: 劣后金额(自有)
  12774. type: number
  12775. logincode:
  12776. description: 登录账号(账号)
  12777. type: string
  12778. netaddr:
  12779. description: 调转网址
  12780. type: string
  12781. priamount:
  12782. description: 优先金额(授信)
  12783. type: number
  12784. reauditid:
  12785. description: 复审人
  12786. type: integer
  12787. reauditremark:
  12788. description: 复审备注
  12789. type: string
  12790. reaudittime:
  12791. description: 复审时间
  12792. type: string
  12793. relatedorderid:
  12794. description: 三方关联ID
  12795. type: string
  12796. remark:
  12797. description: 备注
  12798. type: string
  12799. remark2:
  12800. description: 备注(失败原因)
  12801. type: string
  12802. soucreamount:
  12803. description: 原始出入金金额
  12804. type: number
  12805. soucrecurrencyid:
  12806. description: 原始出入金币种
  12807. type: integer
  12808. tradedate:
  12809. description: 交易日(yyyyMMdd)
  12810. type: string
  12811. updatetime:
  12812. description: 更新时间(申请时间)
  12813. type: string
  12814. userid:
  12815. description: 用户id
  12816. type: integer
  12817. userinfotype:
  12818. description: 账户类型 1-个人 2-企业
  12819. type: integer
  12820. type: object
  12821. models.QhjAgreementChangeLog:
  12822. properties:
  12823. agreementcontent:
  12824. description: 协议内容
  12825. type: string
  12826. agreementfrequency:
  12827. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12828. type: integer
  12829. agreementid:
  12830. description: 协议ID
  12831. type: integer
  12832. agreementname:
  12833. description: 协议名称
  12834. type: string
  12835. agreementno:
  12836. description: 协议编号
  12837. type: string
  12838. agreementtype:
  12839. description: 协议类型 - 1:注册 2:登录 3:交易
  12840. type: integer
  12841. agreementversion:
  12842. description: 协议版本号
  12843. type: integer
  12844. logid:
  12845. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12846. type: integer
  12847. reviserid:
  12848. description: 修改人
  12849. type: integer
  12850. revisersrc:
  12851. description: 修改来源 - 1:管理端 2:终端
  12852. type: integer
  12853. updatetime:
  12854. description: 更新时间
  12855. type: string
  12856. type: object
  12857. models.QhjAgreementConfig:
  12858. properties:
  12859. agreementcontent:
  12860. description: 协议内容
  12861. type: string
  12862. agreementfrequency:
  12863. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12864. type: integer
  12865. agreementid:
  12866. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12867. type: integer
  12868. agreementname:
  12869. description: 协议名称
  12870. type: string
  12871. agreementno:
  12872. description: 协议编号
  12873. type: string
  12874. agreementtype:
  12875. description: 协议类型 - 1:注册 2:登录 3:交易
  12876. type: integer
  12877. agreementversion:
  12878. description: 协议版本号(从1开始每次修改加1)
  12879. type: integer
  12880. createtime:
  12881. description: 创建时间
  12882. type: string
  12883. creatorid:
  12884. description: 创建人
  12885. type: integer
  12886. creatorsrc:
  12887. description: 创建来源 - 1:管理端 2:终端
  12888. type: integer
  12889. isvalid:
  12890. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12891. type: integer
  12892. reviserid:
  12893. description: 修改人
  12894. type: integer
  12895. revisersrc:
  12896. description: 修改来源 - 1:管理端 2:终端
  12897. type: integer
  12898. updatetime:
  12899. description: 更新时间
  12900. type: string
  12901. type: object
  12902. models.QhjAreaFinanceConfig:
  12903. properties:
  12904. additionalratio:
  12905. description: 追加款比例
  12906. type: number
  12907. advanceratio:
  12908. description: 预付款比例
  12909. type: number
  12910. alarmratio:
  12911. description: 告警比例
  12912. type: number
  12913. consumptiondirectreward:
  12914. description: 消费直推奖励值
  12915. type: number
  12916. consumptionenabled:
  12917. description: 是否启用消费奖励 - 0:不启用 1:启用
  12918. type: integer
  12919. consumptionindirectreward:
  12920. description: 消费间推奖励值
  12921. type: number
  12922. consumptionmodel:
  12923. description: 消费奖励方式 - 1:比率 2:固定
  12924. type: integer
  12925. customerservicenum:
  12926. description: 客服电话
  12927. type: string
  12928. dayinterestrate:
  12929. description: 日利率
  12930. type: number
  12931. disableconsumptiontips:
  12932. description: 关闭消费奖励提示
  12933. type: string
  12934. modifierid:
  12935. description: 修改人ID
  12936. type: integer
  12937. modifysrc:
  12938. description: 审核来源 - 1:管理端 2:终端
  12939. type: integer
  12940. modifytime:
  12941. description: 修改时间
  12942. type: string
  12943. promotionvalue:
  12944. description: 推广奖励值(固定)
  12945. type: number
  12946. scoreconfigvalue1:
  12947. description: 提货积分配置1
  12948. type: integer
  12949. scoreconfigvalue2:
  12950. description: 提货积分配置2
  12951. type: integer
  12952. userid:
  12953. description: 机构用户ID其他做市关系,都设置为 1
  12954. type: integer
  12955. username:
  12956. description: 用户名称
  12957. type: string
  12958. type: object
  12959. models.QhjBankAccountSign:
  12960. properties:
  12961. accountcode:
  12962. description: 资金账号
  12963. type: string
  12964. accountname:
  12965. description: 资金账号对应的账号名(UserName)
  12966. type: string
  12967. accountname2:
  12968. description: 资金账号对应的账号名(UserName) - 密文
  12969. type: string
  12970. accounttype:
  12971. description: 账户类型(UserType)
  12972. type: integer
  12973. applicationtime:
  12974. description: 最后一次更新的时间
  12975. type: string
  12976. applyexchticket:
  12977. description: 申请流水
  12978. type: string
  12979. auditid:
  12980. description: 审核人
  12981. type: integer
  12982. audittime:
  12983. description: 审核时间
  12984. type: string
  12985. bankaccountname:
  12986. description: 签约银行卡账号名
  12987. type: string
  12988. bankaccountname2:
  12989. description: 签约银行卡账号名 - 密文
  12990. type: string
  12991. bankaccountno:
  12992. description: 银行卡号
  12993. type: string
  12994. bankaccountno2:
  12995. description: 银行卡号 - 密文
  12996. type: string
  12997. bankaccounttype:
  12998. description: 银行账户类型 - 1-对私; 2-对公
  12999. type: integer
  13000. bankcardtype:
  13001. description: 银行卡类型
  13002. type: integer
  13003. bankchildaccount:
  13004. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13005. type: string
  13006. bankcity:
  13007. description: 开户行城市
  13008. type: string
  13009. bankid:
  13010. description: 签约银行ID
  13011. type: string
  13012. bankname:
  13013. description: 签约银行名称
  13014. type: string
  13015. bankprovince:
  13016. description: 开户行省份
  13017. type: string
  13018. branchbankid:
  13019. description: 签约银行支行号
  13020. type: string
  13021. branchbankname:
  13022. description: 签约银行支行名称
  13023. type: string
  13024. cardno:
  13025. description: 证件号码
  13026. type: string
  13027. cardno2:
  13028. description: 证件号码 - 密文
  13029. type: string
  13030. cardtype:
  13031. description: 证件类型
  13032. type: string
  13033. currency:
  13034. description: 币种
  13035. type: string
  13036. cusbankid:
  13037. description: 托管银行编号
  13038. type: string
  13039. direct:
  13040. description: 方向(可以判断那方先发起的签约)
  13041. type: integer
  13042. exchticket:
  13043. description: 最后一次签约成功的流水号
  13044. type: string
  13045. extendinfo:
  13046. description: 扩展信息(JSON字符串)
  13047. type: string
  13048. mobilephone:
  13049. description: 手机号
  13050. type: string
  13051. mobilephone2:
  13052. description: 手机号 - 密文
  13053. type: string
  13054. netaddr:
  13055. description: 调转网址
  13056. type: string
  13057. relateduserid:
  13058. description: 关联使用者userid
  13059. type: integer
  13060. signstatus:
  13061. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13062. 10:审核拒绝 11:换签待审核
  13063. type: integer
  13064. updatetime:
  13065. description: 更新时间(签解约更新时间)
  13066. type: string
  13067. type: object
  13068. models.QhjBankInfo:
  13069. properties:
  13070. bankid:
  13071. description: 银行ID
  13072. type: string
  13073. bankname:
  13074. description: 银行名称
  13075. type: string
  13076. clearbankno:
  13077. description: 清算系统银行编号
  13078. type: string
  13079. orderindex:
  13080. description: 排序顺序
  13081. type: integer
  13082. status:
  13083. description: 状态 - 0:正常 1:注销
  13084. type: integer
  13085. type: object
  13086. models.QhjBrokerApply:
  13087. properties:
  13088. applicantid:
  13089. description: 申请人
  13090. type: integer
  13091. applysrc:
  13092. description: 申请来源 - 1:管理端 2:终端
  13093. type: integer
  13094. applystatus:
  13095. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13096. type: integer
  13097. applytime:
  13098. description: 申请时间
  13099. type: string
  13100. auditorid:
  13101. description: 审核人
  13102. type: integer
  13103. auditremark:
  13104. description: 审核备注
  13105. type: string
  13106. auditsrc:
  13107. description: 审核来源 - 1:管理端 2:终端
  13108. type: integer
  13109. audittime:
  13110. description: 审核时间
  13111. type: string
  13112. audittradedate:
  13113. description: 审核交易日(yyyyMMdd)
  13114. type: string
  13115. brokerapplyid:
  13116. description: 申请ID(SEQ_BROKERAPPLY)
  13117. type: integer
  13118. cardbackphotourl:
  13119. description: 证件背面图片地址
  13120. type: string
  13121. cardfrontphotourl:
  13122. description: 证件正面图片地址
  13123. type: string
  13124. cardnum:
  13125. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13126. type: string
  13127. customername:
  13128. description: 姓名
  13129. type: string
  13130. logincode:
  13131. description: 登录代码
  13132. type: string
  13133. mobile:
  13134. description: 手机号码
  13135. type: string
  13136. parentuserid:
  13137. description: 所属机构id
  13138. type: integer
  13139. parentusername:
  13140. description: 所属机构名称
  13141. type: string
  13142. refereeuserid:
  13143. description: 推荐人id(经纪人)
  13144. type: integer
  13145. refernum:
  13146. description: 推荐码
  13147. type: string
  13148. remark:
  13149. description: 备注
  13150. type: string
  13151. subarealevelpath:
  13152. description: 层级路径
  13153. type: string
  13154. tradedate:
  13155. description: 交易日(yyyyMMdd)
  13156. type: string
  13157. userid:
  13158. description: 申请人用户ID
  13159. type: integer
  13160. userinfotype:
  13161. description: 用户类型 1-个人 2-企业
  13162. type: integer
  13163. username:
  13164. description: 用户名称
  13165. type: string
  13166. type: object
  13167. models.QhjBrokerApplyEx:
  13168. properties:
  13169. applylist:
  13170. description: 经纪人申请记录(只返回最新一条)
  13171. items:
  13172. $ref: '#/definitions/models.QhjBrokerApply'
  13173. type: array
  13174. canrecommend:
  13175. description: 是否经纪人 0-不是 1-是
  13176. type: integer
  13177. refernum:
  13178. description: 推荐码
  13179. type: string
  13180. userid:
  13181. description: 用户id
  13182. type: integer
  13183. userinfotype:
  13184. description: 用户类型 1-个人 2-企业
  13185. type: integer
  13186. type: object
  13187. models.QhjBrokerRewardLog:
  13188. properties:
  13189. accountid:
  13190. description: 资金账号ID
  13191. type: integer
  13192. createtime:
  13193. description: 创建时间(时间)
  13194. type: string
  13195. handlestatus:
  13196. description: 处理状态
  13197. type: integer
  13198. logid:
  13199. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13200. type: string
  13201. marketid:
  13202. description: 市场ID
  13203. type: integer
  13204. mmaccountid:
  13205. description: 做市商资金账号ID
  13206. type: string
  13207. mmuserid:
  13208. description: 做市商用户ID
  13209. type: string
  13210. rewardamount:
  13211. description: 奖励金额
  13212. type: number
  13213. rewardmodel:
  13214. description: 消费奖励方式 - 1:比率 2:固定
  13215. type: integer
  13216. rewardtype:
  13217. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13218. type: integer
  13219. rewardvalue:
  13220. description: 配置奖励值
  13221. type: number
  13222. srcamount:
  13223. description: 成交金额 [消费奖励] (金额)
  13224. type: number
  13225. srcgoodsid:
  13226. description: 来源商品ID [消费奖励]
  13227. type: string
  13228. srctime:
  13229. description: 来源时间 (成交时间) [消费奖励]
  13230. type: string
  13231. srctradeid:
  13232. description: 来源成交单ID [消费奖励] - 排除提货成交
  13233. type: string
  13234. srcuserid:
  13235. description: 来源用户ID(推广账户)
  13236. type: string
  13237. srcusername:
  13238. description: 推广账户名称
  13239. type: string
  13240. tradedate:
  13241. description: 交易日(yyyyMMdd)
  13242. type: string
  13243. userid:
  13244. description: 经纪人用户ID
  13245. type: integer
  13246. type: object
  13247. models.QhjContract:
  13248. properties:
  13249. contractconfirmtime:
  13250. description: 合同确认时间(时间)
  13251. type: string
  13252. currisklevel:
  13253. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13254. type: integer
  13255. decimalplace:
  13256. description: 商品报价小数位
  13257. type: integer
  13258. enumdicname:
  13259. description: 单位名称
  13260. type: string
  13261. goodscode:
  13262. description: 商品代码
  13263. type: string
  13264. goodsid:
  13265. description: 商品ID [5:融资单]
  13266. type: integer
  13267. goodsname:
  13268. description: 商品名称
  13269. type: string
  13270. goodunitid:
  13271. description: 商品单位id
  13272. type: integer
  13273. initmargin:
  13274. description: 初始保证金(首付款)
  13275. type: number
  13276. lenderamount:
  13277. description: 贷款金额(总额|订单总额)
  13278. type: number
  13279. marginratio:
  13280. description: 保证金比率(首付比例)
  13281. type: number
  13282. payamount:
  13283. description: 已付(已付货款)
  13284. type: number
  13285. reckonrecovermargin:
  13286. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13287. type: number
  13288. recoveredmargin:
  13289. description: 已追缴保证金
  13290. type: number
  13291. remainamount:
  13292. description: 合同剩余金额(融资额)
  13293. type: number
  13294. scfcontractid:
  13295. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13296. type: string
  13297. scfcontractstatus:
  13298. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13299. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13300. type: integer
  13301. scfcontracttype:
  13302. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13303. type: integer
  13304. totalinterest:
  13305. description: 已计总利息(利息)
  13306. type: number
  13307. tradeprice:
  13308. description: 成交价格(成本价格)
  13309. type: number
  13310. userid:
  13311. description: 用户ID
  13312. type: integer
  13313. username:
  13314. description: 用户名称
  13315. type: string
  13316. wrqty:
  13317. description: 仓单数量(数量)
  13318. type: number
  13319. type: object
  13320. models.QhjContractLog:
  13321. properties:
  13322. amount:
  13323. description: 支付金额
  13324. type: number
  13325. amounttype:
  13326. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13327. type: integer
  13328. logid:
  13329. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13330. type: string
  13331. remainamount:
  13332. description: 剩余货款
  13333. type: number
  13334. scfcontractid:
  13335. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13336. type: integer
  13337. updatetime:
  13338. description: 更新时间
  13339. type: string
  13340. type: object
  13341. models.QhjCusBankSignBankEx:
  13342. properties:
  13343. banklst:
  13344. description: 银行列表
  13345. items:
  13346. $ref: '#/definitions/models.QhjBankInfo'
  13347. type: array
  13348. canallot:
  13349. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13350. type: integer
  13351. canallotquery:
  13352. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13353. type: integer
  13354. canbindcard:
  13355. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13356. type: integer
  13357. caninamount:
  13358. description: 是否可入金 - 0:不可 1:可以
  13359. type: integer
  13360. caninamount2:
  13361. description: 是否可入金(网银端) - 0:不可 1:可以
  13362. type: integer
  13363. canmodifybankcard:
  13364. description: 是否可修改银行卡号 - 0:不可 1:可以
  13365. type: integer
  13366. canmodifyphone:
  13367. description: 是否可修改手机号 - 0:不可 1:可以
  13368. type: integer
  13369. canmodifysigninfo:
  13370. description: 是否可修改签约信息 - 0:不可 1:可以
  13371. type: integer
  13372. canoutamount:
  13373. description: 是否可出金 - 0:不可 1:可以
  13374. type: integer
  13375. canoutamount2:
  13376. description: 是否可出金(网银端) - 0:不可 1:可以
  13377. type: integer
  13378. canrelease:
  13379. description: 是否可解约 - 0:不可 1:可以
  13380. type: integer
  13381. canrelease2:
  13382. description: 是否可解约(网银端) - 0:不可 1:可以
  13383. type: integer
  13384. cansign:
  13385. description: 是否可签约 - 0:不可 1:可以
  13386. type: integer
  13387. cansign2:
  13388. description: 是否可签约(网银端) - 0:不可 1:可以
  13389. type: integer
  13390. currency:
  13391. description: 币种
  13392. type: string
  13393. cusbankid:
  13394. description: 托管银行编号(对应清算中心TRAN_NO)
  13395. type: string
  13396. cusbankname:
  13397. description: 银行业务名称
  13398. type: string
  13399. cusbankshortname:
  13400. description: 银行业务简称
  13401. type: string
  13402. exchbankid:
  13403. description: 交易所开户银行ID
  13404. type: string
  13405. exchpaybankaccname:
  13406. description: 交易所支出结算账户户名
  13407. type: string
  13408. exchpaybankaccno:
  13409. description: 交易所支出结算账户
  13410. type: string
  13411. isneedcheck:
  13412. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13413. type: integer
  13414. isneedclear:
  13415. description: 是否需要清算 - 0:不需要 1:需要
  13416. type: integer
  13417. lastcheckstatus:
  13418. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13419. type: integer
  13420. lastchecktime:
  13421. description: 最后对账时间
  13422. type: string
  13423. lastclearstatus:
  13424. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13425. type: integer
  13426. lastcleartime:
  13427. description: 最后清算时间
  13428. type: string
  13429. lastsignintime:
  13430. description: 最后签到时间
  13431. type: string
  13432. lastsignouttime:
  13433. description: 最后签退时间
  13434. type: string
  13435. riskinfo:
  13436. description: 签约风险提示书
  13437. type: string
  13438. signstatus:
  13439. description: 当前签到/签退状态 - 1:签到 2:签退
  13440. type: integer
  13441. tradedate:
  13442. description: 交易日(yyyyMMdd)
  13443. type: string
  13444. updatetime:
  13445. description: 当前签到/签退更新时间
  13446. type: string
  13447. type: object
  13448. models.QhjCustomer:
  13449. properties:
  13450. address:
  13451. description: 通讯地址
  13452. type: string
  13453. attachment1:
  13454. description: 附件1
  13455. type: string
  13456. attachment2:
  13457. description: 附件2
  13458. type: string
  13459. audittime:
  13460. description: 审核时间
  13461. type: string
  13462. cardbackphotourl:
  13463. description: 证件反面图片地址
  13464. type: string
  13465. cardfrontphotourl:
  13466. description: 证件正面图片地址
  13467. type: string
  13468. cardnum:
  13469. description: 证件号码
  13470. type: string
  13471. cardtype:
  13472. description: 证件类型
  13473. type: integer
  13474. cardtypename:
  13475. description: 证件类型名称
  13476. type: string
  13477. cityid:
  13478. description: 市
  13479. type: integer
  13480. cityname:
  13481. description: 城市名称
  13482. type: string
  13483. contactname:
  13484. description: 联系人
  13485. type: string
  13486. countryid:
  13487. description: 国家
  13488. type: integer
  13489. countryname:
  13490. description: 国家名称
  13491. type: string
  13492. createtime:
  13493. description: 创建时间
  13494. type: string
  13495. customername:
  13496. description: 客户名称
  13497. type: string
  13498. districtid:
  13499. description: 区域
  13500. type: integer
  13501. districtname:
  13502. description: 地区名称
  13503. type: string
  13504. email:
  13505. description: 邮件
  13506. type: string
  13507. legalpersonname:
  13508. description: 法人姓名(企业)
  13509. type: string
  13510. logincode:
  13511. description: 登录账号(代码)
  13512. type: string
  13513. memberuserid:
  13514. description: 所属机构ID(所属会员)
  13515. type: integer
  13516. memberusername:
  13517. description: 所属会员名称
  13518. type: string
  13519. mobile:
  13520. description: 手机号码
  13521. type: string
  13522. modifytime:
  13523. description: 修改时间
  13524. type: string
  13525. nickname:
  13526. description: 昵称
  13527. type: string
  13528. parentuserid:
  13529. description: 上级机构(所属机构)
  13530. type: integer
  13531. parentusername:
  13532. description: 所属机构名称
  13533. type: string
  13534. provinceid:
  13535. description: 省
  13536. type: integer
  13537. provincename:
  13538. description: 省名称
  13539. type: string
  13540. proxystatementurl:
  13541. description: 授权委托书
  13542. type: string
  13543. remark:
  13544. description: 备注
  13545. type: string
  13546. status:
  13547. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13548. type: integer
  13549. statusdesc:
  13550. description: 账户状态中文描述
  13551. type: string
  13552. taxpayernum:
  13553. description: 纳税人识别号
  13554. type: string
  13555. telphone:
  13556. description: 联系电话
  13557. type: string
  13558. userid:
  13559. description: 用户ID
  13560. type: integer
  13561. userinfotype:
  13562. description: 客户类型 1-个人 2-企业
  13563. type: integer
  13564. username:
  13565. description: 用户名称
  13566. type: string
  13567. type: object
  13568. models.QhjCustomerSignLog:
  13569. properties:
  13570. agreementcontent:
  13571. description: 协议内容
  13572. type: string
  13573. agreementid:
  13574. description: 协议ID
  13575. type: integer
  13576. agreementname:
  13577. description: 协议名称
  13578. type: string
  13579. agreementno:
  13580. description: 协议编号
  13581. type: string
  13582. agreementtype:
  13583. description: 协议类型 - 1:注册 2:登录 3:交易
  13584. type: integer
  13585. agreementversion:
  13586. description: 协议版本号
  13587. type: integer
  13588. createtime:
  13589. description: 创建时间
  13590. type: string
  13591. goodscode:
  13592. description: 商品代码
  13593. type: string
  13594. goodsid:
  13595. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13596. type: integer
  13597. goodsname:
  13598. description: 商品名称
  13599. type: string
  13600. logid:
  13601. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13602. type: integer
  13603. nodetype:
  13604. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13605. type: integer
  13606. signadressurl:
  13607. description: 签约文件地址
  13608. type: string
  13609. signtimestamp:
  13610. description: 签约状态时间戳
  13611. type: string
  13612. userid:
  13613. description: 客户ID
  13614. type: integer
  13615. username:
  13616. description: 客户名称
  13617. type: string
  13618. type: object
  13619. models.QhjCustomerSignStatus:
  13620. properties:
  13621. createtime:
  13622. description: 创建时间
  13623. type: string
  13624. goodscode:
  13625. description: 商品代码
  13626. type: string
  13627. goodsid:
  13628. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13629. type: integer
  13630. goodsname:
  13631. description: 商品名称
  13632. type: string
  13633. nodetype:
  13634. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13635. type: integer
  13636. signtimestamp:
  13637. description: 签约状态时间戳
  13638. type: string
  13639. tradedate:
  13640. description: 创建交易日(yyyyMMdd)
  13641. type: string
  13642. updatetime:
  13643. description: 更新时间
  13644. type: string
  13645. userid:
  13646. description: 客户ID
  13647. type: integer
  13648. username:
  13649. description: 客户名称
  13650. type: string
  13651. type: object
  13652. models.QhjMgrAccountOutInApply:
  13653. properties:
  13654. accountcode:
  13655. description: 资金账号
  13656. type: string
  13657. accountname:
  13658. description: 用户名称(名称)
  13659. type: string
  13660. accountpwd:
  13661. description: 资金密码
  13662. type: string
  13663. accountticket:
  13664. description: 最新账户服务流水号
  13665. type: string
  13666. amount:
  13667. description: 金额
  13668. type: number
  13669. applyremark:
  13670. description: 申请备注
  13671. type: string
  13672. applystatus:
  13673. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13674. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13675. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13676. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13677. type: integer
  13678. auditid:
  13679. description: 审核人
  13680. type: integer
  13681. audittime:
  13682. description: 审核时间
  13683. type: string
  13684. bank_apply_ticket:
  13685. description: 银行申请流水
  13686. type: string
  13687. bankaccountname:
  13688. description: 银行账户名
  13689. type: string
  13690. bankaccountno:
  13691. description: 银行卡号
  13692. type: string
  13693. bankid:
  13694. description: 银行编号
  13695. type: string
  13696. bankname:
  13697. description: 银行名称
  13698. type: string
  13699. bankticket:
  13700. description: 银行流水
  13701. type: string
  13702. branchbankid:
  13703. description: 银行支行号
  13704. type: string
  13705. branchbankname:
  13706. description: 银行支行名称
  13707. type: string
  13708. capamountout:
  13709. description: 出金(劣后本金) - 外部子账户
  13710. type: number
  13711. certificatephotourl:
  13712. description: 凭证地址
  13713. type: string
  13714. charge:
  13715. description: 手续费
  13716. type: number
  13717. checkerrorflag:
  13718. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13719. type: integer
  13720. currency:
  13721. description: 币种
  13722. type: string
  13723. cusbankid:
  13724. description: 托管银行编号
  13725. type: string
  13726. exchticket:
  13727. description: 银行服务流水号
  13728. type: string
  13729. executetype:
  13730. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13731. 7:外部子账户:入金 8:外部子账户:出金'
  13732. type: integer
  13733. extendinfo:
  13734. description: 扩展信息
  13735. type: string
  13736. extoperateid:
  13737. description: 交易服务流水号
  13738. type: integer
  13739. infamount:
  13740. description: 劣后金额(自有)
  13741. type: number
  13742. logincode:
  13743. description: 登录账号(账号)
  13744. type: string
  13745. netaddr:
  13746. description: 调转网址
  13747. type: string
  13748. priamount:
  13749. description: 优先金额(授信)
  13750. type: number
  13751. reauditid:
  13752. description: 复审人
  13753. type: integer
  13754. reauditremark:
  13755. description: 复审备注
  13756. type: string
  13757. reaudittime:
  13758. description: 复审时间
  13759. type: string
  13760. relatedorderid:
  13761. description: 三方关联ID
  13762. type: string
  13763. remark:
  13764. description: 备注
  13765. type: string
  13766. remark2:
  13767. description: 备注(失败原因)
  13768. type: string
  13769. soucreamount:
  13770. description: 原始出入金金额
  13771. type: number
  13772. soucrecurrencyid:
  13773. description: 原始出入金币种
  13774. type: integer
  13775. tradedate:
  13776. description: 交易日(yyyyMMdd)
  13777. type: string
  13778. updatetime:
  13779. description: 更新时间(申请时间)
  13780. type: string
  13781. userid:
  13782. description: 用户id
  13783. type: integer
  13784. userinfotype:
  13785. description: 账户类型 1-个人 2-企业
  13786. type: integer
  13787. type: object
  13788. models.QhjMgrBrokerApply:
  13789. properties:
  13790. applicantid:
  13791. description: 申请人
  13792. type: integer
  13793. applysrc:
  13794. description: 申请来源 - 1:管理端 2:终端
  13795. type: integer
  13796. applystatus:
  13797. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13798. type: integer
  13799. applytime:
  13800. description: 申请时间
  13801. type: string
  13802. auditorid:
  13803. description: 审核人
  13804. type: integer
  13805. auditremark:
  13806. description: 审核备注
  13807. type: string
  13808. auditsrc:
  13809. description: 审核来源 - 1:管理端 2:终端
  13810. type: integer
  13811. audittime:
  13812. description: 审核时间
  13813. type: string
  13814. audittradedate:
  13815. description: 审核交易日(yyyyMMdd)
  13816. type: string
  13817. brokerapplyid:
  13818. description: 申请ID(SEQ_BROKERAPPLY)
  13819. type: integer
  13820. cardbackphotourl:
  13821. description: 证件背面图片地址
  13822. type: string
  13823. cardfrontphotourl:
  13824. description: 证件正面图片地址
  13825. type: string
  13826. cardnum:
  13827. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13828. type: string
  13829. customername:
  13830. description: 姓名
  13831. type: string
  13832. filterstatus:
  13833. description: 筛选条件
  13834. type: string
  13835. logincode:
  13836. description: 登录代码
  13837. type: string
  13838. mobile:
  13839. description: 手机号码
  13840. type: string
  13841. parentuserid:
  13842. description: 所属机构id
  13843. type: integer
  13844. parentusername:
  13845. description: 所属机构名称
  13846. type: string
  13847. refereeuserid:
  13848. description: 推荐人id(经纪人)
  13849. type: integer
  13850. refernum:
  13851. description: 推荐码
  13852. type: string
  13853. remark:
  13854. description: 备注
  13855. type: string
  13856. subarealevelpath:
  13857. description: 层级路径
  13858. type: string
  13859. tradedate:
  13860. description: 交易日(yyyyMMdd)
  13861. type: string
  13862. userid:
  13863. description: 申请人用户ID
  13864. type: integer
  13865. userinfotype:
  13866. description: 用户类型 1-个人 2-企业
  13867. type: integer
  13868. username:
  13869. description: 用户名称
  13870. type: string
  13871. type: object
  13872. models.QhjMgrBrokerRewardReport:
  13873. properties:
  13874. createtime:
  13875. description: 创建时间(注册时间)
  13876. type: string
  13877. cycletime:
  13878. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13879. type: string
  13880. cycletype:
  13881. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13882. type: integer
  13883. directtotalnum:
  13884. description: 直推总人数【期末】
  13885. type: integer
  13886. indirecttotalnum:
  13887. description: 间推总人数【期末】
  13888. type: integer
  13889. mobile:
  13890. description: 电话号码
  13891. type: string
  13892. refereeuserid:
  13893. description: 推荐人id(经纪人id)
  13894. type: integer
  13895. refereeusername:
  13896. description: 推荐人名称(经纪人) 上级经纪人名称
  13897. type: string
  13898. refernum:
  13899. description: 推荐码
  13900. type: string
  13901. subarealevelpath:
  13902. description: 用户层级路径
  13903. type: string
  13904. todayrewardamount:
  13905. description: 奖励总金额【汇总】
  13906. type: number
  13907. updatetime:
  13908. description: 更新时间
  13909. type: string
  13910. userid:
  13911. description: 经纪人用户ID
  13912. type: integer
  13913. userinfotype:
  13914. description: 用户类型 1-个人 2-企业
  13915. type: integer
  13916. username:
  13917. description: 用户名称
  13918. type: string
  13919. type: object
  13920. models.QhjMgrContract:
  13921. properties:
  13922. contractconfirmtime:
  13923. description: 合同确认时间(时间)
  13924. type: string
  13925. currisklevel:
  13926. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13927. type: integer
  13928. decimalplace:
  13929. description: 商品报价小数位
  13930. type: integer
  13931. enumdicname:
  13932. description: 单位名称
  13933. type: string
  13934. goodscode:
  13935. description: 商品代码
  13936. type: string
  13937. goodsid:
  13938. description: 商品ID [5:融资单]
  13939. type: integer
  13940. goodsname:
  13941. description: 商品名称
  13942. type: string
  13943. goodunitid:
  13944. description: 商品单位id
  13945. type: integer
  13946. initmargin:
  13947. description: 初始保证金(首付款)
  13948. type: number
  13949. lenderamount:
  13950. description: 贷款金额(总额|订单总额)
  13951. type: number
  13952. logincode:
  13953. description: 账号(登录代码)
  13954. type: string
  13955. marginratio:
  13956. description: 保证金比率(首付比例)
  13957. type: number
  13958. mobile:
  13959. description: 电话号码(用户资料里的电话)
  13960. type: string
  13961. payamount:
  13962. description: 已付(已付货款)
  13963. type: number
  13964. reckonrecovermargin:
  13965. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13966. type: number
  13967. recoveredmargin:
  13968. description: 已追缴保证金
  13969. type: number
  13970. remainamount:
  13971. description: 合同剩余金额(融资额)
  13972. type: number
  13973. scfcontractid:
  13974. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13975. type: string
  13976. scfcontractstatus:
  13977. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13978. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13979. type: integer
  13980. scfcontracttype:
  13981. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13982. type: integer
  13983. totalinterest:
  13984. description: 已计总利息(利息)
  13985. type: number
  13986. tradedate:
  13987. description: 交易日
  13988. type: string
  13989. tradeprice:
  13990. description: 成交价格(成本价格)
  13991. type: number
  13992. userid:
  13993. description: 用户ID
  13994. type: integer
  13995. userinfotype:
  13996. description: 用户类型 1-个人 2-企业
  13997. type: integer
  13998. username:
  13999. description: 用户名称
  14000. type: string
  14001. wrqty:
  14002. description: 仓单数量(数量)
  14003. type: number
  14004. type: object
  14005. models.QhjMgrCustomer:
  14006. properties:
  14007. address:
  14008. description: 通讯地址
  14009. type: string
  14010. attachment1:
  14011. description: 附件1
  14012. type: string
  14013. audittime:
  14014. description: 审核时间
  14015. type: string
  14016. birthday:
  14017. description: 生日
  14018. type: string
  14019. brokerid:
  14020. description: 所属客户经理id
  14021. type: integer
  14022. brokername:
  14023. description: 所属客户经理名称
  14024. type: string
  14025. cardbackphotourl:
  14026. description: 证件反面图片地址
  14027. type: string
  14028. cardfrontphotourl:
  14029. description: 证件正面图片地址
  14030. type: string
  14031. cardnum:
  14032. description: 证件号码
  14033. type: string
  14034. cardtype:
  14035. description: 证件类型
  14036. type: integer
  14037. cardtypename:
  14038. description: 证件类型名称
  14039. type: string
  14040. cityid:
  14041. description: 市
  14042. type: integer
  14043. cityname:
  14044. description: 城市名称
  14045. type: string
  14046. contactname:
  14047. description: 联系人
  14048. type: string
  14049. countryid:
  14050. description: 国家
  14051. type: integer
  14052. countryname:
  14053. description: 国家名称
  14054. type: string
  14055. createtime:
  14056. description: 创建时间
  14057. type: string
  14058. customername:
  14059. description: 客户名称
  14060. type: string
  14061. districtid:
  14062. description: 区域
  14063. type: integer
  14064. districtname:
  14065. description: 地区名称
  14066. type: string
  14067. email:
  14068. description: 邮件
  14069. type: string
  14070. legalpersonname:
  14071. description: 法人姓名(企业)
  14072. type: string
  14073. logincode:
  14074. description: 登录账号(代码)
  14075. type: string
  14076. memberuserid:
  14077. description: 所属机构ID(所属会员)
  14078. type: integer
  14079. memberusername:
  14080. description: 所属会员名称
  14081. type: string
  14082. mobile:
  14083. description: 手机号码
  14084. type: string
  14085. modifytime:
  14086. description: 修改时间
  14087. type: string
  14088. nickname:
  14089. description: 昵称
  14090. type: string
  14091. parentuserid:
  14092. description: 上级机构(所属机构)
  14093. type: integer
  14094. parentusername:
  14095. description: 所属机构名称
  14096. type: string
  14097. provinceid:
  14098. description: 省
  14099. type: integer
  14100. provincename:
  14101. description: 省名称
  14102. type: string
  14103. proxystatementurl:
  14104. description: 授权委托书
  14105. type: string
  14106. querytype:
  14107. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14108. type: integer
  14109. remark:
  14110. description: 备注
  14111. type: string
  14112. sex:
  14113. description: 性别 0-女 1-男
  14114. type: integer
  14115. status:
  14116. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14117. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14118. type: integer
  14119. statusdesc:
  14120. description: 账户状态中文描述
  14121. type: string
  14122. taxpayernum:
  14123. description: 纳税人识别号
  14124. type: string
  14125. telphone:
  14126. description: 联系电话
  14127. type: string
  14128. userid:
  14129. description: 用户ID
  14130. type: integer
  14131. userinfotype:
  14132. description: 客户类型 1-个人 2-企业
  14133. type: integer
  14134. username:
  14135. description: 用户名称
  14136. type: string
  14137. type: object
  14138. models.QhjMgrPickGoods:
  14139. properties:
  14140. enumdicname:
  14141. description: 单位名称(提货商品)
  14142. type: string
  14143. goodsid:
  14144. description: 商品id
  14145. type: integer
  14146. imageaddress:
  14147. description: 图片
  14148. type: string
  14149. modifierid:
  14150. description: 修改人
  14151. type: integer
  14152. modifiername:
  14153. description: 修改人名称
  14154. type: string
  14155. modifysrc:
  14156. description: 修改来源 - 1:管理端 2:终端
  14157. type: integer
  14158. pickupgoodsagreeunit:
  14159. description: 合约乘数
  14160. type: number
  14161. pickupgoodsdesc:
  14162. description: 描述
  14163. type: string
  14164. pickupgoodsid:
  14165. description: 提货商品ID
  14166. type: string
  14167. pickupgoodsname:
  14168. description: 提货商品名称
  14169. type: string
  14170. pickupgoodsstatus:
  14171. description: 状态 - 1:正常 2:停用 3:注销
  14172. type: integer
  14173. pickupgoodsunitid:
  14174. description: 单位ID
  14175. type: integer
  14176. pickupratio:
  14177. description: 提货系数
  14178. type: number
  14179. preparedays:
  14180. description: 备货期(天)
  14181. type: integer
  14182. remark:
  14183. description: 备注
  14184. type: string
  14185. updatetime:
  14186. description: 更新时间
  14187. type: string
  14188. type: object
  14189. models.QhjMgrPositionRsp:
  14190. properties:
  14191. accountid:
  14192. description: 账号Id
  14193. type: integer
  14194. accountname:
  14195. description: 用户名称
  14196. type: string
  14197. agreeunit:
  14198. description: 合约乘数
  14199. type: number
  14200. averageprice:
  14201. description: 均价
  14202. type: number
  14203. avialqty:
  14204. description: 可用数量
  14205. type: number
  14206. decimalplace:
  14207. description: 报价小数位
  14208. type: integer
  14209. enumdicname:
  14210. description: 单位名称(商品)
  14211. type: string
  14212. frozenqty:
  14213. description: 冻结数量
  14214. type: number
  14215. goodscode:
  14216. description: 商品代码(内部)
  14217. type: string
  14218. goodsid:
  14219. description: 商品Id
  14220. type: integer
  14221. goodsname:
  14222. description: 商品名称
  14223. type: string
  14224. goodunitid:
  14225. description: 报价单位ID
  14226. type: integer
  14227. holderamount:
  14228. description: 金额
  14229. type: number
  14230. holderqty:
  14231. description: 持有数量
  14232. type: number
  14233. holdertype:
  14234. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14235. type: integer
  14236. logincode:
  14237. description: 登录代码(账户)
  14238. type: string
  14239. marketid:
  14240. description: 市场id
  14241. type: integer
  14242. qtydecimalplace:
  14243. description: 成交量小数位
  14244. type: integer
  14245. trademode:
  14246. description: 交易模式
  14247. type: integer
  14248. userid:
  14249. description: 用户id
  14250. type: integer
  14251. userinfotype:
  14252. description: 账户类型 1-个人 2-企业
  14253. type: integer
  14254. type: object
  14255. models.QhjMgrSubArea:
  14256. properties:
  14257. accountname:
  14258. description: 账户名称(机构名称)
  14259. type: string
  14260. memberuserid:
  14261. description: 所属会员ID
  14262. type: integer
  14263. parenttopuser:
  14264. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14265. type: string
  14266. parentuserid:
  14267. description: 所属机构ID
  14268. type: integer
  14269. rootuserid:
  14270. description: 根用户ID
  14271. type: string
  14272. subaccountlevel:
  14273. description: 子账户层数
  14274. type: integer
  14275. subarealevelpath:
  14276. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14277. type: string
  14278. userid:
  14279. description: 用户ID
  14280. type: integer
  14281. usertype:
  14282. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14283. type: integer
  14284. type: object
  14285. models.QhjMgrTradeDetailRsp:
  14286. properties:
  14287. accountid:
  14288. description: 资金账号
  14289. type: integer
  14290. accountname:
  14291. description: 用户名称
  14292. type: string
  14293. agreeunit:
  14294. description: 合约乘数
  14295. type: number
  14296. buyorsell:
  14297. description: 成交类型(方向) 0:买 1:卖
  14298. type: integer
  14299. decimalplace:
  14300. description: 报价小数位
  14301. type: integer
  14302. enumdicname:
  14303. description: 单位名称(商品)
  14304. type: string
  14305. goodscode:
  14306. description: 商品代码(内部)
  14307. type: string
  14308. goodsid:
  14309. description: 商品id
  14310. type: integer
  14311. goodsname:
  14312. description: 商品名称
  14313. type: string
  14314. goodunitid:
  14315. description: 报价单位ID
  14316. type: integer
  14317. logincode:
  14318. description: 登录代码(账户)
  14319. type: string
  14320. marketid:
  14321. description: 市场id
  14322. type: integer
  14323. orderid:
  14324. description: 关联委托单号
  14325. type: string
  14326. qtydecimalplace:
  14327. description: 成交量小数位
  14328. type: integer
  14329. tradeamount:
  14330. description: 金额
  14331. type: number
  14332. tradedate:
  14333. description: 交易日
  14334. type: string
  14335. tradeid:
  14336. description: 成交单号
  14337. type: string
  14338. trademode:
  14339. description: 交易模式
  14340. type: integer
  14341. tradeprice:
  14342. description: 价格
  14343. type: number
  14344. tradeqty:
  14345. description: 数量
  14346. type: number
  14347. tradetime:
  14348. description: 成交时间
  14349. type: string
  14350. userid:
  14351. description: 用户id
  14352. type: integer
  14353. userinfotype:
  14354. description: 账户类型 1-个人 2-企业
  14355. type: integer
  14356. type: object
  14357. models.QhjMgrTradeOrderDetailRsp:
  14358. properties:
  14359. accountid:
  14360. description: 资金账号
  14361. type: integer
  14362. accountname:
  14363. description: 用户名称
  14364. type: string
  14365. agreeunit:
  14366. description: 合约乘数
  14367. type: number
  14368. amount:
  14369. description: 金额
  14370. type: number
  14371. decimalplace:
  14372. description: 报价小数位
  14373. type: integer
  14374. enumdicname:
  14375. description: 单位名称(商品)
  14376. type: string
  14377. goodscode:
  14378. description: 商品代码(内部)
  14379. type: string
  14380. goodsid:
  14381. description: 商品id
  14382. type: integer
  14383. goodsname:
  14384. description: 商品名称
  14385. type: string
  14386. goodunitid:
  14387. description: 报价单位ID
  14388. type: integer
  14389. logincode:
  14390. description: 登录代码(账户)
  14391. type: string
  14392. marketid:
  14393. description: 市场id
  14394. type: integer
  14395. orderid:
  14396. description: 关联委托单号
  14397. type: string
  14398. orderprice:
  14399. description: 价格
  14400. type: number
  14401. orderqty:
  14402. description: 数量
  14403. type: number
  14404. orderstatus:
  14405. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14406. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14407. 16:成交失败违约(荷兰式竞拍专用)
  14408. type: integer
  14409. ordertime:
  14410. description: 委托时间
  14411. type: string
  14412. qtydecimalplace:
  14413. description: 成交量小数位
  14414. type: integer
  14415. tradedate:
  14416. description: 交易日
  14417. type: string
  14418. trademode:
  14419. description: 交易模式
  14420. type: integer
  14421. userid:
  14422. description: 用户id
  14423. type: integer
  14424. userinfotype:
  14425. description: 账户类型 1-个人 2-企业
  14426. type: integer
  14427. type: object
  14428. models.QhjMgrTradePayOrder:
  14429. properties:
  14430. accountname:
  14431. description: 用户名称
  14432. type: string
  14433. advanceratio:
  14434. description: 首付比率
  14435. type: number
  14436. agreeunit:
  14437. description: 合约乘数
  14438. type: number
  14439. buyaccountid:
  14440. description: 买方账号ID[报价币种]
  14441. type: integer
  14442. buyorderid:
  14443. description: 买方委托单号(关联单号)
  14444. type: string
  14445. createtime:
  14446. description: 创建时间
  14447. type: string
  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. offamount:
  14473. description: 优惠金额
  14474. type: number
  14475. operatetype:
  14476. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14477. type: integer
  14478. payamount:
  14479. description: 支付金额(金额)
  14480. type: number
  14481. payflag:
  14482. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14483. type: integer
  14484. paylimitedtime:
  14485. description: 支付期限
  14486. type: string
  14487. paytime:
  14488. description: 付款时间
  14489. type: string
  14490. qtydecimalplace:
  14491. description: 成交量小数位
  14492. type: integer
  14493. sellaccountid:
  14494. description: 卖方账号ID[报价币种]
  14495. type: integer
  14496. sellorderid:
  14497. description: 卖方委托单号
  14498. type: string
  14499. tradeamount:
  14500. description: 成交金额(优惠后金额)
  14501. type: number
  14502. tradecharge:
  14503. description: 成交手续费(买方)
  14504. type: number
  14505. tradedate:
  14506. description: 交易日(yyyyMMdd)
  14507. type: string
  14508. tradeid:
  14509. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14510. type: string
  14511. trademode:
  14512. description: 交易模式
  14513. type: integer
  14514. tradeprice:
  14515. description: 成交价格(价格)
  14516. type: number
  14517. tradeqty:
  14518. description: 成交数量(数量)
  14519. type: number
  14520. tradetime:
  14521. description: 成交时间
  14522. type: string
  14523. userid:
  14524. description: 用户id
  14525. type: integer
  14526. userinfotype:
  14527. description: 账户类型 1-个人 2-企业
  14528. type: integer
  14529. type: object
  14530. models.QhjMyTeamEx:
  14531. properties:
  14532. accountname:
  14533. description: 用户名称
  14534. type: string
  14535. accountstatus:
  14536. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14537. type: integer
  14538. createtime:
  14539. description: 创建时间
  14540. type: string
  14541. mobile:
  14542. description: 手机号码
  14543. type: string
  14544. refereeuserid:
  14545. description: 推荐人id
  14546. type: integer
  14547. refernum:
  14548. description: 推荐码
  14549. type: string
  14550. subList:
  14551. items:
  14552. $ref: '#/definitions/models.QhjMyTeamEx'
  14553. type: array
  14554. userid:
  14555. description: 用户id
  14556. type: integer
  14557. userinfotype:
  14558. description: 用户类型 1-个人 2-企业
  14559. type: integer
  14560. type: object
  14561. models.QhjNodeAgreementConfig:
  14562. properties:
  14563. agreementcontent:
  14564. description: 协议内容
  14565. type: string
  14566. agreementid:
  14567. description: 协议ID
  14568. type: integer
  14569. agreementname:
  14570. description: 协议名称
  14571. type: string
  14572. agreementno:
  14573. description: 协议编号
  14574. type: string
  14575. agreementtype:
  14576. description: 协议类型 - 1:注册 2:登录 3:交易
  14577. type: integer
  14578. agreementversion:
  14579. description: 协议版本号
  14580. type: integer
  14581. configid:
  14582. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14583. type: integer
  14584. createtime:
  14585. description: 创建时间
  14586. type: string
  14587. goodsid:
  14588. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14589. type: integer
  14590. nodetype:
  14591. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14592. type: integer
  14593. type: object
  14594. models.QhjParentAreaList:
  14595. properties:
  14596. accountname:
  14597. description: 账户名称(机构名称)
  14598. type: string
  14599. userid:
  14600. description: 用户ID
  14601. type: integer
  14602. usertype:
  14603. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14604. type: integer
  14605. type: object
  14606. models.QhjPayOrder:
  14607. properties:
  14608. advanceratio:
  14609. description: 首付比率
  14610. type: number
  14611. buyaccountid:
  14612. description: 买方账号ID[报价币种]
  14613. type: integer
  14614. buyorderid:
  14615. description: 买方委托单号
  14616. type: string
  14617. createtime:
  14618. description: 创建时间
  14619. type: string
  14620. decimalplace:
  14621. description: 商品报价小数位
  14622. type: integer
  14623. enumdicname:
  14624. description: 单位名称
  14625. type: string
  14626. goodscode:
  14627. description: 商品代码
  14628. type: string
  14629. goodsid:
  14630. description: 商品ID
  14631. type: integer
  14632. goodsname:
  14633. description: 商品名称
  14634. type: string
  14635. goodunitid:
  14636. description: 商品单位id
  14637. type: integer
  14638. marketid:
  14639. description: 市场ID
  14640. type: integer
  14641. offamount:
  14642. description: 优惠金额
  14643. type: number
  14644. operatetype:
  14645. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14646. type: integer
  14647. payamount:
  14648. description: 支付金额
  14649. type: number
  14650. payflag:
  14651. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14652. type: integer
  14653. paylimitedtime:
  14654. description: 支付期限
  14655. type: string
  14656. paytime:
  14657. description: 付款时间
  14658. type: string
  14659. qtydecimalplace:
  14660. description: 成交量小数位
  14661. type: integer
  14662. sellaccountid:
  14663. description: 卖方账号ID[报价币种]
  14664. type: integer
  14665. sellorderid:
  14666. description: 卖方委托单号
  14667. type: string
  14668. tradeamount:
  14669. description: 成交金额(优惠后金额)
  14670. type: number
  14671. tradecharge:
  14672. description: 成交手续费(买方)
  14673. type: number
  14674. tradedate:
  14675. description: 交易日(yyyyMMdd)
  14676. type: string
  14677. tradeid:
  14678. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14679. type: string
  14680. tradeprice:
  14681. description: 成交价格
  14682. type: number
  14683. tradeqty:
  14684. description: 成交数量
  14685. type: number
  14686. type: object
  14687. models.QhjPickArea:
  14688. properties:
  14689. address:
  14690. description: 详细地址
  14691. type: string
  14692. cityid:
  14693. description: 市
  14694. type: integer
  14695. cityname:
  14696. description: 城市名称
  14697. type: string
  14698. countryid:
  14699. description: 国家
  14700. type: integer
  14701. countryname:
  14702. description: 国家名称
  14703. type: string
  14704. districtid:
  14705. description: 地区
  14706. type: integer
  14707. districtname:
  14708. description: 地区名称
  14709. type: string
  14710. fromuserid:
  14711. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14712. type: integer
  14713. fromusername:
  14714. description: 所属机构名称
  14715. type: string
  14716. provinceid:
  14717. description: 省
  14718. type: integer
  14719. provincename:
  14720. description: 省名称
  14721. type: string
  14722. suborgtype:
  14723. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14724. type: integer
  14725. userid:
  14726. description: 机构用户ID 其他做市关系,都设置为 1
  14727. type: integer
  14728. username:
  14729. description: 机构用户名称(门店门称)
  14730. type: string
  14731. type: object
  14732. models.QhjPickGoods:
  14733. properties:
  14734. enumdicname:
  14735. description: 单位名称(提货商品)
  14736. type: string
  14737. goodsid:
  14738. description: 商品id
  14739. type: integer
  14740. imageaddress:
  14741. description: 图片
  14742. type: string
  14743. modifierid:
  14744. description: 修改人
  14745. type: integer
  14746. modifiername:
  14747. description: 修改人名称
  14748. type: string
  14749. modifysrc:
  14750. description: 修改来源 - 1:管理端 2:终端
  14751. type: integer
  14752. pickupgoodsagreeunit:
  14753. description: 合约乘数
  14754. type: number
  14755. pickupgoodsdesc:
  14756. description: 描述
  14757. type: string
  14758. pickupgoodsid:
  14759. description: 提货商品ID
  14760. type: string
  14761. pickupgoodsname:
  14762. description: 提货商品名称
  14763. type: string
  14764. pickupgoodsstatus:
  14765. description: 状态 - 1:正常 2:停用 3:注销
  14766. type: integer
  14767. pickupgoodsunitid:
  14768. description: 单位ID
  14769. type: integer
  14770. pickupratio:
  14771. description: 提货系数
  14772. type: number
  14773. preparedays:
  14774. description: 备货期(天)
  14775. type: integer
  14776. remark:
  14777. description: 备注
  14778. type: string
  14779. updatetime:
  14780. description: 更新时间
  14781. type: string
  14782. type: object
  14783. models.QhjRSTriggerLog:
  14784. properties:
  14785. accountid:
  14786. description: 用户资金账户
  14787. type: integer
  14788. accountname:
  14789. description: 账号名称(ACCOUNTID对应的名称)
  14790. type: string
  14791. currencyid:
  14792. description: 币种id
  14793. type: integer
  14794. currencyname:
  14795. description: 币种名称
  14796. type: string
  14797. decimalplace:
  14798. description: 商品报价小数位
  14799. type: integer
  14800. enumdicname:
  14801. description: 单位名称
  14802. type: string
  14803. goodscode:
  14804. description: 定投商品代码
  14805. type: string
  14806. goodsid:
  14807. description: 定投商品ID
  14808. type: integer
  14809. goodsname:
  14810. description: 定投商品名称
  14811. type: string
  14812. goodunitid:
  14813. description: 定投商品单位id
  14814. type: integer
  14815. logid:
  14816. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14817. type: string
  14818. logincode:
  14819. description: 账号(登录代码)
  14820. type: string
  14821. qtydecimalplace:
  14822. description: 成交量小数位
  14823. type: integer
  14824. regularlycycle:
  14825. description: 定投频率 - 1:每周 2:每月
  14826. type: integer
  14827. regularlycyclevalue:
  14828. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14829. type: string
  14830. regularlymode:
  14831. description: 定投方式 - 1:按数量 2:按金额
  14832. type: integer
  14833. regularlymodevalue:
  14834. description: 定投方式值 - 数量或金额
  14835. type: number
  14836. regularlystrategyid:
  14837. description: 定投策略ID
  14838. type: integer
  14839. retcode:
  14840. description: 错误码
  14841. type: string
  14842. tradeid:
  14843. description: 成交单ID
  14844. type: string
  14845. triggeramount:
  14846. description: 触发金额
  14847. type: number
  14848. triggerqty:
  14849. description: 触发数量
  14850. type: number
  14851. triggerstatus:
  14852. description: 触发状态 - 1:成功 2:失败
  14853. type: integer
  14854. triggertime:
  14855. description: 触发时间
  14856. type: string
  14857. triggertradedate:
  14858. description: 触发交易日
  14859. type: string
  14860. userid:
  14861. description: 所属用户ID
  14862. type: integer
  14863. userinfotype:
  14864. description: 用户类型 1-个人 2-企业
  14865. type: integer
  14866. username:
  14867. description: 用户名称(userid对应的名称)
  14868. type: string
  14869. type: object
  14870. models.QhjRStrategy:
  14871. properties:
  14872. accountid:
  14873. description: 用户资金账户
  14874. type: integer
  14875. accountname:
  14876. description: 账号名称(ACCOUNTID对应的名称)
  14877. type: string
  14878. currencyid:
  14879. description: 币种id
  14880. type: integer
  14881. currencyname:
  14882. description: 币种名称
  14883. type: string
  14884. decimalplace:
  14885. description: 商品报价小数位
  14886. type: integer
  14887. enumdicname:
  14888. description: 单位名称
  14889. type: string
  14890. goodscode:
  14891. description: 定投商品代码
  14892. type: string
  14893. goodsid:
  14894. description: 定投商品ID
  14895. type: integer
  14896. goodsname:
  14897. description: 定投商品名称
  14898. type: string
  14899. goodunitid:
  14900. description: 定投商品单位id
  14901. type: integer
  14902. lasteffecttradedate:
  14903. description: 最新生效交易日
  14904. type: string
  14905. laststoptradedate:
  14906. description: 最新暂停交易日
  14907. type: string
  14908. lasttriggertradedate:
  14909. description: 最新触发交易日
  14910. type: string
  14911. logincode:
  14912. description: 账号(登录代码)
  14913. type: string
  14914. nexttriggeramount:
  14915. description: 下次触发金额
  14916. type: number
  14917. nexttriggerdate:
  14918. description: 下次触发日期
  14919. type: string
  14920. nexttriggerqty:
  14921. description: 下次触发数量 [按小数位放大值]
  14922. type: number
  14923. qtydecimalplace:
  14924. description: 成交量小数位
  14925. type: integer
  14926. regularlycycle:
  14927. description: 定投频率 - 1:每周 2:每月
  14928. type: integer
  14929. regularlycyclevalue:
  14930. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14931. type: string
  14932. regularlymode:
  14933. description: 定投方式 - 1:按数量 2:按金额
  14934. type: integer
  14935. regularlymodevalue:
  14936. description: 定投方式值 - 数量或金额
  14937. type: number
  14938. regularlystrategyid:
  14939. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14940. type: integer
  14941. regularlystrategystatus:
  14942. description: 策略状态 - 1:正常 2:暂停 3:终止
  14943. type: integer
  14944. remark:
  14945. description: 备注
  14946. type: string
  14947. triggersuccesstimes:
  14948. description: 累计定投成功次数
  14949. type: string
  14950. triggertotalamount:
  14951. description: 累计定投金额(成功)
  14952. type: number
  14953. triggertotalqty:
  14954. description: 累计定投数量(成功) [按小数位放大值]
  14955. type: number
  14956. triggertotaltimes:
  14957. description: 累计定投总次数
  14958. type: string
  14959. updatesrc:
  14960. description: 更新来源 - 1:管理端 2:终端
  14961. type: integer
  14962. updatetime:
  14963. description: 更新时间
  14964. type: string
  14965. updatorid:
  14966. description: 更新人
  14967. type: string
  14968. userid:
  14969. description: 所属用户ID
  14970. type: integer
  14971. userinfotype:
  14972. description: 用户类型 1-个人 2-企业
  14973. type: integer
  14974. username:
  14975. description: 用户名称(userid对应的名称)
  14976. type: string
  14977. type: object
  14978. models.QhjReckonPriceLog:
  14979. properties:
  14980. decimalplace:
  14981. description: 商品报价小数位
  14982. type: integer
  14983. goodscode:
  14984. description: 商品代码
  14985. type: string
  14986. goodsid:
  14987. description: 商品ID
  14988. type: integer
  14989. goodsname:
  14990. description: 商品名称
  14991. type: string
  14992. lastreckonprice:
  14993. description: 上日结算价
  14994. type: number
  14995. nextdnlimitprice:
  14996. description: 下个交易日跌停价
  14997. type: number
  14998. nexttrade:
  14999. description: 下个交易日
  15000. type: string
  15001. nextuplimitprice:
  15002. description: 下个交易日涨停价
  15003. type: number
  15004. reckonprice:
  15005. description: 今日结算价(定投价)
  15006. type: number
  15007. reckontime:
  15008. description: 结算时间
  15009. type: string
  15010. totalholderqty:
  15011. description: 总持仓数
  15012. type: integer
  15013. totalstock:
  15014. description: 总库存
  15015. type: integer
  15016. tradedate:
  15017. description: 交易日
  15018. type: string
  15019. updowncount:
  15020. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15021. type: integer
  15022. updownflag:
  15023. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15024. type: integer
  15025. updownrate:
  15026. description: 今日涨跌幅
  15027. type: number
  15028. updownrate_2d:
  15029. description: 连续两日涨跌幅
  15030. type: number
  15031. updownrate_3d:
  15032. description: 连续三日涨跌幅
  15033. type: number
  15034. type: object
  15035. models.QhjScoreLog:
  15036. properties:
  15037. accountid:
  15038. description: 账户ID
  15039. type: integer
  15040. createtime:
  15041. description: 创建时间(时间)
  15042. type: string
  15043. goodsid:
  15044. description: 商品ID
  15045. type: integer
  15046. hasuploaded:
  15047. description: 是否已同步(千海金) 0:未同步 1;已同步
  15048. type: integer
  15049. logid:
  15050. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15051. type: string
  15052. marketid:
  15053. description: 市场ID
  15054. type: integer
  15055. relatedamount:
  15056. description: 关联金额
  15057. type: number
  15058. relatedorderid:
  15059. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15060. type: string
  15061. scoreconfigvalue1:
  15062. description: 积分配置1
  15063. type: integer
  15064. scoreconfigvalue2:
  15065. description: 积分配置1
  15066. type: integer
  15067. scoretype:
  15068. description: 积分类型 - 1:提货积分
  15069. type: integer
  15070. scorevalue:
  15071. description: 积分
  15072. type: number
  15073. tradedate:
  15074. description: 交易日(yyyyMMdd)
  15075. type: string
  15076. uploadedtime:
  15077. description: 同步时间
  15078. type: string
  15079. userid:
  15080. description: 用户ID
  15081. type: integer
  15082. type: object
  15083. models.QhjSiteColumnDetail:
  15084. properties:
  15085. author:
  15086. description: 作者
  15087. type: string
  15088. brief:
  15089. description: 简介
  15090. type: string
  15091. columnid:
  15092. description: 所属栏目
  15093. type: integer
  15094. context:
  15095. description: 内容
  15096. type: string
  15097. coverimage:
  15098. description: 封面图片
  15099. type: string
  15100. creaedate:
  15101. description: 创建时间
  15102. type: string
  15103. creatorid:
  15104. description: 创建人
  15105. type: integer
  15106. hits:
  15107. description: 点击数
  15108. type: integer
  15109. id:
  15110. description: ID(SEQ_SITE_COLUMNDETAIL)
  15111. type: integer
  15112. isshow:
  15113. description: 是否展示 - 0:不展示 1:展示
  15114. type: integer
  15115. istop:
  15116. description: 是否置顶 - 0:不置 1:置顶
  15117. type: integer
  15118. modifierid:
  15119. description: 操作人
  15120. type: integer
  15121. publishdate:
  15122. description: 发布日期
  15123. type: string
  15124. status:
  15125. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15126. type: integer
  15127. title:
  15128. description: 标题
  15129. type: string
  15130. updatedate:
  15131. description: 修改时间
  15132. type: string
  15133. userid:
  15134. description: 用户ID(默认为0, 核心为为机构用户ID)
  15135. type: integer
  15136. username:
  15137. description: 用户名称
  15138. type: string
  15139. type: object
  15140. models.QhjTeamOrder:
  15141. properties:
  15142. accountid:
  15143. description: 账户ID[报价币种]
  15144. type: integer
  15145. accountname:
  15146. description: 账户名称
  15147. type: string
  15148. agreeunit:
  15149. description: 合约乘数
  15150. type: number
  15151. buyorsell:
  15152. description: 方向 - 0:买 1:卖
  15153. type: integer
  15154. decimalplace:
  15155. description: 报价小数位
  15156. type: integer
  15157. enumdicname:
  15158. description: 单位名称
  15159. type: string
  15160. goodscode:
  15161. description: 商品代码(内部)
  15162. type: string
  15163. goodsid:
  15164. description: 商品ID
  15165. type: integer
  15166. goodsname:
  15167. description: 商品名称
  15168. type: string
  15169. goodunitid:
  15170. description: 报价单位ID
  15171. type: integer
  15172. marketid:
  15173. description: 市场ID
  15174. type: integer
  15175. marketname:
  15176. description: 市场名称
  15177. type: string
  15178. qtydecimalplace:
  15179. description: 成交量小数位
  15180. type: integer
  15181. refereeuserid:
  15182. description: 推荐人ID
  15183. type: integer
  15184. tradeamount:
  15185. description: 成交金额[账户币种,用于所有权]
  15186. type: number
  15187. tradedate:
  15188. description: 交易日(yyyyMMdd)
  15189. type: string
  15190. trademode:
  15191. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15192. 21:竞拍-大宗式 22:受托竞价
  15193. type: integer
  15194. tradeprice:
  15195. description: 成交价格
  15196. type: number
  15197. tradeqty:
  15198. description: 成交数量
  15199. type: number
  15200. tradetime:
  15201. description: 成交时间
  15202. type: string
  15203. userid:
  15204. description: 用户ID
  15205. type: integer
  15206. type: object
  15207. models.QhjTradeGoodsPickup:
  15208. properties:
  15209. accountid:
  15210. description: 账户ID
  15211. type: integer
  15212. address:
  15213. description: 提货人详细地址
  15214. type: string
  15215. amount:
  15216. description: 提货金额
  15217. type: number
  15218. artradedate:
  15219. description: 自动收货交易日(yyyyMMdd)
  15220. type: string
  15221. auditer:
  15222. description: 审核人
  15223. type: integer
  15224. auditsrc:
  15225. description: 更新来源 - 1:管理端 2:终端
  15226. type: integer
  15227. audittime:
  15228. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15229. type: string
  15230. audittradedate:
  15231. description: 审核交易日(yyyyMMdd)
  15232. type: string
  15233. cardnum:
  15234. description: 提货人证件号码
  15235. type: string
  15236. cardtypeid:
  15237. description: 提货人证件类型
  15238. type: integer
  15239. checkremark:
  15240. description: 审核备注
  15241. type: string
  15242. cityid:
  15243. description: 市
  15244. type: integer
  15245. cityname:
  15246. description: 城市名称
  15247. type: string
  15248. confirmtime:
  15249. description: 取货时间 或 收货时间
  15250. type: string
  15251. countryid:
  15252. description: 国家
  15253. type: integer
  15254. countryname:
  15255. description: 国家名称
  15256. type: string
  15257. decimalplace:
  15258. description: 商品报价小数位
  15259. type: integer
  15260. districtid:
  15261. description: 地区
  15262. type: integer
  15263. districtname:
  15264. description: 地区名称
  15265. type: string
  15266. enumdicname:
  15267. description: 单位名称(提货商品)
  15268. type: string
  15269. expresscompany:
  15270. description: 物流公司
  15271. type: string
  15272. expressnum:
  15273. description: 物流单号
  15274. type: string
  15275. goodsagreeunit:
  15276. description: 交易商品乘数
  15277. type: number
  15278. goodscode:
  15279. description: 商品代码
  15280. type: string
  15281. goodsid:
  15282. description: 商品ID
  15283. type: integer
  15284. goodsname:
  15285. description: 商品名称
  15286. type: string
  15287. goodsqty:
  15288. description: 交易商品手数(69模式按成交量小数位放大取整)
  15289. type: number
  15290. handlestatus:
  15291. description: 处理状态
  15292. type: integer
  15293. logincode:
  15294. description: 账号(登录代码, 有可能为空)
  15295. type: string
  15296. marketid:
  15297. description: 市场ID
  15298. type: integer
  15299. phonenum:
  15300. description: 提货人联系方式
  15301. type: string
  15302. pickupgoodsagreeunit:
  15303. description: 提货商品合约乘数
  15304. type: number
  15305. pickupgoodsid:
  15306. description: 提货商品ID
  15307. type: string
  15308. pickupgoodsname:
  15309. description: 提货商品名称
  15310. type: string
  15311. pickupgoodsqty:
  15312. description: 提货商品手数(数量)
  15313. type: number
  15314. pickupgoodsunitid:
  15315. description: 单位ID(提货商品)
  15316. type: integer
  15317. pickupratio:
  15318. description: 提货系数
  15319. type: number
  15320. preparedays:
  15321. description: 备货期(天)-提货单明细表
  15322. type: integer
  15323. provinceid:
  15324. description: 省
  15325. type: integer
  15326. provincename:
  15327. description: 省名称
  15328. type: string
  15329. qty:
  15330. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15331. type: number
  15332. qtydecimalplace:
  15333. description: 商品数量小数位
  15334. type: integer
  15335. recivername:
  15336. description: 提货人姓名
  15337. type: string
  15338. reqtime:
  15339. description: 提货申请时间
  15340. type: string
  15341. storeuserid:
  15342. description: 门店用户ID (千海金)
  15343. type: integer
  15344. storeusername:
  15345. description: 门店用户名称
  15346. type: string
  15347. takemode:
  15348. description: 提货方式 - 2:自提 3:配送(邮寄)
  15349. type: integer
  15350. takeorderid:
  15351. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15352. type: string
  15353. takeorderstatus:
  15354. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15355. 7:已拒绝 8:已撤销
  15356. type: integer
  15357. takeremark:
  15358. description: 提货备注
  15359. type: string
  15360. tradedate:
  15361. description: 交易日(yyyyMMdd)
  15362. type: string
  15363. updatetime:
  15364. description: 更新时间
  15365. type: string
  15366. userid:
  15367. description: 用户ID
  15368. type: integer
  15369. userinfotype:
  15370. description: 客户类型 1-个人 2-企业
  15371. type: integer
  15372. username:
  15373. description: 用户名称
  15374. type: string
  15375. type: object
  15376. models.QhjUserNodeCfgAndStatus:
  15377. properties:
  15378. agreementcontent:
  15379. description: 协议内容
  15380. type: string
  15381. agreementid:
  15382. description: 协议ID
  15383. type: integer
  15384. agreementname:
  15385. description: 协议名称
  15386. type: string
  15387. agreementno:
  15388. description: 协议编号
  15389. type: string
  15390. agreementtype:
  15391. description: 协议类型 - 1:注册 2:登录 3:交易
  15392. type: integer
  15393. agreementversion:
  15394. description: 协议版本号
  15395. type: integer
  15396. configid:
  15397. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15398. type: integer
  15399. createtime:
  15400. description: 创建时间
  15401. type: string
  15402. goodsid:
  15403. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15404. type: integer
  15405. nodetype:
  15406. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15407. type: integer
  15408. signtimestamp:
  15409. description: 签约状态时间戳(最近一次)
  15410. type: string
  15411. tradedate:
  15412. description: 签约交易日(yyyyMMdd)
  15413. type: string
  15414. userid:
  15415. description: 客户ID
  15416. type: integer
  15417. type: object
  15418. models.Qhjgoodsex:
  15419. properties:
  15420. canfinance:
  15421. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15422. type: integer
  15423. canregularlybuy:
  15424. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15425. type: integer
  15426. defaulttradeuserid:
  15427. description: 默认交易用户ID
  15428. type: integer
  15429. deliverygoodsid:
  15430. description: 现货品种ID
  15431. type: integer
  15432. goodsid:
  15433. description: 商品ID(自增ID SEQ_GOODS)
  15434. type: integer
  15435. minamount:
  15436. description: 最小购买金额
  15437. type: number
  15438. regularlybuyminamount:
  15439. description: 定投最小金额
  15440. type: number
  15441. regularlybuyminqty:
  15442. description: 定投最小数量
  15443. type: number
  15444. spotgoodsbrandid:
  15445. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15446. type: integer
  15447. visibilityforenterprise:
  15448. description: 企业客户是否可见 - 0:不可见 1:可见
  15449. type: integer
  15450. visibilityforpersonal:
  15451. description: 个人客户是否可见 - 0:不可见 1:可见
  15452. type: integer
  15453. wrstandardid:
  15454. description: 现货商品ID
  15455. type: integer
  15456. type: object
  15457. models.QueryErrorInfosRsp:
  15458. properties:
  15459. description:
  15460. description: 异常描述
  15461. type: string
  15462. errorcode:
  15463. description: 异常代码
  15464. type: string
  15465. errorid:
  15466. description: 异常ID
  15467. type: integer
  15468. modulecode:
  15469. description: 所属模块
  15470. type: string
  15471. operatecode:
  15472. description: 所属操作
  15473. type: string
  15474. rownumber:
  15475. description: 行号
  15476. type: string
  15477. required:
  15478. - errorid
  15479. type: object
  15480. models.QueryHedgeOrderDetailRsp:
  15481. properties:
  15482. accountid:
  15483. description: 账户ID
  15484. type: integer
  15485. buyorsell:
  15486. description: 买卖 - 0:买 1:卖
  15487. type: integer
  15488. cancellogincode:
  15489. description: 撤单人
  15490. type: string
  15491. channelbuildtype:
  15492. description: 开平标志 - 0:无 1:建仓 2:平仓
  15493. type: integer
  15494. channelinnerorderstatus:
  15495. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15496. 9:全部成交
  15497. type: integer
  15498. channeloperatetype:
  15499. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15500. type: integer
  15501. closetype:
  15502. description: 平仓方式 - 0:无 1:平今 2:平昨
  15503. type: integer
  15504. curexchangerate:
  15505. description: 当前汇率
  15506. type: number
  15507. decimalplace:
  15508. description: 商品报价小数位
  15509. type: integer
  15510. exchangefullname:
  15511. description: 外部交易所全称
  15512. type: string
  15513. goodscode:
  15514. description: 商品代码(内部)
  15515. type: string
  15516. goodsid:
  15517. description: 商品ID
  15518. type: integer
  15519. goodsname:
  15520. description: 商品名称
  15521. type: string
  15522. marketid:
  15523. description: 市场ID
  15524. type: integer
  15525. openfreezemargin:
  15526. description: 冻结保证金(冻结交易金额)
  15527. type: number
  15528. orderid:
  15529. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15530. type: string
  15531. orderlogincode:
  15532. description: 委托人
  15533. type: string
  15534. orderprice:
  15535. description: 委托价格(账户)
  15536. type: number
  15537. orderqty:
  15538. description: 委托数量
  15539. type: integer
  15540. ordertime:
  15541. description: 委托时间
  15542. type: string
  15543. pricemode:
  15544. description: '取价方式 - 1:市价 2: 限价'
  15545. type: integer
  15546. tradedate:
  15547. description: 交易日(yyyyMMdd)
  15548. type: string
  15549. tradeqty:
  15550. description: 成交数量
  15551. type: integer
  15552. type: object
  15553. models.QueryHedgeTradeDetailRsp:
  15554. properties:
  15555. accountid:
  15556. description: 账号ID
  15557. type: integer
  15558. buyorsell:
  15559. description: 方向 - 0:买 1:卖
  15560. type: integer
  15561. channelbuildtype:
  15562. description: 委托单据类型 0:无 1:建仓 2:平仓
  15563. type: integer
  15564. closecharge:
  15565. description: 平仓手续费(账户)
  15566. type: number
  15567. closecharge2:
  15568. description: 平仓手续费(商品)
  15569. type: number
  15570. closepl:
  15571. description: 平仓盈亏(账户)
  15572. type: number
  15573. closepl2:
  15574. description: 平仓盈亏(商品)
  15575. type: number
  15576. closepl3:
  15577. description: 平仓盈亏(账户)(逐笔)
  15578. type: number
  15579. closepl4:
  15580. description: 平仓盈亏(商品)(逐笔)
  15581. type: number
  15582. closetype:
  15583. description: 平仓方式 - 0:无 1:平今 2:平昨
  15584. type: integer
  15585. curexchangerate:
  15586. description: 当前汇率
  15587. type: number
  15588. decimalplace:
  15589. description: 商品报价小数位
  15590. type: integer
  15591. exchangefullname:
  15592. description: 外部交易所全称
  15593. type: string
  15594. goodscode:
  15595. description: 商品代码(内部)
  15596. type: string
  15597. goodsid:
  15598. description: 商品ID
  15599. type: integer
  15600. goodsname:
  15601. description: 商品名称
  15602. type: string
  15603. marketid:
  15604. description: 市场ID
  15605. type: integer
  15606. opencharge:
  15607. description: 建仓手续费(账户)
  15608. type: number
  15609. opencharge2:
  15610. description: 建仓手续费(商品)
  15611. type: number
  15612. orderid:
  15613. description: 委托单号
  15614. type: string
  15615. orderlogincode:
  15616. description: 委托人
  15617. type: string
  15618. tradeamount:
  15619. description: 成交金额(账户)
  15620. type: number
  15621. tradedate:
  15622. description: 交易日(yyyyMMdd)
  15623. type: string
  15624. tradeid:
  15625. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15626. type: string
  15627. tradeprice:
  15628. description: 成交价格
  15629. type: number
  15630. tradeqty:
  15631. description: 成交数量
  15632. type: integer
  15633. tradetime:
  15634. description: 成交时间
  15635. type: string
  15636. tradetype:
  15637. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15638. type: integer
  15639. type: object
  15640. models.QuotePrimaryMenu:
  15641. properties:
  15642. Index:
  15643. description: 序号
  15644. type: integer
  15645. Key:
  15646. description: 键名
  15647. type: string
  15648. Name:
  15649. description: 菜单名称
  15650. type: string
  15651. SubMenus:
  15652. description: 子菜单
  15653. items:
  15654. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15655. type: array
  15656. SubTitleType:
  15657. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15658. type: integer
  15659. TradeModes:
  15660. description: 包含市场交易类型
  15661. type: string
  15662. type: object
  15663. models.QuoteSecondaryMenu:
  15664. properties:
  15665. ExExchangeCode:
  15666. description: 外部交易所代码
  15667. type: string
  15668. ExExchangeID:
  15669. description: 外部交易所ID
  15670. type: integer
  15671. GoodsGroupIDs:
  15672. description: 商品组ID列表
  15673. items:
  15674. type: integer
  15675. type: array
  15676. Index:
  15677. description: 序号
  15678. type: integer
  15679. MarketID:
  15680. description: 市场ID
  15681. type: integer
  15682. MenuTitle:
  15683. description: 菜单标题(市场名称或外部交易所名称)
  15684. type: string
  15685. TradeMode:
  15686. description: 交易模式
  15687. type: integer
  15688. type: object
  15689. models.RelatedTaAccount:
  15690. properties:
  15691. accountid:
  15692. description: 资金账户ID
  15693. type: integer
  15694. type: object
  15695. models.RoleMenu:
  15696. properties:
  15697. hasright:
  15698. description: 是否有权限 0-没有权限 1-有权限
  15699. type: integer
  15700. iconame:
  15701. description: 菜单图标
  15702. type: string
  15703. menutype:
  15704. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15705. type: integer
  15706. parentcode:
  15707. description: 上级资源代码
  15708. type: string
  15709. remark:
  15710. description: 菜单备注
  15711. type: string
  15712. resourcecode:
  15713. description: 菜单代码
  15714. type: string
  15715. resourcelevel:
  15716. description: 级别
  15717. type: integer
  15718. resourcename:
  15719. description: 菜单名称
  15720. type: string
  15721. roleid:
  15722. description: 角色id
  15723. type: integer
  15724. sort:
  15725. description: 排序
  15726. type: integer
  15727. subMenu:
  15728. description: 子级菜单(结构同上层一样, swag解析不出来)
  15729. items:
  15730. $ref: '#/definitions/models.RoleMenu'
  15731. type: array
  15732. url:
  15733. description: URL
  15734. type: string
  15735. userid:
  15736. description: 用户id
  15737. type: integer
  15738. type: object
  15739. models.SearchGoods:
  15740. properties:
  15741. goodscode:
  15742. description: 商品代码(内部)
  15743. type: string
  15744. goodsid:
  15745. description: 商品ID(自增ID SEQ_GOODS)
  15746. type: integer
  15747. goodsname:
  15748. description: 商品名称
  15749. type: string
  15750. marketid:
  15751. description: 所属市场ID
  15752. type: integer
  15753. marketname:
  15754. description: 市场名称
  15755. type: string
  15756. trademode:
  15757. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15758. 21:竞拍-大宗式 22:受托竞价
  15759. type: integer
  15760. required:
  15761. - goodscode
  15762. - goodsid
  15763. - goodsname
  15764. - marketid
  15765. - trademode
  15766. type: object
  15767. models.SellOrder:
  15768. properties:
  15769. accountid:
  15770. description: 资金账号
  15771. type: integer
  15772. applyid:
  15773. description: 申请单ID
  15774. type: integer
  15775. attachment1:
  15776. description: 附件1
  15777. type: string
  15778. attachment2:
  15779. description: 附件2
  15780. type: string
  15781. buyorsell:
  15782. description: 买卖 - 0:买 1:卖
  15783. type: integer
  15784. canbargain:
  15785. description: 是否可议价 - 0:不可 1:可
  15786. type: integer
  15787. cancelqty:
  15788. description: 撤销数量
  15789. type: integer
  15790. canceltime:
  15791. description: 撤销时间
  15792. type: string
  15793. cerno:
  15794. type: string
  15795. chargealgorithm:
  15796. description: 手续费收取方式 1:比率 2:固定
  15797. type: integer
  15798. chargealgorithmvalue:
  15799. description: 手续费设置值(交易所部分)
  15800. type: number
  15801. chargealgorithmvalue2:
  15802. description: 手续费设置值(会员部分)
  15803. type: number
  15804. clientordertime:
  15805. description: 客户端委托时间
  15806. type: string
  15807. cpcertno:
  15808. type: string
  15809. exchangerate:
  15810. description: 汇率[67]
  15811. type: number
  15812. firstratio:
  15813. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15814. type: number
  15815. fixedprice:
  15816. description: '[克拉单价]固定价格 - [挂牌]'
  15817. type: number
  15818. freezecharge:
  15819. description: 冻结手续费
  15820. type: number
  15821. freezefirstamount:
  15822. description: 冻结首付金额 - [摘牌]
  15823. type: number
  15824. freezemargin:
  15825. description: 冻结保证金
  15826. type: number
  15827. goodsno:
  15828. description: 商品编号
  15829. type: string
  15830. imagepath:
  15831. type: string
  15832. isQueryDiamond:
  15833. description: 是否钻石查询
  15834. type: boolean
  15835. isspecified:
  15836. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15837. type: integer
  15838. kppath:
  15839. type: string
  15840. kpweight:
  15841. type: string
  15842. marginalgorithm:
  15843. description: 保证金方式 - 1:比率 2:固定
  15844. type: integer
  15845. marginvalue:
  15846. description: 保证金设置值
  15847. type: number
  15848. marketid:
  15849. description: 市场ID
  15850. type: integer
  15851. marketprice:
  15852. type: string
  15853. orderamount:
  15854. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15855. type: number
  15856. ordertime:
  15857. description: 委托时间
  15858. type: string
  15859. performancetemplateid:
  15860. description: 履约计划模板ID
  15861. type: integer
  15862. price:
  15863. description: 价格
  15864. type: number
  15865. pricefactor:
  15866. description: 价格系数(浮动价时填写) - [挂牌]
  15867. type: number
  15868. pricemove:
  15869. description: 升贴水(浮动价时填写) - [挂牌]
  15870. type: number
  15871. priceper:
  15872. type: string
  15873. relatedwrtradeorderid:
  15874. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15875. type: integer
  15876. remainqty:
  15877. description: 剩余重量
  15878. type: number
  15879. remark:
  15880. type: string
  15881. retcode:
  15882. description: 错误代码
  15883. type: integer
  15884. sellusername:
  15885. description: 卖方(查询字段-模糊查询)
  15886. type: string
  15887. settingmaterial:
  15888. description: 镶嵌材料
  15889. type: string
  15890. size1:
  15891. type: string
  15892. size2:
  15893. type: string
  15894. size3:
  15895. type: string
  15896. sizedisplay:
  15897. description: 尺寸
  15898. type: string
  15899. stonedesc:
  15900. description: 配石描述
  15901. type: string
  15902. totalqty:
  15903. description: 总重量
  15904. type: number
  15905. tradedate:
  15906. description: 交易日(yyyyMMdd)
  15907. type: string
  15908. tradeprice:
  15909. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15910. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15911. type: number
  15912. unfreezecharge:
  15913. description: 解冻手续费
  15914. type: number
  15915. unfreezefirstamount:
  15916. description: 解冻首付金额 - [摘牌]
  15917. type: number
  15918. unfreezemargin:
  15919. description: 解冻保证金
  15920. type: number
  15921. userid:
  15922. description: 用户ID
  15923. type: integer
  15924. uuid:
  15925. description: 发起端唯一id
  15926. type: string
  15927. validtime:
  15928. description: 有效期限
  15929. type: string
  15930. validtype:
  15931. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15932. type: integer
  15933. warehousenamedisplay:
  15934. type: string
  15935. wrbargainid:
  15936. description: 议价申请单ID
  15937. type: integer
  15938. wrfactortypeid:
  15939. description: 仓单要素类型ID/商品ID(77)
  15940. type: integer
  15941. wrpath:
  15942. type: string
  15943. wrpricetype:
  15944. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15945. type: integer
  15946. wrstandardid:
  15947. description: 现货商品ID
  15948. type: integer
  15949. wrtradeorderid:
  15950. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15951. type: string
  15952. wrtradeorderstatus:
  15953. 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:撤单解冻贷款失败
  15954. type: integer
  15955. wrtradetype:
  15956. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15957. type: integer
  15958. wrtransferuserid:
  15959. description: 仓单受让用户 - [摘牌]
  15960. type: integer
  15961. zscategory:
  15962. description: 钻石分类 - 枚举”ZSCategory“
  15963. type: integer
  15964. zscategorydisplay:
  15965. description: 钻石分类 - 描述
  15966. type: string
  15967. zscerttypedisplay:
  15968. type: string
  15969. zsclaritytype1display:
  15970. type: string
  15971. zsclaritytype2display:
  15972. type: string
  15973. zscolortype1display:
  15974. type: string
  15975. zscolortype2display:
  15976. type: string
  15977. zscrystaltype:
  15978. type: string
  15979. zscrystaltypedisplay:
  15980. type: string
  15981. zscurrencytype:
  15982. description: 货币类型 - 枚举“ZSCurrencyType”
  15983. type: integer
  15984. zscurrencytypedisplay:
  15985. type: string
  15986. zscurrencytypedisplayunit:
  15987. type: string
  15988. zscuttype1display:
  15989. type: string
  15990. zscuttype2display:
  15991. type: string
  15992. zsczcolor1typedisplay:
  15993. type: string
  15994. zsczcolor2typedisplay:
  15995. type: string
  15996. zsczcolor3typedisplay:
  15997. type: string
  15998. zsfluorescencetype1display:
  15999. type: string
  16000. zsfluorescencetype2display:
  16001. type: string
  16002. zspolishtype1display:
  16003. type: string
  16004. zspolishtype2display:
  16005. type: string
  16006. zsshapetypedisplay:
  16007. type: string
  16008. zsstyletypedisplay:
  16009. type: string
  16010. zssymmetrytype1display:
  16011. type: string
  16012. zssymmetrytype2display:
  16013. type: string
  16014. type: object
  16015. models.SellOrderQueryReq:
  16016. properties:
  16017. origin:
  16018. description: 原产地
  16019. type: string
  16020. page:
  16021. description: 页码
  16022. type: integer
  16023. pagesize:
  16024. description: 每页大小
  16025. type: integer
  16026. total:
  16027. description: 总条数
  16028. type: integer
  16029. warehouseid:
  16030. description: 仓库ID
  16031. type: integer
  16032. weight1:
  16033. description: 总重量(克拉重量)-从
  16034. type: number
  16035. weight2:
  16036. description: 总重量(克拉重量)-至
  16037. type: number
  16038. weightavg1:
  16039. description: 平均单颗重量-从
  16040. type: number
  16041. weightavg2:
  16042. description: 平均单颗重量-至
  16043. type: number
  16044. zscategory:
  16045. description: 钻石分类 - 枚举”ZSCategory“
  16046. type: integer
  16047. zscerttype:
  16048. description: 证书类型
  16049. items:
  16050. type: string
  16051. type: array
  16052. zsclaritytype:
  16053. description: 净度
  16054. items:
  16055. type: integer
  16056. type: array
  16057. zscolortype:
  16058. description: 颜色
  16059. items:
  16060. type: integer
  16061. type: array
  16062. zscurrencytype:
  16063. description: 货币类型 - 枚举“ZSCurrencyType”
  16064. items:
  16065. type: string
  16066. type: array
  16067. zscuttype:
  16068. description: 切工
  16069. items:
  16070. type: integer
  16071. type: array
  16072. zsczcolor1type:
  16073. description: 彩钻颜色1
  16074. items:
  16075. type: string
  16076. type: array
  16077. zsfluorescencetype:
  16078. description: 荧光
  16079. items:
  16080. type: integer
  16081. type: array
  16082. zspolishtype:
  16083. description: 抛光度
  16084. items:
  16085. type: integer
  16086. type: array
  16087. zsshapetype:
  16088. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16089. items:
  16090. type: string
  16091. type: array
  16092. zsstyletype:
  16093. description: 款式
  16094. items:
  16095. type: string
  16096. type: array
  16097. zssymmetrytype:
  16098. description: 对称度
  16099. items:
  16100. type: integer
  16101. type: array
  16102. required:
  16103. - zscategory
  16104. type: object
  16105. models.Systemparam:
  16106. properties:
  16107. loginid:
  16108. description: 更新用户账号,登录账号
  16109. type: string
  16110. modifyflag:
  16111. description: 修改标志0 不允许修改 1 允许修改
  16112. type: integer
  16113. paramcode:
  16114. description: 参数代码
  16115. type: string
  16116. paramname:
  16117. description: 参数名
  16118. type: string
  16119. paramtype:
  16120. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16121. type: integer
  16122. paramvalue:
  16123. description: 参数值
  16124. type: string
  16125. paramvalue2:
  16126. description: 参数值(CLOB)
  16127. type: string
  16128. regexpress:
  16129. description: 正则表达式
  16130. type: string
  16131. remark:
  16132. description: 备注
  16133. type: string
  16134. serverip:
  16135. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16136. type: string
  16137. showflag:
  16138. description: 是否显示0 不显示 1 显示
  16139. type: integer
  16140. updatetime:
  16141. description: 更新时间
  16142. type: string
  16143. userid:
  16144. description: 更新用户ID
  16145. type: integer
  16146. required:
  16147. - paramcode
  16148. type: object
  16149. models.Szdz3convertconfig:
  16150. properties:
  16151. canin:
  16152. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16153. type: integer
  16154. canout:
  16155. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16156. type: integer
  16157. converttype:
  16158. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16159. 6:交易转花生米(不设置)
  16160. type: integer
  16161. createtime:
  16162. description: 创建时间
  16163. type: string
  16164. creatorid:
  16165. description: 创建人
  16166. type: integer
  16167. daymaxvalue:
  16168. description: 当日最大转入限制
  16169. type: number
  16170. freezedays:
  16171. description: 冻结天数 [5:花生米转交易]
  16172. type: integer
  16173. innergoodsid:
  16174. description: 内部商品ID[交易]
  16175. type: integer
  16176. inratio:
  16177. description: 目标值
  16178. type: integer
  16179. modifierid:
  16180. description: 修改人
  16181. type: integer
  16182. modifytime:
  16183. description: 修改时间
  16184. type: string
  16185. outergoodscode:
  16186. description: 外部商品代码[JD\PD]
  16187. type: string
  16188. outratio:
  16189. description: 源值
  16190. type: integer
  16191. pddecimalplace:
  16192. description: PD小数位
  16193. type: integer
  16194. timemaxvalue:
  16195. description: 单次最大转入限制
  16196. type: number
  16197. timeminvalue:
  16198. description: 单次最小转入限制
  16199. type: number
  16200. required:
  16201. - converttype
  16202. - innergoodsid
  16203. - outergoodscode
  16204. type: object
  16205. models.Szdz3searchwhitelist:
  16206. properties:
  16207. createtime:
  16208. description: 创建时间
  16209. type: string
  16210. creatorid:
  16211. description: 创建人
  16212. type: integer
  16213. modifierid:
  16214. description: 修改人
  16215. type: integer
  16216. modifytime:
  16217. description: 修改时间
  16218. type: string
  16219. userid:
  16220. description: 用户ID
  16221. type: integer
  16222. required:
  16223. - userid
  16224. type: object
  16225. models.TBGoods:
  16226. properties:
  16227. agreeunit:
  16228. description: 合约乘数
  16229. type: number
  16230. enumdicname:
  16231. description: 单位名称
  16232. type: string
  16233. goodscode:
  16234. description: 商品代码(内部)
  16235. type: string
  16236. goodsid:
  16237. description: 商品ID(自增ID SEQ_GOODS)
  16238. type: integer
  16239. goodsname:
  16240. description: 商品名称
  16241. type: string
  16242. type: object
  16243. models.TBGoodsGroup:
  16244. properties:
  16245. GDLST:
  16246. description: 商品列表
  16247. items:
  16248. $ref: '#/definitions/models.TBGoods'
  16249. type: array
  16250. convertratio:
  16251. description: 折算系数
  16252. type: number
  16253. enumdicname:
  16254. description: 单位名称
  16255. type: string
  16256. exexchangecode:
  16257. description: 交易所代码
  16258. type: string
  16259. exexchangename:
  16260. description: 交易所名称
  16261. type: string
  16262. goodsgroupid:
  16263. description: 商品组ID(自增ID)
  16264. type: integer
  16265. goodsgroupname:
  16266. description: 商品组名称
  16267. type: string
  16268. goodunitid:
  16269. description: 报价单位ID
  16270. type: integer
  16271. type: object
  16272. models.TBMiddleGoods:
  16273. properties:
  16274. GPLST:
  16275. description: 期货品种列表
  16276. items:
  16277. $ref: '#/definitions/models.TBGoodsGroup'
  16278. type: array
  16279. WDLST:
  16280. description: 商品信息列表(现货品类)
  16281. items:
  16282. $ref: '#/definitions/models.TBWrstandard'
  16283. type: array
  16284. areauserid:
  16285. description: 机构用户ID
  16286. type: integer
  16287. enumdicname:
  16288. description: 单位名称
  16289. type: string
  16290. goodsunitid:
  16291. description: 套保品种单位id
  16292. type: integer
  16293. middlegoodscode:
  16294. description: 套保品种代码
  16295. type: string
  16296. middlegoodsid:
  16297. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16298. type: integer
  16299. middlegoodsname:
  16300. description: 套保品种名称
  16301. type: string
  16302. needarbitrageratio:
  16303. description: 套利比率
  16304. type: number
  16305. needhedgeratio:
  16306. description: 套保比率
  16307. type: number
  16308. type: object
  16309. models.TBWrstandard:
  16310. properties:
  16311. convertratio:
  16312. description: 折算系数
  16313. type: number
  16314. deliverygoodsname:
  16315. description: 品种名称
  16316. type: string
  16317. enumdicname:
  16318. description: 单位名称
  16319. type: string
  16320. vatrate:
  16321. description: 增值税率
  16322. type: number
  16323. wrstandardcode:
  16324. description: 现货商品代码
  16325. type: string
  16326. wrstandardid:
  16327. description: 现货商品ID(SEQ_WRSTANDARD)
  16328. type: integer
  16329. wrstandardname:
  16330. description: 现货商品名称
  16331. type: string
  16332. type: object
  16333. models.Taaccount:
  16334. properties:
  16335. accountflag:
  16336. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16337. type: integer
  16338. accountid:
  16339. description: 资金账户ID
  16340. type: integer
  16341. accountname:
  16342. description: 账户名称
  16343. type: string
  16344. balance:
  16345. description: 期初余额
  16346. type: number
  16347. capitalbalance:
  16348. description: 本金余额[外部子账户实际出入金余额]
  16349. type: number
  16350. changeflag:
  16351. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16352. type: integer
  16353. changetime:
  16354. description: 账户状态变更时间
  16355. type: string
  16356. closepl:
  16357. description: 今日平仓盈亏
  16358. type: number
  16359. creditdecrease:
  16360. description: 今日授信减少
  16361. type: number
  16362. creditincrease:
  16363. description: 今日授信增加
  16364. type: number
  16365. curamount:
  16366. description: 总市值(从持仓中统计)
  16367. type: number
  16368. currencyid:
  16369. description: 货币ID
  16370. type: integer
  16371. currentbalance:
  16372. description: 期末余额
  16373. type: number
  16374. freezecharge:
  16375. description: 手续费冻结
  16376. type: number
  16377. freezemargin:
  16378. description: 冻结保证金
  16379. type: number
  16380. fromaccountid:
  16381. description: 所属上级账户
  16382. type: integer
  16383. inamount:
  16384. description: 今日入金金额(包括三方入金)
  16385. type: number
  16386. ismain:
  16387. description: 是否母账号 0:不是母账户 1:是母账户
  16388. type: integer
  16389. ismarketaccount:
  16390. description: 是否机构接单账号 0:不是 1:是
  16391. type: integer
  16392. isreckonaccount:
  16393. description: 是否机构分润账号 0:不是 1:是
  16394. type: integer
  16395. mortgagecredit:
  16396. description: 授信金额
  16397. type: number
  16398. orifreezecharge:
  16399. description: 期初手续费冻结
  16400. type: number
  16401. orifreezemargin:
  16402. description: 期初冻结保证金
  16403. type: number
  16404. orimortgagecredit:
  16405. description: 期初授信金额
  16406. type: number
  16407. oriothercredit:
  16408. description: 期初其它授信金额
  16409. type: number
  16410. oriotherfreezemargin:
  16411. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16412. type: number
  16413. orioutamountfreeze:
  16414. description: 期初出金冻结
  16415. type: number
  16416. oriusedmargin:
  16417. description: 期初占用保证金
  16418. type: number
  16419. othercredit:
  16420. description: 其它授信金额
  16421. type: number
  16422. othercreditdecrease:
  16423. description: 今日其它授信减少
  16424. type: number
  16425. othercreditincrease:
  16426. description: 今日其它授信增加
  16427. type: number
  16428. otherfreezemargin:
  16429. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16430. type: number
  16431. otherincome:
  16432. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16433. type: number
  16434. otherpay:
  16435. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16436. type: number
  16437. outamount:
  16438. description: 今日出金金额(包括三方出金)
  16439. type: number
  16440. outamountfreeze:
  16441. description: 出金冻结
  16442. type: number
  16443. outthreshold:
  16444. description: 出金阈值
  16445. type: number
  16446. parentaccountid:
  16447. description: 所属根账号
  16448. type: integer
  16449. paycharge:
  16450. description: 今日手续费支出
  16451. type: number
  16452. relatedaccountstatus:
  16453. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16454. type: integer
  16455. relateduserid:
  16456. description: 关联用户
  16457. type: integer
  16458. remainamount:
  16459. description: 融资额(从融资合同中统计)
  16460. type: number
  16461. serivcegroup:
  16462. description: 服务分组
  16463. type: integer
  16464. signstatus:
  16465. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16466. type: integer
  16467. sublevelpath:
  16468. description: 账号层级路径(逗号分隔,首尾加逗号)
  16469. type: string
  16470. taaccounttype:
  16471. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16472. type: integer
  16473. thirdinamount:
  16474. description: 今日三方入金
  16475. type: number
  16476. thirdoutamount:
  16477. description: 今日三方出金
  16478. type: number
  16479. tradestatus:
  16480. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16481. type: integer
  16482. tradestatuschangetime:
  16483. description: 激活时间
  16484. type: string
  16485. transferamount:
  16486. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16487. type: number
  16488. usedmargin:
  16489. description: 占用保证金
  16490. type: number
  16491. userid:
  16492. description: 用户ID
  16493. type: integer
  16494. required:
  16495. - accountid
  16496. - userid
  16497. type: object
  16498. models.Tablecolumnconfig:
  16499. properties:
  16500. aligntype:
  16501. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16502. type: integer
  16503. autoid:
  16504. description: AutoID
  16505. type: integer
  16506. columnfield:
  16507. description: 列字段
  16508. type: string
  16509. columntitle:
  16510. description: 列Title
  16511. type: string
  16512. columnwidth:
  16513. description: 列宽
  16514. type: string
  16515. fixed:
  16516. description: 固定类型 - 空 | left | right
  16517. type: string
  16518. formatterstring:
  16519. description: 格式化字符
  16520. type: string
  16521. formattertype:
  16522. description: 格式化类型
  16523. type: string
  16524. groupname:
  16525. description: 表头分组名称
  16526. type: string
  16527. ismerge:
  16528. description: 是否合并显示 - 0:不合并 1:合并
  16529. type: integer
  16530. isshow:
  16531. description: 是否显示 - 0:不显示 1:显示
  16532. type: integer
  16533. needsummary:
  16534. description: 是否需要汇总 - 0:不需要 1:需要
  16535. type: integer
  16536. orderindex:
  16537. description: 顺序
  16538. type: integer
  16539. remark:
  16540. description: 备注
  16541. type: string
  16542. summarytype:
  16543. description: 汇总类型 - 1:加总 2:最后一个
  16544. type: integer
  16545. tablekey:
  16546. description: 列表Key
  16547. type: string
  16548. required:
  16549. - autoid
  16550. type: object
  16551. models.TjmdHolderDetailTradeInfo:
  16552. properties:
  16553. agreeunit:
  16554. description: 合约乘数
  16555. type: number
  16556. buyaccountid:
  16557. description: 买方账户
  16558. type: string
  16559. buyusername:
  16560. description: 买方
  16561. type: string
  16562. delistingdate:
  16563. description: 最后结算日
  16564. type: string
  16565. expiredate:
  16566. description: 到期结算价定价日
  16567. type: string
  16568. exprieprice:
  16569. description: 到期清算价格
  16570. type: string
  16571. goodscode:
  16572. description: 商品代码
  16573. type: string
  16574. goodsid:
  16575. description: 商品ID
  16576. type: integer
  16577. goodsname:
  16578. description: 商品名称(交易标的)
  16579. type: string
  16580. lasttradedate:
  16581. description: 最后交易日
  16582. type: string
  16583. listingdate:
  16584. description: 开始交易日
  16585. type: string
  16586. openprice:
  16587. description: 成交价
  16588. type: number
  16589. openqty:
  16590. description: 交易数量
  16591. type: integer
  16592. sellaccountid:
  16593. description: 卖方账户
  16594. type: string
  16595. sellusername:
  16596. description: 卖方
  16597. type: string
  16598. tradeamount:
  16599. description: 初始名义价值
  16600. type: number
  16601. tradedate:
  16602. description: 成交日期
  16603. type: string
  16604. tradeid:
  16605. description: 成交编号
  16606. type: string
  16607. type: object
  16608. models.TjmdMarketSection:
  16609. properties:
  16610. marketsectionid:
  16611. description: 市场版块ID(SEQ_MARKETSECTION)
  16612. type: integer
  16613. marketsectionname:
  16614. description: 市场版块名称
  16615. type: string
  16616. mlist:
  16617. description: 市场列表(板块下面有多少个市场)
  16618. items:
  16619. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16620. type: array
  16621. orderindex:
  16622. description: 排序
  16623. type: integer
  16624. pictureurl:
  16625. description: 图片url, 规格(90*90)
  16626. type: string
  16627. remark:
  16628. description: 备注
  16629. type: string
  16630. type: object
  16631. models.TjmdMarketSectionConfig:
  16632. properties:
  16633. auctionwrtype:
  16634. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16635. type: integer
  16636. canacceptquote:
  16637. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16638. type: integer
  16639. cangoodsexercise:
  16640. description: '[期权]是否可现货行权- 0:否 1:是'
  16641. type: integer
  16642. cangoodsexercisetype:
  16643. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16644. type: integer
  16645. canmanualquotestrike:
  16646. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16647. type: integer
  16648. canmutistage:
  16649. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16650. type: integer
  16651. canpreexercise:
  16652. description: '[期权]是否可预申报- 0:否 1:是'
  16653. type: integer
  16654. clearinterval:
  16655. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16656. type: integer
  16657. contracttmp:
  16658. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16659. type: string
  16660. exchareaid:
  16661. description: 所属交易所,可以没有
  16662. type: integer
  16663. financemarketid:
  16664. description: 融资回购市场ID [仓单贸易]
  16665. type: integer
  16666. goodstype:
  16667. description: 商品类型 - 1:交易商品 2:仓单商品
  16668. type: integer
  16669. hasrebate:
  16670. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16671. type: integer
  16672. hastradecredit:
  16673. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16674. type: integer
  16675. haswr:
  16676. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16677. type: integer
  16678. isdeductmargin:
  16679. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16680. type: integer
  16681. isrecordsource:
  16682. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16683. type: integer
  16684. isreleasemargin:
  16685. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16686. type: integer
  16687. isupdatereckonprice:
  16688. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16689. type: integer
  16690. listingmode:
  16691. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16692. type: integer
  16693. marginformula:
  16694. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16695. type: integer
  16696. marginformula2:
  16697. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16698. type: integer
  16699. marketid:
  16700. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16701. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16702. type: integer
  16703. marketname:
  16704. description: 市场名称
  16705. type: string
  16706. marketsectionid:
  16707. description: 市场版块ID(SEQ_MARKETSECTION)
  16708. type: integer
  16709. marketserviceid:
  16710. description: 市场服务ID
  16711. type: integer
  16712. marketstatus:
  16713. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16714. type: integer
  16715. markettype:
  16716. description: 市场类型- 1:非交易服务 2:交易服务
  16717. type: integer
  16718. matchermode:
  16719. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16720. type: integer
  16721. nowrquotaflag:
  16722. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16723. type: integer
  16724. openmethod:
  16725. description: 开盘模式 - 0 自动 1手动
  16726. type: integer
  16727. orderindex:
  16728. description: 排序
  16729. type: integer
  16730. otcuserid:
  16731. description: 场外期权做市商[场外期权]
  16732. type: integer
  16733. outersynctime:
  16734. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16735. type: string
  16736. paylaterflag:
  16737. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16738. type: integer
  16739. pendingflag:
  16740. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16741. type: integer
  16742. pendingtime:
  16743. description: 待开市时间[通道交易-对冲](HH:mm)
  16744. type: string
  16745. performancetempid:
  16746. description: 履约计划模板ID - 作废
  16747. type: integer
  16748. premiumquotemode:
  16749. description: 权利金报价方式 - 1:自动 2:手动
  16750. type: integer
  16751. rebateratio:
  16752. description: 返利比率[竞价式]
  16753. type: number
  16754. reckonorder:
  16755. description: 结算顺序
  16756. type: integer
  16757. reckonpricealgorithm:
  16758. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16759. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16760. type: integer
  16761. reckonpriceparam:
  16762. description: 结算价参数
  16763. type: integer
  16764. reckontime:
  16765. description: 结算时间[通道交易-对冲](HH:mm)
  16766. type: string
  16767. roleprioritytype:
  16768. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16769. type: integer
  16770. selllistingauditflag:
  16771. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16772. type: integer
  16773. trademarkettype:
  16774. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16775. type: integer
  16776. trademode:
  16777. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16778. 21:竞拍-大宗式 22:受托竞价
  16779. type: integer
  16780. tradeproperty:
  16781. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16782. 8:场外期权
  16783. type: integer
  16784. tradetype:
  16785. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16786. type: integer
  16787. updatereckonpriceinterval:
  16788. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16789. type: integer
  16790. type: object
  16791. models.TjmdQuoteGoods:
  16792. properties:
  16793. buyqty:
  16794. description: 买量(暂不做, 无值, 保留字段)
  16795. type: number
  16796. decimalplace:
  16797. description: 报价小数位
  16798. type: integer
  16799. goodscode:
  16800. description: 合约代码
  16801. type: string
  16802. goodsgroupid:
  16803. description: 商品组ID(自增ID)
  16804. type: integer
  16805. goodsgroupname:
  16806. description: 商品组名称
  16807. type: string
  16808. goodsid:
  16809. description: 合约id
  16810. type: integer
  16811. goodsname:
  16812. description: 合约名称
  16813. type: string
  16814. refgoodscode:
  16815. description: 标的合约代码
  16816. type: string
  16817. refgoodsid:
  16818. description: 标的合约id
  16819. type: integer
  16820. refgoodsname:
  16821. description: 标的合约名称
  16822. type: string
  16823. sellqty:
  16824. description: 卖量(暂不做, 无值, 保留字段)
  16825. type: number
  16826. type: object
  16827. models.TjmdTodayAccountMargin:
  16828. properties:
  16829. accountid:
  16830. description: 账号ID
  16831. type: integer
  16832. goodsid:
  16833. description: 商品ID
  16834. type: integer
  16835. infoc:
  16836. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16837. description: 配置参数
  16838. marketid:
  16839. description: 市场ID
  16840. type: integer
  16841. type: object
  16842. models.TjmdTradeOrderDetail:
  16843. properties:
  16844. buyorsell:
  16845. description: 买卖方向 0-买 1-卖
  16846. type: integer
  16847. goodsid:
  16848. description: 商品id
  16849. type: integer
  16850. marketmaxsub:
  16851. description: 市价最大偏移范围 [浮动价 - 点差]
  16852. type: number
  16853. orderid:
  16854. description: 委托单号
  16855. type: string
  16856. orderprice:
  16857. description: 期初均价
  16858. type: number
  16859. orderqty:
  16860. description: 委托数量
  16861. type: integer
  16862. pricemode:
  16863. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16864. type: integer
  16865. userid:
  16866. description: 用户id
  16867. type: integer
  16868. username:
  16869. description: 用户名称(已脱敏)
  16870. type: string
  16871. type: object
  16872. models.TjmdTransferApply:
  16873. properties:
  16874. applyid:
  16875. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16876. type: integer
  16877. applystatus:
  16878. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16879. type: integer
  16880. applytime:
  16881. description: 申请时间(时间)
  16882. type: string
  16883. auditremark:
  16884. description: 审核备注(拒绝原因?)
  16885. type: string
  16886. begindate:
  16887. description: 开始交易日(yyyymmdd)
  16888. type: string
  16889. buyorsell:
  16890. description: 买卖 - 0:买 1:卖
  16891. type: integer
  16892. enddate:
  16893. description: 结束交易日(yyyymmdd)
  16894. type: string
  16895. goodscode:
  16896. description: 商品代码
  16897. type: string
  16898. goodsid:
  16899. description: 商品ID
  16900. type: integer
  16901. goodsname:
  16902. description: 商品名称
  16903. type: string
  16904. marketid:
  16905. description: 市场ID
  16906. type: integer
  16907. qty:
  16908. description: 期初均价
  16909. type: number
  16910. tradeid:
  16911. description: 成交单号(关联持仓)
  16912. type: string
  16913. transferamount:
  16914. description: 转让总金额(金额)
  16915. type: number
  16916. transferprice:
  16917. description: 转让价格(协议价格)
  16918. type: number
  16919. type: object
  16920. models.TradeHolderDetail:
  16921. properties:
  16922. accountid:
  16923. description: 账号ID
  16924. type: integer
  16925. agreeunit:
  16926. description: 合约乘数
  16927. type: number
  16928. buyorsell:
  16929. description: 方向 - 0:买 1:卖
  16930. type: integer
  16931. currencyid:
  16932. description: 商品币种id
  16933. type: integer
  16934. currencyname:
  16935. description: 币种名称
  16936. type: string
  16937. decimalplace:
  16938. description: 商品价格小数位
  16939. type: integer
  16940. enumdicname:
  16941. description: 商品单位名称
  16942. type: string
  16943. expirecycle:
  16944. description: 行权周期(天) - 1:滚动行权时填写
  16945. type: integer
  16946. expiredate:
  16947. description: 行权日(yyyyMMdd) - 到期日
  16948. type: string
  16949. expiretype:
  16950. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16951. type: integer
  16952. freezeqty:
  16953. description: 期初均价
  16954. type: number
  16955. goodscode:
  16956. description: 商品代码
  16957. type: string
  16958. goodsid:
  16959. description: 商品ID
  16960. type: integer
  16961. goodsname:
  16962. description: 商品名称
  16963. type: string
  16964. goodunitid:
  16965. description: 商品单位id
  16966. type: integer
  16967. holderamount:
  16968. description: 持仓金额
  16969. type: number
  16970. holdercredit:
  16971. description: 持仓授信金额
  16972. type: number
  16973. holderdays:
  16974. description: 剩余冻结天数
  16975. type: integer
  16976. holderprice:
  16977. description: 持仓价格
  16978. type: number
  16979. holderqty:
  16980. description: 期初均价
  16981. type: number
  16982. isconfirmexercise:
  16983. description: 是否确认行权- 0:否 1:是
  16984. type: integer
  16985. ispreexercise:
  16986. description: 是否预申报- 0:否 1:是 2:不可行权
  16987. type: integer
  16988. marketid:
  16989. description: 市场id
  16990. type: integer
  16991. marketname:
  16992. description: 市场名称
  16993. type: string
  16994. openprice:
  16995. description: 建仓价格
  16996. type: number
  16997. openqty:
  16998. description: 期初均价
  16999. type: number
  17000. optiontype:
  17001. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17002. type: integer
  17003. preexerciseprice:
  17004. description: 预申报价格
  17005. type: number
  17006. premium:
  17007. description: 权利金
  17008. type: number
  17009. qtydecimalplace:
  17010. description: 商品成交量小数位
  17011. type: integer
  17012. refgoodscode:
  17013. description: 标的合约代码
  17014. type: string
  17015. refgoodsid:
  17016. description: 标的合约id
  17017. type: integer
  17018. releaseamount:
  17019. description: 释放持仓金额
  17020. type: number
  17021. releaseholdercredit:
  17022. description: 释放持仓授信金额
  17023. type: number
  17024. taname:
  17025. description: 资金账号名称
  17026. type: string
  17027. tradeamount:
  17028. description: 成交金额
  17029. type: number
  17030. tradedate:
  17031. description: 交易日(yyyyMMdd)
  17032. type: string
  17033. tradeid:
  17034. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17035. type: string
  17036. trademode:
  17037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17038. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17039. type: integer
  17040. tradeproperty:
  17041. description: 交易属性
  17042. type: integer
  17043. tradetime:
  17044. description: 交易时间
  17045. type: string
  17046. userid:
  17047. description: 用户id
  17048. type: integer
  17049. username:
  17050. description: 用户名称
  17051. type: string
  17052. type: object
  17053. models.Unlinkermcphedgeplan:
  17054. properties:
  17055. accountid:
  17056. description: 期货账户ID - 作废
  17057. type: integer
  17058. accountname:
  17059. description: 交易用户
  17060. type: string
  17061. applyid:
  17062. description: 申请人
  17063. type: integer
  17064. applysrc:
  17065. description: 申请来源 - 1:管理端 2:终端
  17066. type: integer
  17067. applytime:
  17068. description: 申请时间
  17069. type: string
  17070. areauserid:
  17071. description: '[企业ID]机构ID'
  17072. type: integer
  17073. auditid:
  17074. description: 审核人
  17075. type: integer
  17076. auditremark:
  17077. description: 审核备注
  17078. type: string
  17079. auditsrc:
  17080. description: 审核来源 - 1:管理端 2:终端
  17081. type: integer
  17082. audittime:
  17083. description: 审核时间
  17084. type: string
  17085. audittradedate:
  17086. description: 审核交易日(yyyyMMdd)
  17087. type: string
  17088. biztype:
  17089. description: 业务类型 - 1:套保
  17090. type: integer
  17091. contracttype:
  17092. description: 计划类型 - 1:采购 -1:销售
  17093. type: integer
  17094. convertfactor:
  17095. description: 标仓系数 - 作废
  17096. type: number
  17097. createtime:
  17098. description: 创建时间
  17099. type: string
  17100. currencyid:
  17101. description: 结算币种ID - 作废
  17102. type: integer
  17103. deliverygoodsid:
  17104. description: 现货品种ID
  17105. type: integer
  17106. enumdicname:
  17107. description: 结算币种
  17108. type: string
  17109. hedgeplanid:
  17110. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17111. type: string
  17112. hedgeplanno:
  17113. description: '[计划编号]套保计划编号,模糊查询'
  17114. type: string
  17115. hedgeplanstatus:
  17116. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17117. type: integer
  17118. isrelated:
  17119. description: 是否已关联计划项目 - 0:否 1:是
  17120. type: integer
  17121. planqty:
  17122. description: '[计划量]计划数量'
  17123. type: number
  17124. plantime:
  17125. description: 计划时间
  17126. type: string
  17127. producttype:
  17128. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17129. type: integer
  17130. remark:
  17131. description: 备注
  17132. type: string
  17133. spotgoodsdesc:
  17134. description: 商品型号
  17135. type: string
  17136. tradedate:
  17137. description: 交易日(yyyyMMdd)
  17138. type: string
  17139. tradeuserid:
  17140. description: 交易用户ID
  17141. type: integer
  17142. updatetime:
  17143. description: 更新时间
  17144. type: string
  17145. wrstandardid:
  17146. description: 现货商品ID
  17147. type: integer
  17148. wrstandardname:
  17149. description: 现货商品,模糊查询
  17150. type: string
  17151. required:
  17152. - areauserid
  17153. type: object
  17154. models.UserCollectConfig:
  17155. properties:
  17156. accountstatus:
  17157. description: 账户状态 - 1:正常 2:停用 3:注销
  17158. type: integer
  17159. collectaccountname:
  17160. description: 收款人账户名称
  17161. type: string
  17162. collectaccountno:
  17163. description: 收款人账户
  17164. type: string
  17165. collectbankname:
  17166. description: 收款人开户行
  17167. type: string
  17168. collectbranchbankname:
  17169. description: 收款人开户支行
  17170. type: string
  17171. collectconfigid:
  17172. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17173. type: string
  17174. remark:
  17175. description: 备注
  17176. type: string
  17177. userid:
  17178. description: 收款人用户ID
  17179. type: integer
  17180. type: object
  17181. models.UserReceiveInfo:
  17182. properties:
  17183. address:
  17184. description: 提货人详细地址
  17185. type: string
  17186. autoid:
  17187. description: AutoID
  17188. type: integer
  17189. cardnum:
  17190. description: 证件号码(加密存储)
  17191. type: string
  17192. cardtypeid:
  17193. description: 证件类型
  17194. type: integer
  17195. cityid:
  17196. description: 市
  17197. type: integer
  17198. cityname:
  17199. description: 城市名称
  17200. type: string
  17201. countryid:
  17202. description: 国家
  17203. type: integer
  17204. countryname:
  17205. description: 国家名称
  17206. type: string
  17207. districtid:
  17208. description: 地区
  17209. type: integer
  17210. districtname:
  17211. description: 地区名称
  17212. type: string
  17213. hasencrypt:
  17214. description: 数据是否已加密 - 0:未加密 1:已加密
  17215. type: integer
  17216. isdefault:
  17217. description: 是否默认地址 - 0:否 1:是
  17218. type: integer
  17219. phonenum:
  17220. description: 提货人联系方式(加密存储)
  17221. type: string
  17222. provinceid:
  17223. description: 省
  17224. type: integer
  17225. provincename:
  17226. description: 省名称
  17227. type: string
  17228. receivername:
  17229. description: 提货人姓名
  17230. type: string
  17231. takeremark:
  17232. description: 提货备注
  17233. type: string
  17234. userid:
  17235. description: 用户ID
  17236. type: integer
  17237. type: object
  17238. models.Useraccount:
  17239. properties:
  17240. accountname:
  17241. description: 账户名称(机构名称)
  17242. type: string
  17243. accountstatus:
  17244. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17245. type: integer
  17246. applysrc:
  17247. description: 申请来源 - 1:管理端 2:终端
  17248. type: integer
  17249. auditremark:
  17250. description: 审核备注
  17251. type: string
  17252. auditsrc:
  17253. description: 审核来源 - 1:管理端 2:终端
  17254. type: integer
  17255. audittime:
  17256. description: 审核时间
  17257. type: string
  17258. audituserid:
  17259. description: 审核人
  17260. type: integer
  17261. broker:
  17262. description: 所属经纪人ID
  17263. type: integer
  17264. canceltime:
  17265. description: 销户时间
  17266. type: string
  17267. canceluserid:
  17268. description: 销户人
  17269. type: integer
  17270. canrecommend:
  17271. description: 是否可推荐 - 0:不可 1;可
  17272. type: integer
  17273. createtime:
  17274. description: 创建时间
  17275. type: string
  17276. creatorid:
  17277. description: 创建人
  17278. type: integer
  17279. hasauth:
  17280. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17281. type: integer
  17282. isanonymous:
  17283. description: 是否匿名下单 - 0:否 1:是
  17284. type: integer
  17285. maxinvestornum:
  17286. description: 最大用户数(经纪会员下投资者个数)
  17287. type: integer
  17288. memberuserid:
  17289. description: 所属会员ID
  17290. type: integer
  17291. modifierid:
  17292. description: 修改人
  17293. type: integer
  17294. modifyremark:
  17295. description: 变更备注
  17296. type: string
  17297. modifystatus:
  17298. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17299. type: integer
  17300. modifytime:
  17301. description: 修改时间
  17302. type: string
  17303. parenttopuser:
  17304. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17305. type: string
  17306. parentuserid:
  17307. description: 所属机构ID
  17308. type: integer
  17309. reckonaccountid:
  17310. description: 默认结算资金账号ID(机构分润使用) 作废
  17311. type: integer
  17312. refercount:
  17313. description: 推荐总人数
  17314. type: integer
  17315. refereeuserid:
  17316. description: 推荐人ID
  17317. type: integer
  17318. refernum:
  17319. description: 推荐码
  17320. type: string
  17321. rootuserid:
  17322. description: 根用户ID
  17323. type: integer
  17324. subaccountlevel:
  17325. description: 子账户层数
  17326. type: integer
  17327. subarealevelpath:
  17328. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17329. type: string
  17330. userid:
  17331. description: 用户ID
  17332. type: integer
  17333. usertype:
  17334. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17335. type: integer
  17336. required:
  17337. - userid
  17338. type: object
  17339. models.Userfavoritegoods:
  17340. properties:
  17341. goodsid:
  17342. description: 商品ID
  17343. type: integer
  17344. required:
  17345. - goodsid
  17346. type: object
  17347. models.Userinfo:
  17348. properties:
  17349. address:
  17350. description: 地址
  17351. type: string
  17352. attachment1:
  17353. description: 附件1
  17354. type: string
  17355. attachment2:
  17356. description: 附件2
  17357. type: string
  17358. bankaccount:
  17359. description: 银行帐号 (加密存储)
  17360. type: string
  17361. bankaccountname:
  17362. description: 收款人名称
  17363. type: string
  17364. bankcardfrontphotourl:
  17365. description: 银行卡正面照地址
  17366. type: string
  17367. bankid:
  17368. description: 银行编码
  17369. type: string
  17370. bankname:
  17371. description: 银行名称
  17372. type: string
  17373. biznature:
  17374. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17375. type: integer
  17376. bizscope:
  17377. description: 企业经营范围(企业)
  17378. type: string
  17379. cardbackphotourl:
  17380. description: 证件背面图片地址
  17381. type: string
  17382. cardfrontphotourl:
  17383. description: 证件正面图片地址
  17384. type: string
  17385. cardnum:
  17386. description: 证件号码(加密存储)
  17387. type: string
  17388. cardtypeid:
  17389. description: 证件类型ID
  17390. type: integer
  17391. cityid:
  17392. description: 市
  17393. type: integer
  17394. company:
  17395. description: 公司(个人)
  17396. type: string
  17397. contactname:
  17398. description: 联系人
  17399. type: string
  17400. countryid:
  17401. description: 国家
  17402. type: integer
  17403. createtime:
  17404. description: 创建时间
  17405. type: string
  17406. creatorid:
  17407. description: 创建人
  17408. type: integer
  17409. customername:
  17410. description: 客户名称(企业名称)
  17411. type: string
  17412. districtid:
  17413. description: 地区
  17414. type: integer
  17415. email:
  17416. description: 邮件(加密存储)
  17417. type: string
  17418. fax:
  17419. description: 传真(加密存储)
  17420. type: string
  17421. halfbodyphotourl:
  17422. description: 半身照地址
  17423. type: string
  17424. hasencrypt:
  17425. description: 数据是否已加密 - 0:未加密 1:已加密
  17426. type: integer
  17427. headurl:
  17428. description: 头像地址
  17429. type: string
  17430. legalcardbackphotourl:
  17431. description: 法人身份证背面照地址
  17432. type: string
  17433. legalcardfrontphotourl:
  17434. description: 法人身份证正面照地址
  17435. type: string
  17436. legalpersonname:
  17437. description: 法人姓名(企业)
  17438. type: string
  17439. mobile:
  17440. description: 手机号码(加密存储)
  17441. type: string
  17442. mobile2:
  17443. description: 手机号码[明文-尚志]
  17444. type: string
  17445. modifierid:
  17446. description: 修改人
  17447. type: integer
  17448. modifiertime:
  17449. description: 修改时间
  17450. type: string
  17451. needinvoice:
  17452. description: 是否需要发票 - 0:不需要 1:需要
  17453. type: integer
  17454. nickname:
  17455. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17456. type: string
  17457. openmode:
  17458. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17459. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17460. type: integer
  17461. otherurl:
  17462. description: 其它图片地址[使用分号分隔]
  17463. type: string
  17464. postalcode:
  17465. description: 邮政编码
  17466. type: string
  17467. provinceid:
  17468. description: 省
  17469. type: integer
  17470. qq:
  17471. description: QQ(加密存储
  17472. type: string
  17473. remark:
  17474. description: 备注
  17475. type: string
  17476. sex:
  17477. description: '用户性别 0: 女 1: 男'
  17478. type: integer
  17479. signpdfurl:
  17480. description: 签约pdf文件
  17481. type: string
  17482. telphone:
  17483. description: 联系电话(加密存储)
  17484. type: string
  17485. userid:
  17486. description: 用户ID
  17487. type: integer
  17488. userinfotype:
  17489. description: 用户信息类型 - 1:个人 2:企业
  17490. type: integer
  17491. userstatus:
  17492. description: 用户状态 - 1:正常 2:注销
  17493. type: integer
  17494. usertype:
  17495. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17496. type: integer
  17497. wechat:
  17498. description: 微信(加密存储)
  17499. type: string
  17500. wskhinfo:
  17501. description: 开户申请信息(JSON)
  17502. type: string
  17503. required:
  17504. - userid
  17505. type: object
  17506. models.WRSConverTDetail:
  17507. properties:
  17508. convertratio:
  17509. description: 套保系数
  17510. type: number
  17511. deliverygoodscode:
  17512. description: 现货商品代码
  17513. type: string
  17514. deliverygoodsid:
  17515. description: 现货品种ID
  17516. type: integer
  17517. deliverygoodsname:
  17518. description: 现货商品名称
  17519. type: string
  17520. enumdicname:
  17521. description: 单位名称
  17522. type: string
  17523. goodsunitid:
  17524. description: 套保品种单位id
  17525. type: integer
  17526. middlegoodscode:
  17527. description: 套保品种代码
  17528. type: string
  17529. middlegoodsid:
  17530. description: 套保品种ID
  17531. type: integer
  17532. middlegoodsname:
  17533. description: 套保品种名称
  17534. type: string
  17535. modifytime:
  17536. description: 修改时间
  17537. type: string
  17538. wrstandardid:
  17539. description: 品类ID
  17540. type: integer
  17541. type: object
  17542. models.WRStandardInfo:
  17543. properties:
  17544. areauserid:
  17545. description: 所属机构
  17546. type: integer
  17547. convertfactor:
  17548. description: 标仓系数
  17549. type: number
  17550. createtime:
  17551. description: 创建时间
  17552. type: string
  17553. creatorid:
  17554. description: 创建人
  17555. type: integer
  17556. deliverygoodsid:
  17557. description: 品种ID
  17558. type: integer
  17559. deliverygoodsname:
  17560. description: 交割商品名称
  17561. type: string
  17562. factoryitemjson:
  17563. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17564. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17565. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17566. 逗号分隔'
  17567. type: string
  17568. isvalid:
  17569. description: 是否有效 - 0:无效 1:有效
  17570. type: integer
  17571. minivalue:
  17572. description: 最小变动值
  17573. type: integer
  17574. minivaluedp:
  17575. description: 最小变动值小数位
  17576. type: integer
  17577. realminivalue:
  17578. description: 实际最小变动值
  17579. type: integer
  17580. realminivaluedp:
  17581. description: 实际最小变动值小数位
  17582. type: integer
  17583. remark:
  17584. description: 备注
  17585. type: string
  17586. unitid:
  17587. description: 单位ID
  17588. type: integer
  17589. unitname:
  17590. description: 单位
  17591. type: string
  17592. updatetime:
  17593. description: 更新时间
  17594. type: string
  17595. updatorid:
  17596. description: 更新人
  17597. type: integer
  17598. wrsstatus:
  17599. description: 状态 - 作废 - 0:未激活 1:正常
  17600. type: integer
  17601. wrstandardcode:
  17602. description: 现货品类代码
  17603. type: string
  17604. wrstandardid:
  17605. description: 现货品类ID(SEQ_WRSTANDARD)
  17606. type: integer
  17607. wrstandardname:
  17608. description: 现货品类名称
  17609. type: string
  17610. required:
  17611. - wrstandardid
  17612. type: object
  17613. models.WRTradeBargainApply:
  17614. properties:
  17615. accountid:
  17616. description: 摘牌资金账号
  17617. type: integer
  17618. applyprice:
  17619. description: 申请价格(议价价格)
  17620. type: string
  17621. applyqty:
  17622. description: 摘牌数量(议价数量)
  17623. type: number
  17624. applyremark:
  17625. description: 申请备注
  17626. type: string
  17627. applystatus:
  17628. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17629. type: integer
  17630. applytime:
  17631. description: 申请时间(议价时间)
  17632. type: string
  17633. begindate:
  17634. description: 开始交易日(yyyymmdd)
  17635. type: string
  17636. buyorsell:
  17637. description: 买卖(挂牌类型) - 0:买 1:卖
  17638. type: integer
  17639. confirmremark:
  17640. description: 确认备注
  17641. type: string
  17642. confirmtime:
  17643. description: 确认时间
  17644. type: string
  17645. confirmuserid:
  17646. description: 确认人
  17647. type: integer
  17648. deliverygoodscode:
  17649. description: 品种代码
  17650. type: string
  17651. deliverygoodsid:
  17652. description: 品种ID
  17653. type: integer
  17654. deliverygoodsname:
  17655. description: 品种名称
  17656. type: string
  17657. deliverymonth:
  17658. description: 交收月
  17659. type: string
  17660. enddate:
  17661. description: 结束交易日(yyyymmdd)
  17662. type: string
  17663. enumdicname:
  17664. description: 单位名称
  17665. type: string
  17666. fixedprice:
  17667. description: 期初均价
  17668. type: number
  17669. handlestatus:
  17670. description: 处理状态
  17671. type: integer
  17672. marginvalue:
  17673. description: 期初均价
  17674. type: number
  17675. marketid:
  17676. description: 市场ID
  17677. type: integer
  17678. matchaccountid:
  17679. description: 挂牌方资金账号
  17680. type: integer
  17681. matchuserid:
  17682. description: 挂牌方用户id
  17683. type: integer
  17684. matchusername:
  17685. description: 挂牌方用户名称(已脱敏)
  17686. type: string
  17687. minivalue:
  17688. description: 现货商品最小变动值
  17689. type: integer
  17690. optioncompare:
  17691. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17692. type: string
  17693. orderqty:
  17694. description: 挂牌数量
  17695. type: integer
  17696. refprice:
  17697. description: 参考价格
  17698. type: string
  17699. retcode:
  17700. description: 委托返回代码
  17701. type: integer
  17702. templatename:
  17703. description: 履约方式(履约模板名称)
  17704. type: string
  17705. tradedate:
  17706. description: 交易日(yyyyMMdd)
  17707. type: string
  17708. userid:
  17709. description: 摘牌人用户ID(议价人ID)
  17710. type: integer
  17711. username:
  17712. description: 议价人名字(已脱敏)
  17713. type: string
  17714. validtime:
  17715. description: 有效期限
  17716. type: string
  17717. warehouseid:
  17718. description: 仓库ID
  17719. type: integer
  17720. warehousename:
  17721. description: 仓库名称
  17722. type: string
  17723. wrbargainid:
  17724. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17725. type: string
  17726. wrfactortypeid:
  17727. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17728. type: string
  17729. wrfactortypename:
  17730. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17731. type: string
  17732. wrstandardcode:
  17733. description: 现货商品代码
  17734. type: string
  17735. wrstandardid:
  17736. description: 现货商品ID
  17737. type: integer
  17738. wrstandardname:
  17739. description: 商品名称
  17740. type: string
  17741. wrtradeorderid:
  17742. description: 关联委托单ID
  17743. type: string
  17744. wrtypename:
  17745. description: 商品
  17746. type: string
  17747. type: object
  17748. models.Warehouseinfo:
  17749. properties:
  17750. address:
  17751. description: 详细地址
  17752. type: string
  17753. areauserid:
  17754. description: 所属机构
  17755. type: integer
  17756. autoid:
  17757. description: 自增ID
  17758. type: integer
  17759. cityid:
  17760. description: 市
  17761. type: integer
  17762. contactname:
  17763. description: 联系人
  17764. type: string
  17765. contactnum:
  17766. description: 联系电话
  17767. type: string
  17768. countryid:
  17769. description: 国家
  17770. type: integer
  17771. createtime:
  17772. description: 创建时间
  17773. type: string
  17774. districtid:
  17775. description: 区
  17776. type: integer
  17777. hasvideo:
  17778. description: 是否有视频 - 0:无 1:有
  17779. type: integer
  17780. provinceid:
  17781. description: 省
  17782. type: integer
  17783. remark:
  17784. description: 审核备注
  17785. type: string
  17786. videourl:
  17787. description: 视频地址
  17788. type: string
  17789. warehousecode:
  17790. description: 仓库代码
  17791. type: string
  17792. warehousename:
  17793. description: 仓库名称
  17794. type: string
  17795. warehousestatus:
  17796. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17797. type: integer
  17798. warehousetype:
  17799. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17800. type: integer
  17801. required:
  17802. - autoid
  17803. - warehousecode
  17804. type: object
  17805. models.WrAverageTradePrice:
  17806. properties:
  17807. averageprice:
  17808. description: 期初均价
  17809. type: number
  17810. tradedate:
  17811. description: 交易日yyyymm
  17812. type: string
  17813. type: object
  17814. models.WrBrandAndYears:
  17815. properties:
  17816. brandlst:
  17817. description: 品牌列表
  17818. items:
  17819. $ref: '#/definitions/models.DgFactoryItem'
  17820. type: array
  17821. yearslst:
  17822. description: 年份列表
  17823. items:
  17824. $ref: '#/definitions/models.DgFactoryItem'
  17825. type: array
  17826. type: object
  17827. models.WrBsGoodsInfo:
  17828. properties:
  17829. buyorsell:
  17830. description: 买卖方向 0-买 1-卖
  17831. type: integer
  17832. goodsid:
  17833. description: 交易合约ID
  17834. type: integer
  17835. lstitem:
  17836. description: 商品信息项
  17837. items:
  17838. $ref: '#/definitions/models.WrTypeItem'
  17839. type: array
  17840. lststep:
  17841. description: 履约规则
  17842. items:
  17843. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17844. type: array
  17845. type: object
  17846. models.WrBuybackDetail:
  17847. properties:
  17848. buybackamount:
  17849. description: 回购金额
  17850. type: number
  17851. buybackqty:
  17852. description: 回购数量
  17853. type: number
  17854. buybackreleasemargin:
  17855. description: 回购释放保证金
  17856. type: number
  17857. buybacktime:
  17858. description: 回购时间
  17859. type: string
  17860. errordesc:
  17861. description: 错误描述
  17862. type: string
  17863. handlestatus:
  17864. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17865. type: integer
  17866. relatedwrid:
  17867. description: 关联仓单ID
  17868. type: integer
  17869. scfcontractid:
  17870. description: SCF合同ID
  17871. type: string
  17872. scfwrbuybackid:
  17873. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17874. type: integer
  17875. tradedate:
  17876. description: 交易日(yyyyMMdd)
  17877. type: string
  17878. type: object
  17879. models.WrClientAdSpaceConfig:
  17880. properties:
  17881. adspaceid:
  17882. description: 广告位ID
  17883. type: integer
  17884. adspacename:
  17885. description: 广告位名称
  17886. type: string
  17887. adspacetype:
  17888. description: 广告位类型 - 1:固定广告位
  17889. type: integer
  17890. areauserid:
  17891. description: 所属机构ID
  17892. type: integer
  17893. createdate:
  17894. description: 创建时间
  17895. type: string
  17896. imagepath:
  17897. description: 图片
  17898. type: string
  17899. modifierid:
  17900. description: 操作人
  17901. type: integer
  17902. recsize:
  17903. description: 推荐尺寸
  17904. type: string
  17905. title:
  17906. description: 标题
  17907. type: string
  17908. updatedate:
  17909. description: 更新时间
  17910. type: string
  17911. urlcontent:
  17912. description: 链接(地址\商品ID\功能菜单Key\appid)
  17913. type: string
  17914. urltype:
  17915. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17916. type: integer
  17917. type: object
  17918. models.WrDeliveryAvalidHoldLB:
  17919. properties:
  17920. accountid:
  17921. description: 资金账号
  17922. type: integer
  17923. avalidqty:
  17924. description: 数量(可点选数量)
  17925. type: number
  17926. deliverygoodsid:
  17927. description: 品种id
  17928. type: integer
  17929. enumdicname:
  17930. description: 单位名称
  17931. type: string
  17932. goodsid:
  17933. description: x合约商品id
  17934. type: integer
  17935. ladingbillid:
  17936. description: 提单id
  17937. type: string
  17938. pgoodscode:
  17939. description: p商品代码(点价合约)
  17940. type: string
  17941. pgoodsid:
  17942. description: p商品id(点价合约)
  17943. type: integer
  17944. pgoodsname:
  17945. description: p商品名称(点价合约)
  17946. type: string
  17947. pricemove:
  17948. description: 升贴水
  17949. type: number
  17950. subnum:
  17951. description: 提单子id
  17952. type: integer
  17953. userid:
  17954. description: 用户id
  17955. type: integer
  17956. username:
  17957. description: 仓单持有人
  17958. type: string
  17959. warehousecode:
  17960. description: 仓库代码
  17961. type: string
  17962. warehouseid:
  17963. description: 仓库id
  17964. type: integer
  17965. warehousename:
  17966. description: 仓库名称
  17967. type: string
  17968. wrfactortypeid:
  17969. description: 仓单要素id
  17970. type: string
  17971. wrstandardcode:
  17972. description: 品代码
  17973. type: string
  17974. wrstandardid:
  17975. description: 品类d
  17976. type: integer
  17977. wrstandardname:
  17978. description: 品类名称
  17979. type: string
  17980. wrtypename:
  17981. description: 商品
  17982. type: string
  17983. xgoodscode:
  17984. description: x合约代码
  17985. type: string
  17986. xgoodsname:
  17987. description: x合约名称
  17988. type: string
  17989. type: object
  17990. models.WrDeliveryDetail:
  17991. properties:
  17992. accountid:
  17993. description: 账号ID
  17994. type: integer
  17995. averageprice:
  17996. description: 期初均价
  17997. type: number
  17998. begindate:
  17999. description: 开始交易日(yyyymmdd)
  18000. type: string
  18001. buyorsell:
  18002. description: 方向 - 0:买 1:卖
  18003. type: integer
  18004. deliveryamount:
  18005. description: 货款金额(X总货款+P总货款)
  18006. type: number
  18007. deliveryid:
  18008. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18009. type: string
  18010. deliveryorderid:
  18011. description: 申报单号
  18012. type: string
  18013. deliverypricemove:
  18014. description: 升贴水(升贴水总额)
  18015. type: number
  18016. deliveryqty:
  18017. description: 交收数量(点选数量)
  18018. type: number
  18019. deliverystatus:
  18020. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18021. type: integer
  18022. deliverytime:
  18023. description: 交割时间
  18024. type: string
  18025. deliverytotalamount:
  18026. description: 交收金额
  18027. type: number
  18028. enddate:
  18029. description: 结束交易日(yyyymmdd)
  18030. type: string
  18031. enumdicname:
  18032. description: 单位名称
  18033. type: string
  18034. matchaccountid:
  18035. description: 对手账号ID
  18036. type: integer
  18037. matchusername:
  18038. description: 对手方名称(仓单持有人)
  18039. type: string
  18040. p1goodsremainamount:
  18041. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18042. type: number
  18043. pdeliverycloseqty:
  18044. description: p合约平仓数量
  18045. type: number
  18046. pdeliveryprice:
  18047. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18048. type: number
  18049. pgoodscode:
  18050. description: 商品代码
  18051. type: string
  18052. pgoodsid:
  18053. description: p点选合约id
  18054. type: integer
  18055. pgoodsname:
  18056. description: 商品名称
  18057. type: string
  18058. ppricemode:
  18059. description: 点价价格方式 - 1:商品价 2:固定值
  18060. type: integer
  18061. tradedate:
  18062. description: 交易日(yyyymmdd)
  18063. type: string
  18064. userid:
  18065. description: 用户id
  18066. type: integer
  18067. username:
  18068. description: 用户名称
  18069. type: string
  18070. warehousename:
  18071. description: 仓库名称
  18072. type: string
  18073. wrfactortypeid:
  18074. description: 仓单要素类型ID
  18075. type: string
  18076. wrtypename:
  18077. description: 商品
  18078. type: string
  18079. xdeliverycloseqty:
  18080. description: 合约数量
  18081. type: number
  18082. xgoodsamount:
  18083. description: 期初均价
  18084. type: number
  18085. xgoodscode:
  18086. description: 商品代码
  18087. type: string
  18088. xgoodsid:
  18089. description: x交易合约ID
  18090. type: integer
  18091. xgoodsname:
  18092. description: 商品名称
  18093. type: string
  18094. type: object
  18095. models.WrDeliveryGoodsSection:
  18096. properties:
  18097. dglst:
  18098. description: 板块商品列表
  18099. items:
  18100. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18101. type: array
  18102. imagepath:
  18103. description: 图片地址
  18104. type: string
  18105. orderindex:
  18106. description: 排序
  18107. type: integer
  18108. sectionid:
  18109. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18110. = 1的版块1 - 云融指数
  18111. type: integer
  18112. sectionname:
  18113. description: 版块名称
  18114. type: string
  18115. sectiontype:
  18116. description: 版块类型 - 1:指数版块 2:普通版块
  18117. type: integer
  18118. type: object
  18119. models.WrDeliveryGoodsSectionConfig:
  18120. properties:
  18121. deliverygoodscode:
  18122. description: 现货商品代码
  18123. type: string
  18124. deliverygoodsid:
  18125. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18126. type: integer
  18127. deliverygoodsname:
  18128. description: 现货商品名称
  18129. type: string
  18130. orderindex:
  18131. description: 排序
  18132. type: integer
  18133. type: object
  18134. models.WrDraftUserInfo:
  18135. properties:
  18136. address:
  18137. description: 地址
  18138. type: string
  18139. attachment1:
  18140. description: 附件1
  18141. type: string
  18142. attachment2:
  18143. description: 附件2
  18144. type: string
  18145. attachment3:
  18146. description: 附件3
  18147. type: string
  18148. attachment4:
  18149. description: 附件4
  18150. type: string
  18151. attachment5:
  18152. description: 附件5
  18153. type: string
  18154. bankaccount:
  18155. description: 银行帐号 (加密存储)
  18156. type: string
  18157. bankaccountname:
  18158. description: 收款人名称
  18159. type: string
  18160. bankcardfrontphotourl:
  18161. description: 银行卡正面照地址
  18162. type: string
  18163. bankid:
  18164. description: 银行编码
  18165. type: string
  18166. bankname:
  18167. description: 银行名称
  18168. type: string
  18169. birthday:
  18170. description: 生日(个人:年月日)
  18171. type: string
  18172. biznature:
  18173. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18174. type: integer
  18175. bizscope:
  18176. description: 企业经营范围(企业)
  18177. type: string
  18178. biztype:
  18179. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18180. type: integer
  18181. cardbackphotourl:
  18182. description: 证件背面图片地址
  18183. type: string
  18184. cardfrontphotourl:
  18185. description: 证件正面图片地址
  18186. type: string
  18187. cardnum:
  18188. description: 证件号码(加密存储)
  18189. type: string
  18190. cardtypeid:
  18191. description: 证件类型ID
  18192. type: integer
  18193. cityid:
  18194. description: 市
  18195. type: integer
  18196. company:
  18197. description: 公司(个人)
  18198. type: string
  18199. contactcardbackphotourl:
  18200. description: 联系人证件背面图片地址
  18201. type: string
  18202. contactcardfrontphotourl:
  18203. description: 联系人证件正面图片地址
  18204. type: string
  18205. contactname:
  18206. description: 联系人
  18207. type: string
  18208. countryid:
  18209. description: 国家
  18210. type: integer
  18211. createtime:
  18212. description: 创建时间
  18213. type: string
  18214. creatorid:
  18215. description: 创建人
  18216. type: integer
  18217. creditquota:
  18218. description: 授信额度(金瑞)
  18219. type: number
  18220. customername:
  18221. description: 客户名称(企业名称)
  18222. type: string
  18223. districtid:
  18224. description: 地区
  18225. type: integer
  18226. email:
  18227. description: 邮件(加密存储)
  18228. type: string
  18229. fax:
  18230. description: 传真(加密存储)
  18231. type: string
  18232. halfbodyphotourl:
  18233. description: 半身照地址
  18234. type: string
  18235. hasencrypt:
  18236. description: 数据是否已加密 - 0:未加密 1:已加密
  18237. type: integer
  18238. headurl:
  18239. description: 头像地址
  18240. type: string
  18241. legalcardbackphotourl:
  18242. description: 法人身份证背面照地址
  18243. type: string
  18244. legalcardfrontphotourl:
  18245. description: 法人身份证正面照地址
  18246. type: string
  18247. legalpersonname:
  18248. description: 法人姓名(企业)
  18249. type: string
  18250. mobile:
  18251. description: 手机号码(加密存储)
  18252. type: string
  18253. mobile2:
  18254. description: 手机号码[明文-尚志]
  18255. type: string
  18256. modifierid:
  18257. description: 修改人
  18258. type: integer
  18259. modifiertime:
  18260. description: 修改时间
  18261. type: string
  18262. needinvoice:
  18263. description: 是否需要发票 - 0:不需要 1:需要
  18264. type: integer
  18265. nickname:
  18266. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18267. type: string
  18268. openmode:
  18269. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18270. 6:苹果手机端注册 7:PC交易端注册"
  18271. type: integer
  18272. otherurl:
  18273. description: 其它图片地址[使用分号分隔]
  18274. type: string
  18275. postalcode:
  18276. description: 邮政编码
  18277. type: string
  18278. provinceid:
  18279. description: 省
  18280. type: integer
  18281. proxystatementurl:
  18282. description: 授权委托书
  18283. type: string
  18284. qq:
  18285. description: QQ(加密存储
  18286. type: string
  18287. remark:
  18288. description: 备注
  18289. type: string
  18290. sex:
  18291. description: '用户性别 0: 女 1: 男'
  18292. type: integer
  18293. signpdfurl:
  18294. description: 签约pdf文件
  18295. type: string
  18296. taxpayernum:
  18297. description: 纳税人识别号
  18298. type: string
  18299. telphone:
  18300. description: 联系电话(加密存储)
  18301. type: string
  18302. userid:
  18303. description: 用户ID
  18304. type: integer
  18305. userinfotype:
  18306. description: 用户信息类型 - 1:个人 2:企业
  18307. type: integer
  18308. userstatus:
  18309. description: 用户状态 - 1:正常 2:注销
  18310. type: integer
  18311. usertype:
  18312. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18313. type: integer
  18314. wechat:
  18315. description: 微信(加密存储)
  18316. type: string
  18317. wskhinfo:
  18318. description: 开户申请信息(JSON)
  18319. type: string
  18320. type: object
  18321. models.WrFAProductDetail:
  18322. properties:
  18323. accountid:
  18324. description: 资金账号
  18325. type: integer
  18326. areauserid:
  18327. description: 金融机构ID
  18328. type: integer
  18329. financingdays:
  18330. description: 天数(天)
  18331. type: integer
  18332. interestminlen:
  18333. description: 最小起息天数
  18334. type: integer
  18335. interestrate:
  18336. description: 利率
  18337. type: number
  18338. interestratemode:
  18339. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18340. type: integer
  18341. interestsettlemode:
  18342. description: 结息方式 - 1:按日结息 3:按月结息
  18343. type: integer
  18344. interestsettlevalue:
  18345. description: 结息方式值
  18346. type: integer
  18347. isautoloan:
  18348. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18349. type: integer
  18350. loantag:
  18351. description: '放款标识: "放款快" 或者为空'
  18352. type: string
  18353. marginratio:
  18354. description: 保证金比率质押率 - [仓单质押]
  18355. type: number
  18356. productdetailid:
  18357. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18358. type: integer
  18359. productid:
  18360. description: 金融产品ID
  18361. type: integer
  18362. productname:
  18363. description: 产品名称
  18364. type: string
  18365. updatetime:
  18366. description: 更新时间
  18367. type: string
  18368. username:
  18369. description: 融出方
  18370. type: string
  18371. type: object
  18372. models.WrFactorTypeInfo:
  18373. properties:
  18374. deliverygoodscode:
  18375. description: 品种代码
  18376. type: string
  18377. deliverygoodsname:
  18378. description: 品种名称
  18379. type: string
  18380. dgfactoryitemid:
  18381. description: 选择项id
  18382. type: integer
  18383. dgfactoryitemtypeid:
  18384. description: 要素选择项ID (1-仓库 2-品牌)
  18385. type: integer
  18386. dgfactoryitemvalue:
  18387. description: 要素项值
  18388. type: string
  18389. itemtypename:
  18390. description: 要素项名称
  18391. type: string
  18392. optioncompare:
  18393. description: 选择比较串
  18394. type: string
  18395. warehouseid:
  18396. description: 仓库id
  18397. type: integer
  18398. wrfactortypeid:
  18399. description: 仓单要素ID
  18400. type: string
  18401. wrfactortypename:
  18402. description: 要素名称
  18403. type: string
  18404. wrfactortypename2:
  18405. description: 要素名称(不含仓库)
  18406. type: string
  18407. wrstandardcode:
  18408. description: 品类代码
  18409. type: string
  18410. wrstandardid:
  18411. description: 品类id
  18412. type: integer
  18413. wrstandardname:
  18414. description: 品类名称
  18415. type: string
  18416. type: object
  18417. models.WrFilterItem:
  18418. properties:
  18419. itemcode:
  18420. description: 代码
  18421. type: string
  18422. itemid:
  18423. description: 项id
  18424. type: integer
  18425. itemname:
  18426. description: 名称
  18427. type: string
  18428. itemtype:
  18429. description: 类型 1-品种 2-品类(商品) 3-仓库
  18430. type: integer
  18431. type: object
  18432. models.WrFinanceBuyApply:
  18433. properties:
  18434. applydate:
  18435. description: 申请时间
  18436. type: string
  18437. applystatus:
  18438. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18439. type: integer
  18440. applyuserid:
  18441. description: 申请人
  18442. type: integer
  18443. auditdate:
  18444. description: 审核时间
  18445. type: string
  18446. auditremark:
  18447. description: 审核备注
  18448. type: string
  18449. audituserid:
  18450. description: 审核人
  18451. type: integer
  18452. buyaccountid:
  18453. description: 买方资金账号
  18454. type: integer
  18455. buyorsell:
  18456. description: 买卖 - 0:买 1:卖
  18457. type: integer
  18458. buyuserid:
  18459. description: 买方用户ID
  18460. type: integer
  18461. buyusername:
  18462. description: 买方名称
  18463. type: string
  18464. buywrtradeorderid:
  18465. description: 融资方买委托单ID
  18466. type: string
  18467. deliverygoodscode:
  18468. description: 品种代码
  18469. type: string
  18470. deliverygoodsid:
  18471. description: 品种ID
  18472. type: integer
  18473. deliverygoodsname:
  18474. description: 品种名称
  18475. type: string
  18476. deliverymonth:
  18477. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18478. type: string
  18479. enumdicname:
  18480. description: 单位名称
  18481. type: string
  18482. financeaccountid:
  18483. description: 融资方资金帐户ID
  18484. type: integer
  18485. financeapplyid:
  18486. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18487. type: string
  18488. financeareauserid:
  18489. description: 融资方用户ID
  18490. type: string
  18491. financename:
  18492. description: 融出方名称
  18493. type: string
  18494. financetype:
  18495. description: 融资类型 1-融资回购
  18496. type: integer
  18497. financingdays:
  18498. description: 天数(天)
  18499. type: integer
  18500. freezebuymargin:
  18501. description: 冻结融资保证金(买方)
  18502. type: number
  18503. handleremark:
  18504. description: 处理备注
  18505. type: string
  18506. handlestatus:
  18507. description: 处理状态
  18508. type: integer
  18509. interestminlen:
  18510. description: 最小起息天数
  18511. type: integer
  18512. interestrate:
  18513. description: 利率
  18514. type: number
  18515. interestratemode:
  18516. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18517. type: integer
  18518. interestsettlemode:
  18519. description: 结息方式 - 1:按日结息 3:按月结息
  18520. type: integer
  18521. interestsettlevalue:
  18522. description: 结息方式值
  18523. type: integer
  18524. isautoloan:
  18525. description: 是否自动放款 - 0:手动 1:自动
  18526. type: integer
  18527. marginratio:
  18528. description: 保证金比率质押率 - [仓单质押]
  18529. type: number
  18530. marketid:
  18531. description: 市场ID
  18532. type: integer
  18533. minivalue:
  18534. description: 现货商品最小变动值
  18535. type: integer
  18536. optioncompare:
  18537. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18538. type: string
  18539. orderqty:
  18540. description: 委托数量(商品数量)
  18541. type: number
  18542. productdetailid:
  18543. description: 产品组合ID
  18544. type: integer
  18545. productid:
  18546. description: 金融产品ID
  18547. type: integer
  18548. productname:
  18549. description: 产品名称
  18550. type: string
  18551. remark:
  18552. description: 备注
  18553. type: string
  18554. scfcontractid:
  18555. description: 仓单回购合同ID
  18556. type: string
  18557. sellaccountid:
  18558. description: 卖方资金账号
  18559. type: integer
  18560. selluserid:
  18561. description: 卖方用户ID
  18562. type: integer
  18563. sellwrtradeorderid:
  18564. description: 卖方委托单ID
  18565. type: string
  18566. tradeamount:
  18567. description: 成交金额(借款金额)
  18568. type: number
  18569. tradedate:
  18570. description: 交易日(yyyyMMdd)
  18571. type: string
  18572. tradeprice:
  18573. description: 成交价格
  18574. type: number
  18575. warehouseid:
  18576. description: 仓库ID
  18577. type: integer
  18578. warehousename:
  18579. description: 仓库名称
  18580. type: string
  18581. wrfactortypeid:
  18582. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18583. type: string
  18584. wrfactortypename:
  18585. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18586. type: string
  18587. wrpricetype:
  18588. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18589. type: integer
  18590. wrstandardcode:
  18591. description: 现货商品代码
  18592. type: string
  18593. wrstandardid:
  18594. description: 现货商品ID
  18595. type: integer
  18596. wrstandardname:
  18597. description: 商品名称
  18598. type: string
  18599. wrtypename:
  18600. description: 商品
  18601. type: string
  18602. type: object
  18603. models.WrFriendApply:
  18604. properties:
  18605. applicantid:
  18606. description: 申请人
  18607. type: integer
  18608. applyname:
  18609. description: 申请人名称
  18610. type: string
  18611. applysrc:
  18612. description: 申请来源 - 1:管理端 2:终端
  18613. type: integer
  18614. applystatus:
  18615. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18616. type: integer
  18617. applytime:
  18618. description: 申请时间
  18619. type: string
  18620. auditname:
  18621. description: 审核人名称
  18622. type: string
  18623. auditorid:
  18624. description: 审核人
  18625. type: integer
  18626. auditremark:
  18627. description: 审核备注
  18628. type: string
  18629. auditsrc:
  18630. description: 审核来源 - 1:管理端 2:终端
  18631. type: integer
  18632. audittime:
  18633. description: 审核时间
  18634. type: string
  18635. friendapplyid:
  18636. description: 申请ID(SEQ_FRIENDAPPLY)
  18637. type: string
  18638. friendname:
  18639. description: 好友名字(已脱敏)
  18640. type: string
  18641. frienduserid:
  18642. description: 好友用户ID
  18643. type: string
  18644. remark:
  18645. description: 备注
  18646. type: string
  18647. userid:
  18648. description: 申请人用户ID
  18649. type: integer
  18650. type: object
  18651. models.WrFtDeliveryGoods:
  18652. properties:
  18653. deliverygoodscode:
  18654. description: 品种代码
  18655. type: string
  18656. deliverygoodsid:
  18657. description: 品种ID
  18658. type: integer
  18659. deliverygoodsname:
  18660. description: 品种名称
  18661. type: string
  18662. wdlst:
  18663. description: 商品列表
  18664. items:
  18665. $ref: '#/definitions/models.WrFtWrstandard'
  18666. type: array
  18667. type: object
  18668. models.WrFtWrstandard:
  18669. properties:
  18670. enumdicname:
  18671. description: 单位名称
  18672. type: string
  18673. minivalue:
  18674. description: 最小变动值
  18675. type: integer
  18676. wrstandardcode:
  18677. description: 现货商品代码
  18678. type: string
  18679. wrstandardid:
  18680. description: 现货商品ID
  18681. type: integer
  18682. wrstandardname:
  18683. description: 商品名称
  18684. type: string
  18685. type: object
  18686. models.WrGoodsInfo:
  18687. properties:
  18688. haswr:
  18689. description: 0:仓单预售 1:仓单贸易
  18690. type: integer
  18691. lstitem:
  18692. description: 商品信息项
  18693. items:
  18694. $ref: '#/definitions/models.WrTypeItem'
  18695. type: array
  18696. lststep:
  18697. description: 履约规则
  18698. items:
  18699. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18700. type: array
  18701. marketid:
  18702. description: 市场id
  18703. type: integer
  18704. type: object
  18705. models.WrGoodsPerformanceStep:
  18706. properties:
  18707. autoid:
  18708. description: AutoID
  18709. type: integer
  18710. isauto:
  18711. description: 是否自动 - 0:不自动 1:自动
  18712. type: integer
  18713. remark:
  18714. description: 备注
  18715. type: string
  18716. stepdate:
  18717. description: 天数信息(T+N)
  18718. type: string
  18719. stepdays:
  18720. description: 距离上一步天数
  18721. type: integer
  18722. stepindex:
  18723. description: 步骤序号
  18724. type: integer
  18725. stepinfo:
  18726. description: 步骤信息(步骤名称+步骤值)
  18727. type: string
  18728. steptypeid:
  18729. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18730. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18731. type: integer
  18732. steptypename:
  18733. description: 步骤名称
  18734. type: string
  18735. stepvalue:
  18736. description: 期初均价
  18737. type: number
  18738. templateid:
  18739. description: 履约计划模板ID
  18740. type: integer
  18741. type: object
  18742. models.WrHoldLB:
  18743. properties:
  18744. accountid:
  18745. description: 持有人帐户ID
  18746. type: integer
  18747. bannerpicurl:
  18748. description: Banner图
  18749. type: string
  18750. createtime:
  18751. description: 创建时间(过户时间)
  18752. type: string
  18753. deliverygoodscode:
  18754. description: 品种代码
  18755. type: string
  18756. deliverygoodsid:
  18757. description: 品种ID
  18758. type: integer
  18759. deliverygoodsname:
  18760. description: 品种名称
  18761. type: string
  18762. enableqty:
  18763. description: 可用数量
  18764. type: number
  18765. enumdicname:
  18766. description: 单位名称
  18767. type: string
  18768. freezerqty:
  18769. description: 冻结数量
  18770. type: number
  18771. ladingbillid:
  18772. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18773. type: string
  18774. minivalue:
  18775. description: 现货商品最小变动值
  18776. type: integer
  18777. optioncompare:
  18778. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18779. type: string
  18780. parentsubnum:
  18781. description: 拆分父子单号
  18782. type: integer
  18783. pledgeqty:
  18784. description: 质押数量
  18785. type: number
  18786. qty:
  18787. description: 数量
  18788. type: number
  18789. subnum:
  18790. description: 提单子单号
  18791. type: integer
  18792. thumurls:
  18793. description: 缩略图
  18794. type: string
  18795. tradedate:
  18796. description: 交易日(yyyyMMdd)
  18797. type: string
  18798. userid:
  18799. description: 持有人ID
  18800. type: integer
  18801. warehouseid:
  18802. description: 仓库ID
  18803. type: integer
  18804. warehousename:
  18805. description: 仓库名称
  18806. type: string
  18807. wrfactortypeid:
  18808. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18809. type: string
  18810. wrfactortypename:
  18811. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18812. type: string
  18813. wrholdeno:
  18814. description: 仓单编号
  18815. type: string
  18816. wrid:
  18817. description: 仓单变更ID
  18818. type: string
  18819. wrstandardcode:
  18820. description: 现货商品代码
  18821. type: string
  18822. wrstandardid:
  18823. description: 现货商品ID
  18824. type: integer
  18825. wrstandardname:
  18826. description: 商品名称
  18827. type: string
  18828. wrtypename:
  18829. description: 商品
  18830. type: string
  18831. type: object
  18832. models.WrMarketTradeConfig:
  18833. properties:
  18834. basisdownratio:
  18835. description: 浮动价基差下限比例(仓单贸易)
  18836. type: number
  18837. basisupratio:
  18838. description: 浮动价基差上限比例(仓单贸易)
  18839. type: number
  18840. buychargealgorithm:
  18841. description: 买方手续费收取方式 1:比率 2:固定
  18842. type: integer
  18843. buychargealgorithm2:
  18844. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18845. type: integer
  18846. buychargealgorithmvalue:
  18847. description: 买方手续费设置值(交易所部分)
  18848. type: number
  18849. buychargealgorithmvalue2:
  18850. description: 买方手续费设置值(会员部分)
  18851. type: number
  18852. buychargealgorithmvalue3:
  18853. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18854. type: number
  18855. buychargealgorithmvalue4:
  18856. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18857. type: number
  18858. buyfirstmarginalgorithm:
  18859. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18860. type: integer
  18861. buyfirstmarginvalue:
  18862. description: 买方出价保证金设置值 - [竞拍]
  18863. type: number
  18864. buymarginalgorithm:
  18865. description: 买方保证金方式 - 1:比率 2:固定
  18866. type: integer
  18867. buymarginvalue:
  18868. description: 买方保证金设置值
  18869. type: number
  18870. buyreleaseratio:
  18871. description: 买方释放比率[2:分步履约]
  18872. type: number
  18873. executemode:
  18874. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18875. type: integer
  18876. executeside:
  18877. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18878. type: integer
  18879. failedchargealgorithm:
  18880. description: 流拍手续费收取方式 1:比率 2:固定
  18881. type: integer
  18882. failedchargevalue:
  18883. description: 流拍手续费设置值
  18884. type: number
  18885. failedchargevalue2:
  18886. description: 流拍卖方手续费设置值
  18887. type: number
  18888. holddays:
  18889. description: 合同期限[2:分步履约]
  18890. type: integer
  18891. listingmode:
  18892. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18893. type: integer
  18894. marketid:
  18895. description: 市场ID-仓单贸易、竞拍、预售
  18896. type: integer
  18897. minqty:
  18898. description: 最小执行量[2:分步履约]
  18899. type: number
  18900. modifierid:
  18901. description: 修改人
  18902. type: integer
  18903. nowrquotaflag:
  18904. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18905. type: integer
  18906. performancetempid:
  18907. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18908. 立即执行(-1)
  18909. type: integer
  18910. performancetempid2:
  18911. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18912. 立即执行
  18913. type: integer
  18914. performancetempid2s:
  18915. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18916. - 履约方式: 立即执行
  18917. type: string
  18918. performancetempids:
  18919. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18920. - 履约方式: 立即执行(-1)
  18921. type: string
  18922. performanceway:
  18923. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18924. type: integer
  18925. sellchargealgorithm:
  18926. description: 卖方手续费收取方式 1:比率 2:固定
  18927. type: integer
  18928. sellchargealgorithm2:
  18929. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18930. type: integer
  18931. sellchargealgorithmvalue:
  18932. description: 卖方手续费设置值(交易所部分)
  18933. type: number
  18934. sellchargealgorithmvalue2:
  18935. description: 卖方手续费设置值(会员部分)
  18936. type: number
  18937. sellchargealgorithmvalue3:
  18938. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18939. type: number
  18940. sellchargealgorithmvalue4:
  18941. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18942. type: number
  18943. sellmarginalgorithm:
  18944. description: 卖方保证金方式 - 1:比率 2:固定
  18945. type: integer
  18946. sellmarginvalue:
  18947. description: 卖方保证金设置值
  18948. type: number
  18949. sellmarginvalue2:
  18950. description: 卖方保证金设置值(无仓单)
  18951. type: number
  18952. sellreleaseratio:
  18953. description: 卖方释放比率[2:分步履约]
  18954. type: number
  18955. updatetime:
  18956. description: 更新时间
  18957. type: string
  18958. type: object
  18959. models.WrOrderDetail:
  18960. properties:
  18961. accountid:
  18962. description: 交易账号(资金账号)
  18963. type: integer
  18964. allfriendsflag:
  18965. description: 是否全好友可见 - 0:否 1:是
  18966. type: integer
  18967. amount:
  18968. description: 期初均价
  18969. type: number
  18970. bannerpicurl:
  18971. description: Banner图
  18972. type: string
  18973. begindate:
  18974. description: 开始交易日(yyyymmdd)
  18975. type: string
  18976. buyorsell:
  18977. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18978. type: integer
  18979. canbargain:
  18980. description: 是否可议价 - 0:不可 1:可
  18981. type: integer
  18982. cancelqty:
  18983. description: 撤销数量
  18984. type: number
  18985. canpart:
  18986. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18987. type: integer
  18988. delistminqty:
  18989. description: 起摘数量
  18990. type: integer
  18991. deliverygoodscode:
  18992. description: 品种代码
  18993. type: string
  18994. deliverygoodsid:
  18995. description: 品种ID
  18996. type: integer
  18997. deliverygoodsname:
  18998. description: 品种名称
  18999. type: string
  19000. deliverymonth:
  19001. description: 交收月
  19002. type: string
  19003. enddate:
  19004. description: 结束交易日(yyyymmdd)
  19005. type: string
  19006. enumdicname:
  19007. description: 单位名称
  19008. type: string
  19009. fixedprice:
  19010. description: 固定价格 - [挂牌]
  19011. type: number
  19012. freezecharge:
  19013. description: 期初均价
  19014. type: number
  19015. freezemargin:
  19016. description: 期初均价
  19017. type: number
  19018. futupricemove:
  19019. description: 期货升贴水
  19020. type: number
  19021. futushow:
  19022. description: 期货合约/升贴水
  19023. type: string
  19024. goodscode:
  19025. description: 期货合约
  19026. type: string
  19027. goodsid:
  19028. description: 期货商品id
  19029. type: integer
  19030. goodsname:
  19031. description: 商品名称
  19032. type: string
  19033. haswr:
  19034. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19035. type: integer
  19036. isspecified:
  19037. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19038. type: integer
  19039. ladingbillid:
  19040. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19041. type: string
  19042. marginvalue:
  19043. description: 期初均价
  19044. type: number
  19045. marketid:
  19046. description: 市场ID
  19047. type: integer
  19048. matchusername:
  19049. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19050. type: string
  19051. minivalue:
  19052. description: 现货商品最小变动值
  19053. type: integer
  19054. optioncompare:
  19055. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19056. type: string
  19057. orderqty:
  19058. description: 委托数量
  19059. type: number
  19060. ordertime:
  19061. description: 委托时间(挂牌时间)
  19062. type: string
  19063. performancetemplateid:
  19064. description: 履约模板id
  19065. type: integer
  19066. pricemove:
  19067. description: 升贴水(浮动价时填写) - [挂牌]
  19068. type: number
  19069. taname:
  19070. description: 交易用户名称(资金账号名称)
  19071. type: string
  19072. thumurls:
  19073. description: 缩略图
  19074. type: string
  19075. tradedate:
  19076. description: 交易日(yyyyMMdd)
  19077. type: string
  19078. tradeprice:
  19079. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19080. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19081. type: number
  19082. tradeqty:
  19083. description: 成交数量
  19084. type: number
  19085. userid:
  19086. description: 用户ID
  19087. type: integer
  19088. validtime:
  19089. description: 挂牌有效期
  19090. type: string
  19091. validtype:
  19092. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19093. type: integer
  19094. warehouseid:
  19095. description: 仓库ID
  19096. type: integer
  19097. warehousename:
  19098. description: 仓库名称
  19099. type: string
  19100. wrfactortypeid:
  19101. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19102. type: string
  19103. wrfactortypename:
  19104. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19105. type: string
  19106. wrpricetype:
  19107. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19108. type: integer
  19109. wrstandardcode:
  19110. description: 现货商品代码
  19111. type: string
  19112. wrstandardid:
  19113. description: 现货商品ID
  19114. type: integer
  19115. wrstandardname:
  19116. description: 商品名称
  19117. type: string
  19118. wrtradeorderid:
  19119. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19120. type: string
  19121. wrtradeorderstatus:
  19122. 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:撤单解冻贷款失败
  19123. type: integer
  19124. wrtradetype:
  19125. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19126. type: integer
  19127. wrtypename:
  19128. description: 商品
  19129. type: string
  19130. type: object
  19131. models.WrOrderQuote:
  19132. properties:
  19133. bannerpicurl:
  19134. description: Banner图
  19135. type: string
  19136. buyprice:
  19137. description: 买价
  19138. type: number
  19139. buypricemove:
  19140. description: 买升贴水(基差)
  19141. type: number
  19142. buyqty:
  19143. description: 买量
  19144. type: number
  19145. deliverygoodscode:
  19146. description: 品种代码
  19147. type: string
  19148. deliverygoodsid:
  19149. description: 品种id
  19150. type: integer
  19151. deliverygoodsname:
  19152. description: 品种名称
  19153. type: string
  19154. deliverymonth:
  19155. description: 交收月
  19156. type: string
  19157. enumdicname:
  19158. description: 单位名称
  19159. type: string
  19160. goodscode:
  19161. description: 商品合约(浮动价列表才有)
  19162. type: string
  19163. goodsid:
  19164. description: 商品id(浮动价列表才有)
  19165. type: integer
  19166. minivalue:
  19167. description: 现货商品最小变动值
  19168. type: integer
  19169. pictureurls:
  19170. description: 详情图片(逗号分隔)
  19171. type: string
  19172. sellprice:
  19173. description: 卖价
  19174. type: number
  19175. sellpricemove:
  19176. description: 卖升贴水(基差)
  19177. type: number
  19178. sellqty:
  19179. description: 卖量
  19180. type: number
  19181. thumurls:
  19182. description: 缩略图片(1:1)(逗号分隔)
  19183. type: string
  19184. warehousecode:
  19185. description: 仓库代码
  19186. type: string
  19187. warehouseid:
  19188. description: 仓库id
  19189. type: integer
  19190. warehousename:
  19191. description: 仓库名称
  19192. type: string
  19193. wrfactortypeid:
  19194. description: 仓单要素id
  19195. type: string
  19196. wrfactortypename:
  19197. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19198. type: string
  19199. wrgoodsname:
  19200. description: 商品(商品名称+仓库要素名称 拼接)
  19201. type: string
  19202. wrstandardcode:
  19203. description: 商品代码
  19204. type: string
  19205. wrstandardid:
  19206. description: 商品id
  19207. type: integer
  19208. wrstandardname:
  19209. description: 商品名称
  19210. type: string
  19211. type: object
  19212. models.WrOrderQuoteDetail:
  19213. properties:
  19214. buyorsell:
  19215. description: 买卖 - 0:买 1:卖
  19216. type: integer
  19217. delistminqty:
  19218. description: 期初均价
  19219. type: number
  19220. deliverymonth:
  19221. description: 交收月
  19222. type: string
  19223. enumdicname:
  19224. description: 单位名称
  19225. type: string
  19226. fixedprice:
  19227. description: 买(卖)价
  19228. type: number
  19229. marketid:
  19230. description: 市场id
  19231. type: integer
  19232. minivalue:
  19233. description: 现货商品最小变动值
  19234. type: integer
  19235. orderqty:
  19236. description: 买(卖)量(=委托量-成交量)
  19237. type: number
  19238. ordertime:
  19239. description: 委托时间
  19240. type: string
  19241. pricemove:
  19242. description: 买(卖)升贴水- 基差
  19243. type: number
  19244. userid:
  19245. description: 购买方(销售方)用户ID
  19246. type: integer
  19247. username:
  19248. description: 购买方(销售方)
  19249. type: string
  19250. wrtradeorderid:
  19251. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19252. type: string
  19253. type: object
  19254. models.WrOutInApply:
  19255. properties:
  19256. applyid:
  19257. description: 申请单id
  19258. type: string
  19259. applystatus:
  19260. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19261. 8:已撤销
  19262. type: integer
  19263. applytime:
  19264. description: 申请时间
  19265. type: string
  19266. applytype:
  19267. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19268. type: integer
  19269. bannerpicurl:
  19270. description: Banner图
  19271. type: string
  19272. begindate:
  19273. description: 开始交易日(yyyymmdd)
  19274. type: string
  19275. deliverygoodscode:
  19276. description: 品种代码
  19277. type: string
  19278. deliverygoodsid:
  19279. description: 品种ID
  19280. type: integer
  19281. deliverygoodsname:
  19282. description: 品种名称
  19283. type: string
  19284. enddate:
  19285. description: 结束交易日(yyyymmdd)
  19286. type: string
  19287. enumdicname:
  19288. description: 单位名称
  19289. type: string
  19290. expresscompany:
  19291. description: 物流公司
  19292. type: string
  19293. expressnum:
  19294. description: 物流单号
  19295. type: string
  19296. minivalue:
  19297. description: 现货商品最小变动值
  19298. type: integer
  19299. optioncompare:
  19300. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19301. type: string
  19302. qty:
  19303. description: 数量
  19304. type: integer
  19305. userid:
  19306. description: 用户id
  19307. type: integer
  19308. warehouseid:
  19309. description: 仓库ID
  19310. type: integer
  19311. warehousename:
  19312. description: 仓库名称
  19313. type: string
  19314. wrfactortypeid:
  19315. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19316. type: string
  19317. wrfactortypename:
  19318. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19319. type: string
  19320. wrstandardcode:
  19321. description: 现货商品代码
  19322. type: string
  19323. wrstandardid:
  19324. description: 现货商品ID
  19325. type: integer
  19326. wrstandardname:
  19327. description: 商品名称
  19328. type: string
  19329. wrtypename:
  19330. description: 商品
  19331. type: string
  19332. type: object
  19333. models.WrPerformancePlan:
  19334. properties:
  19335. activatemonth:
  19336. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19337. type: string
  19338. amount:
  19339. description: 履约金额(总金额)
  19340. type: number
  19341. begindate:
  19342. description: 开始交易日(yyyymmdd)
  19343. type: string
  19344. buyaccountid:
  19345. description: 买方账号
  19346. type: integer
  19347. buyerfreezeamount:
  19348. description: 履约冻结(买履约)
  19349. type: number
  19350. buyerfreezeamountremain:
  19351. description: 履约冻结剩余(买履约)
  19352. type: number
  19353. buyorsell:
  19354. description: 买卖方向 0-买 1-卖
  19355. type: integer
  19356. buypaidamount:
  19357. description: 买方已冻/已扣金额 (已付金额)
  19358. type: number
  19359. buyusername:
  19360. description: 买方名字
  19361. type: string
  19362. contractid:
  19363. description: 合同ID
  19364. type: integer
  19365. createtime:
  19366. description: 创建时间
  19367. type: string
  19368. creatorid:
  19369. description: 创建人
  19370. type: integer
  19371. curstepdeadline:
  19372. description: 当前步骤到期时间
  19373. type: string
  19374. curstepid:
  19375. description: 当前步骤ID
  19376. type: string
  19377. curstepname:
  19378. description: 当前步骤名称
  19379. type: string
  19380. deliverygoodscode:
  19381. description: 品种代码
  19382. type: string
  19383. deliverygoodsid:
  19384. description: 品种ID
  19385. type: integer
  19386. deliverygoodsname:
  19387. description: 品种名称
  19388. type: string
  19389. enddate:
  19390. description: 结束交易日(yyyymmdd)
  19391. type: string
  19392. enumdicname:
  19393. description: 单位名称
  19394. type: string
  19395. expressfee:
  19396. description: 运费
  19397. type: number
  19398. expressfeeconfirmed:
  19399. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19400. type: integer
  19401. hasovershort:
  19402. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19403. type: integer
  19404. haswr:
  19405. description: 类型 0-仓单预售 1-仓单贸易
  19406. type: integer
  19407. marketid:
  19408. description: 市场ID
  19409. type: integer
  19410. middleaccountid:
  19411. description: 中间商资金账号ID
  19412. type: integer
  19413. middleuserid:
  19414. description: 中间商用户ID
  19415. type: integer
  19416. minivalue:
  19417. description: 现货商品最小变动值
  19418. type: integer
  19419. optioncompare:
  19420. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19421. type: string
  19422. overshortamount:
  19423. description: 溢短金额
  19424. type: number
  19425. overshortqty:
  19426. description: 溢短数量
  19427. type: number
  19428. paymenttype:
  19429. description: 付款方式 - 1:冻结 2:扣款
  19430. type: integer
  19431. performanceplanid:
  19432. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19433. type: string
  19434. performancestatus:
  19435. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19436. 9:超时待处理 10:超时关闭
  19437. type: integer
  19438. performancetype:
  19439. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19440. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19441. type: integer
  19442. qty:
  19443. description: 履约数量
  19444. type: number
  19445. relatedorderid:
  19446. description: 关联单号(履约类型的关联单号)
  19447. type: string
  19448. remark:
  19449. description: 备注
  19450. type: string
  19451. sellaccountid:
  19452. description: 卖方账号
  19453. type: integer
  19454. sellerfreezeamount:
  19455. description: 履约冻结(卖履约)
  19456. type: number
  19457. sellerfreezeamountremain:
  19458. description: 履约冻结剩余(卖履约)
  19459. type: number
  19460. sellreceivedamount:
  19461. description: 卖方已收金额
  19462. type: number
  19463. sellusername:
  19464. description: 卖方名字
  19465. type: string
  19466. shipremark:
  19467. description: 发货备注[物流单号]
  19468. type: string
  19469. starttime:
  19470. description: 开始时间
  19471. type: string
  19472. steptypeid:
  19473. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19474. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19475. type: integer
  19476. typename:
  19477. description: 履约类型 名称
  19478. type: string
  19479. unpaidamount:
  19480. description: 期初均价
  19481. type: number
  19482. userid:
  19483. description: 用户id
  19484. type: integer
  19485. warehouseid:
  19486. description: 仓库ID
  19487. type: integer
  19488. warehousename:
  19489. description: 仓库名称
  19490. type: string
  19491. wrfactortypeid:
  19492. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19493. type: string
  19494. wrfactortypename:
  19495. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19496. type: string
  19497. wrstandardcode:
  19498. description: 现货商品代码
  19499. type: string
  19500. wrstandardid:
  19501. description: 现货商品ID
  19502. type: integer
  19503. wrstandardname:
  19504. description: 商品名称
  19505. type: string
  19506. wrtransferuserid:
  19507. description: 仓单受让用户
  19508. type: integer
  19509. wrtypename:
  19510. description: 商品
  19511. type: string
  19512. required:
  19513. - userid
  19514. type: object
  19515. models.WrPerformancePlanStep:
  19516. properties:
  19517. delaydays:
  19518. description: 延期申请天数
  19519. type: integer
  19520. deliverygoodscode:
  19521. description: 品种代码
  19522. type: string
  19523. deliverygoodsid:
  19524. description: 品种ID
  19525. type: integer
  19526. deliverygoodsname:
  19527. description: 品种名称
  19528. type: string
  19529. endtime:
  19530. description: 结束日期
  19531. type: string
  19532. enumdicname:
  19533. description: 单位名称
  19534. type: string
  19535. executeside:
  19536. description: 步骤执行方 - 1:买方 2:卖方
  19537. type: integer
  19538. handlestatus:
  19539. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19540. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19541. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19542. type: integer
  19543. isauto:
  19544. description: 是否自动 - 0:不自动 1:自动
  19545. type: integer
  19546. islastreceivestep:
  19547. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19548. type: integer
  19549. minivalue:
  19550. description: 现货商品最小变动值
  19551. type: integer
  19552. optioncompare:
  19553. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19554. type: string
  19555. overdays:
  19556. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19557. type: integer
  19558. performancestepid:
  19559. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19560. type: string
  19561. planid:
  19562. description: 所属履约计划ID
  19563. type: string
  19564. realamount:
  19565. description: 实际完成金额
  19566. type: number
  19567. relatedorderid:
  19568. description: 关联单号
  19569. type: string
  19570. remaindays:
  19571. description: 剩余天数
  19572. type: integer
  19573. remark:
  19574. description: 错误备注
  19575. type: string
  19576. starttime:
  19577. description: 开始日期
  19578. type: string
  19579. stepamount:
  19580. description: 步骤金额
  19581. type: number
  19582. stepdays:
  19583. description: 距离上一步天数(分钟)
  19584. type: integer
  19585. stepindex:
  19586. description: 步骤序号
  19587. type: integer
  19588. steplanchtype:
  19589. description: 步骤启动类型 - 1:系统自动 2:手动
  19590. type: integer
  19591. stepremark:
  19592. description: 步骤备注
  19593. type: string
  19594. stepstatus:
  19595. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19596. type: integer
  19597. steptypeid:
  19598. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19599. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19600. type: integer
  19601. steptypename:
  19602. description: 步骤名称
  19603. type: string
  19604. stepvalue:
  19605. description: 步骤值
  19606. type: number
  19607. warehouseid:
  19608. description: 仓库ID
  19609. type: integer
  19610. warehousename:
  19611. description: 仓库名称
  19612. type: string
  19613. wrfactortypeid:
  19614. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19615. type: string
  19616. wrfactortypename:
  19617. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19618. type: string
  19619. wrstandardcode:
  19620. description: 现货商品代码
  19621. type: string
  19622. wrstandardid:
  19623. description: 现货商品ID
  19624. type: integer
  19625. wrstandardname:
  19626. description: 商品名称
  19627. type: string
  19628. wrtypename:
  19629. description: 商品
  19630. type: string
  19631. type: object
  19632. models.WrPerformanceStepType:
  19633. properties:
  19634. canauto:
  19635. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19636. type: integer
  19637. steptypeid:
  19638. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19639. type: integer
  19640. steptypename:
  19641. description: 步骤类型名称
  19642. type: string
  19643. type: object
  19644. models.WrPerformanceTemplateEx:
  19645. properties:
  19646. autoid:
  19647. description: AutoID 模板id
  19648. type: integer
  19649. createtime:
  19650. description: 创建时间
  19651. type: string
  19652. creatorid:
  19653. description: 创建人
  19654. type: integer
  19655. lstStep:
  19656. description: 步骤信息列表
  19657. items:
  19658. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19659. type: array
  19660. paymenttype:
  19661. description: 支付方式 - 1:冻结 2:扣款
  19662. type: integer
  19663. takemode:
  19664. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19665. type: integer
  19666. templatename:
  19667. description: 模板名称
  19668. type: string
  19669. templatetype:
  19670. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19671. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19672. type: integer
  19673. userid:
  19674. description: 所属用户
  19675. type: integer
  19676. type: object
  19677. models.WrPosition:
  19678. properties:
  19679. accountid:
  19680. description: 帐户ID
  19681. type: integer
  19682. buyexcuteqty:
  19683. description: 采购履约中数量
  19684. type: number
  19685. creditcurqty:
  19686. description: 授信当前数量(预售仓单:预售当前量)
  19687. type: number
  19688. creditenableqty:
  19689. description: '授信可用数量(预售仓单: 可用数量)'
  19690. type: number
  19691. creditfreezeqty:
  19692. description: '授信冻结数量(预售仓单: 当前数量)'
  19693. type: number
  19694. credittotalqty:
  19695. description: 授信总数量(预售仓单:预售总量)
  19696. type: number
  19697. credittradeqty:
  19698. description: 授信成交数量(预售仓单:成交总量)
  19699. type: number
  19700. deliverygoodscode:
  19701. description: 品种代码
  19702. type: string
  19703. deliverygoodsid:
  19704. description: 品种ID
  19705. type: integer
  19706. deliverygoodsname:
  19707. description: 品种名称
  19708. type: string
  19709. enalbeqty:
  19710. description: 可用数量
  19711. type: number
  19712. enumdicname:
  19713. description: 单位名称
  19714. type: string
  19715. freezeqty:
  19716. description: 总冻结数量
  19717. type: number
  19718. haswr:
  19719. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19720. type: integer
  19721. minivalue:
  19722. description: 现货商品最小变动值
  19723. type: integer
  19724. modifytime:
  19725. description: 修改时间(过户时间)
  19726. type: string
  19727. optioncompare:
  19728. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19729. type: string
  19730. pledgeqty:
  19731. description: 质押数量
  19732. type: number
  19733. querytype:
  19734. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19735. type: integer
  19736. sellexcuteqty:
  19737. description: 销售履约中数量
  19738. type: number
  19739. totalqty:
  19740. description: 总数量(库存数量)
  19741. type: number
  19742. warehouseid:
  19743. description: 仓库ID
  19744. type: integer
  19745. warehousename:
  19746. description: 仓库名称
  19747. type: string
  19748. wrfactortypeid:
  19749. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19750. type: string
  19751. wrfactortypename:
  19752. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19753. type: string
  19754. wrpositionid:
  19755. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19756. type: string
  19757. wrpositionno:
  19758. description: 仓单编号
  19759. type: string
  19760. wrstandardcode:
  19761. description: 现货商品代码
  19762. type: string
  19763. wrstandardid:
  19764. description: 现货商品ID
  19765. type: integer
  19766. wrstandardname:
  19767. description: 商品名称
  19768. type: string
  19769. wrtypename:
  19770. description: 商品
  19771. type: string
  19772. wruserid:
  19773. description: 持有人ID
  19774. type: integer
  19775. type: object
  19776. models.WrPreSaleInfo:
  19777. properties:
  19778. bannerpicurl:
  19779. description: Banner图
  19780. type: string
  19781. baseqty:
  19782. description: 中签基数
  19783. type: number
  19784. createtime:
  19785. description: 创建时间
  19786. type: string
  19787. deliverygoodsid:
  19788. description: 现货品种ID
  19789. type: integer
  19790. enddate:
  19791. description: 预售结束日期
  19792. type: string
  19793. enumdicname:
  19794. description: 单位名称
  19795. type: string
  19796. lotteryflag:
  19797. description: 摇号标识 - 0:未摇号 1:已摇号
  19798. type: integer
  19799. lotteryqty:
  19800. description: 摇号总量
  19801. type: number
  19802. luckyqty:
  19803. description: 已中签量
  19804. type: number
  19805. marketid:
  19806. description: 市场ID
  19807. type: integer
  19808. maxbuyqty:
  19809. description: 单人最大申购量
  19810. type: number
  19811. maxluckyqty:
  19812. description: 单人最大中签量
  19813. type: number
  19814. pictureurls:
  19815. description: 详情图片(逗号分隔)
  19816. type: string
  19817. placeqty:
  19818. description: 已配售量
  19819. type: number
  19820. presaleapplyid:
  19821. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19822. example: "0"
  19823. type: string
  19824. presaleqty:
  19825. description: 预售总量
  19826. type: number
  19827. presalestatus:
  19828. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19829. type: integer
  19830. sellaccountid:
  19831. description: 发行方资金账户ID
  19832. type: integer
  19833. selluserid:
  19834. description: 发行方用户ID
  19835. type: integer
  19836. sellwrtradeorderid:
  19837. description: 发行方卖委托单ID
  19838. type: string
  19839. startdate:
  19840. description: 预售开始日期
  19841. type: string
  19842. takestartdate:
  19843. description: 提货开始日期
  19844. type: string
  19845. thumurls:
  19846. description: 缩略图片(1:1)(逗号分隔)
  19847. type: string
  19848. tradedate:
  19849. description: 交易日
  19850. type: string
  19851. unitid:
  19852. description: 单位ID
  19853. type: integer
  19854. unitprice:
  19855. description: 商品单价
  19856. type: number
  19857. username:
  19858. description: 发行方用户名称
  19859. type: string
  19860. warehousecode:
  19861. description: 仓库代码(仓库简称)
  19862. type: string
  19863. warehouseid:
  19864. description: 仓库ID
  19865. type: integer
  19866. warehousename:
  19867. description: 仓库名称
  19868. type: string
  19869. wrfactortypeid:
  19870. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19871. example: "0"
  19872. type: string
  19873. wrstandardid:
  19874. description: 现货商品ID
  19875. type: integer
  19876. wrstandardname:
  19877. description: 现货商品名称
  19878. type: string
  19879. type: object
  19880. models.WrQuoteOrderMyq:
  19881. properties:
  19882. buyorsell:
  19883. description: 买卖 - 0:买 1:卖
  19884. type: integer
  19885. canbargain:
  19886. description: 是否可议价 - 0:不可 1:可
  19887. type: integer
  19888. canpart:
  19889. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19890. type: integer
  19891. delistminqty:
  19892. description: 期初均价
  19893. type: number
  19894. deliverygoodscode:
  19895. description: 品种代码
  19896. type: string
  19897. deliverygoodsid:
  19898. description: 品种ID
  19899. type: integer
  19900. deliverygoodsname:
  19901. description: 品种名称
  19902. type: string
  19903. deliverymonth:
  19904. description: 交收月
  19905. type: string
  19906. enumdicname:
  19907. description: 单位名称
  19908. type: string
  19909. fixedprice:
  19910. description: 买(卖)价
  19911. type: number
  19912. goodscode:
  19913. description: 商品合约代码
  19914. type: string
  19915. marginflag:
  19916. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19917. type: integer
  19918. marginvalue:
  19919. description: 保证金设置值
  19920. type: number
  19921. minivalue:
  19922. description: 现货商品最小变动值
  19923. type: integer
  19924. orderqty:
  19925. description: 买(卖)量(=委托量-成交量)
  19926. type: number
  19927. ordertime:
  19928. description: 委托时间
  19929. type: string
  19930. performancetemplateid:
  19931. description: 履约模板id
  19932. type: integer
  19933. pricemove:
  19934. description: 买(卖)升贴水- 基差
  19935. type: number
  19936. templatename:
  19937. description: 履约模板名称
  19938. type: string
  19939. userid:
  19940. description: 购买方(销售方)用户ID
  19941. type: integer
  19942. username:
  19943. description: 购买方(销售方)
  19944. type: string
  19945. validtime:
  19946. description: 有效期限
  19947. type: string
  19948. validtype:
  19949. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19950. type: integer
  19951. warehousename:
  19952. description: 仓库名称
  19953. type: string
  19954. wrfactortypeid:
  19955. description: 仓单要素id
  19956. type: string
  19957. wrstandardcode:
  19958. description: 现货商品代码
  19959. type: string
  19960. wrstandardid:
  19961. description: 现货商品ID
  19962. type: integer
  19963. wrstandardname:
  19964. description: 商品名称
  19965. type: string
  19966. wrtradeorderid:
  19967. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19968. type: string
  19969. wrtypename:
  19970. description: 商品
  19971. type: string
  19972. type: object
  19973. models.WrReckonSpotGoodsTradeSum:
  19974. properties:
  19975. begindate:
  19976. description: 开始日期(结果含开始日期) yyyymmdd
  19977. type: string
  19978. enddate:
  19979. description: 结束日期(结果含结束日期) yyyymmdd
  19980. type: string
  19981. istoday:
  19982. description: 是否当日
  19983. type: boolean
  19984. marketid:
  19985. description: 市场ID
  19986. type: integer
  19987. price:
  19988. description: 价格 = 日成交金额 / 日成交数量
  19989. type: string
  19990. reckondate:
  19991. description: 日期 格式 yyyymmdd
  19992. type: string
  19993. tradeamount:
  19994. description: 期初均价
  19995. type: number
  19996. tradeqty:
  19997. description: 期初均价
  19998. type: number
  19999. wrstandardid:
  20000. description: 现货商品ID
  20001. type: integer
  20002. type: object
  20003. models.WrScfContract:
  20004. properties:
  20005. borroweruserid:
  20006. description: 借款用户ID
  20007. type: integer
  20008. buybackwrpositionqty:
  20009. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20010. type: number
  20011. closeinterest:
  20012. description: 已结利息 -> 已结费用
  20013. type: number
  20014. currisklevel:
  20015. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20016. type: integer
  20017. deadline:
  20018. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20019. type: string
  20020. deliverygoodscode:
  20021. description: 品种代码
  20022. type: string
  20023. deliverygoodsid:
  20024. description: 品种ID
  20025. type: integer
  20026. deliverygoodsname:
  20027. description: 品种名称
  20028. type: string
  20029. enumdicname:
  20030. description: 单位名称
  20031. type: string
  20032. financingdays:
  20033. description: 天数(天)
  20034. type: integer
  20035. initmargin:
  20036. description: 保证金 - [仓单回购]
  20037. type: number
  20038. interestamount:
  20039. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20040. type: number
  20041. interestdebt:
  20042. description: 利息欠款(记录负数) -> 费用欠款
  20043. type: number
  20044. interestminlen:
  20045. description: 最小起息天数
  20046. type: integer
  20047. interestrate:
  20048. description: 利率
  20049. type: number
  20050. interestratemode:
  20051. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20052. type: integer
  20053. interestsettlemode:
  20054. description: 结息方式 - 1:按日结息 3:按月结息
  20055. type: integer
  20056. interestsettlevalue:
  20057. description: 结息方式值
  20058. type: integer
  20059. isautoloan:
  20060. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20061. type: integer
  20062. lastcloseinterestday:
  20063. description: 最近结息日(yyyyMMdd)
  20064. type: string
  20065. lenderamount:
  20066. description: 贷款金额 -> 借款金额
  20067. type: number
  20068. lenderuserid:
  20069. description: 贷款方用户ID -> 融出方用户ID
  20070. type: integer
  20071. lenderusername:
  20072. description: 融出方
  20073. type: string
  20074. marginratio:
  20075. description: 保证金比率质押率 - [仓单质押]
  20076. type: number
  20077. marketid:
  20078. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20079. type: integer
  20080. minivalue:
  20081. description: 现货商品最小变动值
  20082. type: integer
  20083. optioncompare:
  20084. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20085. type: string
  20086. pricemove:
  20087. description: 估值升贴水值
  20088. type: number
  20089. productdetailid:
  20090. description: 产品组合ID
  20091. type: integer
  20092. productid:
  20093. description: 金融产品ID
  20094. type: integer
  20095. productname:
  20096. description: 产品名称
  20097. type: string
  20098. remainamount:
  20099. description: 合同剩余金额 -> 剩余金额
  20100. type: number
  20101. remainwrpositionqty:
  20102. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20103. type: number
  20104. remark:
  20105. description: 备注
  20106. type: string
  20107. scfcontractid:
  20108. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20109. type: string
  20110. scfcontractstatus:
  20111. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20112. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20113. type: integer
  20114. scfcontracttype:
  20115. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20116. type: integer
  20117. startinterestday:
  20118. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20119. type: string
  20120. totalinterest:
  20121. description: 已计利息 -> 已计费用
  20122. type: number
  20123. unpaidinterest:
  20124. description: 期初均价
  20125. type: number
  20126. updatetime:
  20127. description: 更新时间
  20128. type: string
  20129. warehouseid:
  20130. description: 仓库ID
  20131. type: integer
  20132. warehousename:
  20133. description: 仓库名称
  20134. type: string
  20135. wrfactortypeid:
  20136. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20137. type: string
  20138. wrfactortypename:
  20139. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20140. type: string
  20141. wrqty:
  20142. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20143. type: number
  20144. wrstandardcode:
  20145. description: 现货商品代码
  20146. type: string
  20147. wrstandardid:
  20148. description: 现货商品ID
  20149. type: integer
  20150. wrstandardname:
  20151. description: 商品名称
  20152. type: string
  20153. wrtypename:
  20154. description: 商品
  20155. type: string
  20156. type: object
  20157. models.WrScfContractInterest:
  20158. properties:
  20159. closeinterest:
  20160. description: 已结利息
  20161. type: number
  20162. closeintereststatus:
  20163. description: 结息状态 - 1:未结 2:已结
  20164. type: integer
  20165. closetime:
  20166. description: 结息时间
  20167. type: string
  20168. closetradedate:
  20169. description: 结息交易日
  20170. type: string
  20171. creatorid:
  20172. description: 操作人ID
  20173. type: integer
  20174. dayrate:
  20175. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20176. type: number
  20177. interest:
  20178. description: 利息
  20179. type: number
  20180. interestamount:
  20181. description: 计息金额
  20182. type: number
  20183. interestday:
  20184. description: 计息日(yyyyMMdd)
  20185. type: string
  20186. scfcontractid:
  20187. description: SCF合同ID
  20188. type: string
  20189. scfcontractinterestid:
  20190. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20191. type: integer
  20192. updatetime:
  20193. description: 更新时间
  20194. type: string
  20195. type: object
  20196. models.WrSearchUser:
  20197. properties:
  20198. userid:
  20199. description: 用户ID
  20200. type: integer
  20201. username:
  20202. description: 用户名称(已脱敏)
  20203. type: string
  20204. username2:
  20205. description: 用户名称(未脱敏)
  20206. type: string
  20207. usertype:
  20208. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20209. type: integer
  20210. required:
  20211. - username
  20212. type: object
  20213. models.WrSiteColumnDetail:
  20214. properties:
  20215. brief:
  20216. description: 简介
  20217. type: string
  20218. context:
  20219. description: 内容
  20220. type: string
  20221. coverimage:
  20222. description: 封面图片
  20223. type: string
  20224. creaedate:
  20225. description: 创建时间
  20226. type: string
  20227. id:
  20228. description: ID(SEQ_SITE_COLUMNDETAIL)
  20229. type: integer
  20230. istop:
  20231. description: 是否置顶 - 0:不置 1:置顶
  20232. type: integer
  20233. publishdate:
  20234. description: 发布日期
  20235. type: string
  20236. title:
  20237. description: 标题
  20238. type: string
  20239. updatedate:
  20240. description: 修改时间
  20241. type: string
  20242. type: object
  20243. models.WrSpecialMatchOrder:
  20244. properties:
  20245. amount:
  20246. description: 金额 = 数量 * 价格
  20247. type: number
  20248. buyorsell:
  20249. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20250. type: integer
  20251. cancelqty:
  20252. description: 撤销数量
  20253. type: number
  20254. deliverygoodscode:
  20255. description: 品种代码
  20256. type: string
  20257. deliverygoodsid:
  20258. description: 品种ID
  20259. type: integer
  20260. deliverygoodsname:
  20261. description: 品种名称
  20262. type: string
  20263. enumdicname:
  20264. description: 单位名称
  20265. type: string
  20266. fixedprice:
  20267. description: 固定价格(价格)
  20268. type: number
  20269. haswr:
  20270. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20271. type: integer
  20272. isspecified:
  20273. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20274. type: integer
  20275. marketid:
  20276. description: 市场ID
  20277. type: integer
  20278. matchuserid:
  20279. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20280. type: integer
  20281. matchusername:
  20282. description: 指定方
  20283. type: string
  20284. minivalue:
  20285. description: 现货商品最小变动值
  20286. type: integer
  20287. optioncompare:
  20288. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20289. type: string
  20290. orderqty:
  20291. description: 委托数量
  20292. type: number
  20293. ordertime:
  20294. description: 委托时间
  20295. type: string
  20296. pricemove:
  20297. description: 升贴水(浮动价时填写) - [挂牌]
  20298. type: number
  20299. tradedate:
  20300. description: 交易日(yyyyMMdd)
  20301. type: string
  20302. tradeprice:
  20303. description: 成交价格
  20304. type: number
  20305. tradeqty:
  20306. description: 成交数量
  20307. type: number
  20308. userid:
  20309. description: 用户ID
  20310. type: integer
  20311. username:
  20312. description: 发起方
  20313. type: string
  20314. warehouseid:
  20315. description: 仓库ID
  20316. type: integer
  20317. warehousename:
  20318. description: 仓库名称
  20319. type: string
  20320. wrfactortypeid:
  20321. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20322. type: string
  20323. wrfactortypename:
  20324. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20325. type: string
  20326. wrpricetype:
  20327. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20328. type: integer
  20329. wrstandardcode:
  20330. description: 现货商品代码
  20331. type: string
  20332. wrstandardid:
  20333. description: 现货商品ID
  20334. type: integer
  20335. wrstandardname:
  20336. description: 商品名称
  20337. type: string
  20338. wrtradeorderid:
  20339. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20340. type: string
  20341. wrtradeorderstatus:
  20342. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20343. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20344. type: integer
  20345. wrtradetype:
  20346. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20347. type: integer
  20348. wrtypename:
  20349. description: 商品
  20350. type: string
  20351. type: object
  20352. models.WrSpotGroupTradeSum:
  20353. properties:
  20354. deliverygoodscode:
  20355. description: 现货品种代码
  20356. type: string
  20357. deliverygoodsid:
  20358. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20359. type: integer
  20360. deliverygoodsname:
  20361. description: 现货品种名称
  20362. type: string
  20363. lastavgprice:
  20364. description: 上上个交易日价格(前2天价格)
  20365. type: string
  20366. lastreckondate:
  20367. description: 上上个交易日(前2天交易日)
  20368. type: string
  20369. reckondate:
  20370. description: 上个交易日(前1天交易日)
  20371. type: string
  20372. todayavgprice:
  20373. description: 上个交易日价格(前1天价格)
  20374. type: string
  20375. updown:
  20376. description: 涨跌
  20377. type: string
  20378. updownratio:
  20379. description: 涨幅(已格式化, 直接显示即可)
  20380. type: string
  20381. type: object
  20382. models.WrSpotGroupTradeSumDetail:
  20383. properties:
  20384. deliverygoodsid:
  20385. description: 现货商品id
  20386. type: integer
  20387. price:
  20388. description: 价格
  20389. type: number
  20390. reckondate:
  20391. description: 日期(yyymmdd, 如:20211031)
  20392. type: string
  20393. type: object
  20394. models.WrSpotGroupTradeSumEx:
  20395. properties:
  20396. lst:
  20397. description: 指数列表
  20398. items:
  20399. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20400. type: array
  20401. prereckondate:
  20402. description: 上上个交易日(yyymmdd)
  20403. type: string
  20404. reckondate:
  20405. description: 上个交易日(yyyymmdd)
  20406. type: string
  20407. type: object
  20408. models.WrStandardFactoryItem:
  20409. properties:
  20410. dgfactoryitemid:
  20411. description: 选择项id
  20412. type: integer
  20413. dgfactoryitemvalue:
  20414. description: 要素项值
  20415. type: string
  20416. warehouseid:
  20417. description: 仓库id
  20418. type: integer
  20419. type: object
  20420. models.WrStandardFactoryItemEx:
  20421. properties:
  20422. dgfactoryitemtypeid:
  20423. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20424. type: integer
  20425. itemlst:
  20426. description: 要素项列表
  20427. items:
  20428. $ref: '#/definitions/models.WrStandardFactoryItem'
  20429. type: array
  20430. itemtypename:
  20431. description: 要素项类型名称
  20432. type: string
  20433. wrstandardid:
  20434. description: 品类
  20435. type: integer
  20436. type: object
  20437. models.WrTradeDetail:
  20438. properties:
  20439. accountid:
  20440. description: 资金账号
  20441. type: integer
  20442. bannerpicurl:
  20443. description: Banner图
  20444. type: string
  20445. begindate:
  20446. description: 开始交易日(yyyymmdd)
  20447. type: string
  20448. buyorsell:
  20449. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20450. type: integer
  20451. chargevalue:
  20452. description: 手续费
  20453. type: number
  20454. deliverygoodscode:
  20455. description: 品种代码
  20456. type: string
  20457. deliverygoodsid:
  20458. description: 品种ID
  20459. type: integer
  20460. deliverygoodsname:
  20461. description: 品种名称
  20462. type: string
  20463. deliverymonth:
  20464. description: 交收月
  20465. type: string
  20466. enddate:
  20467. description: 结束交易日(yyyymmdd)
  20468. type: string
  20469. enumdicname:
  20470. description: 单位名称
  20471. type: string
  20472. haswr:
  20473. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20474. type: integer
  20475. marketid:
  20476. description: 市场ID
  20477. type: integer
  20478. matchaccountid:
  20479. description: 对手账号
  20480. type: integer
  20481. matchusername:
  20482. description: 对手方
  20483. type: string
  20484. minivalue:
  20485. description: 现货商品最小变动值
  20486. type: integer
  20487. optioncompare:
  20488. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20489. type: string
  20490. thumurls:
  20491. description: 缩略图
  20492. type: string
  20493. tradedate:
  20494. description: 交易日(yyyyMMdd)
  20495. type: string
  20496. tradeprice:
  20497. description: 成交价格
  20498. type: number
  20499. tradeqty:
  20500. description: 成交数量
  20501. type: number
  20502. tradetime:
  20503. description: 成交时间
  20504. type: string
  20505. userid:
  20506. description: 用户ID
  20507. type: integer
  20508. warehouseid:
  20509. description: 仓库ID
  20510. type: integer
  20511. warehousename:
  20512. description: 仓库名称
  20513. type: string
  20514. wrfactortypeid:
  20515. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20516. type: string
  20517. wrfactortypename:
  20518. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20519. type: string
  20520. wrstandardcode:
  20521. description: 现货商品代码
  20522. type: string
  20523. wrstandardid:
  20524. description: 现货商品ID
  20525. type: integer
  20526. wrstandardname:
  20527. description: 商品名称
  20528. type: string
  20529. wrtradedetailid:
  20530. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20531. type: string
  20532. wrtradetype:
  20533. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20534. type: integer
  20535. wrtypename:
  20536. description: 商品
  20537. type: string
  20538. type: object
  20539. models.WrTradeOrderDetail:
  20540. properties:
  20541. buyorsell:
  20542. description: 买卖方向 0-买 1-卖
  20543. type: integer
  20544. goodsid:
  20545. description: 商品id
  20546. type: integer
  20547. orderid:
  20548. description: 委托单号
  20549. type: string
  20550. orderprice:
  20551. description: 期初均价
  20552. type: number
  20553. orderqty:
  20554. description: 委托数量
  20555. type: integer
  20556. userid:
  20557. description: 用户id
  20558. type: integer
  20559. username:
  20560. description: 用户名称(已脱敏)
  20561. type: string
  20562. type: object
  20563. models.WrTypeItem:
  20564. properties:
  20565. name:
  20566. description: 名称
  20567. type: string
  20568. value:
  20569. description: 值
  20570. type: string
  20571. type: object
  20572. models.WrUserFriend:
  20573. properties:
  20574. friendname:
  20575. description: 朋友名称(已脱敏)
  20576. type: string
  20577. frienduserid:
  20578. description: 朋友id
  20579. type: integer
  20580. isfriend:
  20581. description: 是否好友 0-不是 1-是
  20582. type: integer
  20583. userid:
  20584. description: 用户id
  20585. type: integer
  20586. type: object
  20587. models.WrUserReceiptInfo:
  20588. properties:
  20589. address:
  20590. description: 地址[发票类型:企业]
  20591. type: string
  20592. autoid:
  20593. description: AutoID
  20594. type: integer
  20595. contactinfo:
  20596. description: 联系方式
  20597. type: string
  20598. idnum:
  20599. description: 身份证号码[发票类型:个人]
  20600. type: string
  20601. isdefault:
  20602. description: 是否默认地址 - 0:否 1:是
  20603. type: integer
  20604. receiptaccount:
  20605. description: 发票帐号[发票类型:企业]
  20606. type: string
  20607. receiptbank:
  20608. description: 发票开户行[发票类型:企业]
  20609. type: string
  20610. receipttype:
  20611. description: 发票类型 - 1:个人 2:企业
  20612. type: integer
  20613. taxpayerid:
  20614. description: 纳税人识别号
  20615. type: string
  20616. userid:
  20617. description: 用户ID
  20618. type: integer
  20619. username:
  20620. description: 户名(个人姓名或企业名称)
  20621. type: string
  20622. type: object
  20623. models.Wrtradetradequote:
  20624. properties:
  20625. buyaccountid:
  20626. description: 买方账号ID
  20627. type: integer
  20628. buychargevalue:
  20629. description: 买方手续费
  20630. type: number
  20631. buyuserid:
  20632. description: 买方用户ID
  20633. type: integer
  20634. deliverygoodsid:
  20635. description: 现货品种ID
  20636. type: integer
  20637. exchangerate:
  20638. description: 汇率
  20639. type: number
  20640. marketid:
  20641. description: 市场ID
  20642. type: integer
  20643. oritradeamount:
  20644. description: 成交金额[商品币种]
  20645. type: number
  20646. performanceplanid:
  20647. description: 履约计划ID/合同ID
  20648. type: integer
  20649. sellaccountid:
  20650. description: 卖方账号ID
  20651. type: integer
  20652. sellchargevalue:
  20653. description: 卖方手续费
  20654. type: number
  20655. selluserid:
  20656. description: 卖方用户ID
  20657. type: integer
  20658. tradeamount:
  20659. description: 成交金额
  20660. type: number
  20661. tradedate:
  20662. description: 交易日(yyyyMMdd)
  20663. type: string
  20664. tradeprice:
  20665. description: 成交价格
  20666. type: number
  20667. tradeqty:
  20668. description: 成交数量
  20669. type: integer
  20670. tradetime:
  20671. description: 成交时间
  20672. type: string
  20673. wrfactortypeid:
  20674. description: 仓单要素类型ID
  20675. type: integer
  20676. wrstandardid:
  20677. description: 现货商品ID
  20678. type: integer
  20679. wrtradedetailid:
  20680. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20681. type: integer
  20682. type: object
  20683. models.XHBRAND:
  20684. properties:
  20685. brandid:
  20686. description: 品牌id
  20687. type: integer
  20688. brandname:
  20689. description: 品牌名称
  20690. type: string
  20691. isvalid:
  20692. description: 是否有效 0-无效 1-有效
  20693. type: integer
  20694. type: object
  20695. models.XHDeliveryGoods:
  20696. properties:
  20697. areauserid:
  20698. description: 所属机构
  20699. type: integer
  20700. bdlst:
  20701. description: 品牌列表
  20702. items:
  20703. $ref: '#/definitions/models.XHBRAND'
  20704. type: array
  20705. deliverygoodscode:
  20706. description: 现货品种代码
  20707. type: string
  20708. deliverygoodsid:
  20709. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20710. type: integer
  20711. deliverygoodsname:
  20712. description: 现货品种名称
  20713. type: string
  20714. dgstatus:
  20715. description: 品种状态 - 作废 - 0:未激活 1:正常
  20716. type: integer
  20717. filterSubEmpty:
  20718. description: 过滤下级为空的
  20719. type: integer
  20720. isvalid:
  20721. description: 是否有效 - 0:无效 1:有效
  20722. type: integer
  20723. remark:
  20724. description: 备注
  20725. type: string
  20726. unitid:
  20727. description: 单位id(目前看,数据库中是空值)
  20728. type: integer
  20729. wdlst:
  20730. description: 品类(现货商品)列表
  20731. items:
  20732. $ref: '#/definitions/models.XHWrstandard'
  20733. type: array
  20734. type: object
  20735. models.XHMiddleGoods:
  20736. properties:
  20737. GPLST:
  20738. description: 期货品种列表
  20739. items:
  20740. $ref: '#/definitions/models.TBGoodsGroup'
  20741. type: array
  20742. convertratio:
  20743. description: 拆算系数
  20744. type: number
  20745. costratio:
  20746. description: 成本权重
  20747. type: number
  20748. deliverygoodsid:
  20749. description: 现货商品id
  20750. type: integer
  20751. enumdicname:
  20752. description: 单位名称
  20753. type: string
  20754. middlegoodscode:
  20755. description: 套保品种代码
  20756. type: string
  20757. middlegoodsid:
  20758. description: 套保品种id
  20759. type: integer
  20760. middlegoodsname:
  20761. description: 套保品种名称
  20762. type: string
  20763. unitid:
  20764. description: 单位id
  20765. type: integer
  20766. type: object
  20767. models.XHWrstandard:
  20768. properties:
  20769. bannerpicurl:
  20770. description: banner图
  20771. type: string
  20772. deliverygoodsid:
  20773. description: 品种ID
  20774. type: integer
  20775. enumdicname:
  20776. description: 单位名称
  20777. type: string
  20778. mglst:
  20779. description: 套保品列表
  20780. items:
  20781. $ref: '#/definitions/models.XHMiddleGoods'
  20782. type: array
  20783. pictureurls:
  20784. description: 详情图片(逗号分隔)
  20785. type: string
  20786. thumurls:
  20787. description: 缩略图片(1:1)(逗号分隔)
  20788. type: string
  20789. unitid:
  20790. description: 单位id
  20791. type: integer
  20792. vatrate:
  20793. description: 增值税率
  20794. type: number
  20795. wrstandardcode:
  20796. description: 现货商品代码
  20797. type: string
  20798. wrstandardid:
  20799. description: 现货商品ID(SEQ_WRSTANDARD)
  20800. type: integer
  20801. wrstandardname:
  20802. description: 现货商品名称
  20803. type: string
  20804. type: object
  20805. models.XhcpSellBackApplyEx:
  20806. properties:
  20807. applyremark:
  20808. description: 申请备注
  20809. type: string
  20810. expirytype:
  20811. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20812. type: integer
  20813. goodsspec:
  20814. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20815. type: integer
  20816. holeflag:
  20817. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20818. type: integer
  20819. isunopened:
  20820. description: 是否原封 - 1:否 2:是
  20821. type: integer
  20822. mpflag:
  20823. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20824. type: integer
  20825. openflag:
  20826. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20827. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20828. type: integer
  20829. phonenum:
  20830. description: 联系电话
  20831. type: string
  20832. userid:
  20833. description: 所属用户ID
  20834. type: integer
  20835. zpflag:
  20836. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20837. type: integer
  20838. required:
  20839. - userid
  20840. type: object
  20841. models.Xhcpsellbackapply:
  20842. properties:
  20843. applyid:
  20844. description: 申请人
  20845. type: integer
  20846. applyremark:
  20847. description: 申请备注
  20848. type: string
  20849. applysrc:
  20850. description: 申请来源 - 1:管理端 2:终端
  20851. type: integer
  20852. applystatus:
  20853. description: 申请状态 - 1:待确认 2:已处理
  20854. type: integer
  20855. applytime:
  20856. description: 申请时间
  20857. type: string
  20858. auditremark:
  20859. description: 审核备注
  20860. type: string
  20861. auditsrc:
  20862. description: 审核来源 - 1:管理端 2:终端
  20863. type: integer
  20864. expirytype:
  20865. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20866. type: integer
  20867. goodsspec:
  20868. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20869. type: integer
  20870. holeflag:
  20871. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20872. type: integer
  20873. isunopened:
  20874. description: 是否原封 - 1:否 2:是
  20875. type: integer
  20876. mpflag:
  20877. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20878. type: integer
  20879. openflag:
  20880. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20881. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20882. type: integer
  20883. phonenum:
  20884. description: 联系电话
  20885. type: string
  20886. sellbackapplyid:
  20887. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20888. type: string
  20889. userid:
  20890. description: 所属用户ID
  20891. type: integer
  20892. zpflag:
  20893. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20894. type: integer
  20895. required:
  20896. - userid
  20897. type: object
  20898. order.QueryHisTradeDetailRsp:
  20899. properties:
  20900. accountid:
  20901. description: 账户ID[报价币种]
  20902. type: integer
  20903. advanceratio:
  20904. description: 首付比率
  20905. type: number
  20906. buildtype:
  20907. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20908. type: integer
  20909. buyorsell:
  20910. description: 方向 - 0:买 1:卖
  20911. type: integer
  20912. charge:
  20913. description: 手续费
  20914. type: number
  20915. closecharge:
  20916. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20917. type: number
  20918. closeexchagechargevalue:
  20919. description: 平仓交易所手续费设置值
  20920. type: number
  20921. closefeealgorithm:
  20922. description: 平仓手续费收取方式 1:比率 2:固定
  20923. type: integer
  20924. closememberchargevalue:
  20925. description: 平仓会员手续费设置值
  20926. type: number
  20927. closepl:
  20928. description: 平仓盈亏
  20929. type: number
  20930. closepl2:
  20931. description: 平仓盈亏[逐笔]
  20932. type: number
  20933. closeqty:
  20934. description: 平仓数量(先建后平操作 需要记录)
  20935. type: number
  20936. creditamount:
  20937. description: 授信金额
  20938. type: number
  20939. decimalplace:
  20940. description: 商品报价小数位
  20941. type: integer
  20942. enumdicname:
  20943. description: 单位名称
  20944. type: string
  20945. gcaccountid:
  20946. description: 账户ID[合约币种]
  20947. type: integer
  20948. goodscode:
  20949. description: 商品代码
  20950. type: string
  20951. goodsid:
  20952. description: 商品ID
  20953. type: integer
  20954. goodsname:
  20955. description: 商品名称
  20956. type: string
  20957. goodunitid:
  20958. description: 商品单位id
  20959. type: integer
  20960. histradedate:
  20961. description: 历史交易日
  20962. type: string
  20963. intclosepl:
  20964. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20965. type: integer
  20966. isconfirmexercise:
  20967. description: 是否确认行权- 0:否 1:是
  20968. type: integer
  20969. ismain:
  20970. description: 是否主单 - 0:不是 1:是
  20971. type: integer
  20972. ispreexercise:
  20973. description: 是否预申报- 0:否 1:是
  20974. type: integer
  20975. isreckoned:
  20976. description: 是否结算 - 0:未结算 1:已结算
  20977. type: integer
  20978. isvaliddata:
  20979. description: 是否有效 - 0:无效 1:有效
  20980. type: integer
  20981. listingselecttype:
  20982. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20983. type: integer
  20984. marketid:
  20985. description: 市场ID
  20986. type: integer
  20987. marketname:
  20988. description: 市场名称
  20989. type: string
  20990. matchaccountid:
  20991. description: 对手账号id
  20992. type: integer
  20993. memberuserid:
  20994. description: 会员id 个人投资者 需要填写
  20995. type: integer
  20996. opencharge:
  20997. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20998. type: number
  20999. openexchagechargevalue:
  21000. description: 建仓交易所手续费设置值
  21001. type: number
  21002. openfeealgorithm:
  21003. description: 建仓手续费收取方式 1:比率 2:固定
  21004. type: integer
  21005. openmemberchargevalue:
  21006. description: 建仓会员手续费设置值
  21007. type: number
  21008. openqty:
  21009. description: 开仓数量(先建后平操作 需要记录)
  21010. type: number
  21011. optiontype:
  21012. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21013. type: integer
  21014. orderid:
  21015. description: 委托单号
  21016. type: string
  21017. payamount:
  21018. description: 支付金额(付款金额)
  21019. type: number
  21020. performanceplanid:
  21021. description: 履约计划ID[期权]
  21022. type: integer
  21023. performancestatus:
  21024. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21025. type: integer
  21026. preexerciseprice:
  21027. description: 预申报价格
  21028. type: number
  21029. premium:
  21030. description: 权利金 - [持仓单的权利金]
  21031. type: number
  21032. qtydecimalplace:
  21033. description: 商品报价小数位
  21034. type: integer
  21035. recvamount:
  21036. description: 到账金额 = 成交金额 - 手续费
  21037. type: number
  21038. relatedouttradeid:
  21039. description: 关联外部成交单ID
  21040. type: integer
  21041. status:
  21042. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21043. type: integer
  21044. totalamount:
  21045. description: 订单总额 = 成交金额 + 手续费
  21046. type: number
  21047. tradeamount:
  21048. description: 成交金额[账户币种,用于所有权]
  21049. type: number
  21050. tradedate:
  21051. description: 交易日(yyyyMMdd)
  21052. type: string
  21053. tradeid:
  21054. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21055. type: string
  21056. trademode:
  21057. description: 交易模式
  21058. type: integer
  21059. tradeprice:
  21060. description: 成交价格
  21061. type: number
  21062. tradeproperty:
  21063. description: 交易属性
  21064. type: integer
  21065. tradeqty:
  21066. description: 成交数量
  21067. type: number
  21068. tradetime:
  21069. description: 成交时间
  21070. type: string
  21071. tradetype:
  21072. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21073. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21074. type: integer
  21075. required:
  21076. - accountid
  21077. - buyorsell
  21078. - goodsid
  21079. - histradedate
  21080. - marketid
  21081. - memberuserid
  21082. - orderid
  21083. - tradeamount
  21084. - tradedate
  21085. - tradeid
  21086. - tradeprice
  21087. - tradeqty
  21088. - tradetime
  21089. type: object
  21090. order.QueryHisTradeOrderDetailRsp:
  21091. properties:
  21092. accountid:
  21093. description: 账户ID[报价币种]
  21094. type: integer
  21095. buildtype:
  21096. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21097. type: integer
  21098. buyorsell:
  21099. description: 买卖 - 0:买 1:卖
  21100. type: integer
  21101. cancelorderid:
  21102. description: 撤单单号(撤单时填写)
  21103. type: string
  21104. cancelqty:
  21105. description: 撤单数量
  21106. type: number
  21107. clientordertime:
  21108. description: 客户端委托时间
  21109. type: string
  21110. clientticket:
  21111. description: 客户端流水号
  21112. type: string
  21113. clienttype:
  21114. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21115. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21116. type: integer
  21117. closeexchagechargevalue:
  21118. description: 平仓交易所手续费设置值
  21119. type: number
  21120. closefeealgorithm:
  21121. description: 平仓手续费收取方式 1:比率 2:固定
  21122. type: integer
  21123. closefreezecharge:
  21124. description: 平仓冻结手续费(先建后平操作,需要记录)
  21125. type: number
  21126. closememberchargevalue:
  21127. description: 平仓会员手续费设置值
  21128. type: number
  21129. closeqty:
  21130. description: 平仓数量(先建后平操作 需要记录)
  21131. type: number
  21132. closetradeqty:
  21133. description: 平仓成交数量(先建后平操作,需要记录)
  21134. type: number
  21135. closeunfreezecharge:
  21136. description: 平仓解冻手续费(先建后平操作,需要记录)
  21137. type: number
  21138. decimalplace:
  21139. description: 商品报价小数位
  21140. type: integer
  21141. delistingtype:
  21142. description: 摘牌类型 - 1:价格最优 2:点选成交
  21143. type: integer
  21144. enumdicname:
  21145. description: 单位名称
  21146. type: string
  21147. freezecharge:
  21148. description: 冻结手续费
  21149. type: number
  21150. freezemargin:
  21151. description: 冻结保证金(冻结交易金额)
  21152. type: number
  21153. gcaccountid:
  21154. description: 账户ID[合约币种]
  21155. type: integer
  21156. goodscode:
  21157. description: 商品代码
  21158. type: string
  21159. goodsid:
  21160. description: 商品ID
  21161. type: integer
  21162. goodsname:
  21163. description: 商品名称
  21164. type: string
  21165. goodunitid:
  21166. description: 商品单位id
  21167. type: integer
  21168. histradedate:
  21169. description: 历史交易日
  21170. type: string
  21171. isconfirmexercise:
  21172. description: 是否确认行权- 0:否 1:是
  21173. type: integer
  21174. ispreexercise:
  21175. description: 是否预申报- 0:否 1:是
  21176. type: integer
  21177. isvaliddata:
  21178. description: 是否有效 - 0:无效 1:有效
  21179. type: integer
  21180. listingselecttype:
  21181. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21182. type: integer
  21183. marginalgorithm:
  21184. description: 保证金收取方式 1:比率 2:固定
  21185. type: integer
  21186. marginvalue:
  21187. description: 即市保证金设置值
  21188. type: number
  21189. marketid:
  21190. description: 市场ID
  21191. type: integer
  21192. marketmaxsub:
  21193. description: 市价最大偏移范围
  21194. type: number
  21195. marketname:
  21196. description: 市场名称
  21197. type: string
  21198. memberuserid:
  21199. description: 所属会员UserID
  21200. type: integer
  21201. openexchagechargevalue:
  21202. description: 建仓交易所手续费设置值
  21203. type: number
  21204. openfeealgorithm:
  21205. description: 建仓手续费收取方式 1:比率 2:固定
  21206. type: integer
  21207. openfreezecharge:
  21208. description: 开仓冻结手续费(先建后平操作,需要记录)
  21209. type: number
  21210. openmemberchargevalue:
  21211. description: 建仓会员手续费设置值
  21212. type: number
  21213. openqty:
  21214. description: 开仓数量(先建后平操作,需要记录)
  21215. type: number
  21216. opentradeqty:
  21217. description: 开仓成交数量(先建后平操作,需要记录)
  21218. type: number
  21219. openunfreezecharge:
  21220. description: 开仓解冻手续费(先建后平操作,需要记录)
  21221. type: number
  21222. operatetype:
  21223. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21224. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21225. 15:管理端协议转让
  21226. type: integer
  21227. operatorid:
  21228. description: 登录账号(LoginID)
  21229. type: integer
  21230. optiontype:
  21231. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21232. type: integer
  21233. orderid:
  21234. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21235. type: string
  21236. orderprice:
  21237. description: 委托价格
  21238. type: number
  21239. orderqty:
  21240. description: 委托数量
  21241. type: number
  21242. ordersrc:
  21243. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21244. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21245. type: integer
  21246. orderstatus:
  21247. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21248. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21249. 16:成交失败违约(荷兰式竞拍专用)
  21250. type: integer
  21251. ordertime:
  21252. description: 委托时间
  21253. type: string
  21254. preexerciseprice:
  21255. description: 预申报价格
  21256. type: number
  21257. premium:
  21258. description: 权利金
  21259. type: number
  21260. preorderid:
  21261. description: 关联预埋单号(止盈止损单时填写)
  21262. type: string
  21263. pricemode:
  21264. description: '取价方式 - 1:市价 2: 限价'
  21265. type: integer
  21266. qtydecimalplace:
  21267. description: 成交量小数位
  21268. type: integer
  21269. quoteid:
  21270. description: 报价单ID
  21271. type: integer
  21272. relatedid:
  21273. description: 关联单号(交割单)
  21274. type: string
  21275. retcode:
  21276. description: 错误代码
  21277. type: integer
  21278. sessionid:
  21279. description: 会话ID
  21280. type: integer
  21281. tradedate:
  21282. description: 交易日(yyyyMMdd)
  21283. type: string
  21284. trademode:
  21285. description: 交易模式
  21286. type: integer
  21287. tradeproperty:
  21288. description: 交易属性
  21289. type: integer
  21290. tradeqty:
  21291. description: 成交数量
  21292. type: number
  21293. unfreezecharge:
  21294. description: 解冻手续费
  21295. type: number
  21296. unfreezemargin:
  21297. description: 解冻保证金
  21298. type: number
  21299. updatetime:
  21300. description: 更新时间
  21301. type: string
  21302. uuid:
  21303. description: 发起端唯一id
  21304. type: string
  21305. validtime:
  21306. description: 有效期限
  21307. type: string
  21308. validtype:
  21309. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21310. type: integer
  21311. volumetype:
  21312. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21313. type: integer
  21314. required:
  21315. - accountid
  21316. - buildtype
  21317. - buyorsell
  21318. - goodsid
  21319. - histradedate
  21320. - marketid
  21321. - memberuserid
  21322. - operatetype
  21323. - orderid
  21324. - orderqty
  21325. - ordertime
  21326. - pricemode
  21327. - tradedate
  21328. - validtype
  21329. type: object
  21330. order.QueryTradeDetailRsp:
  21331. properties:
  21332. accountid:
  21333. description: 账户ID[报价币种]
  21334. type: integer
  21335. advanceratio:
  21336. description: 首付比率
  21337. type: number
  21338. buildtype:
  21339. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21340. type: integer
  21341. buyorsell:
  21342. description: 方向 - 0:买 1:卖
  21343. type: integer
  21344. charge:
  21345. description: 手续费
  21346. type: number
  21347. closecharge:
  21348. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21349. type: number
  21350. closeexchagechargevalue:
  21351. description: 平仓交易所手续费设置值
  21352. type: number
  21353. closefeealgorithm:
  21354. description: 平仓手续费收取方式 1:比率 2:固定
  21355. type: integer
  21356. closememberchargevalue:
  21357. description: 平仓会员手续费设置值
  21358. type: number
  21359. closepl:
  21360. description: 平仓盈亏
  21361. type: number
  21362. closepl2:
  21363. description: 平仓盈亏[逐笔]
  21364. type: number
  21365. closeqty:
  21366. description: 平仓数量(先建后平操作 需要记录)
  21367. type: number
  21368. creditamount:
  21369. description: 授信金额
  21370. type: number
  21371. decimalplace:
  21372. description: 商品报价小数位
  21373. type: integer
  21374. enumdicname:
  21375. description: 单位名称
  21376. type: string
  21377. gcaccountid:
  21378. description: 账户ID[合约币种]
  21379. type: integer
  21380. goodscode:
  21381. description: 商品代码
  21382. type: string
  21383. goodsid:
  21384. description: 商品ID
  21385. type: integer
  21386. goodsname:
  21387. description: 商品名称
  21388. type: string
  21389. goodunitid:
  21390. description: 商品单位id
  21391. type: integer
  21392. intclosepl:
  21393. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21394. type: integer
  21395. isconfirmexercise:
  21396. description: 是否确认行权- 0:否 1:是
  21397. type: integer
  21398. ismain:
  21399. description: 是否主单 - 0:不是 1:是
  21400. type: integer
  21401. ispreexercise:
  21402. description: 是否预申报- 0:否 1:是
  21403. type: integer
  21404. isreckoned:
  21405. description: 是否结算 - 0:未结算 1:已结算
  21406. type: integer
  21407. listingselecttype:
  21408. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21409. type: integer
  21410. marketid:
  21411. description: 市场ID
  21412. type: integer
  21413. marketname:
  21414. description: 市场名称
  21415. type: string
  21416. matchaccountid:
  21417. description: 对手账号id
  21418. type: integer
  21419. memberuserid:
  21420. description: 会员id 个人投资者 需要填写
  21421. type: integer
  21422. opencharge:
  21423. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21424. type: number
  21425. openexchagechargevalue:
  21426. description: 建仓交易所手续费设置值
  21427. type: number
  21428. openfeealgorithm:
  21429. description: 建仓手续费收取方式 1:比率 2:固定
  21430. type: integer
  21431. openmemberchargevalue:
  21432. description: 建仓会员手续费设置值
  21433. type: number
  21434. openqty:
  21435. description: 开仓数量(先建后平操作 需要记录)
  21436. type: number
  21437. optiontype:
  21438. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21439. type: integer
  21440. orderid:
  21441. description: 委托单号
  21442. type: string
  21443. payamount:
  21444. description: 支付金额(付款金额)
  21445. type: number
  21446. performanceplanid:
  21447. description: 履约计划ID[期权]
  21448. type: integer
  21449. performancestatus:
  21450. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21451. type: integer
  21452. preexerciseprice:
  21453. description: 预申报价格
  21454. type: number
  21455. premium:
  21456. description: 权利金 - [持仓单的权利金]
  21457. type: number
  21458. qtydecimalplace:
  21459. description: 商品报价小数位
  21460. type: integer
  21461. recvamount:
  21462. description: 到账金额 = 成交金额 - 手续费
  21463. type: number
  21464. relatedouttradeid:
  21465. description: 关联外部成交单ID
  21466. type: integer
  21467. status:
  21468. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21469. type: integer
  21470. totalamount:
  21471. description: 订单总额 = 成交金额 + 手续费
  21472. type: number
  21473. tradeamount:
  21474. description: 成交金额[账户币种,用于所有权]
  21475. type: number
  21476. tradedate:
  21477. description: 交易日(yyyyMMdd)
  21478. type: string
  21479. tradeid:
  21480. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21481. type: string
  21482. trademode:
  21483. description: 交易模式
  21484. type: integer
  21485. tradeprice:
  21486. description: 成交价格
  21487. type: number
  21488. tradeproperty:
  21489. description: 交易属性
  21490. type: integer
  21491. tradeqty:
  21492. description: 成交数量
  21493. type: number
  21494. tradetime:
  21495. description: 成交时间
  21496. type: string
  21497. tradetype:
  21498. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21499. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21500. type: integer
  21501. required:
  21502. - accountid
  21503. - buyorsell
  21504. - goodsid
  21505. - marketid
  21506. - memberuserid
  21507. - orderid
  21508. - tradeamount
  21509. - tradedate
  21510. - tradeid
  21511. - tradeprice
  21512. - tradeqty
  21513. - tradetime
  21514. type: object
  21515. order.QueryTradeOrderDetailRsp:
  21516. properties:
  21517. accountid:
  21518. description: 账户ID[报价币种]
  21519. type: integer
  21520. buildtype:
  21521. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21522. type: integer
  21523. buyorsell:
  21524. description: 买卖 - 0:买 1:卖
  21525. type: integer
  21526. cancelorderid:
  21527. description: 撤单单号(撤单时填写)
  21528. type: string
  21529. cancelqty:
  21530. description: 撤单数量
  21531. type: number
  21532. clienttype:
  21533. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21534. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21535. type: integer
  21536. closefreezecharge:
  21537. description: 平仓冻结手续费(先建后平操作,需要记录)
  21538. type: number
  21539. closeqty:
  21540. description: 平仓数量(先建后平操作 需要记录)
  21541. type: number
  21542. closetradeqty:
  21543. description: 平仓成交数量(先建后平操作,需要记录)
  21544. type: number
  21545. closeunfreezecharge:
  21546. description: 平仓解冻手续费(先建后平操作,需要记录)
  21547. type: number
  21548. decimalplace:
  21549. description: 商品报价小数位
  21550. type: integer
  21551. delistingtype:
  21552. description: 摘牌类型 - 1:价格最优 2:点选成交
  21553. type: integer
  21554. enableqty:
  21555. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21556. type: number
  21557. enumdicname:
  21558. description: 单位名称
  21559. type: string
  21560. freezecharge:
  21561. description: 冻结手续费
  21562. type: number
  21563. freezemargin:
  21564. description: 冻结保证金(冻结交易金额)
  21565. type: number
  21566. goodscode:
  21567. description: 商品代码
  21568. type: string
  21569. goodsid:
  21570. description: 商品ID
  21571. type: integer
  21572. goodsname:
  21573. description: 商品名称
  21574. type: string
  21575. goodunitid:
  21576. description: 商品单位id
  21577. type: integer
  21578. listingselecttype:
  21579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21580. type: integer
  21581. marketid:
  21582. description: 市场ID
  21583. type: integer
  21584. marketname:
  21585. description: 市场名称
  21586. type: string
  21587. openfreezecharge:
  21588. description: 开仓冻结手续费(先建后平操作,需要记录)
  21589. type: number
  21590. openqty:
  21591. description: 开仓数量(先建后平操作,需要记录)
  21592. type: number
  21593. opentradeqty:
  21594. description: 开仓成交数量(先建后平操作,需要记录)
  21595. type: number
  21596. openunfreezecharge:
  21597. description: 开仓解冻手续费(先建后平操作,需要记录)
  21598. type: number
  21599. operatetype:
  21600. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21601. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21602. 15:管理端协议转让
  21603. type: integer
  21604. operatorid:
  21605. description: 登录账号(LoginID)
  21606. type: integer
  21607. orderid:
  21608. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21609. type: string
  21610. orderprice:
  21611. description: 委托价格
  21612. type: number
  21613. orderqty:
  21614. description: 委托数量
  21615. type: number
  21616. ordersrc:
  21617. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21618. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21619. type: integer
  21620. orderstatus:
  21621. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21622. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21623. 16:成交失败违约(荷兰式竞拍专用)
  21624. type: integer
  21625. ordertime:
  21626. description: 委托时间
  21627. type: string
  21628. preorderid:
  21629. description: 关联预埋单号(止盈止损单时填写)
  21630. type: string
  21631. pricemode:
  21632. description: '取价方式 - 1:市价 2: 限价'
  21633. type: integer
  21634. qtydecimalplace:
  21635. description: 商品报价小数位
  21636. type: integer
  21637. relatedid:
  21638. description: 关联单号(交割单)
  21639. type: string
  21640. tradedate:
  21641. description: 交易日(yyyyMMdd)
  21642. type: string
  21643. trademode:
  21644. description: 交易模式
  21645. type: integer
  21646. tradeqty:
  21647. description: 成交数量
  21648. type: number
  21649. unfreezecharge:
  21650. description: 解冻手续费
  21651. type: number
  21652. unfreezemargin:
  21653. description: 解冻保证金
  21654. type: number
  21655. validtime:
  21656. description: 有效期限
  21657. type: string
  21658. validtype:
  21659. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21660. type: integer
  21661. volumetype:
  21662. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21663. type: integer
  21664. required:
  21665. - accountid
  21666. - buildtype
  21667. - buyorsell
  21668. - goodsid
  21669. - marketid
  21670. - operatetype
  21671. - orderqty
  21672. - ordertime
  21673. - pricemode
  21674. - tradedate
  21675. - validtype
  21676. type: object
  21677. order.QueryTradePositionRsp:
  21678. properties:
  21679. accountid:
  21680. description: 资金账户
  21681. type: integer
  21682. agreeunit:
  21683. description: 合约单位
  21684. type: number
  21685. averageprice:
  21686. description: 持仓均价
  21687. type: number
  21688. buyorsell:
  21689. description: 方向 - 0:买 1:卖
  21690. type: integer
  21691. closetotalqty:
  21692. description: 平仓总数量
  21693. type: number
  21694. curholderamount:
  21695. description: 当前持仓总金额[商品币种]
  21696. type: number
  21697. curpositionqty:
  21698. description: 当前持仓总数量
  21699. type: number
  21700. currencyid:
  21701. description: 报价货币ID
  21702. type: integer
  21703. curtdposition:
  21704. description: 期末今日头寸
  21705. type: number
  21706. decimalplace:
  21707. description: 报价小数位
  21708. type: integer
  21709. enableqty:
  21710. description: 可用量
  21711. type: number
  21712. fretdposition:
  21713. description: 冻结今日头寸
  21714. type: number
  21715. frozenqty:
  21716. description: 持仓冻结数量
  21717. type: number
  21718. goodscode:
  21719. description: 商品代码
  21720. type: string
  21721. goodsid:
  21722. description: 商品Id
  21723. type: integer
  21724. goodsname:
  21725. description: 商品名称
  21726. type: string
  21727. goodunit:
  21728. description: 报价单位
  21729. type: string
  21730. goodunitid:
  21731. description: 报价单位ID
  21732. type: integer
  21733. holderamount:
  21734. description: 期初持仓总金额[商品币种]
  21735. type: number
  21736. lastprice:
  21737. description: 最新价
  21738. type: number
  21739. marketamount:
  21740. description: 市值
  21741. type: number
  21742. marketid:
  21743. description: 所属市场ID
  21744. type: integer
  21745. openreqqty:
  21746. description: 开仓申请数量(用于比较最大持仓数量)
  21747. type: number
  21748. opentotalqty:
  21749. description: 开仓总数量
  21750. type: number
  21751. otherfrozenqty:
  21752. description: 持仓其他冻结数量(交割冻结)
  21753. type: number
  21754. positionpl:
  21755. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21756. * 合约单位
  21757. type: number
  21758. positionplrate:
  21759. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21760. type: number
  21761. positionqty:
  21762. description: 期初持仓数量
  21763. type: number
  21764. qtydecimalplace:
  21765. description: 成交量小数位
  21766. type: integer
  21767. refgoodscode:
  21768. description: 参考商品代码
  21769. type: string
  21770. refgoodsid:
  21771. description: 参考商品ID
  21772. type: integer
  21773. tnqty:
  21774. description: T+N冻结总量
  21775. type: number
  21776. tnusedqty:
  21777. description: T+N使用量(可以使用T+N的冻结数量)
  21778. type: number
  21779. trademode:
  21780. description: 交易模式
  21781. type: integer
  21782. tradeproperty:
  21783. description: 交易属性
  21784. type: integer
  21785. usedmargin:
  21786. description: 占用保证金[商品币种]
  21787. type: number
  21788. required:
  21789. - goodsid
  21790. type: object
  21791. pb.GoodsMarginCfgStruct:
  21792. properties:
  21793. CustomerTypeID:
  21794. description: 投资者客户类型
  21795. type: integer
  21796. GoodsID:
  21797. description: 商品ID
  21798. type: integer
  21799. IsDefault:
  21800. description: 是否默认标志位
  21801. type: integer
  21802. LockMarginValue:
  21803. description: 锁仓保证金
  21804. type: number
  21805. MarginAlgorithm:
  21806. description: 保证金计算方式
  21807. type: integer
  21808. MarketMarginValue:
  21809. description: 即市保证金值
  21810. type: number
  21811. RealMarginAlgorithm:
  21812. description: 实付保证金计算方式
  21813. type: integer
  21814. RealMarginValue:
  21815. description: 实付比例
  21816. type: number
  21817. ReckonMarginValue:
  21818. description: 结算保证金值
  21819. type: number
  21820. type: object
  21821. quote.HistoryData:
  21822. properties:
  21823. c:
  21824. description: 收盘价
  21825. type: number
  21826. f:
  21827. description: 是否补充数据
  21828. type: boolean
  21829. h:
  21830. description: 最高价
  21831. type: number
  21832. hv:
  21833. description: 持仓量
  21834. type: integer
  21835. l:
  21836. description: 最低价
  21837. type: number
  21838. o:
  21839. description: 开盘价
  21840. type: number
  21841. s:
  21842. description: 结算价,日线周期(包括)以上才有
  21843. type: number
  21844. ts:
  21845. description: 时间
  21846. type: string
  21847. tt:
  21848. description: 总金额
  21849. type: number
  21850. tv:
  21851. description: 总量(成交量)
  21852. type: integer
  21853. type: object
  21854. quote.HistoryTikData:
  21855. properties:
  21856. AV:
  21857. description: 卖量
  21858. type: integer
  21859. Ask:
  21860. description: 卖价
  21861. type: number
  21862. BV:
  21863. description: 买量
  21864. type: integer
  21865. Bid:
  21866. description: 买价
  21867. type: number
  21868. HI:
  21869. description: 单笔持仓
  21870. type: integer
  21871. HV:
  21872. description: 持仓量
  21873. type: integer
  21874. PE:
  21875. description: 现价
  21876. type: number
  21877. TDR:
  21878. description: 交易方向,0:买 1:卖
  21879. type: integer
  21880. TK:
  21881. description: 交易类型
  21882. type: integer
  21883. TS:
  21884. description: 行情时间文本
  21885. type: string
  21886. TT:
  21887. description: 现金额
  21888. type: number
  21889. Vol:
  21890. description: 现量
  21891. type: integer
  21892. type: object
  21893. quote.QueryQuoteDayRsp:
  21894. properties:
  21895. ask:
  21896. description: 卖1
  21897. type: number
  21898. ask2:
  21899. description: 卖2
  21900. type: number
  21901. ask3:
  21902. description: 卖3
  21903. type: number
  21904. ask4:
  21905. description: 卖4
  21906. type: number
  21907. ask5:
  21908. description: 卖5
  21909. type: number
  21910. ask6:
  21911. description: 卖6
  21912. type: number
  21913. ask7:
  21914. description: 卖7
  21915. type: number
  21916. ask8:
  21917. description: 卖8
  21918. type: number
  21919. ask9:
  21920. description: 卖9
  21921. type: number
  21922. ask10:
  21923. description: 卖10
  21924. type: number
  21925. askorderid:
  21926. description: 卖单号1
  21927. type: integer
  21928. askorderid2:
  21929. description: 卖单号2
  21930. type: integer
  21931. askorderid3:
  21932. description: 卖单号3
  21933. type: integer
  21934. askorderid4:
  21935. description: 卖单号4
  21936. type: integer
  21937. askorderid5:
  21938. description: 卖单号5
  21939. type: integer
  21940. askordervolume:
  21941. description: 卖单量1
  21942. type: integer
  21943. askordervolume2:
  21944. description: 卖单量2
  21945. type: integer
  21946. askordervolume3:
  21947. description: 卖单量3
  21948. type: integer
  21949. askordervolume4:
  21950. description: 卖单量4
  21951. type: integer
  21952. askordervolume5:
  21953. description: 卖单量5
  21954. type: integer
  21955. askordervolume6:
  21956. description: 卖单量6
  21957. type: integer
  21958. askordervolume7:
  21959. description: 卖单量7
  21960. type: integer
  21961. askordervolume8:
  21962. description: 卖单量8
  21963. type: integer
  21964. askordervolume9:
  21965. description: 卖单量9
  21966. type: integer
  21967. askordervolume10:
  21968. description: 卖单量10
  21969. type: integer
  21970. askqueueinfo:
  21971. description: 大利市卖港股用
  21972. type: string
  21973. askvolume:
  21974. description: 卖量1
  21975. type: integer
  21976. askvolume2:
  21977. description: 卖量2
  21978. type: integer
  21979. askvolume3:
  21980. description: 卖量3
  21981. type: integer
  21982. askvolume4:
  21983. description: 卖量4
  21984. type: integer
  21985. askvolume5:
  21986. description: 卖量5
  21987. type: integer
  21988. askvolume6:
  21989. description: 卖量6
  21990. type: integer
  21991. askvolume7:
  21992. description: 卖量7
  21993. type: integer
  21994. askvolume8:
  21995. description: 卖量8
  21996. type: integer
  21997. askvolume9:
  21998. description: 卖量9
  21999. type: integer
  22000. askvolume10:
  22001. description: 卖量10
  22002. type: integer
  22003. averageprice:
  22004. description: 均价
  22005. type: number
  22006. bid:
  22007. description: 买1
  22008. type: number
  22009. bid2:
  22010. description: 买2
  22011. type: number
  22012. bid3:
  22013. description: 买3
  22014. type: number
  22015. bid4:
  22016. description: 买4
  22017. type: number
  22018. bid5:
  22019. description: 买5
  22020. type: number
  22021. bid6:
  22022. description: 买6
  22023. type: number
  22024. bid7:
  22025. description: 买7
  22026. type: number
  22027. bid8:
  22028. description: 买8
  22029. type: number
  22030. bid9:
  22031. description: 买9
  22032. type: number
  22033. bid10:
  22034. description: 买10
  22035. type: number
  22036. bidorderid:
  22037. description: 买单号1
  22038. type: integer
  22039. bidorderid2:
  22040. description: 买单号2
  22041. type: integer
  22042. bidorderid3:
  22043. description: 买单号3
  22044. type: integer
  22045. bidorderid4:
  22046. description: 买单号4
  22047. type: integer
  22048. bidorderid5:
  22049. description: 买单号5
  22050. type: integer
  22051. bidordervolume:
  22052. description: 买单量1
  22053. type: integer
  22054. bidordervolume2:
  22055. description: 买单量2
  22056. type: integer
  22057. bidordervolume3:
  22058. description: 买单量3
  22059. type: integer
  22060. bidordervolume4:
  22061. description: 买单量4
  22062. type: integer
  22063. bidordervolume5:
  22064. description: 买单量5
  22065. type: integer
  22066. bidordervolume6:
  22067. description: 买单量6
  22068. type: integer
  22069. bidordervolume7:
  22070. description: 买单量7
  22071. type: integer
  22072. bidordervolume8:
  22073. description: 买单量8
  22074. type: integer
  22075. bidordervolume9:
  22076. description: 买单量9
  22077. type: integer
  22078. bidordervolume10:
  22079. description: 买单量10
  22080. type: integer
  22081. bidqueueinfo:
  22082. description: 大利市买港股用
  22083. type: string
  22084. bidvolume:
  22085. description: 买量1
  22086. type: integer
  22087. bidvolume2:
  22088. description: 买量2
  22089. type: integer
  22090. bidvolume3:
  22091. description: 买量3
  22092. type: integer
  22093. bidvolume4:
  22094. description: 买量4
  22095. type: integer
  22096. bidvolume5:
  22097. description: 买量5
  22098. type: integer
  22099. bidvolume6:
  22100. description: 买量6
  22101. type: integer
  22102. bidvolume7:
  22103. description: 买量7
  22104. type: integer
  22105. bidvolume8:
  22106. description: 买量8
  22107. type: integer
  22108. bidvolume9:
  22109. description: 买量9
  22110. type: integer
  22111. bidvolume10:
  22112. description: 买量10
  22113. type: integer
  22114. calloptionpremiums:
  22115. description: 认购期权1
  22116. type: integer
  22117. calloptionpremiums2:
  22118. description: 认购期权2
  22119. type: integer
  22120. calloptionpremiums3:
  22121. description: 认购期权3
  22122. type: integer
  22123. calloptionpremiums4:
  22124. description: 认购期权4
  22125. type: integer
  22126. calloptionpremiums5:
  22127. description: 认购期权5
  22128. type: integer
  22129. cleartime:
  22130. description: 清盘时间
  22131. type: integer
  22132. exchangecode:
  22133. description: 交易所代码
  22134. type: integer
  22135. exchangedate:
  22136. description: 交易日
  22137. type: integer
  22138. goodscode:
  22139. description: 商品代码
  22140. type: string
  22141. grepmarketprice:
  22142. description: 暗盘价 港股专用
  22143. type: number
  22144. highest:
  22145. description: 最高价
  22146. type: number
  22147. holdincrement:
  22148. description: 单笔持仓
  22149. type: integer
  22150. holdvolume:
  22151. description: 持仓
  22152. type: integer
  22153. iep:
  22154. description: 平衡价 港股专用
  22155. type: number
  22156. iev:
  22157. description: 平衡量 港股专用
  22158. type: number
  22159. inventory:
  22160. description: 库存
  22161. type: integer
  22162. iscleared:
  22163. description: 是否清盘标志
  22164. type: integer
  22165. issettled:
  22166. description: 是否结算标志
  22167. type: integer
  22168. last:
  22169. description: 最新价
  22170. type: number
  22171. lastlot:
  22172. description: 最新成交手数
  22173. type: integer
  22174. lasttime:
  22175. description: 行情时间(只有现价变化行情时间才变化)
  22176. type: string
  22177. lastturnover:
  22178. description: 最新成交金额
  22179. type: number
  22180. lastvolume:
  22181. description: 最新成交量
  22182. type: integer
  22183. limitdown:
  22184. description: 跌停价
  22185. type: number
  22186. limitup:
  22187. description: 涨停价
  22188. type: number
  22189. lowest:
  22190. description: 最低价
  22191. type: number
  22192. nontotalholdervolume:
  22193. description: 非交易持仓量
  22194. type: integer
  22195. nontotallot:
  22196. description: 非交易总手数
  22197. type: integer
  22198. nontotalturnover:
  22199. description: 非交易总金额
  22200. type: integer
  22201. nontotalvolume:
  22202. description: 非交易总量
  22203. type: integer
  22204. opened:
  22205. description: 开盘价
  22206. type: number
  22207. opentime:
  22208. description: 开盘时间
  22209. type: string
  22210. orderid:
  22211. description: 序号
  22212. type: integer
  22213. preclose:
  22214. description: 昨收
  22215. type: number
  22216. preholdvolume:
  22217. description: 昨持仓
  22218. type: integer
  22219. presettle:
  22220. description: 昨结价
  22221. type: number
  22222. publictradetype:
  22223. description: 公共交易标志类型 港股专用
  22224. type: string
  22225. putoptionpremiums:
  22226. description: 认沽期权1
  22227. type: integer
  22228. putoptionpremiums2:
  22229. description: 认沽期权2
  22230. type: integer
  22231. putoptionpremiums3:
  22232. description: 认沽期权3
  22233. type: integer
  22234. putoptionpremiums4:
  22235. description: 认沽期权4
  22236. type: integer
  22237. putoptionpremiums5:
  22238. description: 认沽期权5
  22239. type: integer
  22240. settle:
  22241. description: 结算价
  22242. type: number
  22243. strikeprice:
  22244. description: 发行价
  22245. type: number
  22246. totalaskvolume:
  22247. description: 内盘
  22248. type: integer
  22249. totalbidvolume:
  22250. description: 外盘
  22251. type: integer
  22252. totallot:
  22253. description: 总手数
  22254. type: integer
  22255. totalturnover:
  22256. description: 总金额
  22257. type: number
  22258. totalvolume:
  22259. description: 总量
  22260. type: integer
  22261. utclasttime:
  22262. description: utc的行情时间
  22263. type: string
  22264. type: object
  22265. quote.QueryTSDataRsp:
  22266. properties:
  22267. Count:
  22268. description: 交易日应有数据个数
  22269. type: integer
  22270. decimalPlace:
  22271. description: 小数位
  22272. type: integer
  22273. endTime:
  22274. description: 结束时间
  22275. type: string
  22276. goodsCode:
  22277. description: 商品代码
  22278. type: string
  22279. historyDatas:
  22280. description: 历史数据
  22281. items:
  22282. $ref: '#/definitions/quote.HistoryData'
  22283. type: array
  22284. outGoodsCode:
  22285. description: 外部商品代码
  22286. type: string
  22287. preSettle:
  22288. description: 昨结价
  22289. type: number
  22290. runSteps:
  22291. description: 交易日开休市计划
  22292. items:
  22293. $ref: '#/definitions/quote.TSDataRunStep'
  22294. type: array
  22295. startTime:
  22296. description: 开始时间
  22297. type: string
  22298. tradeDate:
  22299. description: 交易日
  22300. type: string
  22301. type: object
  22302. quote.TSDataRunStep:
  22303. properties:
  22304. end:
  22305. description: 真实结束时间
  22306. type: string
  22307. endflag:
  22308. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22309. type: integer
  22310. endtime:
  22311. description: 结束时间(HH:mm)
  22312. type: string
  22313. endweekday:
  22314. description: 结束周几
  22315. type: integer
  22316. groupid:
  22317. description: 分组ID
  22318. type: integer
  22319. runstep:
  22320. description: 运行阶段 - 2:连续交易
  22321. type: integer
  22322. sectionid:
  22323. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22324. 结束时间=结算时间 结束周几=结算周几
  22325. type: integer
  22326. start:
  22327. description: 真实开始时间
  22328. type: string
  22329. startflag:
  22330. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22331. type: integer
  22332. starttime:
  22333. description: 起始时间(HH:mm)
  22334. type: string
  22335. startweekday:
  22336. description: 起始周几
  22337. type: integer
  22338. tradeweekday:
  22339. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22340. type: integer
  22341. type: object
  22342. szdz.QueryConvertLogRsp:
  22343. properties:
  22344. accountid:
  22345. description: 资金账户ID
  22346. type: integer
  22347. clientticket:
  22348. description: 客户端流水号
  22349. type: string
  22350. converttype:
  22351. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22352. type: integer
  22353. createtime:
  22354. description: 记账时间
  22355. type: string
  22356. daymaxvalue:
  22357. description: 配置当日最大转入限制
  22358. type: number
  22359. daymaxvalue2:
  22360. description: 配置当日最大转入限制(转入)
  22361. type: number
  22362. goodscode:
  22363. description: 商品代码
  22364. type: string
  22365. goodsname:
  22366. description: 商品名称
  22367. type: string
  22368. handlestatus:
  22369. description: 处理状态
  22370. type: integer
  22371. innergoodsid:
  22372. description: 内部商品ID
  22373. type: integer
  22374. inratio:
  22375. description: 配置转入比值
  22376. type: integer
  22377. invalue:
  22378. description: 目标值
  22379. type: number
  22380. logid:
  22381. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22382. type: integer
  22383. mobile:
  22384. description: 手机号码(加密存储)
  22385. type: string
  22386. outergoodscode:
  22387. description: 外部商品代码[JD\PD]
  22388. type: string
  22389. outratio:
  22390. description: 配置转出比值
  22391. type: integer
  22392. outvalue:
  22393. description: 源值
  22394. type: number
  22395. pddecimalplace:
  22396. description: PD小数位
  22397. type: integer
  22398. qty:
  22399. description: 数量
  22400. type: string
  22401. remark:
  22402. description: 备注
  22403. type: string
  22404. sessionid:
  22405. description: 会话ID
  22406. type: integer
  22407. timemaxvalue:
  22408. description: 配置单次最大转入限制
  22409. type: number
  22410. timemaxvalue2:
  22411. description: 配置单次最大转入限制(转入)
  22412. type: number
  22413. timeminvalue:
  22414. description: 配置单次最小数量限制
  22415. type: number
  22416. timeminvalue2:
  22417. description: 配置单次最小数量限制(转入)
  22418. type: number
  22419. tradedate:
  22420. description: 交易日(yyyyMMdd)
  22421. type: string
  22422. userid:
  22423. description: 用户ID
  22424. type: integer
  22425. required:
  22426. - logid
  22427. type: object
  22428. szdz.QueryGoodsPickupRsp:
  22429. properties:
  22430. accountid:
  22431. description: 账户ID
  22432. type: integer
  22433. address:
  22434. description: 提货人详细地址
  22435. type: string
  22436. auditer:
  22437. description: 审核人
  22438. type: integer
  22439. audittime:
  22440. description: 审核时间
  22441. type: string
  22442. cardnum:
  22443. description: 提货人证件号码
  22444. type: string
  22445. cardtypeid:
  22446. description: 提货人证件类型
  22447. type: integer
  22448. checkremark:
  22449. description: 审核备注
  22450. type: string
  22451. goodscode:
  22452. description: 商品代码
  22453. type: string
  22454. goodsid:
  22455. description: 商品ID
  22456. type: integer
  22457. goodsname:
  22458. description: 商品名称
  22459. type: string
  22460. handlestatus:
  22461. description: 处理状态
  22462. type: integer
  22463. marketid:
  22464. description: 市场ID
  22465. type: integer
  22466. phonenum:
  22467. description: 提货人联系方式
  22468. type: string
  22469. qty:
  22470. description: 提货数量
  22471. type: number
  22472. recivername:
  22473. description: 提货人姓名
  22474. type: string
  22475. reqtime:
  22476. description: 更新时间
  22477. type: string
  22478. takemode:
  22479. description: 提货方式 - 2:自提 3:配送
  22480. type: integer
  22481. takeorderid:
  22482. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22483. type: string
  22484. takeorderstatus:
  22485. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22486. type: integer
  22487. takeremark:
  22488. description: 提货备注
  22489. type: string
  22490. tradedate:
  22491. description: 交易日(yyyyMMdd)
  22492. type: string
  22493. userid:
  22494. description: 用户ID
  22495. type: integer
  22496. required:
  22497. - takeorderid
  22498. type: object
  22499. szdz.QueryRecieptOrderRsp:
  22500. properties:
  22501. accountName:
  22502. description: 所属账号名称(已脱敏)
  22503. type: string
  22504. accountid:
  22505. description: 资金账号
  22506. type: integer
  22507. buyorsell:
  22508. description: 方向 - 0:买 1:卖
  22509. type: integer
  22510. enableqty:
  22511. description: 可摘数量
  22512. type: integer
  22513. goodscode:
  22514. description: 商品代码
  22515. type: string
  22516. goodsid:
  22517. description: 商品ID
  22518. type: integer
  22519. goodsname:
  22520. description: 商品名称
  22521. type: string
  22522. orderid:
  22523. description: 委托单号
  22524. type: string
  22525. orderprice:
  22526. description: 委托价格
  22527. type: number
  22528. ordertime:
  22529. description: 委托时间
  22530. type: string
  22531. tradedate:
  22532. description: 交易日(yyyyMMdd)
  22533. type: string
  22534. required:
  22535. - ordertime
  22536. type: object
  22537. szdz.QuerySZDZTradePositionRsp:
  22538. properties:
  22539. accountid:
  22540. description: 账号Id
  22541. type: integer
  22542. agreeunit:
  22543. description: 合约单位
  22544. type: number
  22545. averageprice:
  22546. description: 持仓均价
  22547. type: number
  22548. buyorsell:
  22549. description: 方向 - 0:买 1:卖
  22550. type: integer
  22551. closetotalqty:
  22552. description: 平仓总数量
  22553. type: integer
  22554. curholderamount:
  22555. description: 当前持仓总金额
  22556. type: number
  22557. curpositionqty:
  22558. description: 当前持仓总数量
  22559. type: integer
  22560. currencyid:
  22561. description: 报价货币ID
  22562. type: integer
  22563. curtdposition:
  22564. description: 期末今日头寸
  22565. type: integer
  22566. decimalplace:
  22567. description: 报价小数位
  22568. type: integer
  22569. enableqty:
  22570. description: 可用量
  22571. type: integer
  22572. fretdposition:
  22573. description: 冻结今日头寸
  22574. type: integer
  22575. frozenqty:
  22576. description: 持仓冻结数量
  22577. type: integer
  22578. goodscode:
  22579. description: 商品代码(内部)
  22580. type: string
  22581. goodsid:
  22582. description: 商品Id
  22583. type: integer
  22584. goodsname:
  22585. description: 商品名称
  22586. type: string
  22587. goodunit:
  22588. description: 报价单位
  22589. type: string
  22590. goodunitid:
  22591. description: 报价单位ID
  22592. type: integer
  22593. holderamount:
  22594. description: 期初持仓总金额
  22595. type: number
  22596. marketid:
  22597. description: 市场ID
  22598. type: integer
  22599. openreqqty:
  22600. description: 开仓申请数量
  22601. type: integer
  22602. opentotalqty:
  22603. description: 开仓总数量
  22604. type: integer
  22605. otherfrozenqty:
  22606. description: 持仓其他冻结数量(交割冻结)
  22607. type: integer
  22608. positionqty:
  22609. description: 期初持仓数量
  22610. type: integer
  22611. szdz3freezqty:
  22612. description: 尚志大宗转换冻结总数量
  22613. type: integer
  22614. tnqty:
  22615. description: T+N冻结总量
  22616. type: integer
  22617. tnusedqty:
  22618. description: T+N使用量
  22619. type: integer
  22620. trademode:
  22621. description: 交易模式
  22622. type: integer
  22623. usedmargin:
  22624. description: 占用保证金
  22625. type: number
  22626. type: object
  22627. taaccount.QueryAmountLogRsp:
  22628. properties:
  22629. OPERATETYPENAME:
  22630. description: 资金操作类型名称
  22631. type: string
  22632. accountid:
  22633. description: 资金账户ID
  22634. type: integer
  22635. agoodscode:
  22636. description: 竞拍商品代码
  22637. type: string
  22638. agoodsname:
  22639. description: 竞拍商品名称
  22640. type: string
  22641. amount:
  22642. description: 资金金额
  22643. type: number
  22644. amountadjusttype:
  22645. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22646. type: integer
  22647. autoid:
  22648. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22649. type: integer
  22650. balance:
  22651. description: 期初余额
  22652. type: number
  22653. businesscode:
  22654. description: 业务编号
  22655. type: integer
  22656. createtime:
  22657. description: 发生时间
  22658. type: string
  22659. currencyid:
  22660. description: 币种ID
  22661. type: integer
  22662. currentbalance:
  22663. description: 期末余额(变动后金额)
  22664. type: number
  22665. dgoodscode:
  22666. description: 交割商品代码
  22667. type: string
  22668. dgoodsname:
  22669. description: 交割商品名称
  22670. type: string
  22671. goodscode:
  22672. description: 商品代码
  22673. type: string
  22674. goodsid:
  22675. description: 商品ID
  22676. type: integer
  22677. goodsname:
  22678. description: 商品名称
  22679. type: string
  22680. marketid:
  22681. description: 市场ID
  22682. type: integer
  22683. marketname:
  22684. description: 市场名称
  22685. type: string
  22686. moneyticket:
  22687. description: 资金流水号:银行端流水号
  22688. type: integer
  22689. operatetype:
  22690. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22691. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22692. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22693. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22694. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22695. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22696. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22697. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22698. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22699. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22700. type: integer
  22701. relationorderid:
  22702. description: 关联单号
  22703. type: string
  22704. remark:
  22705. description: 备注
  22706. type: string
  22707. trademode:
  22708. description: 交易模式
  22709. type: integer
  22710. required:
  22711. - accountid
  22712. - amount
  22713. - amountadjusttype
  22714. - autoid
  22715. - balance
  22716. - createtime
  22717. - currentbalance
  22718. - operatetype
  22719. type: object
  22720. taaccount.QueryHisAmountLogRsp:
  22721. properties:
  22722. OPERATETYPENAME:
  22723. description: 资金操作类型名称
  22724. type: string
  22725. accountid:
  22726. description: 资金账户ID
  22727. type: integer
  22728. agoodscode:
  22729. description: 竞拍商品代码
  22730. type: string
  22731. agoodsname:
  22732. description: 竞拍商品名称
  22733. type: string
  22734. amount:
  22735. description: 资金金额
  22736. type: number
  22737. amountadjusttype:
  22738. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22739. type: integer
  22740. autoid:
  22741. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22742. type: integer
  22743. balance:
  22744. description: 期初余额
  22745. type: number
  22746. businesscode:
  22747. description: 业务编号
  22748. type: integer
  22749. createtime:
  22750. description: 发生时间
  22751. type: string
  22752. currencyid:
  22753. description: 币种ID
  22754. type: integer
  22755. currentbalance:
  22756. description: 期末余额(变动后金额)
  22757. type: number
  22758. dgoodscode:
  22759. description: 交割商品代码
  22760. type: string
  22761. dgoodsname:
  22762. description: 交割商品名称
  22763. type: string
  22764. goodscode:
  22765. description: 商品代码
  22766. type: string
  22767. goodsid:
  22768. description: 商品ID
  22769. type: integer
  22770. goodsname:
  22771. description: 商品名称
  22772. type: string
  22773. histradedate:
  22774. description: 历史交易日
  22775. type: string
  22776. isvaliddata:
  22777. description: 是否有效 - 0:无效 1:有效
  22778. type: integer
  22779. marketid:
  22780. description: 市场ID
  22781. type: integer
  22782. marketname:
  22783. description: 市场名称
  22784. type: string
  22785. moneyticket:
  22786. description: 资金流水号:银行端流水号
  22787. type: integer
  22788. operatetype:
  22789. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22790. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22791. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22792. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22793. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22794. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22795. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22796. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22797. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22798. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22799. type: integer
  22800. relationorderid:
  22801. description: 关联单号
  22802. type: string
  22803. remark:
  22804. description: 备注
  22805. type: string
  22806. trademode:
  22807. description: 交易模式
  22808. type: integer
  22809. required:
  22810. - accountid
  22811. - amount
  22812. - amountadjusttype
  22813. - autoid
  22814. - balance
  22815. - createtime
  22816. - currentbalance
  22817. - histradedate
  22818. - operatetype
  22819. type: object
  22820. trade.QueryRecieptOrderRsp:
  22821. properties:
  22822. accountName:
  22823. description: 所属账号名称(已脱敏)
  22824. type: string
  22825. accountid:
  22826. description: 资金账号
  22827. type: integer
  22828. buyorsell:
  22829. description: 方向 - 0:买 1:卖
  22830. type: integer
  22831. enableqty:
  22832. description: 可摘数量
  22833. type: integer
  22834. goodscode:
  22835. description: 商品代码
  22836. type: string
  22837. goodsid:
  22838. description: 商品ID
  22839. type: integer
  22840. goodsname:
  22841. description: 商品名称
  22842. type: string
  22843. orderid:
  22844. description: 委托单号
  22845. type: string
  22846. orderprice:
  22847. description: 委托价格
  22848. type: number
  22849. ordertime:
  22850. description: 委托时间
  22851. type: string
  22852. tradedate:
  22853. description: 交易日(yyyyMMdd)
  22854. type: string
  22855. required:
  22856. - ordertime
  22857. type: object
  22858. user.LoginQueryRsp:
  22859. properties:
  22860. areaRoles:
  22861. description: 所属角色信息
  22862. items:
  22863. $ref: '#/definitions/models.Arearole'
  22864. type: array
  22865. exchangeRateConfigs:
  22866. description: 汇率信息
  22867. items:
  22868. $ref: '#/definitions/models.Exchangerateconfig'
  22869. type: array
  22870. externalExchanges:
  22871. description: 外部交易所
  22872. items:
  22873. $ref: '#/definitions/models.Externalexchange'
  22874. type: array
  22875. goodsgroups:
  22876. description: 商品组
  22877. items:
  22878. $ref: '#/definitions/models.Goodsgroup'
  22879. type: array
  22880. loginAccount:
  22881. $ref: '#/definitions/models.Loginaccount'
  22882. description: 登录账号
  22883. markets:
  22884. description: 市场
  22885. items:
  22886. $ref: '#/definitions/models.Market'
  22887. type: array
  22888. systemParams:
  22889. description: 系统参数
  22890. items:
  22891. $ref: '#/definitions/models.Systemparam'
  22892. type: array
  22893. userAccount:
  22894. $ref: '#/definitions/models.Useraccount'
  22895. description: 用户账号
  22896. userInfo:
  22897. $ref: '#/definitions/models.Userinfo'
  22898. description: 用户信息
  22899. username:
  22900. description: 用户姓名
  22901. type: string
  22902. type: object
  22903. info:
  22904. contact: {}
  22905. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22906. termsOfService: http://www.muchinfo.cn
  22907. title: MTP2.0 查询服务 API
  22908. version: "1.0"
  22909. paths:
  22910. /CPTrade/QueryCPTradeMyBidInfos:
  22911. get:
  22912. parameters:
  22913. - description: 资金账户
  22914. in: query
  22915. name: accountid
  22916. required: true
  22917. type: integer
  22918. - description: 预售市场ID
  22919. in: query
  22920. name: marketid
  22921. type: integer
  22922. - description: 预售商品ID
  22923. in: query
  22924. name: goodsid
  22925. type: integer
  22926. produces:
  22927. - application/json
  22928. responses:
  22929. "200":
  22930. description: OK
  22931. schema:
  22932. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22933. "500":
  22934. description: Internal Server Error
  22935. schema:
  22936. $ref: '#/definitions/app.Response'
  22937. security:
  22938. - ApiKeyAuth: []
  22939. summary: 查询产能预售我的出价信息
  22940. tags:
  22941. - 产能预售
  22942. /CPTrade/QueryCPTradeOrderDetail:
  22943. get:
  22944. parameters:
  22945. - description: 预售商品ID
  22946. in: query
  22947. name: goodsid
  22948. type: integer
  22949. - description: 预售市场ID
  22950. in: query
  22951. name: marketid
  22952. type: integer
  22953. - description: 预售商品ID列表 - 格式:1,2,3
  22954. in: query
  22955. name: goodsids
  22956. type: string
  22957. produces:
  22958. - application/json
  22959. responses:
  22960. "200":
  22961. description: OK
  22962. schema:
  22963. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22964. "500":
  22965. description: Internal Server Error
  22966. schema:
  22967. $ref: '#/definitions/app.Response'
  22968. security:
  22969. - ApiKeyAuth: []
  22970. summary: 查询产能预售委托单信息
  22971. tags:
  22972. - 产能预售
  22973. /CPTrade/QueryMyCPTradeGoods:
  22974. get:
  22975. parameters:
  22976. - description: 资金账户
  22977. in: query
  22978. name: accountid
  22979. required: true
  22980. type: integer
  22981. produces:
  22982. - application/json
  22983. responses:
  22984. "200":
  22985. description: OK
  22986. schema:
  22987. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22988. "500":
  22989. description: Internal Server Error
  22990. schema:
  22991. $ref: '#/definitions/app.Response'
  22992. security:
  22993. - ApiKeyAuth: []
  22994. summary: 查询我的预售信息
  22995. tags:
  22996. - 产能预售
  22997. /CPTrade/QueryPositionCancel:
  22998. get:
  22999. parameters:
  23000. - description: 账户ID
  23001. in: query
  23002. name: userid
  23003. required: true
  23004. type: integer
  23005. - description: 注销ID
  23006. in: query
  23007. name: cancelid
  23008. type: integer
  23009. - description: 资金账户ID
  23010. in: query
  23011. name: accountid
  23012. type: integer
  23013. produces:
  23014. - application/json
  23015. responses:
  23016. "200":
  23017. description: OK
  23018. schema:
  23019. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23020. "500":
  23021. description: Internal Server Error
  23022. schema:
  23023. $ref: '#/definitions/app.Response'
  23024. security:
  23025. - ApiKeyAuth: []
  23026. summary: 查询远期订单注销申请信息
  23027. tags:
  23028. - 产能预售
  23029. /CPTrade/QueryPreasleApply:
  23030. get:
  23031. parameters:
  23032. - description: 账户ID
  23033. in: query
  23034. name: userid
  23035. required: true
  23036. type: integer
  23037. - description: 申请ID
  23038. in: query
  23039. name: applyid
  23040. type: integer
  23041. - description: 资金账户ID
  23042. in: query
  23043. name: accountid
  23044. type: integer
  23045. produces:
  23046. - application/json
  23047. responses:
  23048. "200":
  23049. description: OK
  23050. schema:
  23051. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23052. "500":
  23053. description: Internal Server Error
  23054. schema:
  23055. $ref: '#/definitions/app.Response'
  23056. security:
  23057. - ApiKeyAuth: []
  23058. summary: 查询产能预售申请信息
  23059. tags:
  23060. - 产能预售
  23061. /CPTrade/QueryPresaleGoodsEx:
  23062. get:
  23063. parameters:
  23064. - description: 预售商品ID
  23065. in: query
  23066. name: goodsid
  23067. type: integer
  23068. - description: 预售市场ID
  23069. in: query
  23070. name: marketid
  23071. type: integer
  23072. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23073. in: query
  23074. name: presalemode
  23075. type: integer
  23076. - description: 预售商品ID列表 - 格式:1,2,3
  23077. in: query
  23078. name: goodsids
  23079. type: string
  23080. - description: 预售商品代码
  23081. in: query
  23082. name: goodscode
  23083. type: string
  23084. produces:
  23085. - application/json
  23086. responses:
  23087. "200":
  23088. description: OK
  23089. schema:
  23090. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23091. "500":
  23092. description: Internal Server Error
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. security:
  23096. - ApiKeyAuth: []
  23097. summary: 查询产能预售商品扩展信息
  23098. tags:
  23099. - 产能预售
  23100. /CPTrade/QueryUserGoodsData:
  23101. get:
  23102. parameters:
  23103. - description: 资金账户ID
  23104. in: query
  23105. name: accountid
  23106. required: true
  23107. type: integer
  23108. produces:
  23109. - application/json
  23110. responses:
  23111. "200":
  23112. description: OK
  23113. schema:
  23114. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23115. "500":
  23116. description: Internal Server Error
  23117. schema:
  23118. $ref: '#/definitions/app.Response'
  23119. security:
  23120. - ApiKeyAuth: []
  23121. summary: 查询远期订单信息
  23122. tags:
  23123. - 产能预售
  23124. /Common/DeleteNewFuncmenu:
  23125. delete:
  23126. consumes:
  23127. - application/json
  23128. parameters:
  23129. - description: 菜单表数据,只需要resourcecode字段即可
  23130. in: body
  23131. name: data
  23132. required: true
  23133. schema:
  23134. $ref: '#/definitions/models.NewFuncmenulist'
  23135. produces:
  23136. - application/json
  23137. responses:
  23138. "200":
  23139. description: OK
  23140. schema:
  23141. $ref: '#/definitions/app.Response'
  23142. "500":
  23143. description: Internal Server Error
  23144. schema:
  23145. $ref: '#/definitions/app.Response'
  23146. security:
  23147. - ApiKeyAuth: []
  23148. summary: 删除菜单表数据
  23149. tags:
  23150. - 通用服务
  23151. /Common/FindNewFuncmenu:
  23152. get:
  23153. parameters:
  23154. - description: 资源代码
  23155. in: query
  23156. name: resourcecode
  23157. type: string
  23158. - description: 上级资源代码
  23159. in: query
  23160. name: parentcode
  23161. type: string
  23162. - description: 资源名(Title), 模糊查询
  23163. in: query
  23164. name: resourcename
  23165. type: string
  23166. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23167. in: query
  23168. name: menutype
  23169. type: string
  23170. produces:
  23171. - application/json
  23172. responses:
  23173. "200":
  23174. description: OK
  23175. schema:
  23176. items:
  23177. $ref: '#/definitions/models.NewFuncmenulist'
  23178. type: array
  23179. "500":
  23180. description: Internal Server Error
  23181. schema:
  23182. $ref: '#/definitions/app.Response'
  23183. security:
  23184. - ApiKeyAuth: []
  23185. summary: 获取菜单表数据
  23186. tags:
  23187. - 通用服务
  23188. /Common/GetAllEnums:
  23189. get:
  23190. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23191. parameters:
  23192. - description: 起始自增ID
  23193. in: query
  23194. name: autoid
  23195. type: integer
  23196. produces:
  23197. - application/json
  23198. responses:
  23199. "200":
  23200. description: OK
  23201. schema:
  23202. $ref: '#/definitions/models.Enumdicitem'
  23203. "500":
  23204. description: Internal Server Error
  23205. schema:
  23206. $ref: '#/definitions/app.Response'
  23207. summary: 获取所有枚举信息
  23208. tags:
  23209. - 通用服务
  23210. /Common/GetClientMenus:
  23211. get:
  23212. parameters:
  23213. - description: 登录账号
  23214. in: query
  23215. name: loginID
  23216. required: true
  23217. type: integer
  23218. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23219. in: query
  23220. name: clientType
  23221. type: integer
  23222. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23223. in: query
  23224. name: name
  23225. type: string
  23226. produces:
  23227. - application/json
  23228. responses:
  23229. "200":
  23230. description: OK
  23231. schema:
  23232. items:
  23233. $ref: '#/definitions/common.ClientMenu'
  23234. type: array
  23235. "500":
  23236. description: Internal Server Error
  23237. schema:
  23238. $ref: '#/definitions/app.Response'
  23239. security:
  23240. - ApiKeyAuth: []
  23241. summary: 获取交易端菜单
  23242. tags:
  23243. - 通用服务
  23244. /Common/GetClientNewFuncmenu:
  23245. get:
  23246. parameters:
  23247. - description: 登录账号
  23248. in: query
  23249. name: loginid
  23250. required: true
  23251. type: integer
  23252. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23253. in: query
  23254. name: menutype
  23255. required: true
  23256. type: integer
  23257. produces:
  23258. - application/json
  23259. responses:
  23260. "200":
  23261. description: OK
  23262. schema:
  23263. items:
  23264. $ref: '#/definitions/models.NewFuncmenulist'
  23265. type: array
  23266. "500":
  23267. description: Internal Server Error
  23268. schema:
  23269. $ref: '#/definitions/app.Response'
  23270. security:
  23271. - ApiKeyAuth: []
  23272. summary: 获取终端菜单
  23273. tags:
  23274. - 通用服务
  23275. /Common/GetDivisions:
  23276. get:
  23277. produces:
  23278. - application/json
  23279. responses:
  23280. "200":
  23281. description: OK
  23282. schema:
  23283. $ref: '#/definitions/models.Division'
  23284. "500":
  23285. description: Internal Server Error
  23286. schema:
  23287. $ref: '#/definitions/app.Response'
  23288. summary: 查询区域信息
  23289. tags:
  23290. - 通用服务
  23291. /Common/GetPCWebMenus:
  23292. get:
  23293. parameters:
  23294. - description: 登录账号
  23295. in: query
  23296. name: loginID
  23297. required: true
  23298. type: integer
  23299. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23300. in: query
  23301. name: name
  23302. type: string
  23303. produces:
  23304. - application/json
  23305. responses:
  23306. "200":
  23307. description: OK
  23308. schema:
  23309. items:
  23310. $ref: '#/definitions/common.PCWebMenu'
  23311. type: array
  23312. "500":
  23313. description: Internal Server Error
  23314. schema:
  23315. $ref: '#/definitions/app.Response'
  23316. security:
  23317. - ApiKeyAuth: []
  23318. summary: 获取PCWeb交易端菜单
  23319. tags:
  23320. - 通用服务
  23321. /Common/GetServerTime:
  23322. get:
  23323. produces:
  23324. - application/json
  23325. responses:
  23326. "200":
  23327. description: OK
  23328. schema:
  23329. $ref: '#/definitions/app.Response'
  23330. "500":
  23331. description: Internal Server Error
  23332. schema:
  23333. $ref: '#/definitions/app.Response'
  23334. summary: 获取服务器时间
  23335. tags:
  23336. - 通用服务
  23337. /Common/InsertNewFuncmenu:
  23338. post:
  23339. consumes:
  23340. - application/json
  23341. parameters:
  23342. - description: 菜单表数据
  23343. in: body
  23344. name: data
  23345. required: true
  23346. schema:
  23347. $ref: '#/definitions/models.NewFuncmenulist'
  23348. produces:
  23349. - application/json
  23350. responses:
  23351. "200":
  23352. description: OK
  23353. schema:
  23354. $ref: '#/definitions/app.Response'
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 插入菜单表数据
  23362. tags:
  23363. - 通用服务
  23364. /Common/NoticeReaded:
  23365. post:
  23366. parameters:
  23367. - description: 登录账号
  23368. in: query
  23369. name: loginID
  23370. required: true
  23371. type: integer
  23372. - description: 通知公告ID
  23373. in: query
  23374. name: noticeID
  23375. required: true
  23376. type: integer
  23377. produces:
  23378. - application/json
  23379. responses:
  23380. "200":
  23381. description: OK
  23382. schema:
  23383. $ref: '#/definitions/app.Response'
  23384. "500":
  23385. description: Internal Server Error
  23386. schema:
  23387. $ref: '#/definitions/app.Response'
  23388. security:
  23389. - ApiKeyAuth: []
  23390. summary: 通知公告设置已读请求
  23391. tags:
  23392. - 通用服务
  23393. /Common/QueryErrorInfos:
  23394. get:
  23395. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23396. parameters:
  23397. - description: 起始行号前索引
  23398. in: query
  23399. name: rowNumber
  23400. type: string
  23401. produces:
  23402. - application/json
  23403. responses:
  23404. "200":
  23405. description: OK
  23406. schema:
  23407. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23408. "500":
  23409. description: Internal Server Error
  23410. schema:
  23411. $ref: '#/definitions/app.Response'
  23412. summary: 获取数据库错误信息
  23413. tags:
  23414. - 通用服务
  23415. /Common/QueryImageConfigs:
  23416. get:
  23417. parameters:
  23418. - description: 用户id
  23419. in: query
  23420. name: userId
  23421. type: integer
  23422. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23423. in: query
  23424. name: imageType
  23425. type: integer
  23426. produces:
  23427. - application/json
  23428. responses:
  23429. "200":
  23430. description: OK
  23431. schema:
  23432. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23433. "500":
  23434. description: Internal Server Error
  23435. schema:
  23436. $ref: '#/definitions/app.Response'
  23437. summary: 查询轮播图配置信息
  23438. tags:
  23439. - 通用服务
  23440. /Common/QueryNotice:
  23441. get:
  23442. parameters:
  23443. - description: 页码
  23444. in: query
  23445. name: page
  23446. type: integer
  23447. - description: 每页条数
  23448. in: query
  23449. name: pagesize
  23450. type: integer
  23451. - description: 登录账号
  23452. in: query
  23453. name: loginID
  23454. required: true
  23455. type: integer
  23456. - description: 消息类型 - 1:公告通知 2:系统消息
  23457. in: query
  23458. name: msgType
  23459. type: integer
  23460. - description: 是否只获取未读信息
  23461. in: query
  23462. name: onlyUnRead
  23463. type: boolean
  23464. - description: 自增ID,传入后会返回这个ID后面的记录
  23465. in: query
  23466. name: lastID
  23467. type: integer
  23468. produces:
  23469. - application/json
  23470. responses:
  23471. "200":
  23472. description: OK
  23473. schema:
  23474. $ref: '#/definitions/common.QueryNoticeRsp'
  23475. "500":
  23476. description: Internal Server Error
  23477. schema:
  23478. $ref: '#/definitions/app.Response'
  23479. security:
  23480. - ApiKeyAuth: []
  23481. summary: 通知公告系统消息查询
  23482. tags:
  23483. - 通用服务
  23484. /Common/QueryProvincesAndCities:
  23485. get:
  23486. parameters:
  23487. - description: 省ID
  23488. in: query
  23489. name: provinceID
  23490. type: integer
  23491. produces:
  23492. - application/json
  23493. responses:
  23494. "200":
  23495. description: OK
  23496. schema:
  23497. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23498. "500":
  23499. description: Internal Server Error
  23500. schema:
  23501. $ref: '#/definitions/app.Response'
  23502. summary: 查询省市信息(不包括区)
  23503. tags:
  23504. - 通用服务
  23505. /Common/QueryRates:
  23506. get:
  23507. parameters:
  23508. - description: 页码
  23509. in: query
  23510. name: page
  23511. type: integer
  23512. - description: 每页条数
  23513. in: query
  23514. name: pagesize
  23515. type: integer
  23516. - description: 源币种ID
  23517. in: query
  23518. name: oricurrencyid
  23519. type: integer
  23520. - description: 目标币种ID
  23521. in: query
  23522. name: descurrencyid
  23523. type: integer
  23524. produces:
  23525. - application/json
  23526. responses:
  23527. "200":
  23528. description: OK
  23529. schema:
  23530. items:
  23531. $ref: '#/definitions/models.Exchangerateconfig'
  23532. type: array
  23533. "500":
  23534. description: Internal Server Error
  23535. schema:
  23536. $ref: '#/definitions/app.Response'
  23537. security:
  23538. - ApiKeyAuth: []
  23539. - LoginID: []
  23540. - Group: []
  23541. summary: 查询汇率信息
  23542. tags:
  23543. - 通用服务
  23544. /Common/QueryTableDefine:
  23545. get:
  23546. parameters:
  23547. - description: 表key
  23548. in: query
  23549. name: tableKey
  23550. type: string
  23551. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23552. in: query
  23553. name: tableType
  23554. type: integer
  23555. produces:
  23556. - application/json
  23557. responses:
  23558. "200":
  23559. description: OK
  23560. schema:
  23561. $ref: '#/definitions/common.QueryTableDefineRsp'
  23562. "500":
  23563. description: Internal Server Error
  23564. schema:
  23565. $ref: '#/definitions/app.Response'
  23566. summary: 查询交易端列表头信息
  23567. tags:
  23568. - 通用服务
  23569. /Common/QueryTraderMenu:
  23570. get:
  23571. parameters:
  23572. - description: 登录账号
  23573. in: query
  23574. name: loginid
  23575. required: true
  23576. type: integer
  23577. produces:
  23578. - application/json
  23579. responses:
  23580. "200":
  23581. description: OK
  23582. schema:
  23583. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23584. "500":
  23585. description: Internal Server Error
  23586. schema:
  23587. $ref: '#/definitions/app.Response'
  23588. summary: 查询交易端菜单
  23589. tags:
  23590. - 通用服务
  23591. /Common/UpdateNewFuncmenu:
  23592. put:
  23593. consumes:
  23594. - application/json
  23595. parameters:
  23596. - description: 菜单表数据
  23597. in: body
  23598. name: data
  23599. required: true
  23600. schema:
  23601. $ref: '#/definitions/models.NewFuncmenulist'
  23602. produces:
  23603. - application/json
  23604. responses:
  23605. "200":
  23606. description: OK
  23607. schema:
  23608. $ref: '#/definitions/app.Response'
  23609. "500":
  23610. description: Internal Server Error
  23611. schema:
  23612. $ref: '#/definitions/app.Response'
  23613. security:
  23614. - ApiKeyAuth: []
  23615. summary: 更新菜单表数据
  23616. tags:
  23617. - 通用服务
  23618. /Delivery/QueryDeliveryRelation:
  23619. get:
  23620. parameters:
  23621. - description: 商品ID
  23622. in: query
  23623. name: goodsid
  23624. type: integer
  23625. - description: 品种ID
  23626. in: query
  23627. name: deliverygoodsid
  23628. type: integer
  23629. - description: 市场ID
  23630. in: query
  23631. name: marketid
  23632. type: integer
  23633. produces:
  23634. - application/json
  23635. responses:
  23636. "200":
  23637. description: OK
  23638. schema:
  23639. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23640. "500":
  23641. description: Internal Server Error
  23642. schema:
  23643. $ref: '#/definitions/app.Response'
  23644. security:
  23645. - ApiKeyAuth: []
  23646. summary: 查询商品交割关系表
  23647. tags:
  23648. - 交割服务
  23649. /Ermcp/GetErmcpGoods:
  23650. get:
  23651. parameters:
  23652. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23653. in: query
  23654. name: userid
  23655. type: integer
  23656. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23657. in: query
  23658. name: lastUpdateTime
  23659. type: string
  23660. produces:
  23661. - application/json
  23662. responses:
  23663. "200":
  23664. description: OK
  23665. schema:
  23666. $ref: '#/definitions/models.ErmcpGoods'
  23667. "500":
  23668. description: Internal Server Error
  23669. schema:
  23670. $ref: '#/definitions/app.Response'
  23671. security:
  23672. - ApiKeyAuth: []
  23673. summary: 查询企业风管期货商品信息
  23674. tags:
  23675. - 企业风险管理(app)
  23676. /Ermcp/GetErmcpGoodsSortByPosition:
  23677. get:
  23678. parameters:
  23679. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23680. in: query
  23681. name: sortIndex
  23682. type: string
  23683. produces:
  23684. - application/json
  23685. responses:
  23686. "200":
  23687. description: OK
  23688. schema:
  23689. $ref: '#/definitions/models.Goodssortbypreposition'
  23690. "500":
  23691. description: Internal Server Error
  23692. schema:
  23693. $ref: '#/definitions/app.Response'
  23694. security:
  23695. - ApiKeyAuth: []
  23696. summary: 查询企业风管期货主力、次主力商品信息
  23697. tags:
  23698. - 企业风险管理(app)
  23699. /Ermcp/GetErmcpOutAccountStatus:
  23700. get:
  23701. parameters:
  23702. - description: 登录账号
  23703. in: query
  23704. name: loginID
  23705. required: true
  23706. type: integer
  23707. produces:
  23708. - application/json
  23709. responses:
  23710. "200":
  23711. description: OK
  23712. schema:
  23713. $ref: '#/definitions/models.Hedgemarketopenlog'
  23714. "500":
  23715. description: Internal Server Error
  23716. schema:
  23717. $ref: '#/definitions/app.Response'
  23718. security:
  23719. - ApiKeyAuth: []
  23720. summary: 获取目标登录账号当前对冲账号在线状态
  23721. tags:
  23722. - 企业风险管理(app)
  23723. /Ermcp/GetErmcpRoleFuncMenuLists:
  23724. get:
  23725. parameters:
  23726. - description: 登录账号
  23727. in: query
  23728. name: loginID
  23729. required: true
  23730. type: integer
  23731. produces:
  23732. - application/json
  23733. responses:
  23734. "200":
  23735. description: OK
  23736. schema:
  23737. $ref: '#/definitions/models.Funcmenulist'
  23738. "500":
  23739. description: Internal Server Error
  23740. schema:
  23741. $ref: '#/definitions/app.Response'
  23742. security:
  23743. - ApiKeyAuth: []
  23744. summary: 获取企业风管终端权限
  23745. tags:
  23746. - 企业风险管理(app)
  23747. /Ermcp/QueryAccMgrBizGroupSet:
  23748. get:
  23749. parameters:
  23750. - description: 用户ID
  23751. in: query
  23752. name: userid
  23753. required: true
  23754. type: integer
  23755. - description: 现货商品id
  23756. in: query
  23757. name: deliverygoodsid
  23758. type: integer
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. items:
  23766. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23767. type: array
  23768. "500":
  23769. description: Internal Server Error
  23770. schema:
  23771. $ref: '#/definitions/app.Response'
  23772. security:
  23773. - ApiKeyAuth: []
  23774. summary: 查询业务类型分组(账户管理/账户设置)
  23775. tags:
  23776. - 企业风险管理(app)
  23777. /Ermcp/QueryAccMgrLoginUser:
  23778. get:
  23779. parameters:
  23780. - description: 用户ID
  23781. in: query
  23782. name: userid
  23783. required: true
  23784. type: integer
  23785. - description: 用户类型 2-机构 7-企业成员
  23786. in: query
  23787. name: usertype
  23788. type: integer
  23789. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23790. in: query
  23791. name: querytype
  23792. required: true
  23793. type: integer
  23794. produces:
  23795. - application/json
  23796. responses:
  23797. "200":
  23798. description: OK
  23799. schema:
  23800. items:
  23801. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23802. type: array
  23803. "500":
  23804. description: Internal Server Error
  23805. schema:
  23806. $ref: '#/definitions/app.Response'
  23807. security:
  23808. - ApiKeyAuth: []
  23809. summary: 查询账户管理登录账号(账户管理/登录账号)
  23810. tags:
  23811. - 企业风险管理(app)
  23812. /Ermcp/QueryAccMgrMainAccountInfo:
  23813. get:
  23814. parameters:
  23815. - description: 用户ID
  23816. in: query
  23817. name: userid
  23818. type: integer
  23819. - description: 主账号id
  23820. in: query
  23821. name: accountid
  23822. type: integer
  23823. produces:
  23824. - application/json
  23825. responses:
  23826. "200":
  23827. description: OK
  23828. schema:
  23829. items:
  23830. $ref: '#/definitions/models.MainAccountInfo'
  23831. type: array
  23832. "500":
  23833. description: Internal Server Error
  23834. schema:
  23835. $ref: '#/definitions/app.Response'
  23836. security:
  23837. - ApiKeyAuth: []
  23838. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23839. tags:
  23840. - 企业风险管理(app)
  23841. /Ermcp/QueryAccMgrRole:
  23842. get:
  23843. parameters:
  23844. - description: 用户ID
  23845. in: query
  23846. name: userid
  23847. required: true
  23848. type: integer
  23849. produces:
  23850. - application/json
  23851. responses:
  23852. "200":
  23853. description: OK
  23854. schema:
  23855. items:
  23856. $ref: '#/definitions/models.ErmcpRole'
  23857. type: array
  23858. "500":
  23859. description: Internal Server Error
  23860. schema:
  23861. $ref: '#/definitions/app.Response'
  23862. security:
  23863. - ApiKeyAuth: []
  23864. summary: 查询账户管理角色设置(账户管理/角色设置)
  23865. tags:
  23866. - 企业风险管理(app)
  23867. /Ermcp/QueryAccMgrRoleMenu:
  23868. get:
  23869. parameters:
  23870. - description: 用户ID
  23871. in: query
  23872. name: userid
  23873. required: true
  23874. type: integer
  23875. - description: 角色id(可多个,逗号隔开)
  23876. in: query
  23877. name: roleid
  23878. type: string
  23879. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23880. in: query
  23881. name: menutype
  23882. type: integer
  23883. produces:
  23884. - application/json
  23885. responses:
  23886. "200":
  23887. description: OK
  23888. schema:
  23889. items:
  23890. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23891. type: array
  23892. "500":
  23893. description: Internal Server Error
  23894. schema:
  23895. $ref: '#/definitions/app.Response'
  23896. security:
  23897. - ApiKeyAuth: []
  23898. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23899. tags:
  23900. - 企业风险管理(app)
  23901. /Ermcp/QueryAccMgrTaAccountInfo:
  23902. get:
  23903. parameters:
  23904. - description: 用户ID
  23905. in: query
  23906. name: userid
  23907. required: true
  23908. type: integer
  23909. - description: 账号id
  23910. in: query
  23911. name: accountid
  23912. type: integer
  23913. produces:
  23914. - application/json
  23915. responses:
  23916. "200":
  23917. description: OK
  23918. schema:
  23919. items:
  23920. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23921. type: array
  23922. "500":
  23923. description: Internal Server Error
  23924. schema:
  23925. $ref: '#/definitions/app.Response'
  23926. security:
  23927. - ApiKeyAuth: []
  23928. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23929. tags:
  23930. - 企业风险管理(app)
  23931. /Ermcp/QueryAccMgrTaaccount:
  23932. get:
  23933. parameters:
  23934. - description: 用户ID
  23935. in: query
  23936. name: userid
  23937. required: true
  23938. type: integer
  23939. produces:
  23940. - application/json
  23941. responses:
  23942. "200":
  23943. description: OK
  23944. schema:
  23945. items:
  23946. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23947. type: array
  23948. "500":
  23949. description: Internal Server Error
  23950. schema:
  23951. $ref: '#/definitions/app.Response'
  23952. security:
  23953. - ApiKeyAuth: []
  23954. summary: 查询账户管理期货账号(账户管理/期货账号)
  23955. tags:
  23956. - 企业风险管理(app)
  23957. /Ermcp/QueryAvaildGoodsGroup:
  23958. get:
  23959. parameters:
  23960. - description: 所属机构ID
  23961. in: query
  23962. name: userid
  23963. required: true
  23964. type: integer
  23965. produces:
  23966. - application/json
  23967. responses:
  23968. "200":
  23969. description: OK
  23970. schema:
  23971. items:
  23972. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  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. - 企业风险管理(app)
  23983. /Ermcp/QueryBusinessDj:
  23984. get:
  23985. parameters:
  23986. - description: 用户ID
  23987. in: query
  23988. name: UserId
  23989. required: true
  23990. type: integer
  23991. - description: 用户类型 2-机构 7-企业成员
  23992. in: query
  23993. name: usertype
  23994. type: integer
  23995. - description: 现货合同ID, 不填则查所有
  23996. in: query
  23997. name: relatedid
  23998. type: string
  23999. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24000. in: query
  24001. name: applystatus
  24002. type: string
  24003. produces:
  24004. - application/json
  24005. responses:
  24006. "200":
  24007. description: OK
  24008. schema:
  24009. items:
  24010. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24011. type: array
  24012. "500":
  24013. description: Internal Server Error
  24014. schema:
  24015. $ref: '#/definitions/app.Response'
  24016. security:
  24017. - ApiKeyAuth: []
  24018. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24019. tags:
  24020. - 企业风险管理(app)
  24021. /Ermcp/QueryBusinessFp:
  24022. get:
  24023. parameters:
  24024. - description: 用户ID
  24025. in: query
  24026. name: UserId
  24027. required: true
  24028. type: integer
  24029. - description: 用户类型 2-机构 7-企业成员
  24030. in: query
  24031. name: usertype
  24032. type: integer
  24033. - description: 现货合同ID, 不填则查所有
  24034. in: query
  24035. name: relatedid
  24036. type: string
  24037. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24038. in: query
  24039. name: applystatus
  24040. type: string
  24041. produces:
  24042. - application/json
  24043. responses:
  24044. "200":
  24045. description: OK
  24046. schema:
  24047. items:
  24048. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24049. type: array
  24050. "500":
  24051. description: Internal Server Error
  24052. schema:
  24053. $ref: '#/definitions/app.Response'
  24054. security:
  24055. - ApiKeyAuth: []
  24056. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24057. tags:
  24058. - 企业风险管理(app)
  24059. /Ermcp/QueryBusinessJs:
  24060. get:
  24061. parameters:
  24062. - description: 用户ID
  24063. in: query
  24064. name: UserId
  24065. required: true
  24066. type: integer
  24067. - description: 用户类型 2-机构 7-企业成员
  24068. in: query
  24069. name: usertype
  24070. type: integer
  24071. - description: 现货合同ID, 不填则查所有
  24072. in: query
  24073. name: relatedid
  24074. type: string
  24075. - description: 操作申请id
  24076. in: query
  24077. name: operateapplyid
  24078. type: string
  24079. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24080. in: query
  24081. name: applystatus
  24082. type: string
  24083. produces:
  24084. - application/json
  24085. responses:
  24086. "200":
  24087. description: OK
  24088. schema:
  24089. items:
  24090. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24091. type: array
  24092. "500":
  24093. description: Internal Server Error
  24094. schema:
  24095. $ref: '#/definitions/app.Response'
  24096. security:
  24097. - ApiKeyAuth: []
  24098. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24099. tags:
  24100. - 企业风险管理(app)
  24101. /Ermcp/QueryBusinessJsEx:
  24102. get:
  24103. parameters:
  24104. - description: 用户ID
  24105. in: query
  24106. name: UserId
  24107. required: true
  24108. type: integer
  24109. - description: 用户类型 2-机构 7-企业成员
  24110. in: query
  24111. name: usertype
  24112. type: integer
  24113. - description: 现货合同ID, 不填则查所有
  24114. in: query
  24115. name: relatedid
  24116. type: string
  24117. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24118. in: query
  24119. name: applystatus
  24120. type: string
  24121. produces:
  24122. - application/json
  24123. responses:
  24124. "200":
  24125. description: OK
  24126. schema:
  24127. items:
  24128. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24129. type: array
  24130. "500":
  24131. description: Internal Server Error
  24132. schema:
  24133. $ref: '#/definitions/app.Response'
  24134. security:
  24135. - ApiKeyAuth: []
  24136. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24137. tags:
  24138. - 企业风险管理(app)
  24139. /Ermcp/QueryBusinessKx:
  24140. get:
  24141. parameters:
  24142. - description: 用户ID
  24143. in: query
  24144. name: UserId
  24145. required: true
  24146. type: integer
  24147. - description: 用户类型 2-机构 7-企业成员
  24148. in: query
  24149. name: usertype
  24150. type: integer
  24151. - description: 现货合同ID, 不填则查所有
  24152. in: query
  24153. name: relatedid
  24154. type: string
  24155. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24156. in: query
  24157. name: applystatus
  24158. type: string
  24159. produces:
  24160. - application/json
  24161. responses:
  24162. "200":
  24163. description: OK
  24164. schema:
  24165. items:
  24166. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24167. type: array
  24168. "500":
  24169. description: Internal Server Error
  24170. schema:
  24171. $ref: '#/definitions/app.Response'
  24172. security:
  24173. - ApiKeyAuth: []
  24174. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24175. tags:
  24176. - 企业风险管理(app)
  24177. /Ermcp/QueryChangeLog:
  24178. get:
  24179. parameters:
  24180. - description: 合同ID
  24181. in: query
  24182. name: RelatedId
  24183. required: true
  24184. type: string
  24185. produces:
  24186. - application/json
  24187. responses:
  24188. "200":
  24189. description: OK
  24190. schema:
  24191. items:
  24192. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24193. type: array
  24194. "500":
  24195. description: Internal Server Error
  24196. schema:
  24197. $ref: '#/definitions/app.Response'
  24198. security:
  24199. - ApiKeyAuth: []
  24200. summary: 查询变更记录
  24201. tags:
  24202. - 企业风险管理(app)
  24203. /Ermcp/QueryErmcpHisOrderDetails:
  24204. get:
  24205. parameters:
  24206. - description: 资金账户ID
  24207. in: query
  24208. name: accountID
  24209. required: true
  24210. type: integer
  24211. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24212. in: query
  24213. name: startDate
  24214. type: string
  24215. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24216. in: query
  24217. name: endDate
  24218. type: string
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 获取企业风管期货历史委托单信息
  24233. tags:
  24234. - 企业风险管理(app)
  24235. /Ermcp/QueryErmcpHisTradeDetails:
  24236. get:
  24237. parameters:
  24238. - description: 资金账户ID
  24239. in: query
  24240. name: accountID
  24241. required: true
  24242. type: integer
  24243. - description: 商品ID
  24244. in: query
  24245. name: goodsID
  24246. type: integer
  24247. - description: 买卖方向,0:买 1:卖
  24248. in: query
  24249. name: buyOrSell
  24250. type: integer
  24251. - description: 关联委托单号
  24252. in: query
  24253. name: orderID
  24254. type: integer
  24255. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24256. in: query
  24257. name: startDate
  24258. type: string
  24259. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24260. in: query
  24261. name: endDate
  24262. type: string
  24263. produces:
  24264. - application/json
  24265. responses:
  24266. "200":
  24267. description: OK
  24268. schema:
  24269. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24270. "500":
  24271. description: Internal Server Error
  24272. schema:
  24273. $ref: '#/definitions/app.Response'
  24274. security:
  24275. - ApiKeyAuth: []
  24276. summary: 获取企业风管期货历史成交单信息
  24277. tags:
  24278. - 企业风险管理(app)
  24279. /Ermcp/QueryErmcpInnerHolderDetails:
  24280. get:
  24281. parameters:
  24282. - description: 资金账户ID
  24283. in: query
  24284. name: accountID
  24285. required: true
  24286. type: integer
  24287. - description: 商品ID
  24288. in: query
  24289. name: goodsID
  24290. type: integer
  24291. - description: 买卖方向,0:买 1:卖
  24292. in: query
  24293. name: buyOrSell
  24294. type: integer
  24295. produces:
  24296. - application/json
  24297. responses:
  24298. "200":
  24299. description: OK
  24300. schema:
  24301. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24302. "500":
  24303. description: Internal Server Error
  24304. schema:
  24305. $ref: '#/definitions/app.Response'
  24306. security:
  24307. - ApiKeyAuth: []
  24308. summary: 获取企业风管期货内部持仓单信息
  24309. tags:
  24310. - 企业风险管理(app)
  24311. /Ermcp/QueryErmcpOrderDetails:
  24312. get:
  24313. parameters:
  24314. - description: 资金账户ID
  24315. in: query
  24316. name: accountID
  24317. required: true
  24318. type: integer
  24319. produces:
  24320. - application/json
  24321. responses:
  24322. "200":
  24323. description: OK
  24324. schema:
  24325. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24326. "500":
  24327. description: Internal Server Error
  24328. schema:
  24329. $ref: '#/definitions/app.Response'
  24330. security:
  24331. - ApiKeyAuth: []
  24332. summary: 获取企业风管期货委托单信息
  24333. tags:
  24334. - 企业风险管理(app)
  24335. /Ermcp/QueryErmcpTradeDetails:
  24336. get:
  24337. parameters:
  24338. - description: 资金账户ID
  24339. in: query
  24340. name: accountID
  24341. required: true
  24342. type: integer
  24343. - description: 商品ID
  24344. in: query
  24345. name: goodsID
  24346. type: integer
  24347. - description: 买卖方向,0:买 1:卖
  24348. in: query
  24349. name: buyOrSell
  24350. type: integer
  24351. - description: 关联委托单号
  24352. in: query
  24353. name: orderID
  24354. type: integer
  24355. produces:
  24356. - application/json
  24357. responses:
  24358. "200":
  24359. description: OK
  24360. schema:
  24361. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24362. "500":
  24363. description: Internal Server Error
  24364. schema:
  24365. $ref: '#/definitions/app.Response'
  24366. security:
  24367. - ApiKeyAuth: []
  24368. summary: 获取企业风管期货成交单信息
  24369. tags:
  24370. - 企业风险管理(app)
  24371. /Ermcp/QueryErmcpTradePosition:
  24372. get:
  24373. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24374. parameters:
  24375. - description: 资金账户ID
  24376. in: query
  24377. name: accountID
  24378. required: true
  24379. type: integer
  24380. - description: 所属市场ID
  24381. in: query
  24382. name: marketID
  24383. type: integer
  24384. produces:
  24385. - application/json
  24386. responses:
  24387. "200":
  24388. description: OK
  24389. schema:
  24390. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24391. "500":
  24392. description: Internal Server Error
  24393. schema:
  24394. $ref: '#/definitions/app.Response'
  24395. security:
  24396. - ApiKeyAuth: []
  24397. summary: 获取企业风管期货持仓头寸信息
  24398. tags:
  24399. - 企业风险管理(app)
  24400. /Ermcp/QueryExposureDetail:
  24401. get:
  24402. parameters:
  24403. - description: 所属机构ID
  24404. in: query
  24405. name: areaUserId
  24406. required: true
  24407. type: integer
  24408. - description: 套保商品
  24409. in: query
  24410. name: middleGoodsId
  24411. required: true
  24412. type: integer
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. items:
  24420. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24421. type: array
  24422. "500":
  24423. description: Internal Server Error
  24424. schema:
  24425. $ref: '#/definitions/app.Response'
  24426. security:
  24427. - ApiKeyAuth: []
  24428. summary: 查询敞口现货明细
  24429. tags:
  24430. - 企业风险管理(app)
  24431. /Ermcp/QueryExposureGoods:
  24432. get:
  24433. parameters:
  24434. - description: 套保商品id
  24435. in: query
  24436. name: middlegoodsid
  24437. required: true
  24438. type: integer
  24439. produces:
  24440. - application/json
  24441. responses:
  24442. "200":
  24443. description: OK
  24444. schema:
  24445. items:
  24446. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24447. type: array
  24448. "500":
  24449. description: Internal Server Error
  24450. schema:
  24451. $ref: '#/definitions/app.Response'
  24452. security:
  24453. - ApiKeyAuth: []
  24454. summary: 查询敞口主力合约
  24455. tags:
  24456. - 企业风险管理(app)
  24457. /Ermcp/QueryExposureHedgePosition:
  24458. get:
  24459. parameters:
  24460. - description: 用户id
  24461. in: query
  24462. name: userid
  24463. required: true
  24464. type: integer
  24465. produces:
  24466. - application/json
  24467. responses:
  24468. "200":
  24469. description: OK
  24470. schema:
  24471. items:
  24472. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24473. type: array
  24474. "500":
  24475. description: Internal Server Error
  24476. schema:
  24477. $ref: '#/definitions/app.Response'
  24478. security:
  24479. - ApiKeyAuth: []
  24480. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24481. tags:
  24482. - 企业风险管理(app)
  24483. /Ermcp/QueryExposureHedgePositionDetail:
  24484. get:
  24485. parameters:
  24486. - description: 所属机构ID
  24487. in: query
  24488. name: userid
  24489. required: true
  24490. type: integer
  24491. - description: 商品id
  24492. in: query
  24493. name: goodsId
  24494. required: true
  24495. type: integer
  24496. produces:
  24497. - application/json
  24498. responses:
  24499. "200":
  24500. description: OK
  24501. schema:
  24502. items:
  24503. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24504. type: array
  24505. "500":
  24506. description: Internal Server Error
  24507. schema:
  24508. $ref: '#/definitions/app.Response'
  24509. security:
  24510. - ApiKeyAuth: []
  24511. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24512. tags:
  24513. - 企业风险管理(app)
  24514. /Ermcp/QueryExposureSpot:
  24515. get:
  24516. parameters:
  24517. - description: 所属机构ID
  24518. in: query
  24519. name: areaUserId
  24520. required: true
  24521. type: integer
  24522. produces:
  24523. - application/json
  24524. responses:
  24525. "200":
  24526. description: OK
  24527. schema:
  24528. items:
  24529. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24530. type: array
  24531. "500":
  24532. description: Internal Server Error
  24533. schema:
  24534. $ref: '#/definitions/app.Response'
  24535. security:
  24536. - ApiKeyAuth: []
  24537. summary: 查询敞口现货头寸(敞口/现货头寸)
  24538. tags:
  24539. - 企业风险管理(app)
  24540. /Ermcp/QueryExposureSpotDetail:
  24541. get:
  24542. parameters:
  24543. - description: 所属机构ID
  24544. in: query
  24545. name: areaUserId
  24546. required: true
  24547. type: integer
  24548. - description: 现货品种ID
  24549. in: query
  24550. name: wrstandardId
  24551. required: true
  24552. type: integer
  24553. produces:
  24554. - application/json
  24555. responses:
  24556. "200":
  24557. description: OK
  24558. schema:
  24559. items:
  24560. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24561. type: array
  24562. "500":
  24563. description: Internal Server Error
  24564. schema:
  24565. $ref: '#/definitions/app.Response'
  24566. security:
  24567. - ApiKeyAuth: []
  24568. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24569. tags:
  24570. - 企业风险管理(app)
  24571. /Ermcp/QueryFuturesCompany:
  24572. get:
  24573. produces:
  24574. - application/json
  24575. responses:
  24576. "200":
  24577. description: OK
  24578. schema:
  24579. items:
  24580. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24581. type: array
  24582. "500":
  24583. description: Internal Server Error
  24584. schema:
  24585. $ref: '#/definitions/app.Response'
  24586. security:
  24587. - ApiKeyAuth: []
  24588. summary: 查询期货公司
  24589. tags:
  24590. - 企业风险管理(app)
  24591. /Ermcp/QueryGGConvertConfig:
  24592. get:
  24593. parameters:
  24594. - description: 品种id(不填则查所有)
  24595. in: query
  24596. name: goodsgroupid
  24597. type: integer
  24598. produces:
  24599. - application/json
  24600. responses:
  24601. "200":
  24602. description: OK
  24603. schema:
  24604. items:
  24605. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24606. type: array
  24607. "500":
  24608. description: Internal Server Error
  24609. schema:
  24610. $ref: '#/definitions/app.Response'
  24611. security:
  24612. - ApiKeyAuth: []
  24613. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24614. tags:
  24615. - 企业风险管理(app)
  24616. /Ermcp/QueryGoodsBrand:
  24617. get:
  24618. parameters:
  24619. - description: 用户ID
  24620. in: query
  24621. name: userid
  24622. required: true
  24623. type: integer
  24624. - description: 现货商品ID
  24625. in: query
  24626. name: wrstandardid
  24627. type: integer
  24628. produces:
  24629. - application/json
  24630. responses:
  24631. "200":
  24632. description: OK
  24633. schema:
  24634. items:
  24635. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24636. type: array
  24637. "500":
  24638. description: Internal Server Error
  24639. schema:
  24640. $ref: '#/definitions/app.Response'
  24641. security:
  24642. - ApiKeyAuth: []
  24643. summary: 查询商品品牌
  24644. tags:
  24645. - 企业风险管理(app)
  24646. /Ermcp/QueryGoodsModel:
  24647. get:
  24648. parameters:
  24649. - description: 用户ID
  24650. in: query
  24651. name: userid
  24652. required: true
  24653. type: integer
  24654. produces:
  24655. - application/json
  24656. responses:
  24657. "200":
  24658. description: OK
  24659. schema:
  24660. items:
  24661. $ref: '#/definitions/models.ErmcpGoodsModel'
  24662. type: array
  24663. "500":
  24664. description: Internal Server Error
  24665. schema:
  24666. $ref: '#/definitions/app.Response'
  24667. security:
  24668. - ApiKeyAuth: []
  24669. summary: 查询商品型号
  24670. tags:
  24671. - 企业风险管理(app)
  24672. /Ermcp/QueryHisExposure:
  24673. get:
  24674. parameters:
  24675. - description: 用户id
  24676. in: query
  24677. name: userid
  24678. required: true
  24679. type: integer
  24680. - description: 每个品种记录数
  24681. in: query
  24682. name: lastNum
  24683. required: true
  24684. type: integer
  24685. produces:
  24686. - application/json
  24687. responses:
  24688. "200":
  24689. description: OK
  24690. schema:
  24691. items:
  24692. $ref: '#/definitions/ermcp.HisExposureRsp'
  24693. type: array
  24694. "500":
  24695. description: Internal Server Error
  24696. schema:
  24697. $ref: '#/definitions/app.Response'
  24698. security:
  24699. - ApiKeyAuth: []
  24700. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24701. tags:
  24702. - 企业风险管理(app)
  24703. /Ermcp/QueryMiddleGoods:
  24704. get:
  24705. parameters:
  24706. - description: 所属机构ID
  24707. in: query
  24708. name: userid
  24709. required: true
  24710. type: integer
  24711. - description: 状态 0-停用 1-正常
  24712. in: query
  24713. name: status
  24714. required: true
  24715. type: integer
  24716. produces:
  24717. - application/json
  24718. responses:
  24719. "200":
  24720. description: OK
  24721. schema:
  24722. items:
  24723. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24724. type: array
  24725. "500":
  24726. description: Internal Server Error
  24727. schema:
  24728. $ref: '#/definitions/app.Response'
  24729. security:
  24730. - ApiKeyAuth: []
  24731. summary: 查询套保品种(菜单:套保品种)
  24732. tags:
  24733. - 企业风险管理(app)
  24734. /Ermcp/QueryMiddleGoodsChangeLog:
  24735. get:
  24736. parameters:
  24737. - description: 所属机构ID
  24738. in: query
  24739. name: userid
  24740. required: true
  24741. type: integer
  24742. - description: 套保品种id
  24743. in: query
  24744. name: middlegoodsid
  24745. required: true
  24746. type: integer
  24747. produces:
  24748. - application/json
  24749. responses:
  24750. "200":
  24751. description: OK
  24752. schema:
  24753. items:
  24754. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24755. type: array
  24756. "500":
  24757. description: Internal Server Error
  24758. schema:
  24759. $ref: '#/definitions/app.Response'
  24760. security:
  24761. - ApiKeyAuth: []
  24762. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24763. tags:
  24764. - 企业风险管理(app)
  24765. /Ermcp/QueryMiddleGoodsDetail:
  24766. get:
  24767. parameters:
  24768. - description: 所属机构ID
  24769. in: query
  24770. name: userid
  24771. required: true
  24772. type: integer
  24773. - description: 套保品种id
  24774. in: query
  24775. name: middlegoodsid
  24776. type: integer
  24777. produces:
  24778. - application/json
  24779. responses:
  24780. "200":
  24781. description: OK
  24782. schema:
  24783. items:
  24784. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24785. type: array
  24786. "500":
  24787. description: Internal Server Error
  24788. schema:
  24789. $ref: '#/definitions/app.Response'
  24790. security:
  24791. - ApiKeyAuth: []
  24792. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24793. tags:
  24794. - 企业风险管理(app)
  24795. /Ermcp/QueryPendingAuditInfo:
  24796. get:
  24797. parameters:
  24798. - description: 用户ID
  24799. in: query
  24800. name: UserId
  24801. required: true
  24802. type: integer
  24803. produces:
  24804. - application/json
  24805. responses:
  24806. "200":
  24807. description: OK
  24808. schema:
  24809. items:
  24810. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24811. type: array
  24812. "500":
  24813. description: Internal Server Error
  24814. schema:
  24815. $ref: '#/definitions/app.Response'
  24816. security:
  24817. - ApiKeyAuth: []
  24818. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24819. tags:
  24820. - 企业风险管理(app)
  24821. /Ermcp/QueryRealtimeExposure:
  24822. get:
  24823. parameters:
  24824. - description: 所属机构ID
  24825. in: query
  24826. name: userid
  24827. required: true
  24828. type: integer
  24829. produces:
  24830. - application/json
  24831. responses:
  24832. "200":
  24833. description: OK
  24834. schema:
  24835. items:
  24836. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24837. type: array
  24838. "500":
  24839. description: Internal Server Error
  24840. schema:
  24841. $ref: '#/definitions/app.Response'
  24842. security:
  24843. - ApiKeyAuth: []
  24844. summary: 查询实时敞口
  24845. tags:
  24846. - 企业风险管理(app)
  24847. /Ermcp/QueryRealtimeExposurePosition:
  24848. get:
  24849. parameters:
  24850. - description: 用户id
  24851. in: query
  24852. name: userid
  24853. required: true
  24854. type: integer
  24855. - description: 套保商品ID
  24856. in: query
  24857. name: middleGoodsId
  24858. required: true
  24859. type: integer
  24860. produces:
  24861. - application/json
  24862. responses:
  24863. "200":
  24864. description: OK
  24865. schema:
  24866. items:
  24867. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24868. type: array
  24869. "500":
  24870. description: Internal Server Error
  24871. schema:
  24872. $ref: '#/definitions/app.Response'
  24873. security:
  24874. - ApiKeyAuth: []
  24875. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24876. tags:
  24877. - 企业风险管理(app)
  24878. /Ermcp/QueryRoleMenu:
  24879. get:
  24880. parameters:
  24881. - description: 登录ID
  24882. in: query
  24883. name: loginid
  24884. required: true
  24885. type: integer
  24886. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24887. in: query
  24888. name: menutype
  24889. type: integer
  24890. produces:
  24891. - application/json
  24892. responses:
  24893. "200":
  24894. description: OK
  24895. schema:
  24896. items:
  24897. $ref: '#/definitions/models.RoleMenu'
  24898. type: array
  24899. "500":
  24900. description: Internal Server Error
  24901. schema:
  24902. $ref: '#/definitions/app.Response'
  24903. security:
  24904. - ApiKeyAuth: []
  24905. summary: 查询角色菜单和权限
  24906. tags:
  24907. - 企业风险管理(app)
  24908. /Ermcp/QueryTradeConfigTMP:
  24909. get:
  24910. parameters:
  24911. - description: 所属机构id
  24912. in: query
  24913. name: areauserid
  24914. type: integer
  24915. produces:
  24916. - application/json
  24917. responses:
  24918. "200":
  24919. description: OK
  24920. schema:
  24921. items:
  24922. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24923. type: array
  24924. "500":
  24925. description: Internal Server Error
  24926. schema:
  24927. $ref: '#/definitions/app.Response'
  24928. security:
  24929. - ApiKeyAuth: []
  24930. summary: 查询交易模板配置
  24931. tags:
  24932. - 企业风险管理(app)
  24933. /Ermcp/QueryUserInfo:
  24934. get:
  24935. parameters:
  24936. - description: 所属机构用户ID
  24937. in: query
  24938. name: MemberUserID
  24939. required: true
  24940. type: integer
  24941. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24942. in: query
  24943. name: queryType
  24944. required: true
  24945. type: integer
  24946. produces:
  24947. - application/json
  24948. responses:
  24949. "200":
  24950. description: OK
  24951. schema:
  24952. items:
  24953. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24954. type: array
  24955. "500":
  24956. description: Internal Server Error
  24957. schema:
  24958. $ref: '#/definitions/app.Response'
  24959. security:
  24960. - ApiKeyAuth: []
  24961. summary: 查询客户资料
  24962. tags:
  24963. - 企业风险管理(app)
  24964. /Ermcp/QueryWarehouseInfo:
  24965. get:
  24966. parameters:
  24967. - description: 用户ID
  24968. in: query
  24969. name: userid
  24970. required: true
  24971. type: integer
  24972. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24973. in: query
  24974. name: status
  24975. type: string
  24976. produces:
  24977. - application/json
  24978. responses:
  24979. "200":
  24980. description: OK
  24981. schema:
  24982. items:
  24983. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24984. type: array
  24985. "500":
  24986. description: Internal Server Error
  24987. schema:
  24988. $ref: '#/definitions/app.Response'
  24989. security:
  24990. - ApiKeyAuth: []
  24991. summary: 查询仓库信息
  24992. tags:
  24993. - 企业风险管理(app)
  24994. /Ermcp3/QryAreaExpourseContractDetail:
  24995. get:
  24996. parameters:
  24997. - description: 用户ID
  24998. in: query
  24999. name: userid
  25000. required: true
  25001. type: integer
  25002. - description: 套保商品id
  25003. in: query
  25004. name: middlegoodsid
  25005. required: true
  25006. type: integer
  25007. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25008. in: query
  25009. name: cycletype
  25010. required: true
  25011. type: integer
  25012. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25013. 全(0)【原值】
  25014. in: query
  25015. name: cycletime
  25016. required: true
  25017. type: string
  25018. produces:
  25019. - application/json
  25020. responses:
  25021. "200":
  25022. description: OK
  25023. schema:
  25024. items:
  25025. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25026. type: array
  25027. "500":
  25028. description: Internal Server Error
  25029. schema:
  25030. $ref: '#/definitions/app.Response'
  25031. security:
  25032. - ApiKeyAuth: []
  25033. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25034. tags:
  25035. - 企业风险管理v3(app)
  25036. /Ermcp3/QryAreaExpourseFutuDetail:
  25037. get:
  25038. parameters:
  25039. - description: 用户ID
  25040. in: query
  25041. name: userid
  25042. required: true
  25043. type: integer
  25044. - description: 套保商品id
  25045. in: query
  25046. name: middlegoodsid
  25047. required: true
  25048. type: integer
  25049. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25050. in: query
  25051. name: cycletype
  25052. required: true
  25053. type: integer
  25054. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25055. 全(0)【原值】
  25056. in: query
  25057. name: cycletime
  25058. required: true
  25059. type: string
  25060. produces:
  25061. - application/json
  25062. responses:
  25063. "200":
  25064. description: OK
  25065. schema:
  25066. items:
  25067. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25068. type: array
  25069. "500":
  25070. description: Internal Server Error
  25071. schema:
  25072. $ref: '#/definitions/app.Response'
  25073. security:
  25074. - ApiKeyAuth: []
  25075. summary: 查询敞口期货明细(敞口报表/期货明细)
  25076. tags:
  25077. - 企业风险管理v3(app)
  25078. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25079. get:
  25080. parameters:
  25081. - description: 用户ID
  25082. in: query
  25083. name: userid
  25084. required: true
  25085. type: integer
  25086. - description: 套保商品id
  25087. in: query
  25088. name: middlegoodsid
  25089. required: true
  25090. type: integer
  25091. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25092. in: query
  25093. name: cycletype
  25094. required: true
  25095. type: integer
  25096. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25097. 全(0)【原值】
  25098. in: query
  25099. name: cycletime
  25100. required: true
  25101. type: string
  25102. produces:
  25103. - application/json
  25104. responses:
  25105. "200":
  25106. description: OK
  25107. schema:
  25108. items:
  25109. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25110. type: array
  25111. "500":
  25112. description: Internal Server Error
  25113. schema:
  25114. $ref: '#/definitions/app.Response'
  25115. security:
  25116. - ApiKeyAuth: []
  25117. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25118. tags:
  25119. - 企业风险管理v3(app)
  25120. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25121. get:
  25122. parameters:
  25123. - description: 用户ID
  25124. in: query
  25125. name: userid
  25126. required: true
  25127. type: integer
  25128. - description: 套保商品id
  25129. in: query
  25130. name: middlegoodsid
  25131. required: true
  25132. type: integer
  25133. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25134. in: query
  25135. name: cycletype
  25136. required: true
  25137. type: integer
  25138. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25139. 全(0)【原值】
  25140. in: query
  25141. name: cycletime
  25142. required: true
  25143. type: string
  25144. produces:
  25145. - application/json
  25146. responses:
  25147. "200":
  25148. description: OK
  25149. schema:
  25150. items:
  25151. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25152. type: array
  25153. "500":
  25154. description: Internal Server Error
  25155. schema:
  25156. $ref: '#/definitions/app.Response'
  25157. security:
  25158. - ApiKeyAuth: []
  25159. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25160. tags:
  25161. - 企业风险管理v3(app)
  25162. /Ermcp3/QryAreaExpourseReport:
  25163. get:
  25164. parameters:
  25165. - description: 用户ID
  25166. in: query
  25167. name: userid
  25168. required: true
  25169. type: integer
  25170. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25171. in: query
  25172. name: querytype
  25173. required: true
  25174. type: integer
  25175. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25176. in: query
  25177. name: cycletype
  25178. required: true
  25179. type: integer
  25180. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25181. 全(0)【原值】
  25182. in: query
  25183. name: cycletime
  25184. required: true
  25185. type: string
  25186. produces:
  25187. - application/json
  25188. responses:
  25189. "200":
  25190. description: OK
  25191. schema:
  25192. items:
  25193. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25194. type: array
  25195. "500":
  25196. description: Internal Server Error
  25197. schema:
  25198. $ref: '#/definitions/app.Response'
  25199. security:
  25200. - ApiKeyAuth: []
  25201. summary: 查询敞口报表
  25202. tags:
  25203. - 企业风险管理v3(app)
  25204. /Ermcp3/QryAreaSpotplReport:
  25205. get:
  25206. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25207. parameters:
  25208. - description: 用户ID
  25209. in: query
  25210. name: userid
  25211. required: true
  25212. type: integer
  25213. - description: 查询类型 1-报表 2-报表明细
  25214. in: query
  25215. name: querytype
  25216. required: true
  25217. type: integer
  25218. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25219. in: query
  25220. name: cycletype
  25221. required: true
  25222. type: integer
  25223. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25224. 全(0)【原值】
  25225. in: query
  25226. name: cycletime
  25227. required: true
  25228. type: string
  25229. - description: 现货品种id(明细必填)
  25230. in: query
  25231. name: deliverygoodsid
  25232. type: integer
  25233. - description: 币种id(明细必填)
  25234. in: query
  25235. name: currencyid
  25236. type: integer
  25237. - description: 日/周/月报表汇总维度 1:品种+品类
  25238. in: query
  25239. name: sumflag
  25240. type: integer
  25241. produces:
  25242. - application/json
  25243. responses:
  25244. "200":
  25245. description: OK
  25246. schema:
  25247. items:
  25248. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25249. type: array
  25250. "500":
  25251. description: Internal Server Error
  25252. schema:
  25253. $ref: '#/definitions/app.Response'
  25254. security:
  25255. - ApiKeyAuth: []
  25256. summary: 查询现货报表
  25257. tags:
  25258. - 企业风险管理v3(app)
  25259. /Ermcp3/QryAreaStockReport:
  25260. get:
  25261. parameters:
  25262. - description: 用户ID
  25263. in: query
  25264. name: userid
  25265. required: true
  25266. type: integer
  25267. - description: 查询类型 1-报表 2-报表明细
  25268. in: query
  25269. name: querytype
  25270. required: true
  25271. type: integer
  25272. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25273. in: query
  25274. name: cycletype
  25275. required: true
  25276. type: integer
  25277. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25278. 全(0)【原值】
  25279. in: query
  25280. name: cycletime
  25281. required: true
  25282. type: string
  25283. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25284. in: query
  25285. name: sumfields
  25286. type: string
  25287. - description: 品种ID
  25288. in: query
  25289. name: deliverygoodsid
  25290. type: integer
  25291. - description: 品类ID
  25292. in: query
  25293. name: wrstandardid
  25294. type: integer
  25295. - description: 品牌ID
  25296. in: query
  25297. name: spotgoodsbrandid
  25298. type: integer
  25299. - description: 仓库ID
  25300. in: query
  25301. name: warehouseinfoid
  25302. type: integer
  25303. produces:
  25304. - application/json
  25305. responses:
  25306. "200":
  25307. description: OK
  25308. schema:
  25309. items:
  25310. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25311. type: array
  25312. "500":
  25313. description: Internal Server Error
  25314. schema:
  25315. $ref: '#/definitions/app.Response'
  25316. security:
  25317. - ApiKeyAuth: []
  25318. summary: 查询库存报表
  25319. tags:
  25320. - 企业风险管理v3(app)
  25321. /Ermcp3/QryAreaSumPL:
  25322. get:
  25323. parameters:
  25324. - description: 用户ID
  25325. in: query
  25326. name: userid
  25327. required: true
  25328. type: integer
  25329. - description: 查询类型 1-报表 2-报表明细
  25330. in: query
  25331. name: querytype
  25332. required: true
  25333. type: integer
  25334. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25335. in: query
  25336. name: cycletype
  25337. required: true
  25338. type: integer
  25339. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25340. 全(0)【原值】
  25341. in: query
  25342. name: cycletime
  25343. required: true
  25344. type: string
  25345. - description: 币种id(明细必填)
  25346. in: query
  25347. name: currencyid
  25348. type: integer
  25349. - description: 套保品种ID, 查询类型为2时起效
  25350. in: query
  25351. name: middlegoodsid
  25352. type: integer
  25353. produces:
  25354. - application/json
  25355. responses:
  25356. "200":
  25357. description: OK
  25358. schema:
  25359. items:
  25360. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25361. type: array
  25362. "500":
  25363. description: Internal Server Error
  25364. schema:
  25365. $ref: '#/definitions/app.Response'
  25366. security:
  25367. - ApiKeyAuth: []
  25368. summary: 查询汇总损益表
  25369. tags:
  25370. - 企业风险管理v3(app)
  25371. /Ermcp3/QryFinanceReport:
  25372. get:
  25373. parameters:
  25374. - description: 用户ID
  25375. in: query
  25376. name: userid
  25377. required: true
  25378. type: integer
  25379. - description: 查询类型 1-报表 2-报表明细
  25380. in: query
  25381. name: querytype
  25382. required: true
  25383. type: integer
  25384. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25385. in: query
  25386. name: cycletype
  25387. required: true
  25388. type: integer
  25389. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25390. 全(0)【原值】
  25391. in: query
  25392. name: cycletime
  25393. required: true
  25394. type: string
  25395. - description: 币种id(报表明细必填)
  25396. in: query
  25397. name: currencyid
  25398. type: integer
  25399. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25400. in: query
  25401. name: sumfields
  25402. type: string
  25403. produces:
  25404. - application/json
  25405. responses:
  25406. "200":
  25407. description: OK
  25408. schema:
  25409. items:
  25410. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25411. type: array
  25412. "500":
  25413. description: Internal Server Error
  25414. schema:
  25415. $ref: '#/definitions/app.Response'
  25416. security:
  25417. - ApiKeyAuth: []
  25418. summary: 查询财务报表
  25419. tags:
  25420. - 企业风险管理v3(app)
  25421. /Ermcp3/QrySCMiddleGoodsReport:
  25422. get:
  25423. parameters:
  25424. - description: 用户ID
  25425. in: query
  25426. name: userid
  25427. required: true
  25428. type: integer
  25429. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25430. in: query
  25431. name: cycletype
  25432. required: true
  25433. type: integer
  25434. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25435. 全(0)【原值】
  25436. in: query
  25437. name: cycletime
  25438. required: true
  25439. type: string
  25440. - description: 合同id
  25441. in: query
  25442. name: spotcontractid
  25443. type: integer
  25444. - description: 套保品种id
  25445. in: query
  25446. name: middlegoodsid
  25447. type: integer
  25448. - description: 现货品种id
  25449. in: query
  25450. name: deliverygoodsid
  25451. type: integer
  25452. - description: 现货商品id
  25453. in: query
  25454. name: wrstandardid
  25455. type: integer
  25456. - description: 合同编号(模糊匹配)
  25457. in: query
  25458. name: contractno
  25459. type: string
  25460. produces:
  25461. - application/json
  25462. responses:
  25463. "200":
  25464. description: OK
  25465. schema:
  25466. items:
  25467. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25468. type: array
  25469. "500":
  25470. description: Internal Server Error
  25471. schema:
  25472. $ref: '#/definitions/app.Response'
  25473. security:
  25474. - ApiKeyAuth: []
  25475. summary: 查询定价报表
  25476. tags:
  25477. - 企业风险管理v3(app)
  25478. /Ermcp3/QryTaFutureDataReport:
  25479. get:
  25480. parameters:
  25481. - description: 用户ID
  25482. in: query
  25483. name: userid
  25484. required: true
  25485. type: integer
  25486. - description: 查询类型 1-报表 2-报表明细
  25487. in: query
  25488. name: querytype
  25489. required: true
  25490. type: integer
  25491. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25492. in: query
  25493. name: cycletype
  25494. required: true
  25495. type: integer
  25496. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25497. 全(0)【原值】
  25498. in: query
  25499. name: cycletime
  25500. required: true
  25501. type: string
  25502. - description: 币种id(查明细必填)
  25503. in: query
  25504. name: currencyid
  25505. type: integer
  25506. - description: 品种id(查明细必填)
  25507. in: query
  25508. name: goodsgroupid
  25509. type: integer
  25510. - description: 商品id(查明细必填)
  25511. in: query
  25512. name: goodsid
  25513. type: integer
  25514. - description: 买卖方向(查明细必填)
  25515. in: query
  25516. name: buyorsell
  25517. type: integer
  25518. produces:
  25519. - application/json
  25520. responses:
  25521. "200":
  25522. description: OK
  25523. schema:
  25524. items:
  25525. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25526. type: array
  25527. "500":
  25528. description: Internal Server Error
  25529. schema:
  25530. $ref: '#/definitions/app.Response'
  25531. security:
  25532. - ApiKeyAuth: []
  25533. summary: 查询期货报表
  25534. tags:
  25535. - 企业风险管理v3(app)
  25536. /Ermcp3/QueryAreaStock:
  25537. get:
  25538. parameters:
  25539. - description: 用户ID
  25540. in: query
  25541. name: userid
  25542. required: true
  25543. type: integer
  25544. produces:
  25545. - application/json
  25546. responses:
  25547. "200":
  25548. description: OK
  25549. schema:
  25550. items:
  25551. $ref: '#/definitions/models.Ermcp3AreaStock'
  25552. type: array
  25553. "500":
  25554. description: Internal Server Error
  25555. schema:
  25556. $ref: '#/definitions/app.Response'
  25557. security:
  25558. - ApiKeyAuth: []
  25559. summary: 查询机构库存(库存管理/当前库存)
  25560. tags:
  25561. - 企业风险管理v3(app)
  25562. /Ermcp3/QueryAreaStockApply:
  25563. get:
  25564. parameters:
  25565. - description: 用户ID
  25566. in: query
  25567. name: userid
  25568. required: true
  25569. type: integer
  25570. - description: 用户类型 2-机构 7-企业成员
  25571. in: query
  25572. name: usertype
  25573. type: integer
  25574. - description: 现货商品ID
  25575. in: query
  25576. name: deliverygoodsid
  25577. type: integer
  25578. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25579. in: query
  25580. name: inouttype
  25581. type: string
  25582. - description: 合同ID
  25583. in: query
  25584. name: spotcontractid
  25585. type: integer
  25586. - description: 品类ID
  25587. in: query
  25588. name: wrstandardid
  25589. type: integer
  25590. - description: 品牌ID
  25591. in: query
  25592. name: spotgoodsbrandid
  25593. type: integer
  25594. - description: 仓库ID
  25595. in: query
  25596. name: warehouseinfoid
  25597. type: integer
  25598. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25599. in: query
  25600. name: applystatus
  25601. type: string
  25602. produces:
  25603. - application/json
  25604. responses:
  25605. "200":
  25606. description: OK
  25607. schema:
  25608. items:
  25609. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25610. type: array
  25611. "500":
  25612. description: Internal Server Error
  25613. schema:
  25614. $ref: '#/definitions/app.Response'
  25615. security:
  25616. - ApiKeyAuth: []
  25617. summary: 查询库存申请(出入库记录|库存审核)
  25618. tags:
  25619. - 企业风险管理v3(app)
  25620. /Ermcp3/QueryAreaStockApplySum:
  25621. get:
  25622. parameters:
  25623. - description: 合同ID
  25624. in: query
  25625. name: spotcontractid
  25626. required: true
  25627. type: integer
  25628. produces:
  25629. - application/json
  25630. responses:
  25631. "200":
  25632. description: OK
  25633. schema:
  25634. items:
  25635. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25636. type: array
  25637. "500":
  25638. description: Internal Server Error
  25639. schema:
  25640. $ref: '#/definitions/app.Response'
  25641. security:
  25642. - ApiKeyAuth: []
  25643. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25644. tags:
  25645. - 企业风险管理v3(app)
  25646. /Ermcp3/QueryDGFactoryItem:
  25647. get:
  25648. parameters:
  25649. - description: 用户id
  25650. in: query
  25651. name: userid
  25652. type: integer
  25653. - description: 用户类型 2-机构 7-企业成员
  25654. in: query
  25655. name: usertype
  25656. type: integer
  25657. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25658. in: query
  25659. name: dgfactoryitemid
  25660. type: integer
  25661. - description: 现货品种ID
  25662. in: query
  25663. name: deliverygoodsid
  25664. type: integer
  25665. - description: 要素项类型
  25666. in: query
  25667. name: dgfactoryitemtypeid
  25668. type: integer
  25669. - description: 顺序
  25670. in: query
  25671. name: orderindex
  25672. type: integer
  25673. produces:
  25674. - application/json
  25675. responses:
  25676. "200":
  25677. description: OK
  25678. schema:
  25679. items:
  25680. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25681. type: array
  25682. "500":
  25683. description: Internal Server Error
  25684. schema:
  25685. $ref: '#/definitions/app.Response'
  25686. security:
  25687. - ApiKeyAuth: []
  25688. summary: 查询品种要素定义项
  25689. tags:
  25690. - 企业风险管理v3(app)
  25691. /Ermcp3/QueryDeliveryGoods:
  25692. get:
  25693. parameters:
  25694. - description: 用户id
  25695. in: query
  25696. name: userid
  25697. required: true
  25698. type: integer
  25699. - description: 用户类型 2-机构 7-企业成员
  25700. in: query
  25701. name: usertype
  25702. type: integer
  25703. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25704. in: query
  25705. name: excludecfg
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. items:
  25714. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25715. type: array
  25716. "500":
  25717. description: Internal Server Error
  25718. schema:
  25719. $ref: '#/definitions/app.Response'
  25720. security:
  25721. - ApiKeyAuth: []
  25722. summary: 查询现货商品
  25723. tags:
  25724. - 企业风险管理v3(app)
  25725. /Ermcp3/QueryDeliveryGoodsDetail:
  25726. get:
  25727. parameters:
  25728. - description: 用户id
  25729. in: query
  25730. name: userid
  25731. required: true
  25732. type: integer
  25733. - description: 用户类型 2-机构 7-企业成员
  25734. in: query
  25735. name: usertype
  25736. type: integer
  25737. - description: 现货商品id
  25738. in: query
  25739. name: deliverygoodsid
  25740. type: integer
  25741. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25742. in: query
  25743. name: filtersubempty
  25744. type: integer
  25745. produces:
  25746. - application/json
  25747. responses:
  25748. "200":
  25749. description: OK
  25750. schema:
  25751. items:
  25752. $ref: '#/definitions/models.XHDeliveryGoods'
  25753. type: array
  25754. "500":
  25755. description: Internal Server Error
  25756. schema:
  25757. $ref: '#/definitions/app.Response'
  25758. security:
  25759. - ApiKeyAuth: []
  25760. summary: 查询现货商品详情
  25761. tags:
  25762. - 企业风险管理v3(app)
  25763. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25764. get:
  25765. parameters:
  25766. - description: 合同id
  25767. in: query
  25768. name: spotcontractid
  25769. required: true
  25770. type: string
  25771. produces:
  25772. - application/json
  25773. responses:
  25774. "200":
  25775. description: OK
  25776. schema:
  25777. items:
  25778. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  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. - 企业风险管理v3(app)
  25789. /Ermcp3/QueryExposureDetail:
  25790. get:
  25791. parameters:
  25792. - description: 用户id
  25793. in: query
  25794. name: userid
  25795. required: true
  25796. type: integer
  25797. - description: 用户类型 2-机构 7-企业成员
  25798. in: query
  25799. name: usertype
  25800. type: integer
  25801. - description: 套保商品
  25802. in: query
  25803. name: middlegoodsid
  25804. required: true
  25805. type: integer
  25806. produces:
  25807. - application/json
  25808. responses:
  25809. "200":
  25810. description: OK
  25811. schema:
  25812. items:
  25813. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25814. type: array
  25815. "500":
  25816. description: Internal Server Error
  25817. schema:
  25818. $ref: '#/definitions/app.Response'
  25819. security:
  25820. - ApiKeyAuth: []
  25821. summary: 查询敞口现货明细
  25822. tags:
  25823. - 企业风险管理v3(app)
  25824. /Ermcp3/QueryExposureSpot:
  25825. get:
  25826. parameters:
  25827. - description: 用户id
  25828. in: query
  25829. name: userid
  25830. required: true
  25831. type: integer
  25832. - description: 用户类型 2-机构 7-企业成员
  25833. in: query
  25834. name: usertype
  25835. type: integer
  25836. produces:
  25837. - application/json
  25838. responses:
  25839. "200":
  25840. description: OK
  25841. schema:
  25842. items:
  25843. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25844. type: array
  25845. "500":
  25846. description: Internal Server Error
  25847. schema:
  25848. $ref: '#/definitions/app.Response'
  25849. security:
  25850. - ApiKeyAuth: []
  25851. summary: 查询敞口现货头寸(敞口/现货头寸)
  25852. tags:
  25853. - 企业风险管理v3(app)
  25854. /Ermcp3/QueryExposureSpotDetail:
  25855. get:
  25856. parameters:
  25857. - description: 用户id
  25858. in: query
  25859. name: userid
  25860. required: true
  25861. type: integer
  25862. - description: 用户类型 2-机构 7-企业成员
  25863. in: query
  25864. name: usertype
  25865. type: integer
  25866. - description: 现货商品ID
  25867. in: query
  25868. name: wrstandardid
  25869. required: true
  25870. type: integer
  25871. produces:
  25872. - application/json
  25873. responses:
  25874. "200":
  25875. description: OK
  25876. schema:
  25877. items:
  25878. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25879. type: array
  25880. "500":
  25881. description: Internal Server Error
  25882. schema:
  25883. $ref: '#/definitions/app.Response'
  25884. security:
  25885. - ApiKeyAuth: []
  25886. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25887. tags:
  25888. - 企业风险管理v3(app)
  25889. /Ermcp3/QueryGoodsGroup:
  25890. get:
  25891. parameters:
  25892. - description: 用户id
  25893. in: query
  25894. name: userid
  25895. required: true
  25896. type: integer
  25897. - description: 用户类型 2-机构 7-企业成员
  25898. in: query
  25899. name: usertype
  25900. type: integer
  25901. - description: 排除套保品中已关联的商品组 1-排除
  25902. in: query
  25903. name: excludecfg
  25904. type: integer
  25905. produces:
  25906. - application/json
  25907. responses:
  25908. "200":
  25909. description: OK
  25910. schema:
  25911. items:
  25912. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25913. type: array
  25914. "500":
  25915. description: Internal Server Error
  25916. schema:
  25917. $ref: '#/definitions/app.Response'
  25918. security:
  25919. - ApiKeyAuth: []
  25920. summary: 查询期货商品组
  25921. tags:
  25922. - 企业风险管理v3(app)
  25923. /Ermcp3/QueryGoodsWrstandard:
  25924. get:
  25925. parameters:
  25926. - description: 用户id
  25927. in: query
  25928. name: userid
  25929. required: true
  25930. type: integer
  25931. - description: 用户类型 2-机构 7-企业成员
  25932. in: query
  25933. name: usertype
  25934. type: integer
  25935. - description: 现货商品id
  25936. in: query
  25937. name: deliverygoodsid
  25938. type: integer
  25939. produces:
  25940. - application/json
  25941. responses:
  25942. "200":
  25943. description: OK
  25944. schema:
  25945. items:
  25946. $ref: '#/definitions/models.Ermcp3Wrstandard'
  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/QueryGoodsbrand:
  25958. get:
  25959. parameters:
  25960. - description: 用户id
  25961. in: query
  25962. name: userid
  25963. required: true
  25964. type: integer
  25965. - description: 用户类型 2-机构 7-企业成员
  25966. in: query
  25967. name: usertype
  25968. type: integer
  25969. produces:
  25970. - application/json
  25971. responses:
  25972. "200":
  25973. description: OK
  25974. schema:
  25975. items:
  25976. $ref: '#/definitions/models.Ermcp3Brand'
  25977. type: array
  25978. "500":
  25979. description: Internal Server Error
  25980. schema:
  25981. $ref: '#/definitions/app.Response'
  25982. security:
  25983. - ApiKeyAuth: []
  25984. summary: 查询商品品牌
  25985. tags:
  25986. - 企业风险管理v3(app)
  25987. /Ermcp3/QueryHPMiddleGoods:
  25988. get:
  25989. parameters:
  25990. - description: 用户ID(填登录用户的userid)
  25991. in: query
  25992. name: userid
  25993. required: true
  25994. type: integer
  25995. - description: 买卖方向 0-买 1-卖
  25996. in: query
  25997. name: buyorsell
  25998. required: true
  25999. type: integer
  26000. - description: 商品组id
  26001. in: query
  26002. name: goodsgroupid
  26003. required: true
  26004. type: integer
  26005. - description: 套保计划编号(模糊匹配)
  26006. in: query
  26007. name: hedgeplanno
  26008. type: string
  26009. - description: 现货商品名称(模糊匹配)
  26010. in: query
  26011. name: wrstandardname
  26012. type: string
  26013. produces:
  26014. - application/json
  26015. responses:
  26016. "200":
  26017. description: OK
  26018. schema:
  26019. items:
  26020. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26021. type: array
  26022. "500":
  26023. description: Internal Server Error
  26024. schema:
  26025. $ref: '#/definitions/app.Response'
  26026. security:
  26027. - ApiKeyAuth: []
  26028. summary: 查询可关联套保计划
  26029. tags:
  26030. - 企业风险管理v3(app)
  26031. /Ermcp3/QueryHedgePlan:
  26032. get:
  26033. parameters:
  26034. - description: 用户ID
  26035. in: query
  26036. name: userid
  26037. required: true
  26038. type: integer
  26039. - description: 用户类型 2-机构 7-企业成员
  26040. in: query
  26041. name: usertype
  26042. type: integer
  26043. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26044. in: query
  26045. name: hedgeplanstatus
  26046. required: true
  26047. type: string
  26048. produces:
  26049. - application/json
  26050. responses:
  26051. "200":
  26052. description: OK
  26053. schema:
  26054. items:
  26055. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26056. type: array
  26057. "500":
  26058. description: Internal Server Error
  26059. schema:
  26060. $ref: '#/definitions/app.Response'
  26061. security:
  26062. - ApiKeyAuth: []
  26063. summary: 查询套保计划
  26064. tags:
  26065. - 企业风险管理v3(app)
  26066. /Ermcp3/QueryInnerTradeLink:
  26067. get:
  26068. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26069. parameters:
  26070. - description: 外部成交单号
  26071. in: query
  26072. name: outtradeid
  26073. required: true
  26074. type: integer
  26075. produces:
  26076. - application/json
  26077. responses:
  26078. "200":
  26079. description: OK
  26080. schema:
  26081. items:
  26082. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26083. type: array
  26084. "500":
  26085. description: Internal Server Error
  26086. schema:
  26087. $ref: '#/definitions/app.Response'
  26088. security:
  26089. - ApiKeyAuth: []
  26090. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26091. tags:
  26092. - 企业风险管理v3(app)
  26093. /Ermcp3/QueryMiddleGoodsDetail:
  26094. get:
  26095. parameters:
  26096. - description: 用户id
  26097. in: query
  26098. name: userid
  26099. required: true
  26100. type: integer
  26101. - description: 用户类型 2-机构 7-企业成员
  26102. in: query
  26103. name: usertype
  26104. type: integer
  26105. - description: 套保品种id
  26106. in: query
  26107. name: middlegoodsid
  26108. type: integer
  26109. produces:
  26110. - application/json
  26111. responses:
  26112. "200":
  26113. description: OK
  26114. schema:
  26115. items:
  26116. $ref: '#/definitions/models.TBMiddleGoods'
  26117. type: array
  26118. "500":
  26119. description: Internal Server Error
  26120. schema:
  26121. $ref: '#/definitions/app.Response'
  26122. security:
  26123. - ApiKeyAuth: []
  26124. summary: 查询套保品种详情(套保品种/商品详情)
  26125. tags:
  26126. - 企业风险管理v3(app)
  26127. /Ermcp3/QueryOutTradeLink:
  26128. get:
  26129. description: 页面 app 现货->期现关联->外部成交单关联
  26130. parameters:
  26131. - description: 用户ID(填登录用户的userid)
  26132. in: query
  26133. name: userid
  26134. required: true
  26135. type: integer
  26136. - description: 外部订单号(模糊匹配)
  26137. in: query
  26138. name: outtradeid
  26139. type: string
  26140. - description: 合约名称/代码(模糊匹配)
  26141. in: query
  26142. name: goodsname
  26143. type: string
  26144. - description: 关联状态 0-未关联 1-已关联
  26145. in: query
  26146. name: hasinnerorder
  26147. type: integer
  26148. produces:
  26149. - application/json
  26150. responses:
  26151. "200":
  26152. description: OK
  26153. schema:
  26154. items:
  26155. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  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/QueryPaAreaAuditCfg:
  26167. get:
  26168. parameters:
  26169. - description: 用户id
  26170. in: query
  26171. name: userid
  26172. required: true
  26173. type: integer
  26174. produces:
  26175. - application/json
  26176. responses:
  26177. "200":
  26178. description: OK
  26179. schema:
  26180. items:
  26181. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26182. type: array
  26183. "500":
  26184. description: Internal Server Error
  26185. schema:
  26186. $ref: '#/definitions/app.Response'
  26187. security:
  26188. - ApiKeyAuth: []
  26189. summary: 查询审核设置
  26190. tags:
  26191. - 企业风险管理v3(app)
  26192. /Ermcp3/QueryPaAreaSubject:
  26193. get:
  26194. parameters:
  26195. - description: 用户id
  26196. in: query
  26197. name: userid
  26198. required: true
  26199. type: integer
  26200. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26201. in: query
  26202. name: subjectid
  26203. type: integer
  26204. - description: 主体类型 - 1:交易主体 2:业务部门
  26205. in: query
  26206. name: subjecttype
  26207. type: integer
  26208. - description: '主体状态 - 1:正常 2: 停用'
  26209. in: query
  26210. name: subjectstatus
  26211. type: integer
  26212. produces:
  26213. - application/json
  26214. responses:
  26215. "200":
  26216. description: OK
  26217. schema:
  26218. items:
  26219. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26220. type: array
  26221. "500":
  26222. description: Internal Server Error
  26223. schema:
  26224. $ref: '#/definitions/app.Response'
  26225. security:
  26226. - ApiKeyAuth: []
  26227. summary: 查询交易主体
  26228. tags:
  26229. - 企业风险管理v3(app)
  26230. /Ermcp3/QueryPaTradeLink:
  26231. get:
  26232. description: 页面 app 现货->期现关联->期现单据关联
  26233. parameters:
  26234. - description: 用户ID
  26235. in: query
  26236. name: userid
  26237. required: true
  26238. type: integer
  26239. produces:
  26240. - application/json
  26241. responses:
  26242. "200":
  26243. description: OK
  26244. schema:
  26245. items:
  26246. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26247. type: array
  26248. "500":
  26249. description: Internal Server Error
  26250. schema:
  26251. $ref: '#/definitions/app.Response'
  26252. security:
  26253. - ApiKeyAuth: []
  26254. summary: 查询期现单据关联
  26255. tags:
  26256. - 企业风险管理v3(app)
  26257. /Ermcp3/QueryPaTradeLinkDetail:
  26258. get:
  26259. description: 页面 app 现货->期现关联->关联记录
  26260. parameters:
  26261. - description: 用户ID(填登录用户的userid)
  26262. in: query
  26263. name: userid
  26264. required: true
  26265. type: integer
  26266. - description: 关联状态 1:成功 2:失败 3:解绑
  26267. in: query
  26268. name: linkstatus
  26269. type: integer
  26270. - description: 期货订单号(模糊匹配)
  26271. in: query
  26272. name: tradeid
  26273. type: string
  26274. - description: 现货编号(模糊匹配)
  26275. in: query
  26276. name: contractno
  26277. type: string
  26278. - description: 期货账户(模糊匹配)
  26279. in: query
  26280. name: taname
  26281. type: string
  26282. produces:
  26283. - application/json
  26284. responses:
  26285. "200":
  26286. description: OK
  26287. schema:
  26288. items:
  26289. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26290. type: array
  26291. "500":
  26292. description: Internal Server Error
  26293. schema:
  26294. $ref: '#/definitions/app.Response'
  26295. security:
  26296. - ApiKeyAuth: []
  26297. summary: 查询期现关联记录
  26298. tags:
  26299. - 企业风险管理v3(app)
  26300. /Ermcp3/QueryParamChangeApp:
  26301. get:
  26302. description: |-
  26303. 原型页面:
  26304. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26305. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26306. parameters:
  26307. - description: 用户ID
  26308. in: query
  26309. name: userid
  26310. required: true
  26311. type: integer
  26312. - description: 现货品种id
  26313. in: query
  26314. name: deliverygoodsid
  26315. type: integer
  26316. - description: 现货商品id
  26317. in: query
  26318. name: wrstandardid
  26319. type: integer
  26320. - description: 套保商品id
  26321. in: query
  26322. name: middlegoodsid
  26323. type: integer
  26324. - description: 操作类型 1:新增 2:修改
  26325. in: query
  26326. name: operatetype
  26327. type: integer
  26328. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26329. in: query
  26330. name: paramchangetype
  26331. type: integer
  26332. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26333. in: query
  26334. name: ftstatus
  26335. type: string
  26336. produces:
  26337. - application/json
  26338. responses:
  26339. "200":
  26340. description: OK
  26341. schema:
  26342. items:
  26343. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26344. type: array
  26345. "500":
  26346. description: Internal Server Error
  26347. schema:
  26348. $ref: '#/definitions/app.Response'
  26349. security:
  26350. - ApiKeyAuth: []
  26351. summary: 查询现货商品参数变更申请(流水)
  26352. tags:
  26353. - 企业风险管理v3(app)
  26354. /Ermcp3/QueryRootUserAccount:
  26355. get:
  26356. parameters:
  26357. - description: 用户ID
  26358. in: query
  26359. name: userid
  26360. required: true
  26361. type: integer
  26362. produces:
  26363. - application/json
  26364. responses:
  26365. "200":
  26366. description: OK
  26367. schema:
  26368. items:
  26369. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26370. type: array
  26371. "500":
  26372. description: Internal Server Error
  26373. schema:
  26374. $ref: '#/definitions/app.Response'
  26375. security:
  26376. - ApiKeyAuth: []
  26377. summary: 查询顶级用户信息
  26378. tags:
  26379. - 企业风险管理v3(app)
  26380. /Ermcp3/QuerySCMiddleGoods:
  26381. get:
  26382. description: |-
  26383. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26384. 现货编号 即 合同编号
  26385. parameters:
  26386. - description: 用户ID(填登录用户的userid)
  26387. in: query
  26388. name: userid
  26389. required: true
  26390. type: integer
  26391. - description: 买卖方向 0-买 1-卖
  26392. in: query
  26393. name: buyorsell
  26394. required: true
  26395. type: integer
  26396. - description: 商品组id
  26397. in: query
  26398. name: goodsgroupid
  26399. required: true
  26400. type: integer
  26401. - description: 业务类型 1:套保 2:套利
  26402. in: query
  26403. name: biztype
  26404. type: integer
  26405. - description: 现货编号(模糊匹配)
  26406. in: query
  26407. name: contractno
  26408. type: string
  26409. - description: 对手方(模糊匹配)
  26410. in: query
  26411. name: customername
  26412. type: string
  26413. - description: 现货商品名称(模糊匹配)
  26414. in: query
  26415. name: wrstandardname
  26416. type: string
  26417. produces:
  26418. - application/json
  26419. responses:
  26420. "200":
  26421. description: OK
  26422. schema:
  26423. items:
  26424. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26425. type: array
  26426. "500":
  26427. description: Internal Server Error
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. security:
  26431. - ApiKeyAuth: []
  26432. summary: 查询现货订单
  26433. tags:
  26434. - 企业风险管理v3(app)
  26435. /Ermcp3/QuerySpotContract:
  26436. get:
  26437. parameters:
  26438. - description: 用户id(当指定contractid, userid可不填)
  26439. in: query
  26440. name: userid
  26441. required: true
  26442. type: integer
  26443. - description: 用户类型 2-机构 7-企业成员
  26444. in: query
  26445. name: usertype
  26446. type: integer
  26447. - description: 合同类型 1-采购, -1-销售
  26448. in: query
  26449. name: contracttype
  26450. type: integer
  26451. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26452. in: query
  26453. name: querytype
  26454. type: string
  26455. - description: 合同ID(SpotContractId)
  26456. in: query
  26457. name: contractid
  26458. type: string
  26459. - description: 合同编号(模糊匹配)
  26460. in: query
  26461. name: contractno
  26462. type: string
  26463. - description: 商品名称(模糊匹配)
  26464. in: query
  26465. name: wrstandardname
  26466. type: string
  26467. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26468. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26469. in: query
  26470. name: status
  26471. type: string
  26472. - description: 是否只查今日的合同 1-查今日合同
  26473. in: query
  26474. name: istoday
  26475. type: integer
  26476. produces:
  26477. - application/json
  26478. responses:
  26479. "200":
  26480. description: OK
  26481. schema:
  26482. items:
  26483. $ref: '#/definitions/models.Ermcp3Contract'
  26484. type: array
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. security:
  26490. - ApiKeyAuth: []
  26491. summary: 查询现货合同
  26492. tags:
  26493. - 企业风险管理v3(app)
  26494. /Ermcp3/QuerySpotContractBS:
  26495. get:
  26496. parameters:
  26497. - description: 用户id
  26498. in: query
  26499. name: userid
  26500. required: true
  26501. type: integer
  26502. - description: 用户类型 2-机构 7-企业成员
  26503. in: query
  26504. name: usertype
  26505. type: integer
  26506. - description: 合同类型 1-采购, -1-销售
  26507. in: query
  26508. name: contracttype
  26509. required: true
  26510. type: integer
  26511. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26512. in: query
  26513. name: querytype
  26514. type: integer
  26515. - description: 合同ID(SpotContractId)
  26516. in: query
  26517. name: contractid
  26518. type: string
  26519. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26520. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26521. in: query
  26522. name: status
  26523. type: string
  26524. - description: 是否只查今日的合同 1-查今日合同
  26525. in: query
  26526. name: istoday
  26527. type: integer
  26528. produces:
  26529. - application/json
  26530. responses:
  26531. "200":
  26532. description: OK
  26533. schema:
  26534. items:
  26535. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26536. type: array
  26537. "500":
  26538. description: Internal Server Error
  26539. schema:
  26540. $ref: '#/definitions/app.Response'
  26541. security:
  26542. - ApiKeyAuth: []
  26543. summary: 查询合同(采购/销售)
  26544. tags:
  26545. - 企业风险管理v3(app)
  26546. /Ermcp3/QuerySpotGoodsPrice:
  26547. get:
  26548. parameters:
  26549. - description: 用户ID
  26550. in: query
  26551. name: userid
  26552. required: true
  26553. type: integer
  26554. produces:
  26555. - application/json
  26556. responses:
  26557. "200":
  26558. description: OK
  26559. schema:
  26560. items:
  26561. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26562. type: array
  26563. "500":
  26564. description: Internal Server Error
  26565. schema:
  26566. $ref: '#/definitions/app.Response'
  26567. security:
  26568. - ApiKeyAuth: []
  26569. summary: 查询现货市价(现货市价)
  26570. tags:
  26571. - 企业风险管理v3(app)
  26572. /Ermcp3/QuerySpotGoodsPriceLog:
  26573. get:
  26574. parameters:
  26575. - description: 用户ID
  26576. in: query
  26577. name: userid
  26578. required: true
  26579. type: integer
  26580. - description: 现货商品ID
  26581. in: query
  26582. name: deliverygoodsid
  26583. required: true
  26584. type: integer
  26585. - description: 品牌ID
  26586. in: query
  26587. name: brandid
  26588. type: integer
  26589. - description: 品类ID
  26590. in: query
  26591. name: wrstandardid
  26592. type: integer
  26593. produces:
  26594. - application/json
  26595. responses:
  26596. "200":
  26597. description: OK
  26598. schema:
  26599. items:
  26600. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26601. type: array
  26602. "500":
  26603. description: Internal Server Error
  26604. schema:
  26605. $ref: '#/definitions/app.Response'
  26606. security:
  26607. - ApiKeyAuth: []
  26608. summary: 查询现货市价详情(现货市价/详情)
  26609. tags:
  26610. - 企业风险管理v3(app)
  26611. /Ermcp3/QuerySubTaaccount:
  26612. get:
  26613. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26614. parameters:
  26615. - description: 母账号id
  26616. in: query
  26617. name: parentaccountid
  26618. type: integer
  26619. - description: 母账号代码
  26620. in: query
  26621. name: parentaccountcode
  26622. type: string
  26623. produces:
  26624. - application/json
  26625. responses:
  26626. "200":
  26627. description: OK
  26628. schema:
  26629. items:
  26630. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26631. type: array
  26632. "500":
  26633. description: Internal Server Error
  26634. schema:
  26635. $ref: '#/definitions/app.Response'
  26636. security:
  26637. - ApiKeyAuth: []
  26638. summary: 查询期货子账户
  26639. tags:
  26640. - 企业风险管理v3(app)
  26641. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26642. get:
  26643. parameters:
  26644. - description: 套期项目ID
  26645. in: query
  26646. name: hedgeditemid
  26647. required: true
  26648. type: integer
  26649. produces:
  26650. - application/json
  26651. responses:
  26652. "200":
  26653. description: OK
  26654. schema:
  26655. items:
  26656. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26657. type: array
  26658. "500":
  26659. description: Internal Server Error
  26660. schema:
  26661. $ref: '#/definitions/app.Response'
  26662. security:
  26663. - ApiKeyAuth: []
  26664. summary: 现货成交明细查询
  26665. tags:
  26666. - 企业风险管理v8
  26667. /Ermcp8/QueryERMCP2HedgedItemspot:
  26668. get:
  26669. parameters:
  26670. - description: 套期项目ID
  26671. in: query
  26672. name: hedgeditemid
  26673. required: true
  26674. type: integer
  26675. produces:
  26676. - application/json
  26677. responses:
  26678. "200":
  26679. description: OK
  26680. schema:
  26681. items:
  26682. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26683. type: array
  26684. "500":
  26685. description: Internal Server Error
  26686. schema:
  26687. $ref: '#/definitions/app.Response'
  26688. security:
  26689. - ApiKeyAuth: []
  26690. summary: 套期计划明细查询
  26691. tags:
  26692. - 企业风险管理v8
  26693. /Ermcp8/QueryERMCPJRLinkPos:
  26694. get:
  26695. parameters:
  26696. - description: 套期项目ID
  26697. in: query
  26698. name: hedgeditemid
  26699. required: true
  26700. type: integer
  26701. produces:
  26702. - application/json
  26703. responses:
  26704. "200":
  26705. description: OK
  26706. schema:
  26707. items:
  26708. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26709. type: array
  26710. "500":
  26711. description: Internal Server Error
  26712. schema:
  26713. $ref: '#/definitions/app.Response'
  26714. security:
  26715. - ApiKeyAuth: []
  26716. summary: 期货持仓明细查询
  26717. tags:
  26718. - 企业风险管理v8
  26719. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26720. get:
  26721. parameters:
  26722. - description: 套期项目ID
  26723. in: query
  26724. name: hedgeditemid
  26725. required: true
  26726. type: integer
  26727. produces:
  26728. - application/json
  26729. responses:
  26730. "200":
  26731. description: OK
  26732. schema:
  26733. items:
  26734. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26735. type: array
  26736. "500":
  26737. description: Internal Server Error
  26738. schema:
  26739. $ref: '#/definitions/app.Response'
  26740. security:
  26741. - ApiKeyAuth: []
  26742. summary: 期货成交单明细查询
  26743. tags:
  26744. - 企业风险管理v8
  26745. /Ermcp8/QueryErmcp2AreaExposure:
  26746. get:
  26747. parameters:
  26748. - description: 用户ID
  26749. in: query
  26750. name: userid
  26751. required: true
  26752. type: string
  26753. produces:
  26754. - application/json
  26755. responses:
  26756. "200":
  26757. description: OK
  26758. schema:
  26759. items:
  26760. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26761. type: array
  26762. "500":
  26763. description: Internal Server Error
  26764. schema:
  26765. $ref: '#/definitions/app.Response'
  26766. security:
  26767. - ApiKeyAuth: []
  26768. summary: 企业敞口查询
  26769. tags:
  26770. - 企业风险管理v8
  26771. /Ermcp8/QueryErmcp2HedgedItem:
  26772. get:
  26773. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26774. parameters:
  26775. - description: 用户ID
  26776. in: query
  26777. name: userid
  26778. required: true
  26779. type: string
  26780. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26781. in: query
  26782. name: hedgedtype
  26783. type: integer
  26784. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26785. in: query
  26786. name: hedgeditemstatus
  26787. type: integer
  26788. produces:
  26789. - application/json
  26790. responses:
  26791. "200":
  26792. description: OK
  26793. schema:
  26794. items:
  26795. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26796. type: array
  26797. "500":
  26798. description: Internal Server Error
  26799. schema:
  26800. $ref: '#/definitions/app.Response'
  26801. security:
  26802. - ApiKeyAuth: []
  26803. summary: 查询被套期项目信息
  26804. tags:
  26805. - 企业风险管理v8
  26806. /Ermcp8/QueryErmcp2HedgedItemLink:
  26807. get:
  26808. parameters:
  26809. - description: 现货合同ID
  26810. in: query
  26811. name: spotcontractid
  26812. required: true
  26813. type: integer
  26814. produces:
  26815. - application/json
  26816. responses:
  26817. "200":
  26818. description: OK
  26819. schema:
  26820. items:
  26821. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26822. type: array
  26823. "500":
  26824. description: Internal Server Error
  26825. schema:
  26826. $ref: '#/definitions/app.Response'
  26827. security:
  26828. - ApiKeyAuth: []
  26829. summary: 现货合同关联被套期项目查询
  26830. tags:
  26831. - 企业风险管理v8
  26832. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26833. get:
  26834. parameters:
  26835. - description: 用户ID
  26836. in: query
  26837. name: userid
  26838. required: true
  26839. type: integer
  26840. - description: 套保品种ID
  26841. in: query
  26842. name: middlegoodsid
  26843. required: true
  26844. type: integer
  26845. produces:
  26846. - application/json
  26847. responses:
  26848. "200":
  26849. description: OK
  26850. schema:
  26851. items:
  26852. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26853. type: array
  26854. "500":
  26855. description: Internal Server Error
  26856. schema:
  26857. $ref: '#/definitions/app.Response'
  26858. security:
  26859. - ApiKeyAuth: []
  26860. summary: 敞口明细 - 计划变动明细
  26861. tags:
  26862. - 企业风险管理v8
  26863. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26864. get:
  26865. parameters:
  26866. - description: 用户ID
  26867. in: query
  26868. name: userid
  26869. required: true
  26870. type: integer
  26871. - description: 套保品种ID
  26872. in: query
  26873. name: middlegoodsid
  26874. required: true
  26875. type: integer
  26876. produces:
  26877. - application/json
  26878. responses:
  26879. "200":
  26880. description: OK
  26881. schema:
  26882. items:
  26883. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26884. type: array
  26885. "500":
  26886. description: Internal Server Error
  26887. schema:
  26888. $ref: '#/definitions/app.Response'
  26889. security:
  26890. - ApiKeyAuth: []
  26891. summary: 敞口明细 - 现货变动明细查询
  26892. tags:
  26893. - 企业风险管理v8
  26894. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26895. get:
  26896. parameters:
  26897. - description: 用户ID
  26898. in: query
  26899. name: userid
  26900. required: true
  26901. type: integer
  26902. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26903. in: query
  26904. name: spottype
  26905. required: true
  26906. type: integer
  26907. - description: 现货商品ID
  26908. in: query
  26909. name: wrstandardid
  26910. type: integer
  26911. produces:
  26912. - application/json
  26913. responses:
  26914. "200":
  26915. description: OK
  26916. schema:
  26917. items:
  26918. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26919. type: array
  26920. "500":
  26921. description: Internal Server Error
  26922. schema:
  26923. $ref: '#/definitions/app.Response'
  26924. security:
  26925. - ApiKeyAuth: []
  26926. summary: 可关联项目查询
  26927. tags:
  26928. - 企业风险管理v8
  26929. /Ermcp8/QueryErmcp8HedgeditemReport:
  26930. get:
  26931. parameters:
  26932. - description: 用户ID
  26933. in: query
  26934. name: userid
  26935. required: true
  26936. type: integer
  26937. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26938. in: query
  26939. name: cycletype
  26940. type: integer
  26941. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26942. 全(0)【原值】
  26943. in: query
  26944. name: cycletime
  26945. required: true
  26946. type: string
  26947. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26948. in: query
  26949. name: hedgedtype
  26950. type: integer
  26951. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26952. in: query
  26953. name: hedgeditemstatus
  26954. type: integer
  26955. - description: 项目编号,模糊查询
  26956. in: query
  26957. name: hedgeditemnum
  26958. type: string
  26959. - description: 现货商品ID
  26960. in: query
  26961. name: wrstandardid
  26962. type: integer
  26963. produces:
  26964. - application/json
  26965. responses:
  26966. "200":
  26967. description: OK
  26968. schema:
  26969. items:
  26970. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26971. type: array
  26972. "500":
  26973. description: Internal Server Error
  26974. schema:
  26975. $ref: '#/definitions/app.Response'
  26976. security:
  26977. - ApiKeyAuth: []
  26978. summary: 套期项目报表查询
  26979. tags:
  26980. - 企业风险管理v8
  26981. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26982. get:
  26983. parameters:
  26984. - description: 用户ID
  26985. in: query
  26986. name: userid
  26987. required: true
  26988. type: string
  26989. produces:
  26990. - application/json
  26991. responses:
  26992. "200":
  26993. description: OK
  26994. schema:
  26995. items:
  26996. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26997. type: array
  26998. "500":
  26999. description: Internal Server Error
  27000. schema:
  27001. $ref: '#/definitions/app.Response'
  27002. security:
  27003. - ApiKeyAuth: []
  27004. summary: 查询执行中项目查询信息
  27005. tags:
  27006. - 企业风险管理v8
  27007. /Ermcp8/QueryInternalEnableTradeDetail:
  27008. get:
  27009. parameters:
  27010. - description: 企业ID
  27011. in: query
  27012. name: areauserid
  27013. required: true
  27014. type: integer
  27015. - description: 期货合约ID
  27016. in: query
  27017. name: goodsid
  27018. required: true
  27019. type: integer
  27020. - description: 交易用户ID
  27021. in: query
  27022. name: tradeuserid
  27023. required: true
  27024. type: integer
  27025. produces:
  27026. - application/json
  27027. responses:
  27028. "200":
  27029. description: OK
  27030. schema:
  27031. items:
  27032. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27033. type: array
  27034. "500":
  27035. description: Internal Server Error
  27036. schema:
  27037. $ref: '#/definitions/app.Response'
  27038. security:
  27039. - ApiKeyAuth: []
  27040. summary: 内部成交单可关联项目查询
  27041. tags:
  27042. - 企业风险管理v8
  27043. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27044. get:
  27045. parameters:
  27046. - description: 用户编号
  27047. in: query
  27048. name: userid
  27049. required: true
  27050. type: integer
  27051. - description: 起始日期(格式yyyymmdd)
  27052. in: query
  27053. name: begindate
  27054. type: string
  27055. - description: 终止日期(格式yyyymmdd)
  27056. in: query
  27057. name: enddate
  27058. type: string
  27059. - description: 合约代码
  27060. in: query
  27061. name: goodscode
  27062. type: string
  27063. - description: 合约名称
  27064. in: query
  27065. name: goodsname
  27066. type: string
  27067. - description: 成交单号
  27068. in: query
  27069. name: tradeid
  27070. type: integer
  27071. - description: 方向 - 0:买 1:卖
  27072. in: query
  27073. name: buyorsell
  27074. type: integer
  27075. - description: 套期主体
  27076. in: query
  27077. name: accountname
  27078. type: string
  27079. produces:
  27080. - application/json
  27081. responses:
  27082. "200":
  27083. description: OK
  27084. schema:
  27085. items:
  27086. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27087. type: array
  27088. "500":
  27089. description: Internal Server Error
  27090. schema:
  27091. $ref: '#/definitions/app.Response'
  27092. security:
  27093. - ApiKeyAuth: []
  27094. summary: 内部未关联成交单查询
  27095. tags:
  27096. - 企业风险管理v8
  27097. /Ermcp8/QueryMarketCalendar:
  27098. get:
  27099. parameters:
  27100. - description: 市场ID
  27101. in: query
  27102. name: marketid
  27103. type: integer
  27104. produces:
  27105. - application/json
  27106. responses:
  27107. "200":
  27108. description: OK
  27109. schema:
  27110. items:
  27111. $ref: '#/definitions/models.Marketcalendar'
  27112. type: array
  27113. "500":
  27114. description: Internal Server Error
  27115. schema:
  27116. $ref: '#/definitions/app.Response'
  27117. security:
  27118. - ApiKeyAuth: []
  27119. summary: 市场节假日查询
  27120. tags:
  27121. - 企业风险管理v8
  27122. /Ermcp8/QueryPatradeLinkDetail:
  27123. get:
  27124. parameters:
  27125. - description: 用户ID
  27126. in: query
  27127. name: userid
  27128. required: true
  27129. type: integer
  27130. - description: 套保品种ID
  27131. in: query
  27132. name: middlegoodsid
  27133. required: true
  27134. type: integer
  27135. produces:
  27136. - application/json
  27137. responses:
  27138. "200":
  27139. description: OK
  27140. schema:
  27141. items:
  27142. $ref: '#/definitions/models.Patradelinkdetail'
  27143. type: array
  27144. "500":
  27145. description: Internal Server Error
  27146. schema:
  27147. $ref: '#/definitions/app.Response'
  27148. security:
  27149. - ApiKeyAuth: []
  27150. summary: 敞口明细 - 期货变动明细
  27151. tags:
  27152. - 企业风险管理v8
  27153. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27154. get:
  27155. parameters:
  27156. - description: 企业ID
  27157. in: query
  27158. name: areauserid
  27159. required: true
  27160. type: integer
  27161. - description: 计划类型 - 1:采购 -1:销售
  27162. in: query
  27163. name: contracttype
  27164. type: integer
  27165. - description: 计划编号,模糊查询
  27166. in: query
  27167. name: hedgeplanno
  27168. type: string
  27169. - description: 现货商品,模糊查询
  27170. in: query
  27171. name: wrstandardname
  27172. type: string
  27173. produces:
  27174. - application/json
  27175. responses:
  27176. "200":
  27177. description: OK
  27178. schema:
  27179. items:
  27180. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27181. type: array
  27182. "500":
  27183. description: Internal Server Error
  27184. schema:
  27185. $ref: '#/definitions/app.Response'
  27186. security:
  27187. - ApiKeyAuth: []
  27188. summary: 未关联购销计划
  27189. tags:
  27190. - 企业风险管理v8
  27191. /Ermcp8/QueryUnLinkSpotContract:
  27192. get:
  27193. parameters:
  27194. - description: 用户ID
  27195. in: query
  27196. name: userid
  27197. required: true
  27198. type: integer
  27199. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27200. in: query
  27201. name: pricetype
  27202. type: integer
  27203. - description: 合同编号, 模拟查询
  27204. in: query
  27205. name: contractno
  27206. type: string
  27207. - description: 对手方, 模拟查询
  27208. in: query
  27209. name: customername
  27210. type: string
  27211. - description: 项合同类型 - 1:采购 -1:销售
  27212. in: query
  27213. name: contracttype
  27214. type: integer
  27215. produces:
  27216. - application/json
  27217. responses:
  27218. "200":
  27219. description: OK
  27220. schema:
  27221. items:
  27222. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27223. type: array
  27224. "500":
  27225. description: Internal Server Error
  27226. schema:
  27227. $ref: '#/definitions/app.Response'
  27228. security:
  27229. - ApiKeyAuth: []
  27230. summary: 未关联合同查询
  27231. tags:
  27232. - 企业风险管理v8
  27233. /Erms2/QueryArbitrageStrategy:
  27234. get:
  27235. parameters:
  27236. - description: 账户ID
  27237. in: query
  27238. name: userid
  27239. required: true
  27240. type: integer
  27241. - description: 商品组ID(品种ID)
  27242. in: query
  27243. name: goodsgroupid
  27244. type: string
  27245. produces:
  27246. - application/json
  27247. responses:
  27248. "200":
  27249. description: OK
  27250. schema:
  27251. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27252. "500":
  27253. description: Internal Server Error
  27254. schema:
  27255. $ref: '#/definitions/app.Response'
  27256. security:
  27257. - ApiKeyAuth: []
  27258. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27259. tags:
  27260. - 风险管理
  27261. /Erms2/QueryInnerTradeDetail:
  27262. get:
  27263. parameters:
  27264. - description: 资金账户
  27265. in: query
  27266. name: accountid
  27267. required: true
  27268. type: integer
  27269. produces:
  27270. - application/json
  27271. responses:
  27272. "200":
  27273. description: OK
  27274. schema:
  27275. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27276. "500":
  27277. description: Internal Server Error
  27278. schema:
  27279. $ref: '#/definitions/app.Response'
  27280. security:
  27281. - ApiKeyAuth: []
  27282. summary: 查询内部成交单信息
  27283. tags:
  27284. - 风险管理
  27285. /Erms2/QuerySpotContract:
  27286. get:
  27287. parameters:
  27288. - description: 策略申请ID
  27289. in: query
  27290. name: asapplyid
  27291. required: true
  27292. type: integer
  27293. - description: 现货合同ID
  27294. in: query
  27295. name: spotcontractid
  27296. type: integer
  27297. produces:
  27298. - application/json
  27299. responses:
  27300. "200":
  27301. description: OK
  27302. schema:
  27303. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27304. "500":
  27305. description: Internal Server Error
  27306. schema:
  27307. $ref: '#/definitions/app.Response'
  27308. security:
  27309. - ApiKeyAuth: []
  27310. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27311. tags:
  27312. - 风险管理
  27313. /Erms3/AddErms2ASApply:
  27314. post:
  27315. parameters:
  27316. - description: 申请参数
  27317. in: body
  27318. name: jsonBody
  27319. required: true
  27320. schema:
  27321. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27322. produces:
  27323. - application/json
  27324. responses:
  27325. "200":
  27326. description: OK
  27327. schema:
  27328. $ref: '#/definitions/app.Response'
  27329. "500":
  27330. description: Internal Server Error
  27331. schema:
  27332. $ref: '#/definitions/app.Response'
  27333. security:
  27334. - ApiKeyAuth: []
  27335. summary: 新增期现套利业务申请
  27336. tags:
  27337. - 风险管理v3
  27338. /Erms3/AddErms2SpotTradeApply:
  27339. post:
  27340. parameters:
  27341. - description: 申请参数
  27342. in: body
  27343. name: jsonBody
  27344. required: true
  27345. schema:
  27346. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27347. produces:
  27348. - application/json
  27349. responses:
  27350. "200":
  27351. description: OK
  27352. schema:
  27353. $ref: '#/definitions/app.Response'
  27354. "500":
  27355. description: Internal Server Error
  27356. schema:
  27357. $ref: '#/definitions/app.Response'
  27358. security:
  27359. - ApiKeyAuth: []
  27360. summary: 新增现货贸易业务申请
  27361. tags:
  27362. - 风险管理v3
  27363. /Erms3/AddSpotContractApply:
  27364. post:
  27365. parameters:
  27366. - description: 申请参数
  27367. in: body
  27368. name: jsonBody
  27369. required: true
  27370. schema:
  27371. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27372. produces:
  27373. - application/json
  27374. responses:
  27375. "200":
  27376. description: OK
  27377. schema:
  27378. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27379. "500":
  27380. description: Internal Server Error
  27381. schema:
  27382. $ref: '#/definitions/app.Response'
  27383. security:
  27384. - ApiKeyAuth: []
  27385. summary: 新增现货合同申请
  27386. tags:
  27387. - 风险管理v3
  27388. /Erms3/AddUserInfoApply:
  27389. post:
  27390. parameters:
  27391. - description: 用户信息
  27392. in: body
  27393. name: jsonBody
  27394. required: true
  27395. schema:
  27396. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27397. produces:
  27398. - application/json
  27399. responses:
  27400. "200":
  27401. description: OK
  27402. schema:
  27403. $ref: '#/definitions/app.Response'
  27404. "500":
  27405. description: Internal Server Error
  27406. schema:
  27407. $ref: '#/definitions/app.Response'
  27408. security:
  27409. - ApiKeyAuth: []
  27410. summary: 新增客户申请
  27411. tags:
  27412. - 风险管理v3
  27413. /Erms3/DeleteUserInfoApply:
  27414. get:
  27415. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27416. parameters:
  27417. - description: 用户ID
  27418. in: query
  27419. name: userID
  27420. required: true
  27421. type: integer
  27422. produces:
  27423. - application/json
  27424. responses:
  27425. "200":
  27426. description: OK
  27427. schema:
  27428. $ref: '#/definitions/app.Response'
  27429. "500":
  27430. description: Internal Server Error
  27431. schema:
  27432. $ref: '#/definitions/app.Response'
  27433. security:
  27434. - ApiKeyAuth: []
  27435. summary: 删除客户申请
  27436. tags:
  27437. - 风险管理v3
  27438. /Erms3/ModifyUserInfoApply:
  27439. post:
  27440. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27441. int, "userstate": 2 }'
  27442. parameters:
  27443. - description: 用户信息
  27444. in: body
  27445. name: jsonBody
  27446. required: true
  27447. schema:
  27448. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. $ref: '#/definitions/app.Response'
  27456. "500":
  27457. description: Internal Server Error
  27458. schema:
  27459. $ref: '#/definitions/app.Response'
  27460. security:
  27461. - ApiKeyAuth: []
  27462. summary: 修改客户申请
  27463. tags:
  27464. - 风险管理v3
  27465. /Erms3/QueryBusinessInfo:
  27466. get:
  27467. parameters:
  27468. - description: 资金账号ID列表,用逗号分隔
  27469. in: query
  27470. name: accountids
  27471. required: true
  27472. type: string
  27473. - description: 状态,0为未结束 1为已结束
  27474. in: query
  27475. name: status
  27476. required: true
  27477. type: integer
  27478. produces:
  27479. - application/json
  27480. responses:
  27481. "200":
  27482. description: OK
  27483. schema:
  27484. items:
  27485. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27486. type: array
  27487. "500":
  27488. description: Internal Server Error
  27489. schema:
  27490. $ref: '#/definitions/app.Response'
  27491. security:
  27492. - ApiKeyAuth: []
  27493. summary: 查询业务表单数据
  27494. tags:
  27495. - 风险管理v3
  27496. /Erms3/QueryPendingAuditContract:
  27497. get:
  27498. parameters:
  27499. - description: 资金账号ID列表,逗号隔开
  27500. in: query
  27501. name: accountids
  27502. required: true
  27503. type: string
  27504. - description: 合同类型 1-采购 -1-销售
  27505. in: query
  27506. name: contracttype
  27507. required: true
  27508. type: integer
  27509. - description: 合同模式 1-普通 2-回购
  27510. in: query
  27511. name: contractmode
  27512. required: true
  27513. type: integer
  27514. produces:
  27515. - application/json
  27516. responses:
  27517. "200":
  27518. description: OK
  27519. schema:
  27520. items:
  27521. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27522. type: array
  27523. "500":
  27524. description: Internal Server Error
  27525. schema:
  27526. $ref: '#/definitions/app.Response'
  27527. security:
  27528. - ApiKeyAuth: []
  27529. summary: 查询待审核合同
  27530. tags:
  27531. - 风险管理v3
  27532. /Erms3/QueryPendingBusiness:
  27533. get:
  27534. parameters:
  27535. - description: 资金账号ID列表,逗号隔开
  27536. in: query
  27537. name: accountids
  27538. required: true
  27539. type: string
  27540. produces:
  27541. - application/json
  27542. responses:
  27543. "200":
  27544. description: OK
  27545. schema:
  27546. items:
  27547. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27548. type: array
  27549. "500":
  27550. description: Internal Server Error
  27551. schema:
  27552. $ref: '#/definitions/app.Response'
  27553. security:
  27554. - ApiKeyAuth: []
  27555. summary: 查询待审核基差贸易业务
  27556. tags:
  27557. - 风险管理v3
  27558. /Erms3/QuerySpotContractAppleForm:
  27559. get:
  27560. parameters:
  27561. - description: 登录账号
  27562. in: query
  27563. name: loginID
  27564. required: true
  27565. type: integer
  27566. produces:
  27567. - application/json
  27568. responses:
  27569. "200":
  27570. description: OK
  27571. schema:
  27572. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27573. "500":
  27574. description: Internal Server Error
  27575. schema:
  27576. $ref: '#/definitions/app.Response'
  27577. security:
  27578. - ApiKeyAuth: []
  27579. summary: 查询合同申请表单数据
  27580. tags:
  27581. - 风险管理v3
  27582. /Erms3/QuerySpotContractDetail:
  27583. get:
  27584. parameters:
  27585. - description: 资金账号ID列表,用逗号分隔
  27586. in: query
  27587. name: accountids
  27588. required: true
  27589. type: string
  27590. - description: 合同类型,1为采购合同 -1为销售合同
  27591. in: query
  27592. name: contracttype
  27593. required: true
  27594. type: integer
  27595. - description: 合同模式,1为普通合同 2为回购销售合同
  27596. in: query
  27597. name: contractmode
  27598. required: true
  27599. type: integer
  27600. - description: 状态,0为履约中 1为已完成
  27601. in: query
  27602. name: status
  27603. required: true
  27604. type: integer
  27605. produces:
  27606. - application/json
  27607. responses:
  27608. "200":
  27609. description: OK
  27610. schema:
  27611. items:
  27612. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27613. type: array
  27614. "500":
  27615. description: Internal Server Error
  27616. schema:
  27617. $ref: '#/definitions/app.Response'
  27618. security:
  27619. - ApiKeyAuth: []
  27620. summary: 查询合同详细信息
  27621. tags:
  27622. - 风险管理v3
  27623. /Erms3/QueryUserInfoApplies:
  27624. get:
  27625. parameters:
  27626. - description: 页码
  27627. in: query
  27628. name: page
  27629. type: integer
  27630. - description: 每页条数
  27631. in: query
  27632. name: pagesize
  27633. type: integer
  27634. - description: 客户名称,支持模糊查询
  27635. in: query
  27636. name: userName
  27637. type: string
  27638. produces:
  27639. - application/json
  27640. responses:
  27641. "200":
  27642. description: OK
  27643. schema:
  27644. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27645. "500":
  27646. description: Internal Server Error
  27647. schema:
  27648. $ref: '#/definitions/app.Response'
  27649. security:
  27650. - ApiKeyAuth: []
  27651. summary: 客户申请信息查询
  27652. tags:
  27653. - 风险管理v3
  27654. /Erms3/QueryUserInfos:
  27655. get:
  27656. parameters:
  27657. - description: 页码
  27658. in: query
  27659. name: page
  27660. type: integer
  27661. - description: 每页条数
  27662. in: query
  27663. name: pagesize
  27664. type: integer
  27665. - description: 客户名称,支持模糊查询
  27666. in: query
  27667. name: userName
  27668. type: string
  27669. produces:
  27670. - application/json
  27671. responses:
  27672. "200":
  27673. description: OK
  27674. schema:
  27675. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27676. "500":
  27677. description: Internal Server Error
  27678. schema:
  27679. $ref: '#/definitions/app.Response'
  27680. security:
  27681. - ApiKeyAuth: []
  27682. summary: 客户信息查询
  27683. tags:
  27684. - 风险管理v3
  27685. /Guangzuan/GZBSFWOrderOperate:
  27686. get:
  27687. parameters:
  27688. - description: 单据ID
  27689. in: query
  27690. name: orderid
  27691. required: true
  27692. type: integer
  27693. produces:
  27694. - application/json
  27695. responses:
  27696. "200":
  27697. description: OK
  27698. schema:
  27699. items:
  27700. $ref: '#/definitions/models.Gzbsfworderoperate'
  27701. type: array
  27702. "500":
  27703. description: Internal Server Error
  27704. schema:
  27705. $ref: '#/definitions/app.Response'
  27706. security:
  27707. - ApiKeyAuth: []
  27708. - LoginID: []
  27709. - Group: []
  27710. summary: 保税服务单据操作信息
  27711. tags:
  27712. - 广钻
  27713. /Guangzuan/GetGoods:
  27714. get:
  27715. parameters:
  27716. - description: 商品编号
  27717. in: query
  27718. name: goodsno
  27719. required: true
  27720. type: string
  27721. produces:
  27722. - application/json
  27723. responses:
  27724. "200":
  27725. description: OK
  27726. schema:
  27727. $ref: '#/definitions/models.GZGoods'
  27728. "500":
  27729. description: Internal Server Error
  27730. schema:
  27731. $ref: '#/definitions/app.Response'
  27732. security:
  27733. - ApiKeyAuth: []
  27734. - LoginID: []
  27735. - Group: []
  27736. summary: 获取钻石详情
  27737. tags:
  27738. - 广钻
  27739. /Guangzuan/GzCertAddressConfig:
  27740. get:
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. items:
  27748. $ref: '#/definitions/models.Gzcertaddressconfig'
  27749. type: array
  27750. "500":
  27751. description: Internal Server Error
  27752. schema:
  27753. $ref: '#/definitions/app.Response'
  27754. security:
  27755. - ApiKeyAuth: []
  27756. - LoginID: []
  27757. - Group: []
  27758. summary: Rapaport最新报价表(广钻)
  27759. tags:
  27760. - 广钻
  27761. /Guangzuan/GzCertAddressParam:
  27762. get:
  27763. produces:
  27764. - application/json
  27765. responses:
  27766. "200":
  27767. description: OK
  27768. schema:
  27769. items:
  27770. $ref: '#/definitions/models.Gzcertaddressparam'
  27771. type: array
  27772. "500":
  27773. description: Internal Server Error
  27774. schema:
  27775. $ref: '#/definitions/app.Response'
  27776. security:
  27777. - ApiKeyAuth: []
  27778. - LoginID: []
  27779. - Group: []
  27780. summary: 钻石证书地址参数
  27781. tags:
  27782. - 广钻
  27783. /Guangzuan/HomeData:
  27784. get:
  27785. parameters:
  27786. - description: 用户ID
  27787. in: query
  27788. name: userid
  27789. required: true
  27790. type: integer
  27791. produces:
  27792. - application/json
  27793. responses:
  27794. "200":
  27795. description: OK
  27796. schema:
  27797. $ref: '#/definitions/models.GZHomeData'
  27798. "500":
  27799. description: Internal Server Error
  27800. schema:
  27801. $ref: '#/definitions/app.Response'
  27802. security:
  27803. - ApiKeyAuth: []
  27804. - LoginID: []
  27805. - Group: []
  27806. summary: 首页统计数据
  27807. tags:
  27808. - 广钻
  27809. /Guangzuan/PriceCalc:
  27810. get:
  27811. parameters:
  27812. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  27813. in: query
  27814. name: zsshape
  27815. required: true
  27816. type: integer
  27817. - description: 颜色(D-M)
  27818. in: query
  27819. name: zscolor
  27820. required: true
  27821. type: string
  27822. - description: 净度
  27823. in: query
  27824. name: zsclarity
  27825. required: true
  27826. type: string
  27827. - description: 重量
  27828. in: query
  27829. name: weight
  27830. required: true
  27831. type: number
  27832. - description: 汇率
  27833. in: query
  27834. name: rate
  27835. required: true
  27836. type: number
  27837. - description: 折扣(%), 方向(加:10, 减:-10 )
  27838. in: query
  27839. name: discount
  27840. type: number
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. items:
  27848. $ref: '#/definitions/models.Gzrapaportprice'
  27849. type: array
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. - LoginID: []
  27857. - Group: []
  27858. summary: 钻石价格计算器
  27859. tags:
  27860. - 广钻
  27861. /Guangzuan/QueryBuyOrder:
  27862. get:
  27863. parameters:
  27864. - description: 页码
  27865. in: query
  27866. name: page
  27867. type: integer
  27868. - description: 每页条数
  27869. in: query
  27870. name: pagesize
  27871. type: integer
  27872. - description: 商品(查询字段-模糊查询)
  27873. in: query
  27874. name: zsallproperties
  27875. type: string
  27876. - description: 钻石分类, 格式:1,2,3
  27877. in: query
  27878. name: zscategorys
  27879. type: string
  27880. - description: 委托单号
  27881. in: query
  27882. name: wrtradeorderid
  27883. type: integer
  27884. - description: 买方(查询字段-模糊查询)
  27885. in: query
  27886. name: buyusername
  27887. type: string
  27888. produces:
  27889. - application/json
  27890. responses:
  27891. "200":
  27892. description: OK
  27893. schema:
  27894. items:
  27895. $ref: '#/definitions/models.BuyOrder'
  27896. type: array
  27897. "500":
  27898. description: Internal Server Error
  27899. schema:
  27900. $ref: '#/definitions/app.Response'
  27901. security:
  27902. - ApiKeyAuth: []
  27903. - LoginID: []
  27904. - Group: []
  27905. summary: 查询求购大厅委托单
  27906. tags:
  27907. - 广钻
  27908. /Guangzuan/QueryDiamond:
  27909. post:
  27910. parameters:
  27911. - description: 钻石搜索入参
  27912. in: body
  27913. name: data
  27914. required: true
  27915. schema:
  27916. $ref: '#/definitions/models.SellOrderQueryReq'
  27917. produces:
  27918. - application/json
  27919. responses:
  27920. "200":
  27921. description: OK
  27922. schema:
  27923. items:
  27924. $ref: '#/definitions/models.SellOrder'
  27925. type: array
  27926. "500":
  27927. description: Internal Server Error
  27928. schema:
  27929. $ref: '#/definitions/app.Response'
  27930. security:
  27931. - ApiKeyAuth: []
  27932. - LoginID: []
  27933. - Group: []
  27934. summary: 钻石搜索
  27935. tags:
  27936. - 广钻
  27937. /Guangzuan/QueryGZBSFWOrder:
  27938. get:
  27939. parameters:
  27940. - description: 用户ID
  27941. in: query
  27942. name: userid
  27943. required: true
  27944. type: integer
  27945. - description: 页码
  27946. in: query
  27947. name: page
  27948. type: integer
  27949. - description: 每页条数
  27950. in: query
  27951. name: pagesize
  27952. type: integer
  27953. produces:
  27954. - application/json
  27955. responses:
  27956. "200":
  27957. description: OK
  27958. schema:
  27959. items:
  27960. $ref: '#/definitions/models.GzbsfworderM'
  27961. type: array
  27962. "500":
  27963. description: Internal Server Error
  27964. schema:
  27965. $ref: '#/definitions/app.Response'
  27966. security:
  27967. - ApiKeyAuth: []
  27968. - LoginID: []
  27969. - Group: []
  27970. summary: 查询保税服务单据
  27971. tags:
  27972. - 广钻
  27973. /Guangzuan/QueryGZBSFWOrderDetail:
  27974. get:
  27975. parameters:
  27976. - description: 用户ID
  27977. in: query
  27978. name: userid
  27979. required: true
  27980. type: integer
  27981. - description: 单据ID
  27982. in: query
  27983. name: orderid
  27984. type: integer
  27985. - description: 页码
  27986. in: query
  27987. name: page
  27988. type: integer
  27989. - description: 每页条数
  27990. in: query
  27991. name: pagesize
  27992. type: integer
  27993. produces:
  27994. - application/json
  27995. responses:
  27996. "200":
  27997. description: OK
  27998. schema:
  27999. items:
  28000. $ref: '#/definitions/models.GzbsfworderdetailM'
  28001. type: array
  28002. "500":
  28003. description: Internal Server Error
  28004. schema:
  28005. $ref: '#/definitions/app.Response'
  28006. security:
  28007. - ApiKeyAuth: []
  28008. - LoginID: []
  28009. - Group: []
  28010. summary: 查询保税服务单据明细
  28011. tags:
  28012. - 广钻
  28013. /Guangzuan/QueryGZCJBSOrderFile:
  28014. get:
  28015. parameters:
  28016. - description: 单据ID
  28017. in: query
  28018. name: orderid
  28019. required: true
  28020. type: integer
  28021. - description: 页码
  28022. in: query
  28023. name: page
  28024. type: integer
  28025. - description: 每页条数
  28026. in: query
  28027. name: pagesize
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. items:
  28036. $ref: '#/definitions/models.GzcjbsorderfileM'
  28037. type: array
  28038. "500":
  28039. description: Internal Server Error
  28040. schema:
  28041. $ref: '#/definitions/app.Response'
  28042. security:
  28043. - ApiKeyAuth: []
  28044. - LoginID: []
  28045. - Group: []
  28046. summary: 出境保税单据文件
  28047. tags:
  28048. - 广钻
  28049. /Guangzuan/QueryGZCJJCOrder:
  28050. get:
  28051. parameters:
  28052. - description: 用户ID
  28053. in: query
  28054. name: userid
  28055. required: true
  28056. type: integer
  28057. - description: 页码
  28058. in: query
  28059. name: page
  28060. type: integer
  28061. - description: 每页条数
  28062. in: query
  28063. name: pagesize
  28064. type: integer
  28065. produces:
  28066. - application/json
  28067. responses:
  28068. "200":
  28069. description: OK
  28070. schema:
  28071. items:
  28072. $ref: '#/definitions/models.GzcjjcorderM'
  28073. type: array
  28074. "500":
  28075. description: Internal Server Error
  28076. schema:
  28077. $ref: '#/definitions/app.Response'
  28078. security:
  28079. - ApiKeyAuth: []
  28080. - LoginID: []
  28081. - Group: []
  28082. summary: 查询出境检测单据
  28083. tags:
  28084. - 广钻
  28085. /Guangzuan/QueryGZCJJCOrderDetail:
  28086. get:
  28087. parameters:
  28088. - description: 用户ID
  28089. in: query
  28090. name: userid
  28091. required: true
  28092. type: integer
  28093. - description: 单据ID
  28094. in: query
  28095. name: orderid
  28096. type: integer
  28097. - description: 页码
  28098. in: query
  28099. name: page
  28100. type: integer
  28101. - description: 每页条数
  28102. in: query
  28103. name: pagesize
  28104. type: integer
  28105. produces:
  28106. - application/json
  28107. responses:
  28108. "200":
  28109. description: OK
  28110. schema:
  28111. items:
  28112. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28113. type: array
  28114. "500":
  28115. description: Internal Server Error
  28116. schema:
  28117. $ref: '#/definitions/app.Response'
  28118. security:
  28119. - ApiKeyAuth: []
  28120. - LoginID: []
  28121. - Group: []
  28122. summary: 查询出境检测单据明细(批次信息)
  28123. tags:
  28124. - 广钻
  28125. /Guangzuan/QueryMyBargainApply:
  28126. get:
  28127. parameters:
  28128. - description: 用户ID
  28129. in: query
  28130. name: userid
  28131. required: true
  28132. type: integer
  28133. - description: 页码
  28134. in: query
  28135. name: page
  28136. type: integer
  28137. - description: 每页条数
  28138. in: query
  28139. name: pagesize
  28140. type: integer
  28141. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28142. in: query
  28143. name: applystatus
  28144. type: integer
  28145. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28146. in: query
  28147. name: type
  28148. type: integer
  28149. - description: 关联委托单ID
  28150. in: query
  28151. name: wrtradeorderid
  28152. type: string
  28153. produces:
  28154. - application/json
  28155. responses:
  28156. "200":
  28157. description: OK
  28158. schema:
  28159. items:
  28160. $ref: '#/definitions/models.MyBargainApply'
  28161. type: array
  28162. "500":
  28163. description: Internal Server Error
  28164. schema:
  28165. $ref: '#/definitions/app.Response'
  28166. security:
  28167. - ApiKeyAuth: []
  28168. - LoginID: []
  28169. - Group: []
  28170. summary: 查询询价-求购
  28171. tags:
  28172. - 广钻
  28173. /Guangzuan/QueryMyBuyOrder:
  28174. get:
  28175. parameters:
  28176. - description: 用户ID
  28177. in: query
  28178. name: userid
  28179. required: true
  28180. type: integer
  28181. - description: 页码
  28182. in: query
  28183. name: page
  28184. type: integer
  28185. - description: 每页条数
  28186. in: query
  28187. name: pagesize
  28188. type: integer
  28189. - description: 商品(查询字段-模糊查询)
  28190. in: query
  28191. name: zsallproperties
  28192. type: string
  28193. - description: 钻石分类, 格式:1,2,3
  28194. in: query
  28195. name: zscategorys
  28196. type: string
  28197. - description: 委托单号
  28198. in: query
  28199. name: wrtradeorderid
  28200. type: integer
  28201. - description: 是否历史查询
  28202. in: query
  28203. name: ishis
  28204. type: boolean
  28205. - description: 开始交易日(yyyymmdd)
  28206. in: query
  28207. name: begindate
  28208. type: string
  28209. - description: 结束交易日(yyyymmdd)
  28210. in: query
  28211. name: enddate
  28212. type: string
  28213. produces:
  28214. - application/json
  28215. responses:
  28216. "200":
  28217. description: OK
  28218. schema:
  28219. items:
  28220. $ref: '#/definitions/models.MyBuyOrder'
  28221. type: array
  28222. "500":
  28223. description: Internal Server Error
  28224. schema:
  28225. $ref: '#/definitions/app.Response'
  28226. security:
  28227. - ApiKeyAuth: []
  28228. - LoginID: []
  28229. - Group: []
  28230. summary: 查询我的求购
  28231. tags:
  28232. - 广钻
  28233. /Guangzuan/QueryMyDeListing:
  28234. get:
  28235. parameters:
  28236. - description: 用户ID
  28237. in: query
  28238. name: userid
  28239. required: true
  28240. type: integer
  28241. - description: 页码
  28242. in: query
  28243. name: page
  28244. type: integer
  28245. - description: 每页条数
  28246. in: query
  28247. name: pagesize
  28248. type: integer
  28249. - description: 商品(查询字段-模糊查询)
  28250. in: query
  28251. name: zsallproperties
  28252. type: string
  28253. - description: 钻石分类, 格式:1,2,3
  28254. in: query
  28255. name: zscategorys
  28256. type: string
  28257. - description: 成交单号
  28258. in: query
  28259. name: wrtradedetailid
  28260. type: integer
  28261. - description: 方向,0-购买 1-出售
  28262. in: query
  28263. name: buyorsell
  28264. type: integer
  28265. - description: 对手方(模糊匹配)
  28266. in: query
  28267. name: matchusername
  28268. type: string
  28269. - description: 开始交易日(yyyymmdd)
  28270. in: query
  28271. name: begindate
  28272. type: string
  28273. - description: 结束交易日(yyyymmdd)
  28274. in: query
  28275. name: enddate
  28276. type: string
  28277. produces:
  28278. - application/json
  28279. responses:
  28280. "200":
  28281. description: OK
  28282. schema:
  28283. items:
  28284. $ref: '#/definitions/models.MyDeListing'
  28285. type: array
  28286. "500":
  28287. description: Internal Server Error
  28288. schema:
  28289. $ref: '#/definitions/app.Response'
  28290. security:
  28291. - ApiKeyAuth: []
  28292. - LoginID: []
  28293. - Group: []
  28294. summary: 查询我的摘牌
  28295. tags:
  28296. - 广钻
  28297. /Guangzuan/QueryMyDelistingApply:
  28298. get:
  28299. parameters:
  28300. - description: 用户ID
  28301. in: query
  28302. name: userid
  28303. required: true
  28304. type: integer
  28305. - description: 页码
  28306. in: query
  28307. name: page
  28308. type: integer
  28309. - description: 每页条数
  28310. in: query
  28311. name: pagesize
  28312. type: integer
  28313. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28314. in: query
  28315. name: applystatus
  28316. type: integer
  28317. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28318. in: query
  28319. name: type
  28320. type: integer
  28321. - description: 买委托单ID
  28322. in: query
  28323. name: buywrtradeorderid
  28324. type: string
  28325. produces:
  28326. - application/json
  28327. responses:
  28328. "200":
  28329. description: OK
  28330. schema:
  28331. items:
  28332. $ref: '#/definitions/models.MyDelistingApply'
  28333. type: array
  28334. "500":
  28335. description: Internal Server Error
  28336. schema:
  28337. $ref: '#/definitions/app.Response'
  28338. security:
  28339. - ApiKeyAuth: []
  28340. - LoginID: []
  28341. - Group: []
  28342. summary: 查询询价-出售
  28343. tags:
  28344. - 广钻
  28345. /Guangzuan/QueryMyFavorite:
  28346. get:
  28347. parameters:
  28348. - description: 用户ID
  28349. in: query
  28350. name: userid
  28351. required: true
  28352. type: integer
  28353. - description: 页码
  28354. in: query
  28355. name: page
  28356. type: integer
  28357. - description: 每页条数
  28358. in: query
  28359. name: pagesize
  28360. type: integer
  28361. - description: 钻石分类, 格式:1,2,3
  28362. in: query
  28363. name: zscategorys
  28364. type: string
  28365. produces:
  28366. - application/json
  28367. responses:
  28368. "200":
  28369. description: OK
  28370. schema:
  28371. items:
  28372. $ref: '#/definitions/models.MyFavorite'
  28373. type: array
  28374. "500":
  28375. description: Internal Server Error
  28376. schema:
  28377. $ref: '#/definitions/app.Response'
  28378. security:
  28379. - ApiKeyAuth: []
  28380. - LoginID: []
  28381. - Group: []
  28382. summary: 查询我的收藏
  28383. tags:
  28384. - 广钻
  28385. /Guangzuan/QueryMyPerformanc:
  28386. get:
  28387. parameters:
  28388. - description: 用户ID
  28389. in: query
  28390. name: userid
  28391. required: true
  28392. type: integer
  28393. - description: 页码
  28394. in: query
  28395. name: page
  28396. type: integer
  28397. - description: 每页条数
  28398. in: query
  28399. name: pagesize
  28400. type: integer
  28401. - description: 商品(查询字段-模糊查询)
  28402. in: query
  28403. name: zsallproperties
  28404. type: string
  28405. - description: 方向,0-买 1-卖
  28406. in: query
  28407. name: buyorsell
  28408. type: integer
  28409. - description: 是否历史查询
  28410. in: query
  28411. name: ishis
  28412. type: boolean
  28413. - description: 开始交易日(yyyymmdd)
  28414. in: query
  28415. name: begindate
  28416. type: string
  28417. - description: 结束交易日(yyyymmdd)
  28418. in: query
  28419. name: enddate
  28420. type: string
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. items:
  28428. $ref: '#/definitions/models.MyPerformanc'
  28429. type: array
  28430. "500":
  28431. description: Internal Server Error
  28432. schema:
  28433. $ref: '#/definitions/app.Response'
  28434. security:
  28435. - ApiKeyAuth: []
  28436. - LoginID: []
  28437. - Group: []
  28438. summary: 查询我的履约
  28439. tags:
  28440. - 广钻
  28441. /Guangzuan/QueryMySellOrder:
  28442. get:
  28443. parameters:
  28444. - description: 用户ID
  28445. in: query
  28446. name: userid
  28447. required: true
  28448. type: integer
  28449. - description: 页码
  28450. in: query
  28451. name: page
  28452. type: integer
  28453. - description: 每页条数
  28454. in: query
  28455. name: pagesize
  28456. type: integer
  28457. - description: 商品(查询字段-模糊查询)
  28458. in: query
  28459. name: zsallproperties
  28460. type: string
  28461. - description: 钻石分类, 格式:1,2,3
  28462. in: query
  28463. name: zscategorys
  28464. type: string
  28465. - description: 委托单号
  28466. in: query
  28467. name: wrtradeorderid
  28468. type: integer
  28469. - description: 是否历史查询
  28470. in: query
  28471. name: ishis
  28472. type: boolean
  28473. - description: 开始交易日(yyyymmdd)
  28474. in: query
  28475. name: begindate
  28476. type: string
  28477. - description: 结束交易日(yyyymmdd)
  28478. in: query
  28479. name: enddate
  28480. type: string
  28481. produces:
  28482. - application/json
  28483. responses:
  28484. "200":
  28485. description: OK
  28486. schema:
  28487. items:
  28488. $ref: '#/definitions/models.MySellOrder'
  28489. type: array
  28490. "500":
  28491. description: Internal Server Error
  28492. schema:
  28493. $ref: '#/definitions/app.Response'
  28494. security:
  28495. - ApiKeyAuth: []
  28496. - LoginID: []
  28497. - Group: []
  28498. summary: 查询我的出售
  28499. tags:
  28500. - 广钻
  28501. /Guangzuan/QueryMyWRPosition:
  28502. get:
  28503. parameters:
  28504. - description: 页码
  28505. in: query
  28506. name: page
  28507. type: integer
  28508. - description: 每页条数
  28509. in: query
  28510. name: pagesize
  28511. type: integer
  28512. - description: 登录用户ID
  28513. in: query
  28514. name: wruserid
  28515. required: true
  28516. type: integer
  28517. - description: 商品(查询字段-模糊查询)
  28518. in: query
  28519. name: zsallproperties
  28520. type: string
  28521. - description: 钻石分类, 格式:1,2,3
  28522. in: query
  28523. name: zscategorys
  28524. type: string
  28525. - description: 仓库ID
  28526. in: query
  28527. name: warehouseid
  28528. type: integer
  28529. - description: 是否上架,0-全部 1-是 2-否
  28530. in: query
  28531. name: marketflag
  28532. type: integer
  28533. produces:
  28534. - application/json
  28535. responses:
  28536. "200":
  28537. description: OK
  28538. schema:
  28539. items:
  28540. $ref: '#/definitions/models.MyWRPosition'
  28541. type: array
  28542. "500":
  28543. description: Internal Server Error
  28544. schema:
  28545. $ref: '#/definitions/app.Response'
  28546. security:
  28547. - ApiKeyAuth: []
  28548. - LoginID: []
  28549. - Group: []
  28550. summary: 查询我的库存
  28551. tags:
  28552. - 广钻
  28553. /Guangzuan/QuerySellOrder:
  28554. get:
  28555. parameters:
  28556. - description: 页码
  28557. in: query
  28558. name: page
  28559. type: integer
  28560. - description: 每页条数
  28561. in: query
  28562. name: pagesize
  28563. type: integer
  28564. - description: 商品(查询字段-模糊查询)
  28565. in: query
  28566. name: zsallproperties
  28567. type: string
  28568. - description: 钻石分类, 格式:1,2,3
  28569. in: query
  28570. name: zscategorys
  28571. type: string
  28572. - description: 委托单号
  28573. in: query
  28574. name: wrtradeorderid
  28575. type: integer
  28576. - description: 卖方(查询字段-模糊查询)
  28577. in: query
  28578. name: buyusername
  28579. type: string
  28580. produces:
  28581. - application/json
  28582. responses:
  28583. "200":
  28584. description: OK
  28585. schema:
  28586. items:
  28587. $ref: '#/definitions/models.SellOrder'
  28588. type: array
  28589. "500":
  28590. description: Internal Server Error
  28591. schema:
  28592. $ref: '#/definitions/app.Response'
  28593. security:
  28594. - ApiKeyAuth: []
  28595. - LoginID: []
  28596. - Group: []
  28597. summary: 查询出售大厅委托单
  28598. tags:
  28599. - 广钻
  28600. /Guangzuan/QueryWarehouseInfo:
  28601. get:
  28602. parameters:
  28603. - description: 页码
  28604. in: query
  28605. name: page
  28606. type: integer
  28607. - description: 每页条数
  28608. in: query
  28609. name: pagesize
  28610. type: integer
  28611. - description: 用户ID
  28612. in: query
  28613. name: userid
  28614. required: true
  28615. type: integer
  28616. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28617. in: query
  28618. name: status
  28619. type: string
  28620. - description: 是返回交易所仓库
  28621. in: query
  28622. name: isincludeexchange
  28623. type: boolean
  28624. produces:
  28625. - application/json
  28626. responses:
  28627. "200":
  28628. description: OK
  28629. schema:
  28630. items:
  28631. $ref: '#/definitions/models.GZWarehouseinfo'
  28632. type: array
  28633. "500":
  28634. description: Internal Server Error
  28635. schema:
  28636. $ref: '#/definitions/app.Response'
  28637. security:
  28638. - ApiKeyAuth: []
  28639. - LoginID: []
  28640. - Group: []
  28641. summary: 查询仓库信息
  28642. tags:
  28643. - 广钻
  28644. /Market/GetAllExExchanges:
  28645. get:
  28646. produces:
  28647. - application/json
  28648. responses:
  28649. "200":
  28650. description: OK
  28651. schema:
  28652. $ref: '#/definitions/models.Goods'
  28653. "500":
  28654. description: Internal Server Error
  28655. schema:
  28656. $ref: '#/definitions/app.Response'
  28657. security:
  28658. - ApiKeyAuth: []
  28659. summary: 获取所有外部交易所信息
  28660. tags:
  28661. - 通用市场
  28662. /Market/QueryGoodsesByLoginID:
  28663. get:
  28664. parameters:
  28665. - description: 登录账号
  28666. in: query
  28667. name: loginID
  28668. required: true
  28669. type: integer
  28670. - description: 市场ID列表,格式:1,2,3
  28671. in: query
  28672. name: marketIDs
  28673. type: string
  28674. produces:
  28675. - application/json
  28676. responses:
  28677. "200":
  28678. description: OK
  28679. schema:
  28680. $ref: '#/definitions/models.Goods'
  28681. "500":
  28682. description: Internal Server Error
  28683. schema:
  28684. $ref: '#/definitions/app.Response'
  28685. security:
  28686. - ApiKeyAuth: []
  28687. summary: 获取登录账号有权限的商品信息
  28688. tags:
  28689. - 通用市场
  28690. /Market/QueryMarketRun:
  28691. get:
  28692. parameters:
  28693. - description: 市场ID,不传返回所有
  28694. in: query
  28695. name: marketID
  28696. type: integer
  28697. produces:
  28698. - application/json
  28699. responses:
  28700. "200":
  28701. description: OK
  28702. schema:
  28703. $ref: '#/definitions/models.Marketrun'
  28704. "500":
  28705. description: Internal Server Error
  28706. schema:
  28707. $ref: '#/definitions/app.Response'
  28708. security:
  28709. - ApiKeyAuth: []
  28710. summary: 查询市场运行信息
  28711. tags:
  28712. - 通用市场
  28713. /Market/QueryMarketsByLoginID:
  28714. get:
  28715. parameters:
  28716. - description: 登录账号
  28717. in: query
  28718. name: loginID
  28719. required: true
  28720. type: integer
  28721. produces:
  28722. - application/json
  28723. responses:
  28724. "200":
  28725. description: OK
  28726. schema:
  28727. $ref: '#/definitions/models.Market'
  28728. "500":
  28729. description: Internal Server Error
  28730. schema:
  28731. $ref: '#/definitions/app.Response'
  28732. security:
  28733. - ApiKeyAuth: []
  28734. summary: 获取登录账号有权限的市场信息
  28735. tags:
  28736. - 通用市场
  28737. /Order/QueryHisTradeDetail:
  28738. get:
  28739. parameters:
  28740. - description: 资金账户 - 格式:1,2,3
  28741. in: query
  28742. name: accountID
  28743. required: true
  28744. type: string
  28745. - description: 成交单号
  28746. in: query
  28747. name: tradeID
  28748. type: integer
  28749. - description: 委托单号
  28750. in: query
  28751. name: orderID
  28752. type: integer
  28753. - description: 商品ID
  28754. in: query
  28755. name: goodsID
  28756. type: integer
  28757. - description: 交易模式 - 格式:1,2,3
  28758. in: query
  28759. name: tradeMode
  28760. type: string
  28761. - description: 委托单据类型
  28762. in: query
  28763. name: buildType
  28764. type: integer
  28765. - description: 成交类别 - 格式:1,2,3
  28766. in: query
  28767. name: tradeType
  28768. type: string
  28769. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28770. in: query
  28771. name: startDate
  28772. type: string
  28773. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28774. in: query
  28775. name: endDate
  28776. type: string
  28777. produces:
  28778. - application/json
  28779. responses:
  28780. "200":
  28781. description: OK
  28782. schema:
  28783. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28784. "500":
  28785. description: Internal Server Error
  28786. schema:
  28787. $ref: '#/definitions/app.Response'
  28788. security:
  28789. - ApiKeyAuth: []
  28790. summary: 历史成交单查询(合约市场)
  28791. tags:
  28792. - 通用单据
  28793. /Order/QueryHisTradeOrderDetail:
  28794. get:
  28795. parameters:
  28796. - description: 资金账户 - 格式:1,2,3
  28797. in: query
  28798. name: accountID
  28799. required: true
  28800. type: string
  28801. - description: 交易模式 - 格式:1,2,3
  28802. in: query
  28803. name: tradeMode
  28804. type: string
  28805. - description: 委托状态 - 格式:1,2,3
  28806. in: query
  28807. name: orderStatus
  28808. type: string
  28809. - description: 委托单号
  28810. in: query
  28811. name: orderID
  28812. type: integer
  28813. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28814. in: query
  28815. name: startDate
  28816. type: string
  28817. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28818. in: query
  28819. name: endDate
  28820. type: string
  28821. produces:
  28822. - application/json
  28823. responses:
  28824. "200":
  28825. description: OK
  28826. schema:
  28827. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28828. "500":
  28829. description: Internal Server Error
  28830. schema:
  28831. $ref: '#/definitions/app.Response'
  28832. security:
  28833. - ApiKeyAuth: []
  28834. summary: 历史委托单查询请求(合约市场)
  28835. tags:
  28836. - 通用单据
  28837. /Order/QueryTradeDetail:
  28838. get:
  28839. parameters:
  28840. - description: 资金账户 - 格式:1,2,3
  28841. in: query
  28842. name: accountID
  28843. required: true
  28844. type: string
  28845. - description: 成交单号
  28846. in: query
  28847. name: tradeID
  28848. type: integer
  28849. - description: 委托单号
  28850. in: query
  28851. name: orderID
  28852. type: integer
  28853. - description: 交易模式 - 格式:1,2,3
  28854. in: query
  28855. name: tradeMode
  28856. type: string
  28857. - description: 委托单据类型
  28858. in: query
  28859. name: buildType
  28860. type: integer
  28861. - description: 成交类别 - 格式:1,2,3
  28862. in: query
  28863. name: tradeType
  28864. type: string
  28865. - description: 商品ID
  28866. in: query
  28867. name: goodsID
  28868. type: integer
  28869. produces:
  28870. - application/json
  28871. responses:
  28872. "200":
  28873. description: OK
  28874. schema:
  28875. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28876. "500":
  28877. description: Internal Server Error
  28878. schema:
  28879. $ref: '#/definitions/app.Response'
  28880. security:
  28881. - ApiKeyAuth: []
  28882. summary: 成交单查询(合约市场)
  28883. tags:
  28884. - 通用单据
  28885. /Order/QueryTradeHolderDetail:
  28886. get:
  28887. parameters:
  28888. - description: 用户id
  28889. in: query
  28890. name: userid
  28891. type: integer
  28892. - description: 资金账号, 格式 1,2,3
  28893. in: query
  28894. name: accids
  28895. type: string
  28896. - description: 交易模式, 格式 1,2,3
  28897. in: query
  28898. name: trademodes
  28899. type: string
  28900. - description: 市场id, 格式 1,2,3
  28901. in: query
  28902. name: marketids
  28903. type: string
  28904. - description: 商品id
  28905. in: query
  28906. name: goodsid
  28907. type: integer
  28908. - description: 买卖方向 0-买 1-卖
  28909. in: query
  28910. name: buyorsell
  28911. type: integer
  28912. produces:
  28913. - application/json
  28914. responses:
  28915. "200":
  28916. description: OK
  28917. schema:
  28918. items:
  28919. $ref: '#/definitions/models.TradeHolderDetail'
  28920. type: array
  28921. "500":
  28922. description: Internal Server Error
  28923. schema:
  28924. $ref: '#/definitions/app.Response'
  28925. security:
  28926. - ApiKeyAuth: []
  28927. summary: 查询持仓明细
  28928. tags:
  28929. - 通用单据
  28930. /Order/QueryTradeOrderDetail:
  28931. get:
  28932. parameters:
  28933. - description: 资金账户 - 格式:1,2,3
  28934. in: query
  28935. name: accountID
  28936. required: true
  28937. type: string
  28938. - description: 交易模式 - 格式:1,2,3
  28939. in: query
  28940. name: tradeMode
  28941. type: string
  28942. - description: 委托状态 - 格式:1,2,3
  28943. in: query
  28944. name: orderStatus
  28945. type: string
  28946. - description: 委托单号
  28947. in: query
  28948. name: orderID
  28949. type: integer
  28950. produces:
  28951. - application/json
  28952. responses:
  28953. "200":
  28954. description: OK
  28955. schema:
  28956. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28957. "500":
  28958. description: Internal Server Error
  28959. schema:
  28960. $ref: '#/definitions/app.Response'
  28961. security:
  28962. - ApiKeyAuth: []
  28963. summary: 委托单查询请求(合约市场)
  28964. tags:
  28965. - 通用单据
  28966. /Order/QueryTradePosition:
  28967. get:
  28968. parameters:
  28969. - description: 资金账户 - 格式:1,2,3
  28970. in: query
  28971. name: accountID
  28972. required: true
  28973. type: string
  28974. - description: 交易模式 - 格式:1,2,3
  28975. in: query
  28976. name: tradeMode
  28977. type: string
  28978. produces:
  28979. - application/json
  28980. responses:
  28981. "200":
  28982. description: OK
  28983. schema:
  28984. $ref: '#/definitions/order.QueryTradePositionRsp'
  28985. "500":
  28986. description: Internal Server Error
  28987. schema:
  28988. $ref: '#/definitions/app.Response'
  28989. security:
  28990. - ApiKeyAuth: []
  28991. summary: 持仓汇总查询(合约市场)
  28992. tags:
  28993. - 通用单据
  28994. /Qhj/QueryAccountInOutApply:
  28995. get:
  28996. parameters:
  28997. - description: 用户ID
  28998. in: query
  28999. name: userid
  29000. required: true
  29001. type: integer
  29002. - description: 申请起始日期(格式yyyymmdd)
  29003. in: query
  29004. name: begindate
  29005. type: string
  29006. - description: 申请截止日期(格式yyyymmdd)
  29007. in: query
  29008. name: enddate
  29009. type: string
  29010. - description: 模糊搜索名称
  29011. in: query
  29012. name: likename
  29013. type: string
  29014. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29015. in: query
  29016. name: applystatus
  29017. type: integer
  29018. - description: 查询类型 1-提现(出金) 2-充值(入金)
  29019. in: query
  29020. name: querytype
  29021. type: integer
  29022. produces:
  29023. - application/json
  29024. responses:
  29025. "200":
  29026. description: OK
  29027. schema:
  29028. items:
  29029. $ref: '#/definitions/models.QhjAccountOutInApply'
  29030. type: array
  29031. "500":
  29032. description: Internal Server Error
  29033. schema:
  29034. $ref: '#/definitions/app.Response'
  29035. security:
  29036. - ApiKeyAuth: []
  29037. summary: 查询充值提现
  29038. tags:
  29039. - 大连千海金
  29040. /Qhj/QueryAreaFinanceConfig:
  29041. get:
  29042. parameters:
  29043. - description: 机构用户ID 其他做市关系,都设置为 1
  29044. in: query
  29045. name: userid
  29046. type: integer
  29047. produces:
  29048. - application/json
  29049. responses:
  29050. "200":
  29051. description: OK
  29052. schema:
  29053. items:
  29054. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29055. type: array
  29056. "500":
  29057. description: Internal Server Error
  29058. schema:
  29059. $ref: '#/definitions/app.Response'
  29060. security:
  29061. - ApiKeyAuth: []
  29062. summary: 查询企业配置表
  29063. tags:
  29064. - 大连千海金
  29065. /Qhj/QueryBankAccountSign:
  29066. get:
  29067. parameters:
  29068. - description: 用户ID
  29069. in: query
  29070. name: userid
  29071. required: true
  29072. type: integer
  29073. produces:
  29074. - application/json
  29075. responses:
  29076. "200":
  29077. description: OK
  29078. schema:
  29079. items:
  29080. $ref: '#/definitions/models.QhjBankAccountSign'
  29081. type: array
  29082. "500":
  29083. description: Internal Server Error
  29084. schema:
  29085. $ref: '#/definitions/app.Response'
  29086. security:
  29087. - ApiKeyAuth: []
  29088. summary: 查询签约银行信息(提现账户管理)
  29089. tags:
  29090. - 大连千海金
  29091. /Qhj/QueryBankInfo:
  29092. get:
  29093. produces:
  29094. - application/json
  29095. responses:
  29096. "200":
  29097. description: OK
  29098. schema:
  29099. items:
  29100. $ref: '#/definitions/models.QhjBankInfo'
  29101. type: array
  29102. "500":
  29103. description: Internal Server Error
  29104. schema:
  29105. $ref: '#/definitions/app.Response'
  29106. security:
  29107. - ApiKeyAuth: []
  29108. summary: 查询开户行
  29109. tags:
  29110. - 大连千海金
  29111. /Qhj/QueryBrokerApply:
  29112. get:
  29113. parameters:
  29114. - description: 所属机构ID
  29115. in: query
  29116. name: userid
  29117. type: integer
  29118. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29119. in: query
  29120. name: filterstatus
  29121. type: string
  29122. produces:
  29123. - application/json
  29124. responses:
  29125. "200":
  29126. description: OK
  29127. schema:
  29128. items:
  29129. $ref: '#/definitions/models.QhjBrokerApply'
  29130. type: array
  29131. "500":
  29132. description: Internal Server Error
  29133. schema:
  29134. $ref: '#/definitions/app.Response'
  29135. security:
  29136. - ApiKeyAuth: []
  29137. summary: 查询经纪人申请
  29138. tags:
  29139. - 大连千海金
  29140. /Qhj/QueryBrokerApplyEx:
  29141. get:
  29142. parameters:
  29143. - description: 所属机构ID
  29144. in: query
  29145. name: userid
  29146. type: integer
  29147. produces:
  29148. - application/json
  29149. responses:
  29150. "200":
  29151. description: OK
  29152. schema:
  29153. items:
  29154. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29155. type: array
  29156. "500":
  29157. description: Internal Server Error
  29158. schema:
  29159. $ref: '#/definitions/app.Response'
  29160. security:
  29161. - ApiKeyAuth: []
  29162. summary: 查询经纪人信息和申请记录
  29163. tags:
  29164. - 大连千海金
  29165. /Qhj/QueryBrokerRewardLog:
  29166. get:
  29167. parameters:
  29168. - description: 用户ID
  29169. in: query
  29170. name: userid
  29171. required: true
  29172. type: integer
  29173. - description: 开始交易日(yyyymmdd)
  29174. in: query
  29175. name: begindate
  29176. type: string
  29177. - description: 结束交易日(yyyymmdd)
  29178. in: query
  29179. name: enddate
  29180. type: string
  29181. produces:
  29182. - application/json
  29183. responses:
  29184. "200":
  29185. description: OK
  29186. schema:
  29187. items:
  29188. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29189. type: array
  29190. "500":
  29191. description: Internal Server Error
  29192. schema:
  29193. $ref: '#/definitions/app.Response'
  29194. security:
  29195. - ApiKeyAuth: []
  29196. summary: 查询奖励流水(我的奖励)
  29197. tags:
  29198. - 大连千海金
  29199. /Qhj/QueryContract:
  29200. get:
  29201. parameters:
  29202. - description: 用户ID
  29203. in: query
  29204. name: userid
  29205. type: integer
  29206. - description: scf合同id
  29207. in: query
  29208. name: scfcontractid
  29209. type: integer
  29210. produces:
  29211. - application/json
  29212. responses:
  29213. "200":
  29214. description: OK
  29215. schema:
  29216. items:
  29217. $ref: '#/definitions/models.QhjContract'
  29218. type: array
  29219. "500":
  29220. description: Internal Server Error
  29221. schema:
  29222. $ref: '#/definitions/app.Response'
  29223. security:
  29224. - ApiKeyAuth: []
  29225. summary: 查询融资明细(合同)
  29226. tags:
  29227. - 大连千海金
  29228. /Qhj/QueryContractLog:
  29229. get:
  29230. parameters:
  29231. - description: scf合同id
  29232. in: query
  29233. name: scfcontractid
  29234. required: true
  29235. type: integer
  29236. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29237. in: query
  29238. name: amounttype
  29239. type: string
  29240. produces:
  29241. - application/json
  29242. responses:
  29243. "200":
  29244. description: OK
  29245. schema:
  29246. items:
  29247. $ref: '#/definitions/models.QhjContractLog'
  29248. type: array
  29249. "500":
  29250. description: Internal Server Error
  29251. schema:
  29252. $ref: '#/definitions/app.Response'
  29253. security:
  29254. - ApiKeyAuth: []
  29255. summary: 查询融资明细流水(融资明细详情页中的流水)
  29256. tags:
  29257. - 大连千海金
  29258. /Qhj/QueryCusBankSignBank:
  29259. get:
  29260. produces:
  29261. - application/json
  29262. responses:
  29263. "200":
  29264. description: OK
  29265. schema:
  29266. items:
  29267. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29268. type: array
  29269. "500":
  29270. description: Internal Server Error
  29271. schema:
  29272. $ref: '#/definitions/app.Response'
  29273. security:
  29274. - ApiKeyAuth: []
  29275. summary: 查询托管银行
  29276. tags:
  29277. - 大连千海金
  29278. /Qhj/QueryCustomerInfo:
  29279. get:
  29280. parameters:
  29281. - description: 用户ID
  29282. in: query
  29283. name: userid
  29284. required: true
  29285. type: integer
  29286. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29287. in: query
  29288. name: querytype
  29289. required: true
  29290. type: integer
  29291. - description: 客户类型 1-个人 2-企业
  29292. in: query
  29293. name: userinfotype
  29294. type: integer
  29295. - description: 客户名称(模糊匹配)
  29296. in: query
  29297. name: customername
  29298. type: string
  29299. - description: 昵称(模糊匹配)
  29300. in: query
  29301. name: nickname
  29302. type: string
  29303. - description: 是否包含子级 1-包含
  29304. in: query
  29305. name: includesub
  29306. type: integer
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. items:
  29314. $ref: '#/definitions/models.QhjCustomer'
  29315. type: array
  29316. "500":
  29317. description: Internal Server Error
  29318. schema:
  29319. $ref: '#/definitions/app.Response'
  29320. security:
  29321. - ApiKeyAuth: []
  29322. summary: 查询客户资料
  29323. tags:
  29324. - 大连千海金
  29325. /Qhj/QueryGoodsEx:
  29326. get:
  29327. parameters:
  29328. - description: 商品id
  29329. in: query
  29330. name: goodsid
  29331. type: integer
  29332. produces:
  29333. - application/json
  29334. responses:
  29335. "200":
  29336. description: OK
  29337. schema:
  29338. items:
  29339. $ref: '#/definitions/models.Qhjgoodsex'
  29340. type: array
  29341. "500":
  29342. description: Internal Server Error
  29343. schema:
  29344. $ref: '#/definitions/app.Response'
  29345. security:
  29346. - ApiKeyAuth: []
  29347. summary: 交易商品扩展表
  29348. tags:
  29349. - 大连千海金
  29350. /Qhj/QueryMyTeam:
  29351. get:
  29352. parameters:
  29353. - description: 用户ID
  29354. in: query
  29355. name: userid
  29356. required: true
  29357. type: integer
  29358. produces:
  29359. - application/json
  29360. responses:
  29361. "200":
  29362. description: OK
  29363. schema:
  29364. items:
  29365. $ref: '#/definitions/models.QhjMyTeamEx'
  29366. type: array
  29367. "500":
  29368. description: Internal Server Error
  29369. schema:
  29370. $ref: '#/definitions/app.Response'
  29371. security:
  29372. - ApiKeyAuth: []
  29373. summary: 查询我的团队
  29374. tags:
  29375. - 大连千海金
  29376. /Qhj/QueryMyTeamOrder:
  29377. get:
  29378. parameters:
  29379. - description: 页码
  29380. in: query
  29381. name: page
  29382. type: integer
  29383. - description: 每页条数
  29384. in: query
  29385. name: pagesize
  29386. type: integer
  29387. - description: 用户ID
  29388. in: query
  29389. name: userid
  29390. required: true
  29391. type: integer
  29392. - description: 交易模式
  29393. in: query
  29394. name: trademode
  29395. type: integer
  29396. - description: 名称(模糊搜索账户)
  29397. in: query
  29398. name: filtername
  29399. type: string
  29400. produces:
  29401. - application/json
  29402. responses:
  29403. "200":
  29404. description: OK
  29405. schema:
  29406. items:
  29407. $ref: '#/definitions/models.QhjTeamOrder'
  29408. type: array
  29409. "500":
  29410. description: Internal Server Error
  29411. schema:
  29412. $ref: '#/definitions/app.Response'
  29413. security:
  29414. - ApiKeyAuth: []
  29415. summary: 查询团队订单(我的团队/团队订单)
  29416. tags:
  29417. - 大连千海金
  29418. /Qhj/QueryParentAreaList:
  29419. get:
  29420. parameters:
  29421. - description: 用户ID
  29422. in: query
  29423. name: userid
  29424. required: true
  29425. type: integer
  29426. produces:
  29427. - application/json
  29428. responses:
  29429. "200":
  29430. description: OK
  29431. schema:
  29432. items:
  29433. $ref: '#/definitions/models.QhjParentAreaList'
  29434. type: array
  29435. "500":
  29436. description: Internal Server Error
  29437. schema:
  29438. $ref: '#/definitions/app.Response'
  29439. security:
  29440. - ApiKeyAuth: []
  29441. summary: 查询所属机构列表
  29442. tags:
  29443. - 大连千海金
  29444. /Qhj/QueryPayOrder:
  29445. get:
  29446. parameters:
  29447. - description: 资金账号id
  29448. in: query
  29449. name: accountid
  29450. required: true
  29451. type: integer
  29452. - description: 成交单号
  29453. in: query
  29454. name: tradeid
  29455. type: integer
  29456. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29457. in: query
  29458. name: payflag
  29459. type: string
  29460. produces:
  29461. - application/json
  29462. responses:
  29463. "200":
  29464. description: OK
  29465. schema:
  29466. items:
  29467. $ref: '#/definitions/models.QhjPayOrder'
  29468. type: array
  29469. "500":
  29470. description: Internal Server Error
  29471. schema:
  29472. $ref: '#/definitions/app.Response'
  29473. security:
  29474. - ApiKeyAuth: []
  29475. summary: 查询待付款单据
  29476. tags:
  29477. - 大连千海金
  29478. /Qhj/QueryPickArea:
  29479. get:
  29480. parameters:
  29481. - description: 用户ID
  29482. in: query
  29483. name: userid
  29484. type: integer
  29485. produces:
  29486. - application/json
  29487. responses:
  29488. "200":
  29489. description: OK
  29490. schema:
  29491. items:
  29492. $ref: '#/definitions/models.QhjPickArea'
  29493. type: array
  29494. "500":
  29495. description: Internal Server Error
  29496. schema:
  29497. $ref: '#/definitions/app.Response'
  29498. security:
  29499. - ApiKeyAuth: []
  29500. summary: 查询提货门店
  29501. tags:
  29502. - 大连千海金
  29503. /Qhj/QueryPickGoods:
  29504. get:
  29505. parameters:
  29506. - description: 交易商品id
  29507. in: query
  29508. name: goodsid
  29509. required: true
  29510. type: integer
  29511. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29512. in: query
  29513. name: status
  29514. type: string
  29515. produces:
  29516. - application/json
  29517. responses:
  29518. "200":
  29519. description: OK
  29520. schema:
  29521. items:
  29522. $ref: '#/definitions/models.QhjPickGoods'
  29523. type: array
  29524. "500":
  29525. description: Internal Server Error
  29526. schema:
  29527. $ref: '#/definitions/app.Response'
  29528. security:
  29529. - ApiKeyAuth: []
  29530. summary: 查询提货商品
  29531. tags:
  29532. - 大连千海金
  29533. /Qhj/QueryRSTriggerLog:
  29534. get:
  29535. parameters:
  29536. - description: 用户ID
  29537. in: query
  29538. name: userid
  29539. type: integer
  29540. - description: 定投策略id
  29541. in: query
  29542. name: regularlystrategyid
  29543. type: integer
  29544. - description: 商品id
  29545. in: query
  29546. name: goodsid
  29547. type: integer
  29548. - description: 开始交易日(yyyymmdd)
  29549. in: query
  29550. name: begindate
  29551. type: string
  29552. - description: 结束交易日(yyyymmdd)
  29553. in: query
  29554. name: enddate
  29555. type: string
  29556. - description: 名称(模糊搜索账户)
  29557. in: query
  29558. name: filtername
  29559. type: string
  29560. produces:
  29561. - application/json
  29562. responses:
  29563. "200":
  29564. description: OK
  29565. schema:
  29566. items:
  29567. $ref: '#/definitions/models.QhjRSTriggerLog'
  29568. type: array
  29569. "500":
  29570. description: Internal Server Error
  29571. schema:
  29572. $ref: '#/definitions/app.Response'
  29573. security:
  29574. - ApiKeyAuth: []
  29575. summary: 查询定投记录(定投管理/详情/定投记录)
  29576. tags:
  29577. - 大连千海金
  29578. /Qhj/QueryRStrategy:
  29579. get:
  29580. parameters:
  29581. - description: 用户ID
  29582. in: query
  29583. name: userid
  29584. type: integer
  29585. - description: 商品id
  29586. in: query
  29587. name: goodsid
  29588. type: integer
  29589. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  29590. in: query
  29591. name: status
  29592. type: string
  29593. - description: 名称(模糊搜索账户)
  29594. in: query
  29595. name: filtername
  29596. type: string
  29597. produces:
  29598. - application/json
  29599. responses:
  29600. "200":
  29601. description: OK
  29602. schema:
  29603. items:
  29604. $ref: '#/definitions/models.QhjRStrategy'
  29605. type: array
  29606. "500":
  29607. description: Internal Server Error
  29608. schema:
  29609. $ref: '#/definitions/app.Response'
  29610. security:
  29611. - ApiKeyAuth: []
  29612. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  29613. tags:
  29614. - 大连千海金
  29615. /Qhj/QueryReckonPriceLog:
  29616. get:
  29617. parameters:
  29618. - description: 商品ID
  29619. in: query
  29620. name: goodsid
  29621. type: integer
  29622. - description: 交易日 格式(yyyymmdd)
  29623. in: query
  29624. name: tradedate
  29625. type: string
  29626. produces:
  29627. - application/json
  29628. responses:
  29629. "200":
  29630. description: OK
  29631. schema:
  29632. items:
  29633. $ref: '#/definitions/models.QhjReckonPriceLog'
  29634. type: array
  29635. "500":
  29636. description: Internal Server Error
  29637. schema:
  29638. $ref: '#/definitions/app.Response'
  29639. security:
  29640. - ApiKeyAuth: []
  29641. summary: 查询定投价(结算价)
  29642. tags:
  29643. - 大连千海金
  29644. /Qhj/QueryScoreLog:
  29645. get:
  29646. parameters:
  29647. - description: 用户ID
  29648. in: query
  29649. name: userid
  29650. required: true
  29651. type: integer
  29652. - description: 开始交易日(yyyymmdd)
  29653. in: query
  29654. name: begindate
  29655. type: string
  29656. - description: 结束交易日(yyyymmdd)
  29657. in: query
  29658. name: enddate
  29659. type: string
  29660. - description: 最近多少条
  29661. in: query
  29662. name: lastnum
  29663. type: integer
  29664. produces:
  29665. - application/json
  29666. responses:
  29667. "200":
  29668. description: OK
  29669. schema:
  29670. items:
  29671. $ref: '#/definitions/models.QhjScoreLog'
  29672. type: array
  29673. "500":
  29674. description: Internal Server Error
  29675. schema:
  29676. $ref: '#/definitions/app.Response'
  29677. security:
  29678. - ApiKeyAuth: []
  29679. summary: 查询积分流水(我的积分)
  29680. tags:
  29681. - 大连千海金
  29682. /Qhj/QuerySiteColumnDetail:
  29683. get:
  29684. parameters:
  29685. - description: 用户ID
  29686. in: query
  29687. name: userid
  29688. required: true
  29689. type: integer
  29690. produces:
  29691. - application/json
  29692. responses:
  29693. "200":
  29694. description: OK
  29695. schema:
  29696. items:
  29697. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29698. type: array
  29699. "500":
  29700. description: Internal Server Error
  29701. schema:
  29702. $ref: '#/definitions/app.Response'
  29703. security:
  29704. - ApiKeyAuth: []
  29705. summary: 查询资讯
  29706. tags:
  29707. - 大连千海金
  29708. /Qhj/QueryTradeGoodsPickup:
  29709. get:
  29710. parameters:
  29711. - description: 用户ID
  29712. in: query
  29713. name: userid
  29714. required: true
  29715. type: integer
  29716. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29717. 7:已拒绝 8:已撤销
  29718. in: query
  29719. name: takeorderstatus
  29720. type: integer
  29721. produces:
  29722. - application/json
  29723. responses:
  29724. "200":
  29725. description: OK
  29726. schema:
  29727. items:
  29728. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29729. type: array
  29730. "500":
  29731. description: Internal Server Error
  29732. schema:
  29733. $ref: '#/definitions/app.Response'
  29734. security:
  29735. - ApiKeyAuth: []
  29736. summary: 查询提货
  29737. tags:
  29738. - 大连千海金
  29739. /Qhj/QueryUserCollectConfig:
  29740. get:
  29741. parameters:
  29742. - description: 用户ID
  29743. in: query
  29744. name: userid
  29745. required: true
  29746. type: integer
  29747. produces:
  29748. - application/json
  29749. responses:
  29750. "200":
  29751. description: OK
  29752. schema:
  29753. items:
  29754. $ref: '#/definitions/models.UserCollectConfig'
  29755. type: array
  29756. "500":
  29757. description: Internal Server Error
  29758. schema:
  29759. $ref: '#/definitions/app.Response'
  29760. security:
  29761. - ApiKeyAuth: []
  29762. summary: 查询提现账户设置
  29763. tags:
  29764. - 大连千海金
  29765. /Qhj/QueryUserReceiveInfo:
  29766. get:
  29767. parameters:
  29768. - description: 用户ID
  29769. in: query
  29770. name: userid
  29771. required: true
  29772. type: integer
  29773. produces:
  29774. - application/json
  29775. responses:
  29776. "200":
  29777. description: OK
  29778. schema:
  29779. items:
  29780. $ref: '#/definitions/models.UserReceiveInfo'
  29781. type: array
  29782. "500":
  29783. description: Internal Server Error
  29784. schema:
  29785. $ref: '#/definitions/app.Response'
  29786. security:
  29787. - ApiKeyAuth: []
  29788. summary: 查询收货地址信息
  29789. tags:
  29790. - 大连千海金
  29791. /QhjMgr/QueryAccountInOutApply:
  29792. get:
  29793. parameters:
  29794. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29795. in: query
  29796. name: querytype
  29797. required: true
  29798. type: integer
  29799. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29800. in: query
  29801. name: applystatus
  29802. type: integer
  29803. - description: 申请起始日期(格式yyyymmdd)
  29804. in: query
  29805. name: begindate
  29806. type: string
  29807. - description: 申请截止日期(格式yyyymmdd)
  29808. in: query
  29809. name: enddate
  29810. type: string
  29811. - description: 模糊搜索名称
  29812. in: query
  29813. name: likename
  29814. type: string
  29815. produces:
  29816. - application/json
  29817. responses:
  29818. "200":
  29819. description: OK
  29820. schema:
  29821. items:
  29822. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29823. type: array
  29824. "500":
  29825. description: Internal Server Error
  29826. schema:
  29827. $ref: '#/definitions/app.Response'
  29828. security:
  29829. - ApiKeyAuth: []
  29830. summary: 查询充值提现
  29831. tags:
  29832. - 大连千海金(PCWeb)
  29833. /QhjMgr/QueryBrokerApply:
  29834. get:
  29835. parameters:
  29836. - description: 所属机构ID
  29837. in: query
  29838. name: userid
  29839. type: integer
  29840. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29841. in: query
  29842. name: filterstatus
  29843. type: string
  29844. - description: 名称(模糊匹配)
  29845. in: query
  29846. name: filtername
  29847. type: string
  29848. - description: 是否包含子级 1-包含
  29849. in: query
  29850. name: includesub
  29851. type: integer
  29852. produces:
  29853. - application/json
  29854. responses:
  29855. "200":
  29856. description: OK
  29857. schema:
  29858. items:
  29859. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29860. type: array
  29861. "500":
  29862. description: Internal Server Error
  29863. schema:
  29864. $ref: '#/definitions/app.Response'
  29865. security:
  29866. - ApiKeyAuth: []
  29867. summary: 查询经纪人申请
  29868. tags:
  29869. - 大连千海金(PCWeb)
  29870. /QhjMgr/QueryBrokerRewardReport:
  29871. get:
  29872. parameters:
  29873. - description: 所属机构ID
  29874. in: query
  29875. name: userid
  29876. required: true
  29877. type: integer
  29878. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29879. in: query
  29880. name: cycletype
  29881. required: true
  29882. type: integer
  29883. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29884. in: query
  29885. name: cycletime
  29886. required: true
  29887. type: string
  29888. - description: 名称(模糊匹配)
  29889. in: query
  29890. name: filtername
  29891. type: string
  29892. - description: 是否包含子级 1-包含
  29893. in: query
  29894. name: includesub
  29895. type: integer
  29896. produces:
  29897. - application/json
  29898. responses:
  29899. "200":
  29900. description: OK
  29901. schema:
  29902. items:
  29903. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29904. type: array
  29905. "500":
  29906. description: Internal Server Error
  29907. schema:
  29908. $ref: '#/definitions/app.Response'
  29909. security:
  29910. - ApiKeyAuth: []
  29911. summary: 查询经纪人奖励报表(废弃)
  29912. tags:
  29913. - 大连千海金(PCWeb)
  29914. /QhjMgr/QueryContract:
  29915. get:
  29916. parameters:
  29917. - description: 用户ID
  29918. in: query
  29919. name: userid
  29920. type: integer
  29921. - description: 商品id
  29922. in: query
  29923. name: goodsid
  29924. type: integer
  29925. - description: 名称(模糊搜索账户)
  29926. in: query
  29927. name: filtername
  29928. type: string
  29929. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29930. in: query
  29931. name: risklevel
  29932. type: string
  29933. - description: 开始交易日(yyyymmdd)
  29934. in: query
  29935. name: begindate
  29936. type: string
  29937. - description: 结束交易日(yyyymmdd)
  29938. in: query
  29939. name: enddate
  29940. type: string
  29941. produces:
  29942. - application/json
  29943. responses:
  29944. "200":
  29945. description: OK
  29946. schema:
  29947. items:
  29948. $ref: '#/definitions/models.QhjMgrContract'
  29949. type: array
  29950. "500":
  29951. description: Internal Server Error
  29952. schema:
  29953. $ref: '#/definitions/app.Response'
  29954. security:
  29955. - ApiKeyAuth: []
  29956. summary: 查询融资信息(合同)
  29957. tags:
  29958. - 大连千海金(PCWeb)
  29959. /QhjMgr/QueryCustomerInfo:
  29960. get:
  29961. parameters:
  29962. - description: 用户ID
  29963. in: query
  29964. name: userid
  29965. required: true
  29966. type: integer
  29967. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29968. in: query
  29969. name: querytype
  29970. required: true
  29971. type: integer
  29972. - description: 客户类型 1-个人 2-企业
  29973. in: query
  29974. name: userinfotype
  29975. type: integer
  29976. - description: 客户名称(模糊匹配)
  29977. in: query
  29978. name: customername
  29979. type: string
  29980. - description: 昵称(模糊匹配)
  29981. in: query
  29982. name: nickname
  29983. type: string
  29984. - description: 所属客户经理(模糊匹配)
  29985. in: query
  29986. name: brokername
  29987. type: string
  29988. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29989. 如0503 -5月3日)
  29990. in: query
  29991. name: birthday
  29992. type: string
  29993. - description: 是否包含子级 1-包含
  29994. in: query
  29995. name: includesub
  29996. type: integer
  29997. produces:
  29998. - application/json
  29999. responses:
  30000. "200":
  30001. description: OK
  30002. schema:
  30003. items:
  30004. $ref: '#/definitions/models.QhjMgrCustomer'
  30005. type: array
  30006. "500":
  30007. description: Internal Server Error
  30008. schema:
  30009. $ref: '#/definitions/app.Response'
  30010. security:
  30011. - ApiKeyAuth: []
  30012. summary: 查询客户资料
  30013. tags:
  30014. - 大连千海金(PCWeb)
  30015. /QhjMgr/QueryPickGoods:
  30016. get:
  30017. parameters:
  30018. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30019. in: query
  30020. name: status
  30021. type: string
  30022. produces:
  30023. - application/json
  30024. responses:
  30025. "200":
  30026. description: OK
  30027. schema:
  30028. items:
  30029. $ref: '#/definitions/models.QhjMgrPickGoods'
  30030. type: array
  30031. "500":
  30032. description: Internal Server Error
  30033. schema:
  30034. $ref: '#/definitions/app.Response'
  30035. security:
  30036. - ApiKeyAuth: []
  30037. summary: 查询提货商品
  30038. tags:
  30039. - 大连千海金(PCWeb)
  30040. /QhjMgr/QuerySubArea:
  30041. get:
  30042. parameters:
  30043. - description: 用户ID
  30044. in: query
  30045. name: userid
  30046. required: true
  30047. type: integer
  30048. produces:
  30049. - application/json
  30050. responses:
  30051. "200":
  30052. description: OK
  30053. schema:
  30054. items:
  30055. $ref: '#/definitions/models.QhjMgrSubArea'
  30056. type: array
  30057. "500":
  30058. description: Internal Server Error
  30059. schema:
  30060. $ref: '#/definitions/app.Response'
  30061. security:
  30062. - ApiKeyAuth: []
  30063. summary: 查询子机构列表
  30064. tags:
  30065. - 大连千海金(PCWeb)
  30066. /QhjMgr/QueryTradeDetail:
  30067. get:
  30068. parameters:
  30069. - description: 用户ID
  30070. in: query
  30071. name: userid
  30072. required: true
  30073. type: integer
  30074. - description: 用户类型 1-个人 2-企业
  30075. in: query
  30076. name: userinfotype
  30077. type: integer
  30078. - description: 交易模式
  30079. in: query
  30080. name: trademode
  30081. type: integer
  30082. - description: 商品id
  30083. in: query
  30084. name: goodsid
  30085. type: integer
  30086. - description: 名称(模糊搜索账户)
  30087. in: query
  30088. name: filtername
  30089. type: string
  30090. - description: 开始交易日(yyyymmdd)
  30091. in: query
  30092. name: begindate
  30093. type: string
  30094. - description: 结束交易日(yyyymmdd)
  30095. in: query
  30096. name: enddate
  30097. type: string
  30098. - description: 是否包含子级 1-包含
  30099. in: query
  30100. name: includesub
  30101. type: integer
  30102. produces:
  30103. - application/json
  30104. responses:
  30105. "200":
  30106. description: OK
  30107. schema:
  30108. items:
  30109. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30110. type: array
  30111. "500":
  30112. description: Internal Server Error
  30113. schema:
  30114. $ref: '#/definitions/app.Response'
  30115. security:
  30116. - ApiKeyAuth: []
  30117. summary: 查询成交明细
  30118. tags:
  30119. - 大连千海金(PCWeb)
  30120. /QhjMgr/QueryTradeOrderDetail:
  30121. get:
  30122. parameters:
  30123. - description: 用户ID
  30124. in: query
  30125. name: userid
  30126. required: true
  30127. type: integer
  30128. - description: 用户类型 1-个人 2-企业
  30129. in: query
  30130. name: userinfotype
  30131. type: integer
  30132. - description: 交易模式
  30133. in: query
  30134. name: trademode
  30135. type: integer
  30136. - description: 商品id
  30137. in: query
  30138. name: goodsid
  30139. type: integer
  30140. - description: 名称(模糊搜索账户)
  30141. in: query
  30142. name: filtername
  30143. type: string
  30144. - description: 开始交易日(yyyymmdd)
  30145. in: query
  30146. name: begindate
  30147. type: string
  30148. - description: 结束交易日(yyyymmdd)
  30149. in: query
  30150. name: enddate
  30151. type: string
  30152. - description: 是否包含子级 1-包含
  30153. in: query
  30154. name: includesub
  30155. type: integer
  30156. produces:
  30157. - application/json
  30158. responses:
  30159. "200":
  30160. description: OK
  30161. schema:
  30162. items:
  30163. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30164. type: array
  30165. "500":
  30166. description: Internal Server Error
  30167. schema:
  30168. $ref: '#/definitions/app.Response'
  30169. security:
  30170. - ApiKeyAuth: []
  30171. summary: 查询委托明细
  30172. tags:
  30173. - 大连千海金(PCWeb)
  30174. /QhjMgr/QueryTradePayOrder:
  30175. get:
  30176. parameters:
  30177. - description: 用户ID
  30178. in: query
  30179. name: userid
  30180. required: true
  30181. type: integer
  30182. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30183. in: query
  30184. name: payflag
  30185. type: string
  30186. - description: 用户类型 1-个人 2-企业
  30187. in: query
  30188. name: userinfotype
  30189. type: integer
  30190. - description: 交易模式
  30191. in: query
  30192. name: trademode
  30193. type: integer
  30194. - description: 商品id
  30195. in: query
  30196. name: goodsid
  30197. type: integer
  30198. - description: 名称(模糊搜索账户)
  30199. in: query
  30200. name: filtername
  30201. type: string
  30202. - description: 开始交易日(yyyymmdd)
  30203. in: query
  30204. name: begindate
  30205. type: string
  30206. - description: 结束交易日(yyyymmdd)
  30207. in: query
  30208. name: enddate
  30209. type: string
  30210. - description: 是否包含子级 1-包含
  30211. in: query
  30212. name: includesub
  30213. type: integer
  30214. produces:
  30215. - application/json
  30216. responses:
  30217. "200":
  30218. description: OK
  30219. schema:
  30220. items:
  30221. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30222. type: array
  30223. "500":
  30224. description: Internal Server Error
  30225. schema:
  30226. $ref: '#/definitions/app.Response'
  30227. security:
  30228. - ApiKeyAuth: []
  30229. summary: 查询待付款单
  30230. tags:
  30231. - 大连千海金(PCWeb)
  30232. /QhjMgr/QueryTradePosition:
  30233. get:
  30234. parameters:
  30235. - description: 用户ID
  30236. in: query
  30237. name: userid
  30238. required: true
  30239. type: integer
  30240. - description: 用户类型 1-个人 2-企业
  30241. in: query
  30242. name: userinfotype
  30243. type: integer
  30244. - description: 交易模式
  30245. in: query
  30246. name: trademode
  30247. type: integer
  30248. - description: 商品id
  30249. in: query
  30250. name: goodsid
  30251. type: integer
  30252. - description: 名称(模糊搜索账户)
  30253. in: query
  30254. name: filtername
  30255. type: string
  30256. - description: 是否包含子级 1-包含
  30257. in: query
  30258. name: includesub
  30259. type: integer
  30260. produces:
  30261. - application/json
  30262. responses:
  30263. "200":
  30264. description: OK
  30265. schema:
  30266. items:
  30267. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30268. type: array
  30269. "500":
  30270. description: Internal Server Error
  30271. schema:
  30272. $ref: '#/definitions/app.Response'
  30273. security:
  30274. - ApiKeyAuth: []
  30275. summary: 查询持仓汇总
  30276. tags:
  30277. - 大连千海金(PCWeb)
  30278. /QhjSys/QueryAgreementChangeLog:
  30279. get:
  30280. parameters:
  30281. - description: 协议ID
  30282. in: query
  30283. name: agreementid
  30284. type: integer
  30285. - description: 协议版本号
  30286. in: query
  30287. name: agreementversion
  30288. type: integer
  30289. - description: 协议类型 - 1:注册 2:登录 3:交易
  30290. in: query
  30291. name: agreementtype
  30292. type: integer
  30293. - description: 协议编号(模糊匹配)
  30294. in: query
  30295. name: agreementno
  30296. type: string
  30297. - description: 协议名称(模糊匹配)
  30298. in: query
  30299. name: agreementname
  30300. type: string
  30301. produces:
  30302. - application/json
  30303. responses:
  30304. "200":
  30305. description: OK
  30306. schema:
  30307. items:
  30308. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30309. type: array
  30310. "500":
  30311. description: Internal Server Error
  30312. schema:
  30313. $ref: '#/definitions/app.Response'
  30314. security:
  30315. - ApiKeyAuth: []
  30316. summary: 查询协议配置变更流水
  30317. tags:
  30318. - 大连千海金(协议和签约信息)
  30319. /QhjSys/QueryAgreementConfig:
  30320. get:
  30321. parameters:
  30322. - description: 协议ID
  30323. in: query
  30324. name: agreementid
  30325. type: integer
  30326. - description: 协议版本号
  30327. in: query
  30328. name: agreementversion
  30329. type: integer
  30330. - description: 协议类型 - 1:注册 2:登录 3:交易
  30331. in: query
  30332. name: agreementtype
  30333. type: integer
  30334. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  30335. in: query
  30336. name: isvalid
  30337. type: integer
  30338. - description: 协议编号(模糊匹配)
  30339. in: query
  30340. name: agreementno
  30341. type: string
  30342. - description: 协议名称(模糊匹配)
  30343. in: query
  30344. name: agreementname
  30345. type: string
  30346. produces:
  30347. - application/json
  30348. responses:
  30349. "200":
  30350. description: OK
  30351. schema:
  30352. items:
  30353. $ref: '#/definitions/models.QhjAgreementConfig'
  30354. type: array
  30355. "500":
  30356. description: Internal Server Error
  30357. schema:
  30358. $ref: '#/definitions/app.Response'
  30359. security:
  30360. - ApiKeyAuth: []
  30361. summary: 查询协议配置
  30362. tags:
  30363. - 大连千海金(协议和签约信息)
  30364. /QhjSys/QueryCustomerSignStatus:
  30365. get:
  30366. parameters:
  30367. - description: 客户ID
  30368. in: query
  30369. name: userid
  30370. type: integer
  30371. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  30372. in: query
  30373. name: nodetype
  30374. type: integer
  30375. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30376. in: query
  30377. name: goodsid
  30378. type: integer
  30379. - description: 创建交易日(yyyyMMdd)
  30380. in: query
  30381. name: tradedate
  30382. type: string
  30383. - description: 用户名称(模糊匹配)
  30384. in: query
  30385. name: username
  30386. type: string
  30387. produces:
  30388. - application/json
  30389. responses:
  30390. "200":
  30391. description: OK
  30392. schema:
  30393. items:
  30394. $ref: '#/definitions/models.QhjCustomerSignStatus'
  30395. type: array
  30396. "500":
  30397. description: Internal Server Error
  30398. schema:
  30399. $ref: '#/definitions/app.Response'
  30400. security:
  30401. - ApiKeyAuth: []
  30402. summary: 查询客户协议签约状态
  30403. tags:
  30404. - 大连千海金(协议和签约信息)
  30405. /QhjSys/QueryNodeAgreementConfig:
  30406. get:
  30407. parameters:
  30408. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30409. in: query
  30410. name: configid
  30411. type: integer
  30412. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30413. in: query
  30414. name: nodetype
  30415. type: integer
  30416. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30417. in: query
  30418. name: goodsid
  30419. type: integer
  30420. - description: 协议ID
  30421. in: query
  30422. name: agreementid
  30423. type: integer
  30424. - description: 协议类型 - 1:注册 2:登录 3:交易
  30425. in: query
  30426. name: agreementtype
  30427. type: integer
  30428. - description: 协议版本号
  30429. in: query
  30430. name: agreementversion
  30431. type: integer
  30432. - description: 协议编号(模糊匹配)
  30433. in: query
  30434. name: agreementno
  30435. type: string
  30436. - description: 协议名称(模糊匹配)
  30437. in: query
  30438. name: agreementname
  30439. type: string
  30440. produces:
  30441. - application/json
  30442. responses:
  30443. "200":
  30444. description: OK
  30445. schema:
  30446. items:
  30447. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  30448. type: array
  30449. "500":
  30450. description: Internal Server Error
  30451. schema:
  30452. $ref: '#/definitions/app.Response'
  30453. security:
  30454. - ApiKeyAuth: []
  30455. summary: 查询协议节点配置
  30456. tags:
  30457. - 大连千海金(协议和签约信息)
  30458. /QhjSys/QueryQhjCustomerSignLog:
  30459. get:
  30460. parameters:
  30461. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  30462. in: query
  30463. name: logid
  30464. type: integer
  30465. - description: 客户ID
  30466. in: query
  30467. name: userid
  30468. type: integer
  30469. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30470. in: query
  30471. name: nodetype
  30472. type: integer
  30473. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30474. in: query
  30475. name: goodsid
  30476. type: integer
  30477. - description: 协议ID
  30478. in: query
  30479. name: agreementid
  30480. type: integer
  30481. - description: 用户名称(模糊匹配)
  30482. in: query
  30483. name: username
  30484. type: string
  30485. - description: 协议编号(模糊匹配)
  30486. in: query
  30487. name: agreementno
  30488. type: string
  30489. - description: 协议名称(模糊匹配)
  30490. in: query
  30491. name: agreementname
  30492. type: string
  30493. produces:
  30494. - application/json
  30495. responses:
  30496. "200":
  30497. description: OK
  30498. schema:
  30499. items:
  30500. $ref: '#/definitions/models.QhjCustomerSignLog'
  30501. type: array
  30502. "500":
  30503. description: Internal Server Error
  30504. schema:
  30505. $ref: '#/definitions/app.Response'
  30506. security:
  30507. - ApiKeyAuth: []
  30508. summary: 查询客户协议签约流水
  30509. tags:
  30510. - 大连千海金(协议和签约信息)
  30511. /QhjSys/QueryUserNodeCfgAndStatus:
  30512. get:
  30513. parameters:
  30514. - description: 客户ID
  30515. in: query
  30516. name: userid
  30517. type: integer
  30518. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30519. in: query
  30520. name: configid
  30521. type: integer
  30522. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30523. in: query
  30524. name: nodetype
  30525. type: string
  30526. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30527. in: query
  30528. name: goodsid
  30529. type: integer
  30530. - description: 协议ID
  30531. in: query
  30532. name: agreementid
  30533. type: integer
  30534. - description: 协议类型 - 1:注册 2:登录 3:交易
  30535. in: query
  30536. name: agreementtype
  30537. type: integer
  30538. - description: 协议版本号
  30539. in: query
  30540. name: agreementversion
  30541. type: integer
  30542. - description: 协议编号(模糊匹配)
  30543. in: query
  30544. name: agreementno
  30545. type: string
  30546. - description: 协议名称(模糊匹配)
  30547. in: query
  30548. name: agreementname
  30549. type: string
  30550. produces:
  30551. - application/json
  30552. responses:
  30553. "200":
  30554. description: OK
  30555. schema:
  30556. items:
  30557. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  30558. type: array
  30559. "500":
  30560. description: Internal Server Error
  30561. schema:
  30562. $ref: '#/definitions/app.Response'
  30563. security:
  30564. - ApiKeyAuth: []
  30565. summary: 查询用户协议节点配置和状态
  30566. tags:
  30567. - 大连千海金(协议和签约信息)
  30568. /Quote/QueryHistoryDatas:
  30569. get:
  30570. parameters:
  30571. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  30572. 日线 12:周线 13:月线 14:年线'
  30573. in: query
  30574. name: cycleType
  30575. required: true
  30576. type: integer
  30577. - description: 商品代码
  30578. in: query
  30579. name: goodsCode
  30580. required: true
  30581. type: string
  30582. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30583. in: query
  30584. name: startTime
  30585. type: string
  30586. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30587. in: query
  30588. name: endTime
  30589. type: string
  30590. - description: 条数
  30591. in: query
  30592. name: count
  30593. type: integer
  30594. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30595. in: query
  30596. name: isAsc
  30597. type: boolean
  30598. produces:
  30599. - application/json
  30600. responses:
  30601. "200":
  30602. description: OK
  30603. schema:
  30604. $ref: '#/definitions/quote.HistoryData'
  30605. "500":
  30606. description: Internal Server Error
  30607. schema:
  30608. $ref: '#/definitions/app.Response'
  30609. security:
  30610. - ApiKeyAuth: []
  30611. summary: 查询行情历史数据
  30612. tags:
  30613. - 行情服务
  30614. /Quote/QueryHistoryTikDatas:
  30615. get:
  30616. parameters:
  30617. - description: 商品代码
  30618. in: query
  30619. name: goodsCode
  30620. required: true
  30621. type: string
  30622. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30623. in: query
  30624. name: startTime
  30625. type: string
  30626. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30627. in: query
  30628. name: endTime
  30629. type: string
  30630. - description: 条数
  30631. in: query
  30632. name: count
  30633. type: integer
  30634. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30635. in: query
  30636. name: isAsc
  30637. type: boolean
  30638. produces:
  30639. - application/json
  30640. responses:
  30641. "200":
  30642. description: OK
  30643. schema:
  30644. $ref: '#/definitions/quote.HistoryTikData'
  30645. "500":
  30646. description: Internal Server Error
  30647. schema:
  30648. $ref: '#/definitions/app.Response'
  30649. security:
  30650. - ApiKeyAuth: []
  30651. summary: 查询行情Tik数据
  30652. tags:
  30653. - 行情服务
  30654. /Quote/QueryQuoteDay:
  30655. get:
  30656. parameters:
  30657. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  30658. in: query
  30659. name: goodsCodes
  30660. type: string
  30661. produces:
  30662. - application/json
  30663. responses:
  30664. "200":
  30665. description: OK
  30666. schema:
  30667. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30668. "500":
  30669. description: Internal Server Error
  30670. schema:
  30671. $ref: '#/definitions/app.Response'
  30672. security:
  30673. - ApiKeyAuth: []
  30674. summary: 获取商品盘面信息
  30675. tags:
  30676. - 行情服务
  30677. /Quote/QueryTSData:
  30678. get:
  30679. parameters:
  30680. - description: 商品代码
  30681. in: query
  30682. name: goodsCode
  30683. required: true
  30684. type: string
  30685. produces:
  30686. - application/json
  30687. responses:
  30688. "200":
  30689. description: OK
  30690. schema:
  30691. $ref: '#/definitions/quote.QueryTSDataRsp'
  30692. "500":
  30693. description: Internal Server Error
  30694. schema:
  30695. $ref: '#/definitions/app.Response'
  30696. security:
  30697. - ApiKeyAuth: []
  30698. summary: 分时图数据查询
  30699. tags:
  30700. - 行情服务
  30701. /SZDZ/QueryConvertConfig:
  30702. get:
  30703. parameters:
  30704. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30705. 6:交易转花生米(不设置)
  30706. in: query
  30707. name: convertType
  30708. type: integer
  30709. - description: 外部商品代码[JD\PD]
  30710. in: query
  30711. name: outerGoodsCode
  30712. type: string
  30713. - description: 内部商品ID列表[交易],格式:1,2,3
  30714. in: query
  30715. name: innerGoodsIDs
  30716. type: string
  30717. produces:
  30718. - application/json
  30719. responses:
  30720. "200":
  30721. description: OK
  30722. schema:
  30723. $ref: '#/definitions/models.Szdz3convertconfig'
  30724. "500":
  30725. description: Internal Server Error
  30726. schema:
  30727. $ref: '#/definitions/app.Response'
  30728. security:
  30729. - ApiKeyAuth: []
  30730. summary: 查询交易系统转换设置
  30731. tags:
  30732. - 定制【尚志大宗】
  30733. /SZDZ/QueryConvertLog:
  30734. get:
  30735. parameters:
  30736. - description: 资金账户 - 格式:1,2,3
  30737. in: query
  30738. name: accountID
  30739. required: true
  30740. type: string
  30741. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30742. in: query
  30743. name: startDate
  30744. type: string
  30745. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30746. in: query
  30747. name: endDate
  30748. type: string
  30749. produces:
  30750. - application/json
  30751. responses:
  30752. "200":
  30753. description: OK
  30754. schema:
  30755. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30756. "500":
  30757. description: Internal Server Error
  30758. schema:
  30759. $ref: '#/definitions/app.Response'
  30760. security:
  30761. - ApiKeyAuth: []
  30762. summary: 交易系统转换流水查询
  30763. tags:
  30764. - 定制【尚志大宗】
  30765. /SZDZ/QueryGoodsPickup:
  30766. get:
  30767. parameters:
  30768. - description: 资金账户 - 格式:1,2,3
  30769. in: query
  30770. name: accountID
  30771. required: true
  30772. type: string
  30773. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30774. in: query
  30775. name: takeOrderStatus
  30776. type: integer
  30777. produces:
  30778. - application/json
  30779. responses:
  30780. "200":
  30781. description: OK
  30782. schema:
  30783. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30784. "500":
  30785. description: Internal Server Error
  30786. schema:
  30787. $ref: '#/definitions/app.Response'
  30788. security:
  30789. - ApiKeyAuth: []
  30790. summary: 商品提货单查询
  30791. tags:
  30792. - 定制【尚志大宗】
  30793. /SZDZ/QueryRecieptOrder:
  30794. get:
  30795. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30796. parameters:
  30797. - description: 页码
  30798. in: query
  30799. name: page
  30800. type: integer
  30801. - description: 每页条数
  30802. in: query
  30803. name: pagesize
  30804. type: integer
  30805. - description: 商品ID
  30806. in: query
  30807. name: goodsID
  30808. required: true
  30809. type: integer
  30810. - description: 所属账户名称
  30811. in: query
  30812. name: accountName
  30813. type: string
  30814. - description: 市场ID
  30815. in: query
  30816. name: marketID
  30817. type: integer
  30818. - description: 方向 - 0:买 1:卖
  30819. in: query
  30820. name: buyorsell
  30821. required: true
  30822. type: integer
  30823. produces:
  30824. - application/json
  30825. responses:
  30826. "200":
  30827. description: OK
  30828. schema:
  30829. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30830. "500":
  30831. description: Internal Server Error
  30832. schema:
  30833. $ref: '#/definitions/app.Response'
  30834. security:
  30835. - ApiKeyAuth: []
  30836. summary: 点选挂牌委托单据查询(摘牌大厅)
  30837. tags:
  30838. - 定制【尚志大宗】
  30839. /SZDZ/QuerySZDZTradePosition:
  30840. get:
  30841. parameters:
  30842. - description: 资金账户
  30843. in: query
  30844. name: accountID
  30845. required: true
  30846. type: integer
  30847. produces:
  30848. - application/json
  30849. responses:
  30850. "200":
  30851. description: OK
  30852. schema:
  30853. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30854. "500":
  30855. description: Internal Server Error
  30856. schema:
  30857. $ref: '#/definitions/app.Response'
  30858. security:
  30859. - ApiKeyAuth: []
  30860. summary: 持仓汇总查询(尚志大宗)
  30861. tags:
  30862. - 定制【尚志大宗】
  30863. /SZDZ/SearchWhite:
  30864. get:
  30865. parameters:
  30866. - description: 用户ID
  30867. in: query
  30868. name: userID
  30869. required: true
  30870. type: integer
  30871. produces:
  30872. - application/json
  30873. responses:
  30874. "200":
  30875. description: OK
  30876. schema:
  30877. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30878. "500":
  30879. description: Internal Server Error
  30880. schema:
  30881. $ref: '#/definitions/app.Response'
  30882. security:
  30883. - ApiKeyAuth: []
  30884. summary: 搜索白名单
  30885. tags:
  30886. - 定制【尚志大宗】
  30887. /Search/SearchGoodses:
  30888. get:
  30889. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30890. parameters:
  30891. - description: 检索内容
  30892. in: query
  30893. name: content
  30894. required: true
  30895. type: string
  30896. - description: 交易模式,格式:1,2,3
  30897. in: query
  30898. name: tradeModes
  30899. type: string
  30900. produces:
  30901. - application/json
  30902. responses:
  30903. "200":
  30904. description: OK
  30905. schema:
  30906. $ref: '#/definitions/models.SearchGoods'
  30907. "500":
  30908. description: Internal Server Error
  30909. schema:
  30910. $ref: '#/definitions/app.Response'
  30911. summary: 检索商品信息
  30912. tags:
  30913. - 检索服务
  30914. /TaAccount/GetTaAccounts:
  30915. get:
  30916. parameters:
  30917. - description: 登录账户
  30918. in: query
  30919. name: loginID
  30920. required: true
  30921. type: integer
  30922. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30923. in: query
  30924. name: taAccountType
  30925. type: integer
  30926. produces:
  30927. - application/json
  30928. responses:
  30929. "200":
  30930. description: OK
  30931. schema:
  30932. $ref: '#/definitions/models.Taaccount'
  30933. "500":
  30934. description: Internal Server Error
  30935. schema:
  30936. $ref: '#/definitions/app.Response'
  30937. security:
  30938. - ApiKeyAuth: []
  30939. summary: 获取资金账户信息
  30940. tags:
  30941. - 资金账户
  30942. /TaAccount/QueryAmountLog:
  30943. get:
  30944. parameters:
  30945. - description: 页码
  30946. in: query
  30947. name: page
  30948. type: integer
  30949. - description: 每页条数
  30950. in: query
  30951. name: pagesize
  30952. type: integer
  30953. - description: 资金账户 - 格式:1,2,3
  30954. in: query
  30955. name: accountID
  30956. required: true
  30957. type: string
  30958. - description: 资金操作类型 - 格式:1,2,3
  30959. in: query
  30960. name: OperateType
  30961. type: string
  30962. produces:
  30963. - application/json
  30964. responses:
  30965. "200":
  30966. description: OK
  30967. schema:
  30968. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30969. "500":
  30970. description: Internal Server Error
  30971. schema:
  30972. $ref: '#/definitions/app.Response'
  30973. security:
  30974. - ApiKeyAuth: []
  30975. summary: 资金流水查询(当前)
  30976. tags:
  30977. - 资金账户
  30978. /TaAccount/QueryHisAmountLog:
  30979. get:
  30980. parameters:
  30981. - description: 页码
  30982. in: query
  30983. name: page
  30984. type: integer
  30985. - description: 每页条数
  30986. in: query
  30987. name: pagesize
  30988. type: integer
  30989. - description: 资金账户 - 格式:1,2,3
  30990. in: query
  30991. name: accountID
  30992. required: true
  30993. type: string
  30994. - description: 资金操作类型 - 格式:1,2,3
  30995. in: query
  30996. name: OperateType
  30997. type: string
  30998. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30999. in: query
  31000. name: startDate
  31001. type: string
  31002. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  31003. in: query
  31004. name: endDate
  31005. type: string
  31006. produces:
  31007. - application/json
  31008. responses:
  31009. "200":
  31010. description: OK
  31011. schema:
  31012. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  31013. "500":
  31014. description: Internal Server Error
  31015. schema:
  31016. $ref: '#/definitions/app.Response'
  31017. security:
  31018. - ApiKeyAuth: []
  31019. summary: 资金流水查询(历史)
  31020. tags:
  31021. - 资金账户
  31022. /TaAccount/QueryRelatedTaAccount:
  31023. get:
  31024. parameters:
  31025. - description: 关联UserID
  31026. in: query
  31027. name: relateduserid
  31028. required: true
  31029. type: integer
  31030. produces:
  31031. - application/json
  31032. responses:
  31033. "200":
  31034. description: OK
  31035. schema:
  31036. items:
  31037. $ref: '#/definitions/models.RelatedTaAccount'
  31038. type: array
  31039. "500":
  31040. description: Internal Server Error
  31041. schema:
  31042. $ref: '#/definitions/app.Response'
  31043. security:
  31044. - ApiKeyAuth: []
  31045. summary: 查询关联资金账户信息
  31046. tags:
  31047. - 资金账户
  31048. /Tjmd/QueryQuoteGoodsList:
  31049. get:
  31050. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31051. parameters:
  31052. - description: 用户类型
  31053. in: query
  31054. name: usertype
  31055. required: true
  31056. type: integer
  31057. - description: 市场id, 格式 1,2,3
  31058. in: query
  31059. name: marketids
  31060. type: string
  31061. - description: 商品组id
  31062. in: query
  31063. name: goodsgroupid
  31064. type: integer
  31065. - description: 商品id
  31066. in: query
  31067. name: goodsid
  31068. type: integer
  31069. produces:
  31070. - application/json
  31071. responses:
  31072. "200":
  31073. description: OK
  31074. schema:
  31075. items:
  31076. $ref: '#/definitions/models.TjmdQuoteGoods'
  31077. type: array
  31078. "500":
  31079. description: Internal Server Error
  31080. schema:
  31081. $ref: '#/definitions/app.Response'
  31082. security:
  31083. - ApiKeyAuth: []
  31084. summary: 查询掉期报价列表
  31085. tags:
  31086. - 天津麦顿
  31087. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31088. get:
  31089. parameters:
  31090. - description: 成交单号
  31091. in: query
  31092. name: tradeid
  31093. required: true
  31094. type: string
  31095. produces:
  31096. - application/json
  31097. responses:
  31098. "200":
  31099. description: OK
  31100. schema:
  31101. items:
  31102. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31103. type: array
  31104. "500":
  31105. description: Internal Server Error
  31106. schema:
  31107. $ref: '#/definitions/app.Response'
  31108. security:
  31109. - ApiKeyAuth: []
  31110. summary: 掉期商品订单详情(交易确认书)
  31111. tags:
  31112. - 天津麦顿
  31113. /Tjmd/QueryTjmdMarketSection:
  31114. get:
  31115. produces:
  31116. - application/json
  31117. responses:
  31118. "200":
  31119. description: OK
  31120. schema:
  31121. items:
  31122. $ref: '#/definitions/models.TjmdMarketSection'
  31123. type: array
  31124. "500":
  31125. description: Internal Server Error
  31126. schema:
  31127. $ref: '#/definitions/app.Response'
  31128. security:
  31129. - ApiKeyAuth: []
  31130. summary: 查询市场板块
  31131. tags:
  31132. - 天津麦顿
  31133. /Tjmd/QueryTjmdTodayAccountMargin:
  31134. get:
  31135. parameters:
  31136. - description: 市场id
  31137. in: query
  31138. name: marketid
  31139. type: string
  31140. - description: 商品id
  31141. in: query
  31142. name: goodsid
  31143. type: string
  31144. - description: 资金账号
  31145. in: query
  31146. name: accountid
  31147. type: string
  31148. produces:
  31149. - application/json
  31150. responses:
  31151. "200":
  31152. description: OK
  31153. schema:
  31154. items:
  31155. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31156. type: array
  31157. "500":
  31158. description: Internal Server Error
  31159. schema:
  31160. $ref: '#/definitions/app.Response'
  31161. security:
  31162. - ApiKeyAuth: []
  31163. summary: 查询今日账户保证金配置
  31164. tags:
  31165. - 天津麦顿
  31166. /Tjmd/QueryTjmdTradeOrderDetail:
  31167. get:
  31168. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31169. parameters:
  31170. - description: 页码
  31171. in: query
  31172. name: page
  31173. type: integer
  31174. - description: 每页条数
  31175. in: query
  31176. name: pagesize
  31177. type: integer
  31178. - description: 用户id
  31179. in: query
  31180. name: userid
  31181. required: true
  31182. type: integer
  31183. - description: 用户类型
  31184. in: query
  31185. name: usertype
  31186. required: true
  31187. type: integer
  31188. - description: 市场id, 格式 1,2,3
  31189. in: query
  31190. name: marketids
  31191. type: string
  31192. - description: 商品id
  31193. in: query
  31194. name: goodsid
  31195. required: true
  31196. type: integer
  31197. - description: 买卖方向 0-买 1-卖
  31198. in: query
  31199. name: buyorsell
  31200. required: true
  31201. type: integer
  31202. produces:
  31203. - application/json
  31204. responses:
  31205. "200":
  31206. description: OK
  31207. schema:
  31208. items:
  31209. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31210. type: array
  31211. "500":
  31212. description: Internal Server Error
  31213. schema:
  31214. $ref: '#/definitions/app.Response'
  31215. security:
  31216. - ApiKeyAuth: []
  31217. summary: 查询掉期买卖大厅
  31218. tags:
  31219. - 天津麦顿
  31220. /Tjmd/QueryTjmdTransferApply:
  31221. get:
  31222. parameters:
  31223. - description: 类型 1-我的申请 2-对方申请
  31224. in: query
  31225. name: applytype
  31226. required: true
  31227. type: integer
  31228. - description: 市场id, 格式 1,2,3
  31229. in: query
  31230. name: marketids
  31231. type: string
  31232. - description: 资金账号, 格式 25000000001,25000000003
  31233. in: query
  31234. name: accountids
  31235. type: string
  31236. - description: 开始交易日(yyyymmdd)
  31237. in: query
  31238. name: begindate
  31239. type: string
  31240. - description: 结束交易日(yyyymmdd)
  31241. in: query
  31242. name: enddate
  31243. type: string
  31244. produces:
  31245. - application/json
  31246. responses:
  31247. "200":
  31248. description: OK
  31249. schema:
  31250. items:
  31251. $ref: '#/definitions/models.TjmdTransferApply'
  31252. type: array
  31253. "500":
  31254. description: Internal Server Error
  31255. schema:
  31256. $ref: '#/definitions/app.Response'
  31257. security:
  31258. - ApiKeyAuth: []
  31259. summary: 查询掉期协议单
  31260. tags:
  31261. - 天津麦顿
  31262. /Trade/QueryRecieptOrder:
  31263. get:
  31264. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31265. parameters:
  31266. - description: 页码
  31267. in: query
  31268. name: page
  31269. type: integer
  31270. - description: 每页条数
  31271. in: query
  31272. name: pagesize
  31273. type: integer
  31274. - description: 商品ID
  31275. in: query
  31276. name: goodsID
  31277. required: true
  31278. type: integer
  31279. - description: 所属账户名称
  31280. in: query
  31281. name: accountName
  31282. type: string
  31283. - description: 市场ID
  31284. in: query
  31285. name: marketID
  31286. type: integer
  31287. - description: 方向 - 0:买 1:卖
  31288. in: query
  31289. name: buyorsell
  31290. required: true
  31291. type: integer
  31292. produces:
  31293. - application/json
  31294. responses:
  31295. "200":
  31296. description: OK
  31297. schema:
  31298. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31299. "500":
  31300. description: Internal Server Error
  31301. schema:
  31302. $ref: '#/definitions/app.Response'
  31303. security:
  31304. - ApiKeyAuth: []
  31305. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31306. tags:
  31307. - 通用交易
  31308. /User/AddMessageBoard:
  31309. post:
  31310. parameters:
  31311. - description: 用户ID
  31312. in: query
  31313. name: userID
  31314. required: true
  31315. type: integer
  31316. - description: 留言信息
  31317. in: query
  31318. name: message
  31319. required: true
  31320. type: string
  31321. - description: 联系电话
  31322. in: query
  31323. name: contactNum
  31324. required: true
  31325. type: string
  31326. produces:
  31327. - application/json
  31328. responses:
  31329. "200":
  31330. description: OK
  31331. schema:
  31332. $ref: '#/definitions/app.Response'
  31333. "500":
  31334. description: Internal Server Error
  31335. schema:
  31336. $ref: '#/definitions/app.Response'
  31337. security:
  31338. - ApiKeyAuth: []
  31339. summary: 添加用户留言板信息
  31340. tags:
  31341. - 用户信息
  31342. /User/AddUserFavoriteGoods:
  31343. post:
  31344. parameters:
  31345. - description: 用户ID
  31346. in: query
  31347. name: userID
  31348. required: true
  31349. type: integer
  31350. - description: 商品ID
  31351. in: query
  31352. name: goodsID
  31353. required: true
  31354. type: integer
  31355. produces:
  31356. - application/json
  31357. responses:
  31358. "200":
  31359. description: OK
  31360. schema:
  31361. $ref: '#/definitions/app.Response'
  31362. "500":
  31363. description: Internal Server Error
  31364. schema:
  31365. $ref: '#/definitions/app.Response'
  31366. security:
  31367. - ApiKeyAuth: []
  31368. summary: 添加用户商品收藏信息
  31369. tags:
  31370. - 用户信息
  31371. /User/GetLoginID:
  31372. get:
  31373. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  31374. parameters:
  31375. - description: 登录代码
  31376. in: query
  31377. name: username
  31378. required: true
  31379. type: string
  31380. produces:
  31381. - application/json
  31382. responses:
  31383. "200":
  31384. description: OK
  31385. schema:
  31386. $ref: '#/definitions/app.Response'
  31387. "500":
  31388. description: Internal Server Error
  31389. schema:
  31390. $ref: '#/definitions/app.Response'
  31391. summary: 获取登录ID
  31392. tags:
  31393. - 用户信息
  31394. /User/GetUserAccount:
  31395. get:
  31396. parameters:
  31397. - description: 用户ID
  31398. in: query
  31399. name: userID
  31400. required: true
  31401. type: integer
  31402. produces:
  31403. - application/json
  31404. responses:
  31405. "200":
  31406. description: OK
  31407. schema:
  31408. $ref: '#/definitions/models.Useraccount'
  31409. "500":
  31410. description: Internal Server Error
  31411. schema:
  31412. $ref: '#/definitions/app.Response'
  31413. security:
  31414. - ApiKeyAuth: []
  31415. summary: 获取用户账号信息
  31416. tags:
  31417. - 用户信息
  31418. /User/GetUserAuthStatus:
  31419. get:
  31420. parameters:
  31421. - description: 用户ID
  31422. in: query
  31423. name: userID
  31424. required: true
  31425. type: integer
  31426. produces:
  31427. - application/json
  31428. responses:
  31429. "200":
  31430. description: OK
  31431. schema:
  31432. $ref: '#/definitions/app.Response'
  31433. "500":
  31434. description: Internal Server Error
  31435. schema:
  31436. $ref: '#/definitions/app.Response'
  31437. security:
  31438. - ApiKeyAuth: []
  31439. summary: 获取用户实名认证状态
  31440. tags:
  31441. - 用户信息
  31442. /User/LoginQuery:
  31443. get:
  31444. parameters:
  31445. - description: 登录账号
  31446. in: query
  31447. name: loginID
  31448. required: true
  31449. type: integer
  31450. produces:
  31451. - application/json
  31452. responses:
  31453. "200":
  31454. description: OK
  31455. schema:
  31456. $ref: '#/definitions/user.LoginQueryRsp'
  31457. "500":
  31458. description: Internal Server Error
  31459. schema:
  31460. $ref: '#/definitions/app.Response'
  31461. security:
  31462. - ApiKeyAuth: []
  31463. summary: 账户登录后信息查询
  31464. tags:
  31465. - 用户信息
  31466. /User/QueryMessageBoard:
  31467. get:
  31468. parameters:
  31469. - description: 用户ID
  31470. in: query
  31471. name: userID
  31472. required: true
  31473. type: integer
  31474. produces:
  31475. - application/json
  31476. responses:
  31477. "200":
  31478. description: OK
  31479. schema:
  31480. $ref: '#/definitions/models.Messageboard'
  31481. "500":
  31482. description: Internal Server Error
  31483. schema:
  31484. $ref: '#/definitions/app.Response'
  31485. security:
  31486. - ApiKeyAuth: []
  31487. summary: 获取用户留言板信息
  31488. tags:
  31489. - 用户信息
  31490. /User/QueryUserFavoriteGoodses:
  31491. get:
  31492. parameters:
  31493. - description: 用户ID
  31494. in: query
  31495. name: userID
  31496. required: true
  31497. type: integer
  31498. produces:
  31499. - application/json
  31500. responses:
  31501. "200":
  31502. description: OK
  31503. schema:
  31504. $ref: '#/definitions/models.Userfavoritegoods'
  31505. "500":
  31506. description: Internal Server Error
  31507. schema:
  31508. $ref: '#/definitions/app.Response'
  31509. security:
  31510. - ApiKeyAuth: []
  31511. summary: 获取用户商品收藏信息
  31512. tags:
  31513. - 用户信息
  31514. /User/QueryUserInfo:
  31515. get:
  31516. parameters:
  31517. - description: 用户ID
  31518. in: query
  31519. name: userID
  31520. required: true
  31521. type: integer
  31522. - description: 是否解密
  31523. in: query
  31524. name: isDecrypt
  31525. type: boolean
  31526. produces:
  31527. - application/json
  31528. responses:
  31529. "200":
  31530. description: OK
  31531. schema:
  31532. $ref: '#/definitions/models.Userinfo'
  31533. "500":
  31534. description: Internal Server Error
  31535. schema:
  31536. $ref: '#/definitions/app.Response'
  31537. security:
  31538. - ApiKeyAuth: []
  31539. summary: 获取用户信息
  31540. tags:
  31541. - 用户信息
  31542. /User/QueryUserReferNum:
  31543. get:
  31544. parameters:
  31545. - description: 用户ID
  31546. in: query
  31547. name: userID
  31548. required: true
  31549. type: integer
  31550. produces:
  31551. - application/json
  31552. responses:
  31553. "200":
  31554. description: OK
  31555. schema:
  31556. $ref: '#/definitions/app.Response'
  31557. "500":
  31558. description: Internal Server Error
  31559. schema:
  31560. $ref: '#/definitions/app.Response'
  31561. summary: 获取用户邀请码
  31562. tags:
  31563. - 用户信息
  31564. /User/RemoveUserFavoriteGoods:
  31565. post:
  31566. parameters:
  31567. - description: 用户ID
  31568. in: query
  31569. name: userID
  31570. required: true
  31571. type: integer
  31572. - description: 商品ID
  31573. in: query
  31574. name: goodsID
  31575. required: true
  31576. type: integer
  31577. produces:
  31578. - application/json
  31579. responses:
  31580. "200":
  31581. description: OK
  31582. schema:
  31583. $ref: '#/definitions/app.Response'
  31584. "500":
  31585. description: Internal Server Error
  31586. schema:
  31587. $ref: '#/definitions/app.Response'
  31588. security:
  31589. - ApiKeyAuth: []
  31590. summary: 移除用户商品收藏信息
  31591. tags:
  31592. - 用户信息
  31593. /User/UpdateUserAccountStatus:
  31594. post:
  31595. parameters:
  31596. - description: 用户ID
  31597. in: query
  31598. name: userID
  31599. required: true
  31600. type: integer
  31601. - description: 账户状态 - 4:正常 6:注销(停用)
  31602. in: query
  31603. name: accountStatus
  31604. required: true
  31605. type: integer
  31606. produces:
  31607. - application/json
  31608. responses:
  31609. "200":
  31610. description: OK
  31611. schema:
  31612. $ref: '#/definitions/app.Response'
  31613. "500":
  31614. description: Internal Server Error
  31615. schema:
  31616. $ref: '#/definitions/app.Response'
  31617. security:
  31618. - ApiKeyAuth: []
  31619. summary: 更新用户状态
  31620. tags:
  31621. - 用户信息
  31622. /WRTrade/GetAllDeliveryGoods:
  31623. get:
  31624. produces:
  31625. - application/json
  31626. responses:
  31627. "200":
  31628. description: OK
  31629. schema:
  31630. $ref: '#/definitions/app.Response'
  31631. "500":
  31632. description: Internal Server Error
  31633. schema:
  31634. $ref: '#/definitions/app.Response'
  31635. security:
  31636. - ApiKeyAuth: []
  31637. summary: 获取带仓单分类的种类信息
  31638. tags:
  31639. - 仓单贸易
  31640. - 仓单贸易
  31641. /WrTrade2/InsertXhcpSellBackApply:
  31642. post:
  31643. parameters:
  31644. - description: 回收申请
  31645. in: body
  31646. name: jsonBody
  31647. required: true
  31648. schema:
  31649. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  31650. produces:
  31651. - application/json
  31652. responses:
  31653. "200":
  31654. description: OK
  31655. schema:
  31656. $ref: '#/definitions/app.Response'
  31657. "500":
  31658. description: Internal Server Error
  31659. schema:
  31660. $ref: '#/definitions/app.Response'
  31661. security:
  31662. - ApiKeyAuth: []
  31663. summary: 新增回收申请(新会陈皮)
  31664. tags:
  31665. - 仓单贸易v2
  31666. /WrTrade2/QueryDeliveryGoodsSection:
  31667. get:
  31668. produces:
  31669. - application/json
  31670. responses:
  31671. "200":
  31672. description: OK
  31673. schema:
  31674. items:
  31675. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  31676. type: array
  31677. "500":
  31678. description: Internal Server Error
  31679. schema:
  31680. $ref: '#/definitions/app.Response'
  31681. security:
  31682. - ApiKeyAuth: []
  31683. summary: 查询板块(分类)
  31684. tags:
  31685. - 仓单贸易v2
  31686. /WrTrade2/QueryFaProductDetail:
  31687. get:
  31688. description: 页面 买卖大厅 -> 选择融资方案
  31689. parameters:
  31690. - description: 仓单要素id
  31691. in: query
  31692. name: wrfactortypeid
  31693. required: true
  31694. type: integer
  31695. produces:
  31696. - application/json
  31697. responses:
  31698. "200":
  31699. description: OK
  31700. schema:
  31701. items:
  31702. $ref: '#/definitions/models.WrFAProductDetail'
  31703. type: array
  31704. "500":
  31705. description: Internal Server Error
  31706. schema:
  31707. $ref: '#/definitions/app.Response'
  31708. security:
  31709. - ApiKeyAuth: []
  31710. summary: 查询融资产品列表
  31711. tags:
  31712. - 仓单贸易v2
  31713. /WrTrade2/QueryFilterItem:
  31714. get:
  31715. parameters:
  31716. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31717. in: query
  31718. name: itype
  31719. required: true
  31720. type: string
  31721. produces:
  31722. - application/json
  31723. responses:
  31724. "200":
  31725. description: OK
  31726. schema:
  31727. items:
  31728. $ref: '#/definitions/models.WrFilterItem'
  31729. type: array
  31730. "500":
  31731. description: Internal Server Error
  31732. schema:
  31733. $ref: '#/definitions/app.Response'
  31734. security:
  31735. - ApiKeyAuth: []
  31736. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31737. tags:
  31738. - 仓单贸易v2
  31739. /WrTrade2/QueryFtDeliveryGoods:
  31740. get:
  31741. produces:
  31742. - application/json
  31743. responses:
  31744. "200":
  31745. description: OK
  31746. schema:
  31747. items:
  31748. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31749. type: array
  31750. "500":
  31751. description: Internal Server Error
  31752. schema:
  31753. $ref: '#/definitions/app.Response'
  31754. security:
  31755. - ApiKeyAuth: []
  31756. summary: 查询品种品类筛选框列表
  31757. tags:
  31758. - 仓单贸易v2
  31759. /WrTrade2/QueryHoldLB:
  31760. get:
  31761. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31762. parameters:
  31763. - description: 资金账号
  31764. in: query
  31765. name: accountid
  31766. required: true
  31767. type: integer
  31768. - description: 仓库id
  31769. in: query
  31770. name: warehouseid
  31771. type: integer
  31772. - description: 品种id
  31773. in: query
  31774. name: deliverygoodsid
  31775. type: integer
  31776. - description: 品类id
  31777. in: query
  31778. name: wrstandardid
  31779. type: integer
  31780. - description: 仓单要素id
  31781. in: query
  31782. name: wrfactortypeid
  31783. type: integer
  31784. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31785. in: query
  31786. name: dgitemname
  31787. type: string
  31788. produces:
  31789. - application/json
  31790. responses:
  31791. "200":
  31792. description: OK
  31793. schema:
  31794. items:
  31795. $ref: '#/definitions/models.WrHoldLB'
  31796. type: array
  31797. "500":
  31798. description: Internal Server Error
  31799. schema:
  31800. $ref: '#/definitions/app.Response'
  31801. security:
  31802. - ApiKeyAuth: []
  31803. summary: 查询仓单持有记录
  31804. tags:
  31805. - 仓单贸易v2
  31806. /WrTrade2/QueryOrderQuote:
  31807. get:
  31808. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31809. 唯一确定1条记录
  31810. parameters:
  31811. - description: 页码
  31812. in: query
  31813. name: page
  31814. type: integer
  31815. - description: 每页条数
  31816. in: query
  31817. name: pagesize
  31818. type: integer
  31819. - description: 仓单贸易市场id
  31820. in: query
  31821. name: marketid
  31822. type: integer
  31823. - description: 价格方式 - 1:固定价 2-浮动价
  31824. in: query
  31825. name: wrpricetype
  31826. required: true
  31827. type: integer
  31828. - description: 0:仓单预售 1:仓单贸易
  31829. in: query
  31830. name: haswr
  31831. type: integer
  31832. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31833. in: query
  31834. name: dgitemname
  31835. type: string
  31836. - description: 仓库id(筛选条件)
  31837. in: query
  31838. name: warehouseid
  31839. type: integer
  31840. - description: 品种id
  31841. in: query
  31842. name: deliverygoodsid
  31843. type: integer
  31844. - description: 品类id
  31845. in: query
  31846. name: wrstandardid
  31847. type: integer
  31848. - description: 品牌id(dgfactoryitemid)
  31849. in: query
  31850. name: brandid
  31851. type: integer
  31852. - description: 年份id(dgfactoryitemid)
  31853. in: query
  31854. name: yearsid
  31855. type: integer
  31856. - description: 仓单要素id
  31857. in: query
  31858. name: wrfactortypeid
  31859. type: integer
  31860. - description: 交收月(yyyy-mm) 仓单预售填写
  31861. in: query
  31862. name: deliverymonth
  31863. type: string
  31864. produces:
  31865. - application/json
  31866. responses:
  31867. "200":
  31868. description: OK
  31869. schema:
  31870. items:
  31871. $ref: '#/definitions/models.WrOrderQuote'
  31872. type: array
  31873. "500":
  31874. description: Internal Server Error
  31875. schema:
  31876. $ref: '#/definitions/app.Response'
  31877. security:
  31878. - ApiKeyAuth: []
  31879. summary: 查询大厅行情列表
  31880. tags:
  31881. - 仓单贸易v2
  31882. /WrTrade2/QueryOrderQuoteDetail:
  31883. get:
  31884. parameters:
  31885. - description: 页码
  31886. in: query
  31887. name: page
  31888. type: integer
  31889. - description: 每页条数
  31890. in: query
  31891. name: pagesize
  31892. type: integer
  31893. - description: 仓单贸易市场id
  31894. in: query
  31895. name: marketid
  31896. type: integer
  31897. - description: 价格方式 - 1:固定价 2-浮动价
  31898. in: query
  31899. name: wrpricetype
  31900. required: true
  31901. type: integer
  31902. - description: 0:仓单预售 1:仓单贸易
  31903. in: query
  31904. name: haswr
  31905. type: integer
  31906. - description: 仓单要素id
  31907. in: query
  31908. name: wrfactortypeid
  31909. required: true
  31910. type: integer
  31911. - description: 期货商品id(浮动价方式时填)
  31912. in: query
  31913. name: goodsid
  31914. type: integer
  31915. - description: 买卖方向 0-买 1-卖
  31916. in: query
  31917. name: buyorsell
  31918. required: true
  31919. type: integer
  31920. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31921. in: query
  31922. name: deliverymonth
  31923. type: string
  31924. produces:
  31925. - application/json
  31926. responses:
  31927. "200":
  31928. description: OK
  31929. schema:
  31930. items:
  31931. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31932. type: array
  31933. "500":
  31934. description: Internal Server Error
  31935. schema:
  31936. $ref: '#/definitions/app.Response'
  31937. security:
  31938. - ApiKeyAuth: []
  31939. summary: 查询买卖大厅
  31940. tags:
  31941. - 仓单贸易v2
  31942. /WrTrade2/QueryOrderQuoteMyq:
  31943. get:
  31944. parameters:
  31945. - description: 页码
  31946. in: query
  31947. name: page
  31948. type: integer
  31949. - description: 每页条数
  31950. in: query
  31951. name: pagesize
  31952. type: integer
  31953. - description: 用户id
  31954. in: query
  31955. name: userid
  31956. required: true
  31957. type: integer
  31958. - description: 仓单贸易市场id
  31959. in: query
  31960. name: marketid
  31961. type: integer
  31962. - description: 0:仓单预售 1:仓单贸易
  31963. in: query
  31964. name: haswr
  31965. type: integer
  31966. - description: 买卖方向 0-买 1-卖
  31967. in: query
  31968. name: buyorsell
  31969. required: true
  31970. type: integer
  31971. - description: 品种id
  31972. in: query
  31973. name: deliverygoodsid
  31974. type: integer
  31975. - description: 品类id
  31976. in: query
  31977. name: wrstandardid
  31978. type: integer
  31979. - description: 交收月(yyyy-mm) 仓单预售填写
  31980. in: query
  31981. name: deliverymonth
  31982. type: string
  31983. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31984. in: query
  31985. name: dgitemname
  31986. type: string
  31987. produces:
  31988. - application/json
  31989. responses:
  31990. "200":
  31991. description: OK
  31992. schema:
  31993. items:
  31994. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31995. type: array
  31996. "500":
  31997. description: Internal Server Error
  31998. schema:
  31999. $ref: '#/definitions/app.Response'
  32000. security:
  32001. - ApiKeyAuth: []
  32002. summary: 查询贸易圈挂牌大厅
  32003. tags:
  32004. - 仓单贸易v2
  32005. /WrTrade2/QueryPerformancePlan:
  32006. get:
  32007. parameters:
  32008. - description: 用户id
  32009. in: query
  32010. name: userid
  32011. required: true
  32012. type: integer
  32013. - description: 买卖方向 0-买 1-卖
  32014. in: query
  32015. name: buyorsell
  32016. required: true
  32017. type: integer
  32018. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  32019. 8:释放冻结失败 9:超时待处理 10:超时关闭
  32020. in: query
  32021. name: status
  32022. type: string
  32023. - description: 开始交易日(yyyymmdd)
  32024. in: query
  32025. name: begindate
  32026. type: string
  32027. - description: 结束交易日(yyyymmdd)
  32028. in: query
  32029. name: enddate
  32030. type: string
  32031. produces:
  32032. - application/json
  32033. responses:
  32034. "200":
  32035. description: OK
  32036. schema:
  32037. items:
  32038. $ref: '#/definitions/models.WrPerformancePlan'
  32039. type: array
  32040. "500":
  32041. description: Internal Server Error
  32042. schema:
  32043. $ref: '#/definitions/app.Response'
  32044. security:
  32045. - ApiKeyAuth: []
  32046. summary: 查询履约信息
  32047. tags:
  32048. - 仓单贸易v2
  32049. /WrTrade2/QueryPermancePlanTmp:
  32050. get:
  32051. description: |-
  32052. 返回指定用户的模板和公共模板(用户id为空)
  32053. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32054. parameters:
  32055. - description: 用户id
  32056. in: query
  32057. name: userid
  32058. type: integer
  32059. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32060. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32061. in: query
  32062. name: tmptype
  32063. type: string
  32064. - description: 是否包含公共模板(用户id为空的) 1-包含
  32065. in: query
  32066. name: includepub
  32067. type: integer
  32068. - description: 市场id(天津麦顿指定此参数,其它不用)
  32069. in: query
  32070. name: marketid
  32071. type: integer
  32072. produces:
  32073. - application/json
  32074. responses:
  32075. "200":
  32076. description: OK
  32077. schema:
  32078. items:
  32079. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32080. type: array
  32081. "500":
  32082. description: Internal Server Error
  32083. schema:
  32084. $ref: '#/definitions/app.Response'
  32085. security:
  32086. - ApiKeyAuth: []
  32087. summary: 查询履约模板
  32088. tags:
  32089. - 仓单贸易v2
  32090. /WrTrade2/QuerySiteColumnDetail:
  32091. get:
  32092. parameters:
  32093. - description: 页码
  32094. in: query
  32095. name: page
  32096. type: integer
  32097. - description: 每页条数
  32098. in: query
  32099. name: pagesize
  32100. type: integer
  32101. - description: 所属栏目id
  32102. in: query
  32103. name: columnid
  32104. type: integer
  32105. produces:
  32106. - application/json
  32107. responses:
  32108. "200":
  32109. description: OK
  32110. schema:
  32111. items:
  32112. $ref: '#/definitions/models.WrSiteColumnDetail'
  32113. type: array
  32114. "500":
  32115. description: Internal Server Error
  32116. schema:
  32117. $ref: '#/definitions/app.Response'
  32118. security:
  32119. - ApiKeyAuth: []
  32120. summary: 查询资讯
  32121. tags:
  32122. - 仓单贸易v2
  32123. /WrTrade2/QuerySpotGroupTradeSum:
  32124. get:
  32125. produces:
  32126. - application/json
  32127. responses:
  32128. "200":
  32129. description: OK
  32130. schema:
  32131. items:
  32132. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32133. type: array
  32134. "500":
  32135. description: Internal Server Error
  32136. schema:
  32137. $ref: '#/definitions/app.Response'
  32138. security:
  32139. - ApiKeyAuth: []
  32140. summary: 查询指数
  32141. tags:
  32142. - 仓单贸易v2
  32143. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32144. get:
  32145. description: 查询的结果将会按日期 从小到大 排序
  32146. parameters:
  32147. - description: 现货商品id
  32148. in: query
  32149. name: deliverygoodsid
  32150. required: true
  32151. type: integer
  32152. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32153. in: query
  32154. name: lastnum
  32155. type: integer
  32156. produces:
  32157. - application/json
  32158. responses:
  32159. "200":
  32160. description: OK
  32161. schema:
  32162. items:
  32163. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32164. type: array
  32165. "500":
  32166. description: Internal Server Error
  32167. schema:
  32168. $ref: '#/definitions/app.Response'
  32169. security:
  32170. - ApiKeyAuth: []
  32171. summary: 查询指数详细(价格走势图)
  32172. tags:
  32173. - 仓单贸易v2
  32174. /WrTrade2/QueryWrAverageTradePrice:
  32175. get:
  32176. parameters:
  32177. - description: 页码
  32178. in: query
  32179. name: page
  32180. type: integer
  32181. - description: 每页条数
  32182. in: query
  32183. name: pagesize
  32184. type: integer
  32185. - description: 0:仓单预售 1:仓单贸易
  32186. in: query
  32187. name: haswr
  32188. required: true
  32189. type: integer
  32190. - description: 仓单要素id
  32191. in: query
  32192. name: wrfactortypeid
  32193. required: true
  32194. type: integer
  32195. produces:
  32196. - application/json
  32197. responses:
  32198. "200":
  32199. description: OK
  32200. schema:
  32201. items:
  32202. $ref: '#/definitions/models.WrAverageTradePrice'
  32203. type: array
  32204. "500":
  32205. description: Internal Server Error
  32206. schema:
  32207. $ref: '#/definitions/app.Response'
  32208. security:
  32209. - ApiKeyAuth: []
  32210. summary: 查询成交价(历史走势)
  32211. tags:
  32212. - 仓单贸易v2
  32213. /WrTrade2/QueryWrBrandAndYears:
  32214. get:
  32215. produces:
  32216. - application/json
  32217. responses:
  32218. "200":
  32219. description: OK
  32220. schema:
  32221. items:
  32222. $ref: '#/definitions/models.WrBrandAndYears'
  32223. type: array
  32224. "500":
  32225. description: Internal Server Error
  32226. schema:
  32227. $ref: '#/definitions/app.Response'
  32228. security:
  32229. - ApiKeyAuth: []
  32230. summary: 查询品牌和年份
  32231. tags:
  32232. - 仓单贸易v2
  32233. /WrTrade2/QueryWrBsGoodsInfo:
  32234. get:
  32235. description: 合约交易/买卖大厅/详情
  32236. parameters:
  32237. - description: 商品id
  32238. in: query
  32239. name: goodsid
  32240. required: true
  32241. type: integer
  32242. produces:
  32243. - application/json
  32244. responses:
  32245. "200":
  32246. description: OK
  32247. schema:
  32248. items:
  32249. $ref: '#/definitions/models.WrBsGoodsInfo'
  32250. type: array
  32251. "500":
  32252. description: Internal Server Error
  32253. schema:
  32254. $ref: '#/definitions/app.Response'
  32255. security:
  32256. - ApiKeyAuth: []
  32257. summary: 查询合约交易买卖大厅详情
  32258. tags:
  32259. - 仓单贸易v2
  32260. /WrTrade2/QueryWrBuybackDetail:
  32261. get:
  32262. parameters:
  32263. - description: 融资合同id
  32264. in: query
  32265. name: scfcontractid
  32266. type: integer
  32267. produces:
  32268. - application/json
  32269. responses:
  32270. "200":
  32271. description: OK
  32272. schema:
  32273. items:
  32274. $ref: '#/definitions/models.WrBuybackDetail'
  32275. type: array
  32276. "500":
  32277. description: Internal Server Error
  32278. schema:
  32279. $ref: '#/definitions/app.Response'
  32280. security:
  32281. - ApiKeyAuth: []
  32282. summary: 查询仓单回购明细
  32283. tags:
  32284. - 仓单贸易v2
  32285. /WrTrade2/QueryWrClientAdSpaceConfig:
  32286. get:
  32287. produces:
  32288. - application/json
  32289. responses:
  32290. "200":
  32291. description: OK
  32292. schema:
  32293. items:
  32294. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  32295. type: array
  32296. "500":
  32297. description: Internal Server Error
  32298. schema:
  32299. $ref: '#/definitions/app.Response'
  32300. security:
  32301. - ApiKeyAuth: []
  32302. summary: 查询固定广告配置
  32303. tags:
  32304. - 仓单贸易v2
  32305. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  32306. get:
  32307. parameters:
  32308. - description: 资金账号
  32309. in: query
  32310. name: accountid
  32311. required: true
  32312. type: integer
  32313. - description: 商品id
  32314. in: query
  32315. name: goodsid
  32316. required: true
  32317. type: integer
  32318. produces:
  32319. - application/json
  32320. responses:
  32321. "200":
  32322. description: OK
  32323. schema:
  32324. items:
  32325. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  32326. type: array
  32327. "500":
  32328. description: Internal Server Error
  32329. schema:
  32330. $ref: '#/definitions/app.Response'
  32331. security:
  32332. - ApiKeyAuth: []
  32333. summary: 查询合约交收可点选仓单
  32334. tags:
  32335. - 仓单贸易v2
  32336. /WrTrade2/QueryWrDeliveryDetail:
  32337. get:
  32338. parameters:
  32339. - description: 用户id
  32340. in: query
  32341. name: userid
  32342. required: true
  32343. type: integer
  32344. - description: 资金账号id
  32345. in: query
  32346. name: accountid
  32347. type: integer
  32348. - description: 开始交易日(yyyymmdd)
  32349. in: query
  32350. name: begindate
  32351. type: string
  32352. - description: 结束交易日(yyyymmdd)
  32353. in: query
  32354. name: enddate
  32355. type: string
  32356. produces:
  32357. - application/json
  32358. responses:
  32359. "200":
  32360. description: OK
  32361. schema:
  32362. items:
  32363. $ref: '#/definitions/models.WrDeliveryDetail'
  32364. type: array
  32365. "500":
  32366. description: Internal Server Error
  32367. schema:
  32368. $ref: '#/definitions/app.Response'
  32369. security:
  32370. - ApiKeyAuth: []
  32371. summary: 查询交收
  32372. tags:
  32373. - 仓单贸易v2
  32374. /WrTrade2/QueryWrDraftUserInfo:
  32375. get:
  32376. parameters:
  32377. - description: 用户ID
  32378. in: query
  32379. name: userid
  32380. required: true
  32381. type: integer
  32382. - description: 用户状态 1:正常 2:注销
  32383. in: query
  32384. name: userstatus
  32385. type: integer
  32386. produces:
  32387. - application/json
  32388. responses:
  32389. "200":
  32390. description: OK
  32391. schema:
  32392. items:
  32393. $ref: '#/definitions/models.WrDraftUserInfo'
  32394. type: array
  32395. "500":
  32396. description: Internal Server Error
  32397. schema:
  32398. $ref: '#/definitions/app.Response'
  32399. security:
  32400. - ApiKeyAuth: []
  32401. summary: 查询实名认证信息
  32402. tags:
  32403. - 仓单贸易v2
  32404. /WrTrade2/QueryWrFactorTypeInfo:
  32405. get:
  32406. parameters:
  32407. - description: 仓单要素id
  32408. in: query
  32409. name: wrfactortypeid
  32410. required: true
  32411. type: integer
  32412. produces:
  32413. - application/json
  32414. responses:
  32415. "200":
  32416. description: OK
  32417. schema:
  32418. items:
  32419. $ref: '#/definitions/models.WrFactorTypeInfo'
  32420. type: array
  32421. "500":
  32422. description: Internal Server Error
  32423. schema:
  32424. $ref: '#/definitions/app.Response'
  32425. security:
  32426. - ApiKeyAuth: []
  32427. summary: 查询仓单要素详细信息
  32428. tags:
  32429. - 仓单贸易v2
  32430. /WrTrade2/QueryWrFactorTypeInfoEx:
  32431. get:
  32432. parameters:
  32433. - description: 仓单要素id
  32434. in: query
  32435. name: wrfactortypeid
  32436. required: true
  32437. type: integer
  32438. produces:
  32439. - application/json
  32440. responses:
  32441. "200":
  32442. description: OK
  32443. schema:
  32444. items:
  32445. $ref: '#/definitions/models.WrTypeItem'
  32446. type: array
  32447. "500":
  32448. description: Internal Server Error
  32449. schema:
  32450. $ref: '#/definitions/app.Response'
  32451. security:
  32452. - ApiKeyAuth: []
  32453. summary: 查询仓单要素详细信息列表项
  32454. tags:
  32455. - 仓单贸易v2
  32456. /WrTrade2/QueryWrFinanceBuyApply:
  32457. get:
  32458. description: 页面 融资信息+ / 申请单
  32459. parameters:
  32460. - description: 用户id
  32461. in: query
  32462. name: userid
  32463. required: true
  32464. type: integer
  32465. produces:
  32466. - application/json
  32467. responses:
  32468. "200":
  32469. description: OK
  32470. schema:
  32471. items:
  32472. $ref: '#/definitions/models.WrFinanceBuyApply'
  32473. type: array
  32474. "500":
  32475. description: Internal Server Error
  32476. schema:
  32477. $ref: '#/definitions/app.Response'
  32478. security:
  32479. - ApiKeyAuth: []
  32480. summary: 查询融资购买申请
  32481. tags:
  32482. - 仓单贸易v2
  32483. /WrTrade2/QueryWrFriendApply:
  32484. get:
  32485. parameters:
  32486. - description: 用户id
  32487. in: query
  32488. name: userid
  32489. required: true
  32490. type: integer
  32491. produces:
  32492. - application/json
  32493. responses:
  32494. "200":
  32495. description: OK
  32496. schema:
  32497. items:
  32498. $ref: '#/definitions/models.WrFriendApply'
  32499. type: array
  32500. "500":
  32501. description: Internal Server Error
  32502. schema:
  32503. $ref: '#/definitions/app.Response'
  32504. security:
  32505. - ApiKeyAuth: []
  32506. summary: 查询好友申请记录
  32507. tags:
  32508. - 仓单贸易v2
  32509. /WrTrade2/QueryWrGoodsInfo:
  32510. get:
  32511. parameters:
  32512. - description: 仓单贸易市场id
  32513. in: query
  32514. name: marketid
  32515. type: integer
  32516. - description: 0:仓单预售 1:仓单贸易
  32517. in: query
  32518. name: haswr
  32519. required: true
  32520. type: integer
  32521. - description: 仓单要素id
  32522. in: query
  32523. name: wrfactortypeid
  32524. required: true
  32525. type: integer
  32526. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  32527. in: query
  32528. name: tmplateid
  32529. type: integer
  32530. produces:
  32531. - application/json
  32532. responses:
  32533. "200":
  32534. description: OK
  32535. schema:
  32536. items:
  32537. $ref: '#/definitions/models.WrGoodsInfo'
  32538. type: array
  32539. "500":
  32540. description: Internal Server Error
  32541. schema:
  32542. $ref: '#/definitions/app.Response'
  32543. security:
  32544. - ApiKeyAuth: []
  32545. summary: 查询仓单商品信息
  32546. tags:
  32547. - 仓单贸易v2
  32548. /WrTrade2/QueryWrMarketTradeConfig:
  32549. get:
  32550. parameters:
  32551. - description: 市场id
  32552. in: query
  32553. name: marketid
  32554. type: integer
  32555. produces:
  32556. - application/json
  32557. responses:
  32558. "200":
  32559. description: OK
  32560. schema:
  32561. items:
  32562. $ref: '#/definitions/models.WrMarketTradeConfig'
  32563. type: array
  32564. "500":
  32565. description: Internal Server Error
  32566. schema:
  32567. $ref: '#/definitions/app.Response'
  32568. security:
  32569. - ApiKeyAuth: []
  32570. summary: 查询市场交易参数配置
  32571. tags:
  32572. - 仓单贸易v2
  32573. /WrTrade2/QueryWrOrderDetail:
  32574. get:
  32575. description: 页面 现货仓单 | 预售仓单 -> 委托单
  32576. parameters:
  32577. - description: 页码
  32578. in: query
  32579. name: page
  32580. type: integer
  32581. - description: 每页条数
  32582. in: query
  32583. name: pagesize
  32584. type: integer
  32585. - description: 用户id
  32586. in: query
  32587. name: userid
  32588. required: true
  32589. type: integer
  32590. - description: 仓单贸易市场id
  32591. in: query
  32592. name: marketid
  32593. type: integer
  32594. - description: 0:仓单预售 1:仓单贸易
  32595. in: query
  32596. name: haswr
  32597. required: true
  32598. type: integer
  32599. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  32600. in: query
  32601. name: bcancel
  32602. type: integer
  32603. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  32604. in: query
  32605. name: wrtradetype
  32606. type: integer
  32607. - description: 开始交易日(yyyymmdd)
  32608. in: query
  32609. name: begindate
  32610. type: string
  32611. - description: 结束交易日(yyyymmdd)
  32612. in: query
  32613. name: enddate
  32614. type: string
  32615. produces:
  32616. - application/json
  32617. responses:
  32618. "200":
  32619. description: OK
  32620. schema:
  32621. items:
  32622. $ref: '#/definitions/models.WrOrderDetail'
  32623. type: array
  32624. "500":
  32625. description: Internal Server Error
  32626. schema:
  32627. $ref: '#/definitions/app.Response'
  32628. security:
  32629. - ApiKeyAuth: []
  32630. summary: 查询仓单委托单
  32631. tags:
  32632. - 仓单贸易v2
  32633. /WrTrade2/QueryWrOutInApply:
  32634. get:
  32635. parameters:
  32636. - description: 页码
  32637. in: query
  32638. name: page
  32639. type: integer
  32640. - description: 每页条数
  32641. in: query
  32642. name: pagesize
  32643. type: integer
  32644. - description: 用户id
  32645. in: query
  32646. name: userid
  32647. required: true
  32648. type: integer
  32649. - description: 开始交易日(yyyymmdd)
  32650. in: query
  32651. name: begindate
  32652. type: string
  32653. - description: 结束交易日(yyyymmdd)
  32654. in: query
  32655. name: enddate
  32656. type: string
  32657. produces:
  32658. - application/json
  32659. responses:
  32660. "200":
  32661. description: OK
  32662. schema:
  32663. items:
  32664. $ref: '#/definitions/models.WrOutInApply'
  32665. type: array
  32666. "500":
  32667. description: Internal Server Error
  32668. schema:
  32669. $ref: '#/definitions/app.Response'
  32670. security:
  32671. - ApiKeyAuth: []
  32672. summary: 查询提货申请
  32673. tags:
  32674. - 仓单贸易v2
  32675. /WrTrade2/QueryWrPerformancePlanStep:
  32676. get:
  32677. parameters:
  32678. - description: 履约计划id(performanceplanid)
  32679. in: query
  32680. name: planid
  32681. required: true
  32682. type: integer
  32683. - description: 当前步骤id
  32684. in: query
  32685. name: curstepid
  32686. type: integer
  32687. produces:
  32688. - application/json
  32689. responses:
  32690. "200":
  32691. description: OK
  32692. schema:
  32693. items:
  32694. $ref: '#/definitions/models.WrPerformancePlanStep'
  32695. type: array
  32696. "500":
  32697. description: Internal Server Error
  32698. schema:
  32699. $ref: '#/definitions/app.Response'
  32700. security:
  32701. - ApiKeyAuth: []
  32702. summary: 查询履约信息详情
  32703. tags:
  32704. - 仓单贸易v2
  32705. /WrTrade2/QueryWrPerformanceStepType:
  32706. get:
  32707. produces:
  32708. - application/json
  32709. responses:
  32710. "200":
  32711. description: OK
  32712. schema:
  32713. items:
  32714. $ref: '#/definitions/models.WrPerformanceStepType'
  32715. type: array
  32716. "500":
  32717. description: Internal Server Error
  32718. schema:
  32719. $ref: '#/definitions/app.Response'
  32720. security:
  32721. - ApiKeyAuth: []
  32722. summary: 查询履约步骤枚举
  32723. tags:
  32724. - 仓单贸易v2
  32725. /WrTrade2/QueryWrPosition:
  32726. get:
  32727. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32728. parameters:
  32729. - description: 用户id
  32730. in: query
  32731. name: userid
  32732. required: true
  32733. type: integer
  32734. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32735. in: query
  32736. name: querytype
  32737. required: true
  32738. type: integer
  32739. - description: 0:仓单预售 1:仓单贸易
  32740. in: query
  32741. name: haswr
  32742. required: true
  32743. type: integer
  32744. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32745. in: query
  32746. name: dgitemname
  32747. type: string
  32748. - description: 仓库id(筛选条件)
  32749. in: query
  32750. name: warehouseid
  32751. type: integer
  32752. - description: 品种id
  32753. in: query
  32754. name: deliverygoodsid
  32755. type: integer
  32756. - description: 品类id
  32757. in: query
  32758. name: wrstandardid
  32759. type: integer
  32760. produces:
  32761. - application/json
  32762. responses:
  32763. "200":
  32764. description: OK
  32765. schema:
  32766. items:
  32767. $ref: '#/definitions/models.WrPosition'
  32768. type: array
  32769. "500":
  32770. description: Internal Server Error
  32771. schema:
  32772. $ref: '#/definitions/app.Response'
  32773. security:
  32774. - ApiKeyAuth: []
  32775. summary: 查询现货(预售)仓单持仓
  32776. tags:
  32777. - 仓单贸易v2
  32778. /WrTrade2/QueryWrPreSaleInfo:
  32779. get:
  32780. parameters:
  32781. - description: 市场id
  32782. in: query
  32783. name: marketid
  32784. type: integer
  32785. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32786. in: query
  32787. name: presalestatus
  32788. type: string
  32789. - description: 摇号标识 - 0:未摇号 1:已摇号
  32790. in: query
  32791. name: lotteryflag
  32792. type: integer
  32793. - description: 最近多少条记录(按创建时间倒序)
  32794. in: query
  32795. name: lastnum
  32796. type: integer
  32797. produces:
  32798. - application/json
  32799. responses:
  32800. "200":
  32801. description: OK
  32802. schema:
  32803. items:
  32804. $ref: '#/definitions/models.WrPreSaleInfo'
  32805. type: array
  32806. "500":
  32807. description: Internal Server Error
  32808. schema:
  32809. $ref: '#/definitions/app.Response'
  32810. security:
  32811. - ApiKeyAuth: []
  32812. summary: 查询新品发布
  32813. tags:
  32814. - 仓单贸易v2
  32815. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32816. get:
  32817. parameters:
  32818. - description: 市场id
  32819. in: query
  32820. name: marketid
  32821. required: true
  32822. type: integer
  32823. - description: 现货商品id
  32824. in: query
  32825. name: wrstandardid
  32826. required: true
  32827. type: integer
  32828. - description: 开始交易日(yyyymmdd)
  32829. in: query
  32830. name: begindate
  32831. type: string
  32832. - description: 结束交易日(yyyymmdd)
  32833. in: query
  32834. name: enddate
  32835. type: string
  32836. - description: 最近多少条记录(按交易日倒序)
  32837. in: query
  32838. name: lastnum
  32839. type: integer
  32840. - description: 是否今日
  32841. in: query
  32842. name: istoday
  32843. type: boolean
  32844. produces:
  32845. - application/json
  32846. responses:
  32847. "200":
  32848. description: OK
  32849. schema:
  32850. items:
  32851. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32852. type: array
  32853. "500":
  32854. description: Internal Server Error
  32855. schema:
  32856. $ref: '#/definitions/app.Response'
  32857. security:
  32858. - ApiKeyAuth: []
  32859. summary: 查询价格走势
  32860. tags:
  32861. - 仓单贸易v2
  32862. /WrTrade2/QueryWrScfContract:
  32863. get:
  32864. parameters:
  32865. - description: 用户id
  32866. in: query
  32867. name: userid
  32868. required: true
  32869. type: integer
  32870. - description: 融资合同id
  32871. in: query
  32872. name: scfcontractid
  32873. type: integer
  32874. produces:
  32875. - application/json
  32876. responses:
  32877. "200":
  32878. description: OK
  32879. schema:
  32880. items:
  32881. $ref: '#/definitions/models.WrScfContract'
  32882. type: array
  32883. "500":
  32884. description: Internal Server Error
  32885. schema:
  32886. $ref: '#/definitions/app.Response'
  32887. security:
  32888. - ApiKeyAuth: []
  32889. summary: 查询仓单贸易融资合同
  32890. tags:
  32891. - 仓单贸易v2
  32892. /WrTrade2/QueryWrScfContractInterest:
  32893. get:
  32894. parameters:
  32895. - description: 融资合同id
  32896. in: query
  32897. name: scfcontractid
  32898. type: integer
  32899. produces:
  32900. - application/json
  32901. responses:
  32902. "200":
  32903. description: OK
  32904. schema:
  32905. items:
  32906. $ref: '#/definitions/models.WrScfContractInterest'
  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/QueryWrSearchUser:
  32918. get:
  32919. parameters:
  32920. - description: 用户名称(模糊匹配)
  32921. in: query
  32922. name: username
  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.WrSearchUser'
  32933. type: array
  32934. "500":
  32935. description: Internal Server Error
  32936. schema:
  32937. $ref: '#/definitions/app.Response'
  32938. security:
  32939. - ApiKeyAuth: []
  32940. summary: 查询用户
  32941. tags:
  32942. - 仓单贸易v2
  32943. /WrTrade2/QueryWrSpecialMatchOrder:
  32944. get:
  32945. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32946. parameters:
  32947. - description: 页码
  32948. in: query
  32949. name: page
  32950. type: integer
  32951. - description: 每页条数
  32952. in: query
  32953. name: pagesize
  32954. type: integer
  32955. - description: 用户id
  32956. in: query
  32957. name: userid
  32958. required: true
  32959. type: integer
  32960. - description: 仓单贸易市场id
  32961. in: query
  32962. name: marketid
  32963. type: integer
  32964. - description: 0:仓单预售 1:仓单贸易
  32965. in: query
  32966. name: haswr
  32967. required: true
  32968. type: integer
  32969. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32970. in: query
  32971. name: isspecified
  32972. type: integer
  32973. produces:
  32974. - application/json
  32975. responses:
  32976. "200":
  32977. description: OK
  32978. schema:
  32979. items:
  32980. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32981. type: array
  32982. "500":
  32983. description: Internal Server Error
  32984. schema:
  32985. $ref: '#/definitions/app.Response'
  32986. security:
  32987. - ApiKeyAuth: []
  32988. summary: 查询指定成交
  32989. tags:
  32990. - 仓单贸易v2
  32991. /WrTrade2/QueryWrStandardFactoryItem:
  32992. get:
  32993. parameters:
  32994. - description: 品类id
  32995. in: query
  32996. name: wrstandardid
  32997. required: true
  32998. type: integer
  32999. produces:
  33000. - application/json
  33001. responses:
  33002. "200":
  33003. description: OK
  33004. schema:
  33005. items:
  33006. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  33007. type: array
  33008. "500":
  33009. description: Internal Server Error
  33010. schema:
  33011. $ref: '#/definitions/app.Response'
  33012. security:
  33013. - ApiKeyAuth: []
  33014. summary: 查询品类要素定义项
  33015. tags:
  33016. - 仓单贸易v2
  33017. /WrTrade2/QueryWrTradeBargainApply:
  33018. get:
  33019. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  33020. 议价->对方议价 填写matchuserid=登录用户id
  33021. parameters:
  33022. - description: 议价人id(摘牌方)
  33023. in: query
  33024. name: userid
  33025. type: integer
  33026. - description: 挂牌方id(查对方议价时,填写此项)
  33027. in: query
  33028. name: matchuserid
  33029. type: integer
  33030. - description: 关联委托单id
  33031. in: query
  33032. name: wrtradeorderid
  33033. type: integer
  33034. - description: 0:仓单预售 1:仓单贸易
  33035. in: query
  33036. name: haswr
  33037. required: true
  33038. type: integer
  33039. - description: 开始交易日(yyyymmdd)
  33040. in: query
  33041. name: begindate
  33042. type: string
  33043. - description: 结束交易日(yyyymmdd)
  33044. in: query
  33045. name: enddate
  33046. type: string
  33047. produces:
  33048. - application/json
  33049. responses:
  33050. "200":
  33051. description: OK
  33052. schema:
  33053. items:
  33054. $ref: '#/definitions/models.WRTradeBargainApply'
  33055. type: array
  33056. "500":
  33057. description: Internal Server Error
  33058. schema:
  33059. $ref: '#/definitions/app.Response'
  33060. security:
  33061. - ApiKeyAuth: []
  33062. summary: 查询议价单
  33063. tags:
  33064. - 仓单贸易v2
  33065. /WrTrade2/QueryWrTradeDetail:
  33066. get:
  33067. parameters:
  33068. - description: 页码
  33069. in: query
  33070. name: page
  33071. type: integer
  33072. - description: 每页条数
  33073. in: query
  33074. name: pagesize
  33075. type: integer
  33076. - description: 用户id
  33077. in: query
  33078. name: userid
  33079. required: true
  33080. type: integer
  33081. - description: 仓单贸易市场id
  33082. in: query
  33083. name: marketid
  33084. type: integer
  33085. - description: 0:仓单预售 1:仓单贸易
  33086. in: query
  33087. name: haswr
  33088. required: true
  33089. type: integer
  33090. - description: 开始交易日(yyyymmdd)
  33091. in: query
  33092. name: begindate
  33093. type: string
  33094. - description: 结束交易日(yyyymmdd)
  33095. in: query
  33096. name: enddate
  33097. type: string
  33098. produces:
  33099. - application/json
  33100. responses:
  33101. "200":
  33102. description: OK
  33103. schema:
  33104. items:
  33105. $ref: '#/definitions/models.WrTradeDetail'
  33106. type: array
  33107. "500":
  33108. description: Internal Server Error
  33109. schema:
  33110. $ref: '#/definitions/app.Response'
  33111. security:
  33112. - ApiKeyAuth: []
  33113. summary: 查询仓单成交明细
  33114. tags:
  33115. - 仓单贸易v2
  33116. /WrTrade2/QueryWrTradeOrderDetail:
  33117. get:
  33118. parameters:
  33119. - description: 页码
  33120. in: query
  33121. name: page
  33122. type: integer
  33123. - description: 每页条数
  33124. in: query
  33125. name: pagesize
  33126. type: integer
  33127. - description: 商品id
  33128. in: query
  33129. name: goodsid
  33130. required: true
  33131. type: integer
  33132. - description: 买卖方向 0-买 1-卖
  33133. in: query
  33134. name: buyorsell
  33135. required: true
  33136. type: integer
  33137. produces:
  33138. - application/json
  33139. responses:
  33140. "200":
  33141. description: OK
  33142. schema:
  33143. items:
  33144. $ref: '#/definitions/models.WrTradeOrderDetail'
  33145. type: array
  33146. "500":
  33147. description: Internal Server Error
  33148. schema:
  33149. $ref: '#/definitions/app.Response'
  33150. security:
  33151. - ApiKeyAuth: []
  33152. summary: 查询合约交易买卖大厅
  33153. tags:
  33154. - 仓单贸易v2
  33155. /WrTrade2/QueryWrTradeQuote:
  33156. get:
  33157. parameters:
  33158. - description: 现货商品id
  33159. in: query
  33160. name: wrstandardid
  33161. required: true
  33162. type: integer
  33163. - description: 开始日期(yyyymmdd)
  33164. in: query
  33165. name: begindate
  33166. required: true
  33167. type: string
  33168. - description: 结束日期(yyyymmdd)
  33169. in: query
  33170. name: enddate
  33171. required: true
  33172. type: string
  33173. - description: 市场id
  33174. in: query
  33175. name: marketid
  33176. type: integer
  33177. produces:
  33178. - application/json
  33179. responses:
  33180. "200":
  33181. description: OK
  33182. schema:
  33183. items:
  33184. $ref: '#/definitions/models.Wrtradetradequote'
  33185. type: array
  33186. "500":
  33187. description: Internal Server Error
  33188. schema:
  33189. $ref: '#/definitions/app.Response'
  33190. security:
  33191. - ApiKeyAuth: []
  33192. summary: 查询仓单贸易成交行情
  33193. tags:
  33194. - 仓单贸易v2
  33195. /WrTrade2/QueryWrUserFriend:
  33196. get:
  33197. parameters:
  33198. - description: 用户id
  33199. in: query
  33200. name: userid
  33201. required: true
  33202. type: integer
  33203. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33204. in: query
  33205. name: newuserid
  33206. type: integer
  33207. produces:
  33208. - application/json
  33209. responses:
  33210. "200":
  33211. description: OK
  33212. schema:
  33213. items:
  33214. $ref: '#/definitions/models.WrUserFriend'
  33215. type: array
  33216. "500":
  33217. description: Internal Server Error
  33218. schema:
  33219. $ref: '#/definitions/app.Response'
  33220. security:
  33221. - ApiKeyAuth: []
  33222. summary: 查询我的朋友
  33223. tags:
  33224. - 仓单贸易v2
  33225. /WrTrade2/QueryWrUserReceiptInfo:
  33226. get:
  33227. parameters:
  33228. - description: 用户id
  33229. in: query
  33230. name: userid
  33231. type: integer
  33232. - description: 发票类型 - 1:个人 2:企业
  33233. in: query
  33234. name: receipttype
  33235. type: integer
  33236. produces:
  33237. - application/json
  33238. responses:
  33239. "200":
  33240. description: OK
  33241. schema:
  33242. items:
  33243. $ref: '#/definitions/models.WrUserReceiptInfo'
  33244. type: array
  33245. "500":
  33246. description: Internal Server Error
  33247. schema:
  33248. $ref: '#/definitions/app.Response'
  33249. security:
  33250. - ApiKeyAuth: []
  33251. summary: 查询发票信息
  33252. tags:
  33253. - 仓单贸易v2
  33254. /WrTrade2/QueryXhcpSellBackApply:
  33255. get:
  33256. parameters:
  33257. - description: 用户ID
  33258. in: query
  33259. name: userid
  33260. required: true
  33261. type: integer
  33262. produces:
  33263. - application/json
  33264. responses:
  33265. "200":
  33266. description: OK
  33267. schema:
  33268. items:
  33269. $ref: '#/definitions/models.Xhcpsellbackapply'
  33270. type: array
  33271. "500":
  33272. description: Internal Server Error
  33273. schema:
  33274. $ref: '#/definitions/app.Response'
  33275. security:
  33276. - ApiKeyAuth: []
  33277. summary: 查询我的回收申请(新会陈皮)
  33278. tags:
  33279. - 仓单贸易v2
  33280. /ZJ/GetBankTip:
  33281. get:
  33282. produces:
  33283. - application/json
  33284. responses:
  33285. "200":
  33286. description: OK
  33287. schema:
  33288. type: string
  33289. "500":
  33290. description: Internal Server Error
  33291. schema:
  33292. $ref: '#/definitions/app.Response'
  33293. summary: 获取中江网银端出入金提示信息
  33294. tags:
  33295. - 中江
  33296. /ZJ/GetCusBankChannels:
  33297. get:
  33298. produces:
  33299. - application/json
  33300. responses:
  33301. "200":
  33302. description: OK
  33303. schema:
  33304. items:
  33305. type: string
  33306. type: array
  33307. "500":
  33308. description: Internal Server Error
  33309. schema:
  33310. $ref: '#/definitions/app.Response'
  33311. summary: 获取中江出入金渠道显示列表
  33312. tags:
  33313. - 中江
  33314. securityDefinitions:
  33315. ApiKeyAuth:
  33316. in: header
  33317. name: Authorization
  33318. type: apiKey
  33319. Group:
  33320. in: header
  33321. name: Group
  33322. type: apiKey
  33323. LoginID:
  33324. in: header
  33325. name: LoginID
  33326. type: apiKey
  33327. swagger: "2.0"