swagger.yaml 924 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309
  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. cerno:
  9649. description: 证书编号 - 类型:2,4,5
  9650. type: string
  9651. cpcertno:
  9652. description: 金伯利证书编号 - 类型:3
  9653. type: string
  9654. goodsno:
  9655. description: 商品编号
  9656. type: string
  9657. imagepath:
  9658. description: 商品照片(相对地址)
  9659. type: string
  9660. isvalid:
  9661. description: 是否有效 - 0:无效 1:有效
  9662. type: integer
  9663. kppath:
  9664. description: 金伯利证书图片(相对地址) - 类型:3
  9665. type: string
  9666. kpweight:
  9667. description: 金伯利证书重量 - 类型:3
  9668. type: string
  9669. marketprice:
  9670. description: 市场价
  9671. type: string
  9672. mobile:
  9673. description: 手机号码
  9674. type: string
  9675. origin:
  9676. description: 原产地 - 类型:3
  9677. type: string
  9678. performancetemplateid:
  9679. description: 履约计划模板ID
  9680. type: integer
  9681. price:
  9682. description: 总价(价格) - 类型:1,2,3,4,5
  9683. type: number
  9684. priceper:
  9685. description: 克拉单价 - 类型:1,2,3,5
  9686. type: string
  9687. remainqty:
  9688. description: 剩余重量
  9689. type: number
  9690. remark:
  9691. description: 备注
  9692. type: string
  9693. sellusername:
  9694. description: 账户名称(机构名称)
  9695. type: string
  9696. settingmaterial:
  9697. description: 镶嵌材料 - 类型:4
  9698. type: string
  9699. size1:
  9700. description: 尺寸1 - 类型:2,4,5
  9701. type: string
  9702. size2:
  9703. description: 尺寸2 - 类型:2,4,5
  9704. type: string
  9705. size3:
  9706. description: 尺寸3 - 类型:2,4,5
  9707. type: string
  9708. stonedesc:
  9709. description: 配石描述 - 类型:4
  9710. type: string
  9711. userid:
  9712. description: 用户ID
  9713. type: integer
  9714. warehouseid:
  9715. description: 仓库ID
  9716. type: integer
  9717. warehousenamedisplay:
  9718. type: string
  9719. weight:
  9720. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9721. type: number
  9722. weightavg:
  9723. description: 平均单颗重量 - 类型:1,3
  9724. type: number
  9725. wrpath:
  9726. description: 仓单扫描件(相对地址)
  9727. type: string
  9728. wrstandardid:
  9729. description: 现货商品ID
  9730. type: integer
  9731. wrtradeorderid:
  9732. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9733. type: string
  9734. zscategory:
  9735. description: 钻石分类 - 枚举”ZSCategory“
  9736. type: integer
  9737. zscategorydisplay:
  9738. type: string
  9739. zscerttype:
  9740. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9741. type: integer
  9742. zscerttypedisplay:
  9743. type: string
  9744. zsclaritytype1:
  9745. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9746. type: integer
  9747. zsclaritytype1display:
  9748. type: string
  9749. zsclaritytype2:
  9750. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9751. type: integer
  9752. zsclaritytype2display:
  9753. type: string
  9754. zscolortype1:
  9755. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9756. type: integer
  9757. zscolortype1display:
  9758. type: string
  9759. zscolortype2:
  9760. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9761. type: integer
  9762. zscolortype2display:
  9763. type: string
  9764. zscrystaltype:
  9765. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9766. type: string
  9767. zscrystaltypedisplay:
  9768. type: string
  9769. zscurrencytype:
  9770. description: 货币类型 - 枚举“ZSCurrencyType”
  9771. type: integer
  9772. zscurrencytypedisplay:
  9773. type: string
  9774. zscurrencytypedisplayunit:
  9775. type: string
  9776. zscuttype1:
  9777. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9778. type: integer
  9779. zscuttype1display:
  9780. type: string
  9781. zscuttype2:
  9782. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9783. type: integer
  9784. zscuttype2display:
  9785. type: string
  9786. zsczcolor1type:
  9787. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9788. type: integer
  9789. zsczcolor1typedisplay:
  9790. type: string
  9791. zsczcolor2type:
  9792. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9793. type: integer
  9794. zsczcolor2typedisplay:
  9795. type: string
  9796. zsczcolor3type:
  9797. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9798. type: integer
  9799. zsczcolor3typedisplay:
  9800. type: string
  9801. zsfluorescencetype1:
  9802. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9803. type: integer
  9804. zsfluorescencetype1display:
  9805. type: string
  9806. zsfluorescencetype2:
  9807. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9808. type: integer
  9809. zsfluorescencetype2display:
  9810. type: string
  9811. zspolishtype1:
  9812. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9813. type: integer
  9814. zspolishtype1display:
  9815. type: string
  9816. zspolishtype2:
  9817. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9818. type: integer
  9819. zspolishtype2display:
  9820. type: string
  9821. zsshapetype:
  9822. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9823. type: string
  9824. zsshapetypedisplay:
  9825. type: string
  9826. zsstyletype:
  9827. description: 款式 - 类型:4
  9828. type: integer
  9829. zsstyletypedisplay:
  9830. type: string
  9831. zssymmetrytype1:
  9832. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9833. type: integer
  9834. zssymmetrytype1display:
  9835. type: string
  9836. zssymmetrytype2:
  9837. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9838. type: integer
  9839. zssymmetrytype2display:
  9840. type: string
  9841. required:
  9842. - goodsno
  9843. type: object
  9844. models.GZHomeData:
  9845. properties:
  9846. purchasedtransactions:
  9847. description: 已购买的交易
  9848. type: integer
  9849. transactioninpurchase:
  9850. description: 求购中的交易
  9851. type: integer
  9852. transactionsonsale:
  9853. description: 出售中的交易
  9854. type: integer
  9855. transactionssold:
  9856. description: 已卖出的交易
  9857. type: integer
  9858. unhandledmessage:
  9859. description: 未处理消息
  9860. type: integer
  9861. type: object
  9862. models.GZWarehouseinfo:
  9863. properties:
  9864. address:
  9865. description: 详细地址
  9866. type: string
  9867. areauserid:
  9868. description: 所属机构
  9869. type: integer
  9870. autoid:
  9871. description: 自增ID
  9872. type: integer
  9873. cityid:
  9874. description: 市
  9875. type: integer
  9876. cityname:
  9877. description: 城市名称
  9878. type: string
  9879. contactname:
  9880. description: 联系人
  9881. type: string
  9882. contactnum:
  9883. description: 联系电话
  9884. type: string
  9885. countryid:
  9886. description: 国家
  9887. type: integer
  9888. countryname:
  9889. description: 国家名称
  9890. type: string
  9891. createtime:
  9892. description: 创建时间
  9893. type: string
  9894. districtid:
  9895. description: 区
  9896. type: integer
  9897. districtname:
  9898. description: 地区名称
  9899. type: string
  9900. hasvideo:
  9901. description: 是否有视频 - 0:无 1:有
  9902. type: integer
  9903. provinceid:
  9904. description: 省
  9905. type: integer
  9906. provincename:
  9907. description: 省名称
  9908. type: string
  9909. remark:
  9910. description: 审核备注
  9911. type: string
  9912. videourl:
  9913. description: 视频地址
  9914. type: string
  9915. warehousecode:
  9916. description: 仓库代码
  9917. type: string
  9918. warehousename:
  9919. description: 仓库名称
  9920. type: string
  9921. warehousestatus:
  9922. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9923. type: integer
  9924. warehousetype:
  9925. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9926. type: integer
  9927. type: object
  9928. models.Goods:
  9929. properties:
  9930. agreeunit:
  9931. description: 合约单位
  9932. type: number
  9933. areauserid:
  9934. description: 所属机构
  9935. type: integer
  9936. auditaccountid:
  9937. description: 审核操作员账号
  9938. type: integer
  9939. audittime:
  9940. description: 审核时间
  9941. type: string
  9942. cancelaccountid:
  9943. description: 注销操作员账号
  9944. type: integer
  9945. canceltime:
  9946. description: 注销时间
  9947. type: string
  9948. closepricemode:
  9949. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9950. type: integer
  9951. closepriceparam:
  9952. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9953. type: number
  9954. createtime:
  9955. description: 创建时间
  9956. type: string
  9957. creatorid:
  9958. description: 创建人
  9959. type: integer
  9960. currencyid:
  9961. description: 报价货币ID
  9962. type: integer
  9963. cutmode:
  9964. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9965. type: integer
  9966. decimalplace:
  9967. description: 报价小数位
  9968. type: integer
  9969. delistingdate:
  9970. description: 商品退市时间(状态:退市) -- 已作废
  9971. type: string
  9972. delistingmode:
  9973. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9974. type: integer
  9975. deliveryflag:
  9976. description: 交割标志 - 0:不可交割 1:可交割
  9977. type: integer
  9978. forceclosemode:
  9979. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9980. type: integer
  9981. forceclosevalue:
  9982. description: 定期强平参数 [收益权]
  9983. type: integer
  9984. goodscode:
  9985. description: 商品代码(内部)
  9986. type: string
  9987. goodscurrencyid:
  9988. description: 合约货币ID
  9989. type: integer
  9990. goodsgroupid:
  9991. description: 所属商品组ID
  9992. type: integer
  9993. goodsid:
  9994. description: 商品ID(自增ID SEQ_GOODS)
  9995. type: integer
  9996. goodsname:
  9997. description: 商品名称
  9998. type: string
  9999. goodsquotetype:
  10000. description: '合约报价类型: 1-直接报价 2-间接报价'
  10001. type: integer
  10002. goodsstatus:
  10003. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10004. type: integer
  10005. goodstradetype:
  10006. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10007. type: integer
  10008. goodunitid:
  10009. description: 报价单位ID
  10010. type: integer
  10011. hasquoter:
  10012. description: 是否有报价商 - 0:无报价商 1:有报价商
  10013. type: integer
  10014. hqprotecttime:
  10015. description: 行情保护时间(秒)
  10016. type: integer
  10017. innerdealmode:
  10018. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10019. type: integer
  10020. isbuylimited:
  10021. description: 是否限制建仓量 - 0:不限制 1:限制
  10022. type: integer
  10023. isvisible:
  10024. description: 游客是否可见 - 0:不可见 1:可见
  10025. type: integer
  10026. lasttradedate:
  10027. description: 最后交易日期(状态:待退市)
  10028. type: string
  10029. listingdate:
  10030. description: 交易开始日期
  10031. type: string
  10032. marketid:
  10033. description: 所属市场ID
  10034. type: integer
  10035. modifierid:
  10036. description: 修改人
  10037. type: integer
  10038. modifystatus:
  10039. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10040. type: integer
  10041. modifytime:
  10042. description: 修改时间
  10043. type: string
  10044. outerdealmode:
  10045. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10046. type: integer
  10047. outgoodscode:
  10048. description: 商品代码(外部)
  10049. type: string
  10050. pictureurl:
  10051. description: 商品图片
  10052. type: string
  10053. qtydecimalplace:
  10054. description: 成交量小数位
  10055. type: integer
  10056. quotegear:
  10057. description: 行情档位(1-10)
  10058. type: integer
  10059. quoteminunit:
  10060. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10061. type: integer
  10062. quoteshowtype:
  10063. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10064. type: integer
  10065. quoteshowtypeinterval:
  10066. description: 行情报价间隔时间(秒)(成交价时为0)
  10067. type: integer
  10068. remark:
  10069. description: 备注
  10070. type: string
  10071. required:
  10072. - goodscode
  10073. - goodsid
  10074. - goodsname
  10075. - marketid
  10076. type: object
  10077. models.GoodsIDAndName:
  10078. properties:
  10079. goodscode:
  10080. description: 商品代码(内部)
  10081. type: string
  10082. goodsid:
  10083. description: 商品ID(自增ID SEQ_GOODS)
  10084. type: integer
  10085. goodsname:
  10086. description: 商品名称
  10087. type: string
  10088. marketid:
  10089. description: 所属市场ID
  10090. type: integer
  10091. required:
  10092. - goodscode
  10093. - goodsid
  10094. - goodsname
  10095. - marketid
  10096. type: object
  10097. models.Goodsgroup:
  10098. properties:
  10099. agreeunit:
  10100. description: 合约单位
  10101. type: number
  10102. canshort:
  10103. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10104. type: integer
  10105. closepricemode:
  10106. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10107. type: integer
  10108. closepriceparam:
  10109. description: 强平最新价浮动比例 - 方式为2时使用
  10110. type: number
  10111. createtime:
  10112. description: 创建时间
  10113. type: string
  10114. creatorid:
  10115. description: 创建人
  10116. type: integer
  10117. currencyid:
  10118. description: 报价货币ID
  10119. type: integer
  10120. decimalplace:
  10121. description: 报价小数位
  10122. type: integer
  10123. exercisetype:
  10124. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10125. type: integer
  10126. exexchangeid:
  10127. description: 外部交易所ID[通道交易]
  10128. type: integer
  10129. goodsgroupid:
  10130. description: 商品组ID(自增ID)
  10131. type: integer
  10132. goodsgroupname:
  10133. description: 商品组名称
  10134. type: string
  10135. goodsgroupstatus:
  10136. description: 商品组状态 - 1:正常 2:注销
  10137. type: integer
  10138. goodunitid:
  10139. description: 报价单位ID
  10140. type: integer
  10141. innerdealmode:
  10142. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10143. type: integer
  10144. isbuylimited:
  10145. description: 是否限制建仓量 - 0:不限制 1:限制
  10146. type: integer
  10147. marketid:
  10148. description: 所属市场ID
  10149. type: integer
  10150. modifierid:
  10151. description: 修改人
  10152. type: integer
  10153. modifytime:
  10154. description: 修改时间
  10155. type: string
  10156. outerdealmode:
  10157. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10158. type: integer
  10159. outergroupcode:
  10160. description: 外部商品组代码[通道交易]
  10161. type: string
  10162. premiumdecimalplace:
  10163. description: 权利金小数位[场外期权]
  10164. type: integer
  10165. premiumspreadalgorithm:
  10166. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10167. type: integer
  10168. premiumspreadvalue:
  10169. description: 权利金点差值[场外期权]
  10170. type: number
  10171. qtydecimalplace:
  10172. description: 成交量小数位
  10173. type: integer
  10174. quotegear:
  10175. description: 行情档位(1-10)
  10176. type: integer
  10177. quoteminunit:
  10178. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10179. type: integer
  10180. quoterid:
  10181. description: 报价商ID[场外期权]
  10182. type: integer
  10183. quotesourcegroupid:
  10184. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10185. type: integer
  10186. syncgoodsqty:
  10187. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10188. type: integer
  10189. required:
  10190. - goodsgroupid
  10191. - goodsgroupname
  10192. - goodsgroupstatus
  10193. - marketid
  10194. type: object
  10195. models.Goodssortbypreposition:
  10196. properties:
  10197. goodscode:
  10198. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10199. type: string
  10200. goodsgroupcode:
  10201. description: 品种代码
  10202. type: string
  10203. prepositionqty:
  10204. description: 昨持仓量
  10205. type: integer
  10206. sortindex:
  10207. description: 排序
  10208. type: integer
  10209. tradedate:
  10210. description: 交易日
  10211. type: string
  10212. updatetime:
  10213. description: 更新时间
  10214. type: string
  10215. required:
  10216. - goodscode
  10217. - tradedate
  10218. type: object
  10219. models.GzbsfworderM:
  10220. properties:
  10221. accountid:
  10222. description: 资金账户ID
  10223. type: integer
  10224. addresscn:
  10225. description: 地址(中文)
  10226. type: string
  10227. addressen:
  10228. description: 地址(英文)
  10229. type: string
  10230. advanceamount:
  10231. description: 总预付款
  10232. type: number
  10233. colorrange:
  10234. description: 颜色范围
  10235. type: string
  10236. companynamecn:
  10237. description: 收货人(中文)
  10238. type: string
  10239. companynameen:
  10240. description: 收货人(英文)
  10241. type: string
  10242. contactfax:
  10243. description: 收货人传真
  10244. type: string
  10245. contactname:
  10246. description: 收货人姓名
  10247. type: string
  10248. contactphoneno:
  10249. description: 收货人电话
  10250. type: string
  10251. contentrange:
  10252. description: 【内容】内容范围
  10253. type: string
  10254. createtime:
  10255. description: 创建时间
  10256. type: string
  10257. executestatus:
  10258. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10259. type: integer
  10260. gzbsdeliverytype:
  10261. description: 收货方式 - 枚举"GZBSDeliveryType"
  10262. type: integer
  10263. gzbsstatus:
  10264. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10265. type: integer
  10266. gzbsstatusdisplay:
  10267. description: 单据状态
  10268. type: string
  10269. handlestatus:
  10270. description: 处理状态
  10271. type: integer
  10272. orderdate:
  10273. description: 单据日期
  10274. type: string
  10275. orderid:
  10276. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10277. type: integer
  10278. orderno:
  10279. description: 单据编号 - GZDEBSFW+单据流水号
  10280. type: string
  10281. ordersn:
  10282. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10283. type: string
  10284. origincountry:
  10285. description: 原产国
  10286. type: string
  10287. otherlogistics:
  10288. description: 指定其它物流
  10289. type: string
  10290. priceper:
  10291. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10292. type: number
  10293. settleamount:
  10294. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10295. type: number
  10296. shaperange:
  10297. description: 形状范围
  10298. type: string
  10299. taxmargin:
  10300. description: 税费保证金 - 确认结算费用时退回
  10301. type: number
  10302. totalamount:
  10303. description: 总值(美元)
  10304. type: number
  10305. totalgrossweightgm:
  10306. description: 总毛重(克)
  10307. type: number
  10308. totalnetweightgm:
  10309. description: 总净重(克)
  10310. type: number
  10311. totalnetweigthct:
  10312. description: 总净重(克拉)
  10313. type: number
  10314. totalnumber:
  10315. description: 总粒数
  10316. type: integer
  10317. userid:
  10318. description: 用户ID
  10319. type: integer
  10320. weightrange:
  10321. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10322. type: string
  10323. required:
  10324. - userid
  10325. type: object
  10326. models.GzbsfworderdetailM:
  10327. properties:
  10328. colorinfo:
  10329. description: 彩钻信息
  10330. type: string
  10331. createtime:
  10332. description: 创建时间
  10333. type: string
  10334. grossweightgm:
  10335. description: 毛重(克)
  10336. type: number
  10337. gzcjshape:
  10338. description: 形状(字符)
  10339. type: string
  10340. netweigthct:
  10341. description: 净重(克拉)
  10342. type: number
  10343. netweigthgm:
  10344. description: 净重(克)
  10345. type: number
  10346. ordercontent:
  10347. description: 内容
  10348. type: string
  10349. orderdetailid:
  10350. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10351. type: integer
  10352. orderid:
  10353. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10354. type: integer
  10355. orderindex:
  10356. description: 顺序
  10357. type: integer
  10358. perprice:
  10359. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10360. type: number
  10361. remark:
  10362. description: 备注(其它)
  10363. type: string
  10364. totalamount:
  10365. description: 总值(美元)
  10366. type: number
  10367. type: object
  10368. models.Gzbsfworderoperate:
  10369. properties:
  10370. advanceproofaddr:
  10371. description: 预付款收款凭证(确认结算费用时)
  10372. type: string
  10373. bankfee:
  10374. description: 汇款银行手续费
  10375. type: number
  10376. bankproofaddr:
  10377. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10378. type: string
  10379. customsproofaddr:
  10380. description: 海关税费保证金收据(确认结算费用时)
  10381. type: string
  10382. gzbsstatus:
  10383. description: 操作后单据状态 - 枚举"GZBSStatus"
  10384. type: integer
  10385. logisticsfee:
  10386. description: 代缴物流保险费
  10387. type: number
  10388. logisticsproofaddr:
  10389. description: 代缴物流保险费凭证(确认结算费用时)
  10390. type: string
  10391. operatetime:
  10392. description: 操作时间
  10393. type: string
  10394. operatoraccount:
  10395. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10396. type: string
  10397. operatorid:
  10398. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10399. type: integer
  10400. operatorname:
  10401. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10402. type: string
  10403. operatorsrc:
  10404. description: 操作人来源 - 1:管理端 2:终端
  10405. type: integer
  10406. orderid:
  10407. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10408. type: integer
  10409. otherfee:
  10410. description: 其它费用
  10411. type: number
  10412. remark:
  10413. description: 操作备注
  10414. type: string
  10415. servicefee:
  10416. description: 综合服务费
  10417. type: number
  10418. taxmargin:
  10419. description: 税费保证金
  10420. type: number
  10421. totalfee:
  10422. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10423. type: number
  10424. required:
  10425. - orderid
  10426. type: object
  10427. models.Gzcertaddressconfig:
  10428. properties:
  10429. certregion:
  10430. description: 证书地域 - 1:国内 2:国际
  10431. type: integer
  10432. certtype:
  10433. description: 证书类型
  10434. type: string
  10435. orderindex:
  10436. description: 显示顺序
  10437. type: integer
  10438. orgcnname:
  10439. description: 机构名称(中文)
  10440. type: string
  10441. orgenname:
  10442. description: 机构名称(英文)
  10443. type: string
  10444. queryaddress:
  10445. description: 查询地址
  10446. type: string
  10447. remark:
  10448. description: 备注
  10449. type: string
  10450. updatetime:
  10451. description: 更新时间
  10452. type: string
  10453. type: object
  10454. models.Gzcertaddressparam:
  10455. properties:
  10456. certtype:
  10457. description: 证书类型
  10458. type: string
  10459. orderindex:
  10460. description: 参数顺序
  10461. type: integer
  10462. paramkey:
  10463. description: 参数Key
  10464. type: string
  10465. paramname:
  10466. description: 参数名称
  10467. type: string
  10468. updatetime:
  10469. description: 更新时间
  10470. type: string
  10471. type: object
  10472. models.GzcjbsorderfileM:
  10473. properties:
  10474. canmembervisit:
  10475. description: 会员是否可访问 - 1:可 2:不可
  10476. type: integer
  10477. fileaddress:
  10478. description: 文件地址
  10479. type: string
  10480. filegentype:
  10481. description: 文件生成类型 - 1:系统生成 2:手动上传
  10482. type: integer
  10483. filename:
  10484. description: 文件名称
  10485. type: string
  10486. operatetime:
  10487. description: 操作时间
  10488. type: string
  10489. operatoraccount:
  10490. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10491. type: string
  10492. operatorid:
  10493. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10494. type: integer
  10495. operatorsrc:
  10496. description: 操作人来源 - 1:管理端 2:终端
  10497. type: integer
  10498. orderfileid:
  10499. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10500. type: integer
  10501. orderid:
  10502. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10503. type: integer
  10504. required:
  10505. - orderid
  10506. type: object
  10507. models.GzcjjcorderM:
  10508. properties:
  10509. accountid:
  10510. description: 资金账户ID
  10511. type: integer
  10512. addresscn:
  10513. description: 地址(中文)
  10514. type: string
  10515. addressen:
  10516. description: 地址(英文)
  10517. type: string
  10518. advanceamount:
  10519. description: 总预付款
  10520. type: number
  10521. colorrange:
  10522. description: 颜色范围
  10523. type: string
  10524. companynamecn:
  10525. description: 公司名称(中文)
  10526. type: string
  10527. companynameen:
  10528. description: 公司名称(英文)
  10529. type: string
  10530. contactname:
  10531. description: 联系人姓名
  10532. type: string
  10533. contactphoneno:
  10534. description: 联系人电话
  10535. type: string
  10536. contactposition:
  10537. description: 联系人职位
  10538. type: string
  10539. createtime:
  10540. description: 创建时间
  10541. type: string
  10542. email:
  10543. description: 邮箱
  10544. type: string
  10545. executestatus:
  10546. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10547. type: integer
  10548. gzcjaccount:
  10549. description: 送检账户
  10550. type: string
  10551. gzcjaccounttype:
  10552. description: 检测账户类型 - 枚举"GZCJAccountType"
  10553. type: integer
  10554. gzcjcategorytype:
  10555. description: 货物品类 - 枚举"GZCJCategoryType"
  10556. type: integer
  10557. gzcjcategorytypedisplay:
  10558. description: 货物品类
  10559. type: string
  10560. gzcjdeliverytype:
  10561. description: 收货方式 - 枚举"GZCJDeliveryType"
  10562. type: integer
  10563. gzcjdeliverytypedisplay:
  10564. description: 收货方式
  10565. type: string
  10566. gzcjstatus:
  10567. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10568. type: integer
  10569. gzcjstatusdisplay:
  10570. description: 单据状态(出境检测)
  10571. type: string
  10572. handlestatus:
  10573. description: 处理状态
  10574. type: integer
  10575. invoiceremark:
  10576. description: 复核备注 - 发票装箱单使用
  10577. type: string
  10578. orderid:
  10579. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10580. type: integer
  10581. orderno:
  10582. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10583. type: string
  10584. ordersn:
  10585. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10586. type: string
  10587. origincountry:
  10588. description: 原产国
  10589. type: string
  10590. processingcountry:
  10591. description: 成品钻石加工国
  10592. type: string
  10593. realservicefee:
  10594. description: 应收综合服务费
  10595. type: number
  10596. servicefeesum:
  10597. description: 汇总综合服务费 - 明细上值汇总
  10598. type: number
  10599. settleamount:
  10600. description: 总结算费用
  10601. type: number
  10602. shaperange:
  10603. description: 形状范围
  10604. type: string
  10605. totalamount:
  10606. description: 总金额(美元)
  10607. type: number
  10608. totalgrossweight:
  10609. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10610. * 200
  10611. type: number
  10612. totalnumber:
  10613. description: 总粒数
  10614. type: integer
  10615. totalweight:
  10616. description: 总克拉数(保留3位小数)
  10617. type: number
  10618. totalweightgm:
  10619. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10620. type: number
  10621. userid:
  10622. description: 用户ID
  10623. type: integer
  10624. weightrange:
  10625. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10626. type: string
  10627. zsorigin:
  10628. description: 天然钻石毛坯原产地
  10629. type: string
  10630. required:
  10631. - userid
  10632. type: object
  10633. models.GzcjjcorderdetailM:
  10634. properties:
  10635. amount:
  10636. description: 参考货值(USD)
  10637. type: number
  10638. colorinfo:
  10639. description: 彩钻信息
  10640. type: string
  10641. createtime:
  10642. description: 创建时间
  10643. type: string
  10644. gzcjmarktype:
  10645. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10646. type: integer
  10647. gzcjpublishtype:
  10648. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10649. type: integer
  10650. gzcjpublishtypestring:
  10651. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10652. type: string
  10653. gzcjservicetype:
  10654. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10655. type: integer
  10656. gzcjservicetypestring:
  10657. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10658. type: string
  10659. gzcjshapetype:
  10660. description: 形状 - 枚举"GZCJShapeType"
  10661. type: integer
  10662. gzcjshapetypestring:
  10663. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10664. type: string
  10665. gzno:
  10666. description: 货物编号
  10667. type: string
  10668. orderdetailid:
  10669. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10670. type: integer
  10671. orderid:
  10672. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10673. type: integer
  10674. orderindex:
  10675. description: 顺序
  10676. type: integer
  10677. origincertno:
  10678. description: 原证书号【送检账户为“广钻账户”】
  10679. type: string
  10680. remark:
  10681. description: 备注(其它)
  10682. type: string
  10683. servicefee:
  10684. description: 综合服务费 - 根据市场配置计算
  10685. type: number
  10686. weight:
  10687. description: 重量(CT)
  10688. type: number
  10689. type: object
  10690. models.Gzrapaportprice:
  10691. properties:
  10692. dollar:
  10693. description: 美元
  10694. type: string
  10695. rmb:
  10696. description: 人民币
  10697. type: string
  10698. type: object
  10699. models.Hedgeinnerholderdetail:
  10700. properties:
  10701. accountid:
  10702. description: 账号ID
  10703. type: integer
  10704. buyorsell:
  10705. description: 方向 - 0:买 1:卖
  10706. type: integer
  10707. freezeqty:
  10708. description: 冻结数量 - 按单平使用
  10709. type: integer
  10710. goodsid:
  10711. description: 商品ID
  10712. type: integer
  10713. holderamount:
  10714. description: 持仓金额 [商品币种]
  10715. type: number
  10716. holderdays:
  10717. description: 剩余冻结天数
  10718. type: integer
  10719. holderprice:
  10720. description: 持仓价格
  10721. type: number
  10722. holderqty:
  10723. description: 持仓数量
  10724. type: integer
  10725. marketid:
  10726. description: 市场ID
  10727. type: integer
  10728. openprice:
  10729. description: 建仓价格
  10730. type: number
  10731. openqty:
  10732. description: 建仓数量
  10733. type: integer
  10734. parentaccountid:
  10735. description: 所属母账户
  10736. type: integer
  10737. releaseamount:
  10738. description: 释放持仓金额[商品币种]
  10739. type: number
  10740. tradeamount:
  10741. description: 成交金额[账户]
  10742. type: number
  10743. tradedate:
  10744. description: 交易日(yyyyMMdd)
  10745. type: string
  10746. tradeid:
  10747. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10748. type: string
  10749. tradetime:
  10750. description: 交易时间
  10751. type: string
  10752. required:
  10753. - buyorsell
  10754. - tradeid
  10755. type: object
  10756. models.Hedgemarketopenlog:
  10757. properties:
  10758. accountid:
  10759. description: 资金账号[外部母账户]
  10760. type: integer
  10761. fcname:
  10762. description: 期货公司名称
  10763. type: string
  10764. handlestatus:
  10765. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10766. type: integer
  10767. marketid:
  10768. description: 市场ID
  10769. type: integer
  10770. status:
  10771. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10772. type: integer
  10773. tradedate:
  10774. description: 交易日(yyyyMMdd)
  10775. type: string
  10776. updatetime:
  10777. description: 更新时间
  10778. type: string
  10779. required:
  10780. - accountid
  10781. type: object
  10782. models.InternalEnableTradeDetail:
  10783. properties:
  10784. agreeunit:
  10785. description: 合约乘数
  10786. type: number
  10787. areauserid:
  10788. description: 企业ID
  10789. type: integer
  10790. convertratio:
  10791. description: 品种系数
  10792. type: number
  10793. deliverygoodscode:
  10794. description: 现货品种代码
  10795. type: string
  10796. deliverygoodsid:
  10797. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10798. type: integer
  10799. deliverygoodsname:
  10800. description: 现货品种名称
  10801. type: string
  10802. futurehedgeqty:
  10803. description: '[已关联数量]期货持仓套期量'
  10804. type: number
  10805. goodsid:
  10806. description: 期货合约ID
  10807. type: integer
  10808. hedgeditemid:
  10809. description: 被套期项目ID
  10810. type: string
  10811. hedgeditemnum:
  10812. description: 项目编号
  10813. type: string
  10814. tradeuserid:
  10815. description: 交易用户ID
  10816. type: integer
  10817. unexehedgeqty:
  10818. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10819. type: number
  10820. unexespotqty:
  10821. description: 未执行现货量
  10822. type: number
  10823. wrstandardcode:
  10824. description: 现货品类代码
  10825. type: string
  10826. wrstandardid:
  10827. description: 现货品类ID(SEQ_WRSTANDARD)
  10828. type: integer
  10829. wrstandardname:
  10830. description: 现货品类名称
  10831. type: string
  10832. required:
  10833. - areauserid
  10834. - goodsid
  10835. - tradeuserid
  10836. type: object
  10837. models.InternalUncorrelatedTradeDetail:
  10838. properties:
  10839. accountid:
  10840. description: 账号ID
  10841. type: integer
  10842. accountname:
  10843. description: 套期主体
  10844. type: string
  10845. agreeunit:
  10846. description: 合约乘数
  10847. type: number
  10848. areauserid:
  10849. description: 所属机构
  10850. type: integer
  10851. bizsubjectid:
  10852. description: 归属业务部门ID - SubjectID
  10853. type: integer
  10854. buyorsell:
  10855. description: 方向 - 0:买 1:卖
  10856. type: integer
  10857. channelbuildtype:
  10858. description: 委托单据类型 0:无 1:建仓 2:平仓
  10859. type: integer
  10860. convertratio:
  10861. description: 品种系数
  10862. type: number
  10863. createtime:
  10864. description: 创建时间
  10865. type: string
  10866. creatorid:
  10867. description: 创建人ID
  10868. type: integer
  10869. creatorsrc:
  10870. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10871. type: integer
  10872. enableqty:
  10873. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10874. type: number
  10875. enumdicname:
  10876. description: 单位
  10877. type: string
  10878. goodscode:
  10879. description: 合约代码
  10880. type: string
  10881. goodsgroupid:
  10882. description: 对冲品种ID[期货合约商品组ID]
  10883. type: integer
  10884. goodsid:
  10885. description: 商品ID
  10886. type: integer
  10887. goodsname:
  10888. description: 合约名称
  10889. type: string
  10890. hedgeditemid:
  10891. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10892. type: integer
  10893. hedgeflag:
  10894. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10895. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10896. type: integer
  10897. linkdetailid:
  10898. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10899. type: string
  10900. linkstatus:
  10901. description: 关联状态 - 1:成功 2:失败 3:解绑
  10902. type: integer
  10903. middlegoodsid:
  10904. description: 套保品种ID
  10905. type: integer
  10906. middlegoodsqty:
  10907. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10908. type: number
  10909. relatedlot:
  10910. description: '[数量]关联手数'
  10911. type: number
  10912. relatedmode:
  10913. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10914. type: integer
  10915. relatedqty:
  10916. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10917. type: number
  10918. retcode:
  10919. description: 返回码
  10920. type: integer
  10921. saleuserid:
  10922. description: 业务员ID
  10923. type: integer
  10924. tradedate:
  10925. description: 关联交易日(yyyyMMdd)
  10926. type: string
  10927. tradeid:
  10928. description: 成交单号
  10929. type: string
  10930. tradelot:
  10931. description: 成交手数
  10932. type: integer
  10933. tradeprice:
  10934. description: 成交价
  10935. type: number
  10936. tradetime:
  10937. description: 成交时间
  10938. type: string
  10939. tradetradedate:
  10940. description: 成交交易日(yyyyMMdd)
  10941. type: string
  10942. tradeuserid:
  10943. description: 交易用户ID
  10944. type: integer
  10945. type: object
  10946. models.Loginaccount:
  10947. properties:
  10948. accountname:
  10949. description: 账户名称
  10950. type: string
  10951. canoutin:
  10952. description: 是否可出入金 - 0:不可 1:可
  10953. type: integer
  10954. clientroleid:
  10955. description: 终端角色ID
  10956. type: integer
  10957. haslogined:
  10958. description: 是否已登录 - 0:未登录 1:已登录
  10959. type: integer
  10960. hasupdatedpwd:
  10961. description: 是否已更改密码 - 0:未修改 1:已修改
  10962. type: integer
  10963. lastloginip:
  10964. description: 最新登录地址
  10965. type: string
  10966. lastloginmode:
  10967. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10968. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10969. type: integer
  10970. lastloginremark:
  10971. description: 最新登录描述
  10972. type: string
  10973. lastlogintime:
  10974. description: 最新登录时间
  10975. type: string
  10976. logincode:
  10977. description: 登录代码
  10978. type: string
  10979. loginfailnum:
  10980. description: 连续登录失败次数(登录成功时清零)
  10981. type: integer
  10982. loginid:
  10983. description: 登陆账号
  10984. type: integer
  10985. loginport:
  10986. description: 最新登录端口
  10987. type: integer
  10988. loginstatus:
  10989. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10990. type: integer
  10991. loginusertype:
  10992. description: 登录账号类型 - 1:投资者 2:机构交易员
  10993. type: integer
  10994. mobile:
  10995. description: 手机号码(加密存储)
  10996. type: string
  10997. modifierid:
  10998. description: 修改人
  10999. type: integer
  11000. modifysrc:
  11001. description: 审核来源 - 1:管理端 2:终端
  11002. type: integer
  11003. modifytime:
  11004. description: 修改时间
  11005. type: string
  11006. pwdwrongcount:
  11007. description: 密码错误次数
  11008. type: integer
  11009. relateduserid:
  11010. description: 关联用户ID(机构)
  11011. type: integer
  11012. taaccountrighttype:
  11013. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11014. type: integer
  11015. unfreezetime:
  11016. description: 账户解冻时间
  11017. type: string
  11018. userid:
  11019. description: 用户ID
  11020. type: integer
  11021. required:
  11022. - loginid
  11023. type: object
  11024. models.MainAccountInfo:
  11025. properties:
  11026. accountid:
  11027. description: 账号id
  11028. type: integer
  11029. accountname:
  11030. description: 账号名称(taaccount表中的名称)
  11031. type: string
  11032. appid:
  11033. description: AppID
  11034. type: string
  11035. authcode:
  11036. description: 授权码
  11037. type: string
  11038. brokerid:
  11039. description: 经纪商id
  11040. type: string
  11041. fcid:
  11042. description: 期货公司id
  11043. type: integer
  11044. fcname:
  11045. description: 期货公司代码
  11046. type: string
  11047. hedgeaccountcode:
  11048. description: 外部账号代码(主账号登录代码)
  11049. type: string
  11050. hedgeaccountpwd:
  11051. description: 密码
  11052. type: string
  11053. ismain:
  11054. description: 是否主账号
  11055. type: integer
  11056. relateduserid:
  11057. description: 关联用户id
  11058. type: integer
  11059. userid:
  11060. description: 关联用户id
  11061. type: integer
  11062. type: object
  11063. models.Market:
  11064. properties:
  11065. auctionwrtype:
  11066. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11067. type: integer
  11068. canacceptquote:
  11069. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11070. type: integer
  11071. cangoodsexercise:
  11072. description: '[期权]是否可现货行权- 0:否 1:是'
  11073. type: integer
  11074. cangoodsexercisetype:
  11075. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11076. type: integer
  11077. canmanualquotestrike:
  11078. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11079. type: integer
  11080. canmutistage:
  11081. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11082. type: integer
  11083. canpreexercise:
  11084. description: '[期权]是否可预申报- 0:否 1:是'
  11085. type: integer
  11086. clearinterval:
  11087. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11088. type: integer
  11089. contracttmp:
  11090. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11091. type: string
  11092. exchareaid:
  11093. description: 所属交易所,可以没有
  11094. type: integer
  11095. goodstype:
  11096. description: 商品类型 - 1:交易商品 2:仓单商品
  11097. type: integer
  11098. hasrebate:
  11099. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11100. type: integer
  11101. hastradecredit:
  11102. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11103. type: integer
  11104. haswr:
  11105. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11106. type: integer
  11107. isdeductmargin:
  11108. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11109. type: integer
  11110. isrecordsource:
  11111. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11112. type: integer
  11113. isreleasemargin:
  11114. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11115. type: integer
  11116. marginformula:
  11117. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11118. type: integer
  11119. marginformula2:
  11120. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11121. type: integer
  11122. marketid:
  11123. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11124. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11125. type: integer
  11126. marketname:
  11127. description: 市场名称
  11128. type: string
  11129. marketserviceid:
  11130. description: 市场服务ID
  11131. type: integer
  11132. marketstatus:
  11133. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11134. type: integer
  11135. markettype:
  11136. description: 市场类型- 1:非交易服务 2:交易服务
  11137. type: integer
  11138. matchermode:
  11139. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11140. type: integer
  11141. openmethod:
  11142. description: 开盘模式 - 0 自动 1手动
  11143. type: integer
  11144. otcuserid:
  11145. description: 场外期权做市商[场外期权]
  11146. type: integer
  11147. outersynctime:
  11148. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11149. type: string
  11150. pendingflag:
  11151. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11152. type: integer
  11153. pendingtime:
  11154. description: 待开市时间[通道交易-对冲](HH:mm)
  11155. type: string
  11156. performancetempid:
  11157. description: 履约计划模板ID - 作废
  11158. type: integer
  11159. premiumquotemode:
  11160. description: 权利金报价方式 - 1:自动 2:手动
  11161. type: integer
  11162. rebateratio:
  11163. description: 返利比率[竞价式]
  11164. type: number
  11165. reckonorder:
  11166. description: 结算顺序
  11167. type: integer
  11168. reckonpricealgorithm:
  11169. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11170. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11171. type: integer
  11172. reckonpriceparam:
  11173. description: 结算价参数
  11174. type: integer
  11175. reckontime:
  11176. description: 结算时间[通道交易-对冲](HH:mm)
  11177. type: string
  11178. roleprioritytype:
  11179. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11180. type: integer
  11181. selllistingauditflag:
  11182. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11183. type: integer
  11184. trademarkettype:
  11185. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11186. type: integer
  11187. trademode:
  11188. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11189. 21:竞拍-大宗式 22:受托竞价
  11190. type: integer
  11191. tradeproperty:
  11192. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11193. 8:场外期权
  11194. type: integer
  11195. tradetype:
  11196. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11197. type: integer
  11198. required:
  11199. - marketid
  11200. - marketstatus
  11201. - openmethod
  11202. - reckonpricealgorithm
  11203. - trademode
  11204. - tradeproperty
  11205. type: object
  11206. models.Marketcalendar:
  11207. properties:
  11208. holidaydate:
  11209. description: 节假日期(yyyy-MM-dd)
  11210. type: string
  11211. marketid:
  11212. description: 市场ID
  11213. type: integer
  11214. type: object
  11215. models.Marketrun:
  11216. properties:
  11217. afternexttradedate:
  11218. description: 下下交易日
  11219. type: string
  11220. clearquoteflag:
  11221. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11222. type: integer
  11223. lastreckondate:
  11224. description: 最新交易日(结算成功)
  11225. type: string
  11226. machinedate:
  11227. description: 机器时间
  11228. type: string
  11229. manualflag:
  11230. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11231. type: integer
  11232. marketid:
  11233. description: 市场ID
  11234. type: integer
  11235. nexttradedate:
  11236. description: 下一交易日
  11237. type: string
  11238. pretradedate:
  11239. description: 上一交易日
  11240. type: string
  11241. reckonflag:
  11242. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11243. type: integer
  11244. runstatus:
  11245. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11246. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11247. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11248. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11249. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11250. 62.今日免清算
  11251. type: integer
  11252. sectionid:
  11253. description: 时间段号[多时段时用]
  11254. type: integer
  11255. tradedate:
  11256. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11257. type: string
  11258. tradedate2:
  11259. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11260. type: string
  11261. updatetime:
  11262. description: 更新时间
  11263. type: string
  11264. required:
  11265. - marketid
  11266. - nexttradedate
  11267. - reckonflag
  11268. - runstatus
  11269. - tradedate
  11270. - tradedate2
  11271. type: object
  11272. models.Messageboard:
  11273. properties:
  11274. contactnum:
  11275. description: 联系电话
  11276. type: string
  11277. createtime:
  11278. description: 创建时间
  11279. type: string
  11280. message:
  11281. description: 留言信息
  11282. type: string
  11283. messageboardid:
  11284. description: 留言簿ID(SEQ_MessageBoard)
  11285. type: integer
  11286. userid:
  11287. description: 用户ID
  11288. type: integer
  11289. required:
  11290. - messageboardid
  11291. type: object
  11292. models.MyBargainApply:
  11293. properties:
  11294. accountid:
  11295. description: 摘牌资金账号
  11296. type: integer
  11297. applyprice:
  11298. description: 申请价格
  11299. type: string
  11300. applyremark:
  11301. description: 申请备注
  11302. type: string
  11303. applystatus:
  11304. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11305. type: integer
  11306. applytime:
  11307. description: 申请时间
  11308. type: string
  11309. buyorsell:
  11310. description: 买卖 - 0:买 1:卖
  11311. type: integer
  11312. buyusername:
  11313. description: 买方
  11314. type: string
  11315. confirmprice:
  11316. description: 可接受价格(拒绝时填写)-作废
  11317. type: number
  11318. confirmqty:
  11319. description: 可接受数量(拒绝时填写)-作废
  11320. type: integer
  11321. confirmremark:
  11322. description: 确认备注
  11323. type: string
  11324. confirmtime:
  11325. description: 确认时间
  11326. type: string
  11327. confirmuserid:
  11328. description: 确认人
  11329. type: integer
  11330. goodsno:
  11331. description: 商品编号
  11332. type: string
  11333. handlestatus:
  11334. description: 处理状态
  11335. type: integer
  11336. ladingbillid:
  11337. description: 摘牌方提单ID [卖]
  11338. type: integer
  11339. marketid:
  11340. description: 市场ID
  11341. type: integer
  11342. matchaccountid:
  11343. description: 挂牌方资金账号
  11344. type: integer
  11345. matchuserid:
  11346. description: 挂牌方用户ID
  11347. type: integer
  11348. performancetemplateid:
  11349. description: 履约计划模板ID
  11350. type: integer
  11351. price:
  11352. description: 价格
  11353. type: number
  11354. priceper:
  11355. description: 克拉单价 - 类型:1,2,3,5
  11356. type: string
  11357. qty:
  11358. description: 申请数量
  11359. type: number
  11360. refprice:
  11361. description: 参考价格
  11362. type: string
  11363. retcode:
  11364. description: 委托返回代码
  11365. type: integer
  11366. sellusername:
  11367. description: 卖方
  11368. type: string
  11369. sizedisplay:
  11370. description: 尺寸
  11371. type: string
  11372. subnum:
  11373. description: 摘牌方提单子单号 [卖]
  11374. type: integer
  11375. tradedate:
  11376. description: 交易日(yyyyMMdd)
  11377. type: string
  11378. userid:
  11379. description: 摘牌人用户ID
  11380. type: integer
  11381. warehousenamedisplay:
  11382. type: string
  11383. wrbargainid:
  11384. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11385. type: string
  11386. wrtradeorderid:
  11387. description: 关联委托单ID
  11388. type: string
  11389. zscerttypedisplay:
  11390. type: string
  11391. zsclaritytype1display:
  11392. type: string
  11393. zsclaritytype2display:
  11394. type: string
  11395. zscolortype1display:
  11396. type: string
  11397. zscolortype2display:
  11398. type: string
  11399. zscrystaltypedisplay:
  11400. type: string
  11401. zscurrencytypedisplay:
  11402. type: string
  11403. zscurrencytypedisplayunit:
  11404. type: string
  11405. zscuttype1display:
  11406. type: string
  11407. zscuttype2display:
  11408. type: string
  11409. zsczcolor1typedisplay:
  11410. type: string
  11411. zsczcolor2typedisplay:
  11412. type: string
  11413. zsczcolor3typedisplay:
  11414. type: string
  11415. zsfluorescencetype1display:
  11416. type: string
  11417. zsfluorescencetype2display:
  11418. type: string
  11419. zspolishtype1display:
  11420. type: string
  11421. zspolishtype2display:
  11422. type: string
  11423. zsshapetypedisplay:
  11424. type: string
  11425. zsstyletypedisplay:
  11426. type: string
  11427. zssymmetrytype1display:
  11428. type: string
  11429. zssymmetrytype2display:
  11430. type: string
  11431. required:
  11432. - userid
  11433. type: object
  11434. models.MyBuyOrder:
  11435. properties:
  11436. accountid:
  11437. description: 资金账户ID
  11438. type: integer
  11439. marketid:
  11440. description: 市场ID
  11441. type: integer
  11442. ordertime:
  11443. description: 委托时间
  11444. type: string
  11445. origin:
  11446. description: 原产地
  11447. type: string
  11448. performancetemplateid:
  11449. description: 履约计划模板ID
  11450. type: integer
  11451. remark:
  11452. description: 备注
  11453. type: string
  11454. userid:
  11455. description: 用户ID
  11456. type: integer
  11457. validtime:
  11458. description: 有效期限
  11459. type: string
  11460. warehouseids:
  11461. description: 仓库ID - 多个, 逗号分隔
  11462. type: string
  11463. warehouseinfosdisplay:
  11464. type: string
  11465. wrtradeorderid:
  11466. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11467. type: string
  11468. wrtradeorderstatus:
  11469. 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、
  11470. type: integer
  11471. zscategory:
  11472. description: 钻石分类 - 枚举”ZSCategory“
  11473. type: integer
  11474. zscategorydisplay:
  11475. type: string
  11476. zsclaritytype:
  11477. description: 净度 - 两个, 逗号分隔
  11478. type: string
  11479. zsclaritytypedisplay:
  11480. type: string
  11481. zscolortype:
  11482. description: 颜色 - 两个, 逗号分隔
  11483. type: string
  11484. zscolortypedisplay:
  11485. type: string
  11486. zscrystaltype:
  11487. description: 晶型 - 多个,逗号分隔
  11488. type: string
  11489. zscrystaltypedisplay:
  11490. type: string
  11491. zscurrencytype:
  11492. description: 货币类型 - 多个, 逗号分隔
  11493. type: string
  11494. zscurrencytypedisplay:
  11495. type: string
  11496. zscuttype:
  11497. description: 切工 - 两个, 逗号分隔
  11498. type: string
  11499. zscuttypedisplay:
  11500. type: string
  11501. zsczcolor1type:
  11502. description: 彩钻颜色1, 逗号分隔
  11503. type: string
  11504. zsczcolor1typedisplay:
  11505. type: string
  11506. zsczcolor2type:
  11507. description: 彩钻颜色2, 逗号分隔
  11508. type: string
  11509. zsczcolor2typedisplay:
  11510. type: string
  11511. zsczcolor3type:
  11512. description: 彩钻颜色3, 逗号分隔
  11513. type: string
  11514. zsczcolor3typedisplay:
  11515. type: string
  11516. zsfluorescencetype:
  11517. description: 荧光 - 多个, 逗号分隔
  11518. type: string
  11519. zsfluorescencetypedisplay:
  11520. type: string
  11521. zspolishtype:
  11522. description: 抛光度 - 两个, 逗号分隔
  11523. type: string
  11524. zspolishtypedisplay:
  11525. type: string
  11526. zsshapetype:
  11527. description: 形状 - 多个, 逗号分隔
  11528. type: string
  11529. zsshapetypedisplay:
  11530. type: string
  11531. zssize:
  11532. description: 尺寸 - 两个小数, 逗号分隔
  11533. type: string
  11534. zsstyletype:
  11535. description: 款式 - 多个, 逗号分隔
  11536. type: string
  11537. zsstyletypedisplay:
  11538. type: string
  11539. zssymmetrytype:
  11540. description: 对称度 - 两个, 逗号分隔
  11541. type: string
  11542. zssymmetrytypedisplay:
  11543. type: string
  11544. zstabledisplay:
  11545. description: 求购信息
  11546. type: string
  11547. required:
  11548. - userid
  11549. type: object
  11550. models.MyDeListing:
  11551. properties:
  11552. buyaccountid:
  11553. description: 买方账号ID
  11554. type: integer
  11555. buychargevalue:
  11556. description: 买方手续费
  11557. type: number
  11558. buyuserid:
  11559. description: 买方用户ID
  11560. type: integer
  11561. deliverygoodsid:
  11562. description: 现货品种ID
  11563. type: integer
  11564. exchangerate:
  11565. description: 汇率
  11566. type: number
  11567. goodsno:
  11568. description: 商品编号
  11569. type: string
  11570. marketid:
  11571. description: 市场ID
  11572. type: integer
  11573. matchusername:
  11574. description: 对手方
  11575. type: string
  11576. oritradeamount:
  11577. description: 成交金额[商品币种]
  11578. type: number
  11579. performanceplanid:
  11580. description: 履约计划ID/合同ID
  11581. type: string
  11582. price:
  11583. description: 价格
  11584. type: number
  11585. qty:
  11586. description: 成交重量
  11587. type: number
  11588. sellaccountid:
  11589. description: 卖方账号ID
  11590. type: integer
  11591. sellchargevalue:
  11592. description: 卖方手续费
  11593. type: number
  11594. selluserid:
  11595. description: 卖方用户ID
  11596. type: integer
  11597. sizedisplay:
  11598. description: 尺寸
  11599. type: string
  11600. tradeamount:
  11601. description: 成交金额
  11602. type: number
  11603. tradedate:
  11604. description: 交易日(yyyyMMdd)
  11605. type: string
  11606. tradeprice:
  11607. description: 成交价格
  11608. type: number
  11609. tradetime:
  11610. description: 成交时间
  11611. type: string
  11612. userid:
  11613. description: 用户ID
  11614. type: integer
  11615. warehousenamedisplay:
  11616. type: string
  11617. wrfactortypeid:
  11618. description: 仓单要素类型ID
  11619. type: integer
  11620. wrstandardid:
  11621. description: 现货商品ID
  11622. type: integer
  11623. wrtradedetailid:
  11624. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11625. type: string
  11626. zscategory:
  11627. description: 钻石分类 - 枚举”ZSCategory“
  11628. type: integer
  11629. zscategorydisplay:
  11630. type: string
  11631. zscerttypedisplay:
  11632. type: string
  11633. zsclaritytype1display:
  11634. type: string
  11635. zsclaritytype2display:
  11636. type: string
  11637. zscolortype1display:
  11638. type: string
  11639. zscolortype2display:
  11640. type: string
  11641. zscrystaltypedisplay:
  11642. type: string
  11643. zscurrencytype:
  11644. description: 货币类型 - 枚举“ZSCurrencyType”
  11645. type: integer
  11646. zscurrencytypedisplay:
  11647. type: string
  11648. zscurrencytypedisplayunit:
  11649. type: string
  11650. zscuttype1display:
  11651. type: string
  11652. zscuttype2display:
  11653. type: string
  11654. zsczcolor1typedisplay:
  11655. type: string
  11656. zsczcolor2typedisplay:
  11657. type: string
  11658. zsczcolor3typedisplay:
  11659. type: string
  11660. zsfluorescencetype1display:
  11661. type: string
  11662. zsfluorescencetype2display:
  11663. type: string
  11664. zspolishtype1display:
  11665. type: string
  11666. zspolishtype2display:
  11667. type: string
  11668. zsshapetypedisplay:
  11669. type: string
  11670. zsstyletypedisplay:
  11671. type: string
  11672. zssymmetrytype1display:
  11673. type: string
  11674. zssymmetrytype2display:
  11675. type: string
  11676. required:
  11677. - userid
  11678. type: object
  11679. models.MyDelistingApply:
  11680. properties:
  11681. applyprice:
  11682. description: 申请价格
  11683. type: number
  11684. applyqty:
  11685. description: 申请数量
  11686. type: number
  11687. applyremark:
  11688. description: 申请备注
  11689. type: string
  11690. applystatus:
  11691. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11692. type: integer
  11693. applytime:
  11694. description: 申请时间
  11695. type: string
  11696. auditremark:
  11697. description: 确认备注
  11698. type: string
  11699. audittime:
  11700. description: 确认时间
  11701. type: string
  11702. buyuserid:
  11703. description: 买方用户ID
  11704. type: integer
  11705. buyusername:
  11706. description: 买方
  11707. type: string
  11708. buywrtradeorderid:
  11709. description: 买委托单ID
  11710. type: string
  11711. goodsno:
  11712. description: 商品编号
  11713. type: string
  11714. ladingbillid:
  11715. description: 卖方提单ID
  11716. type: string
  11717. marketid:
  11718. description: 市场ID
  11719. type: integer
  11720. performancetemplateid:
  11721. description: 履约计划模板ID
  11722. type: integer
  11723. price:
  11724. description: 价格
  11725. type: number
  11726. sellaccountid:
  11727. description: 卖方账户ID
  11728. type: integer
  11729. selldelistingapplyid:
  11730. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11731. type: string
  11732. selltradeorderid:
  11733. description: 卖方委托ID(买方确认成交后更新)
  11734. type: string
  11735. selluserid:
  11736. description: 卖方用户ID
  11737. type: integer
  11738. sellusername:
  11739. description: 卖方
  11740. type: string
  11741. sizedisplay:
  11742. description: 尺寸
  11743. type: string
  11744. subnum:
  11745. description: 卖方提单子单号
  11746. type: integer
  11747. warehouseinfosdisplay:
  11748. type: string
  11749. weight:
  11750. description: 克拉重量
  11751. type: number
  11752. wrfactortypeid:
  11753. description: 仓单要素类型ID
  11754. type: string
  11755. wrstandardid:
  11756. description: 现货商品ID
  11757. type: integer
  11758. zsallproperties:
  11759. type: string
  11760. zscategorydisplay:
  11761. type: string
  11762. zsclaritytypedisplay:
  11763. type: string
  11764. zscolortypedisplay:
  11765. type: string
  11766. zscrystaltypedisplay:
  11767. type: string
  11768. zscurrencytypedisplay:
  11769. type: string
  11770. zscurrencytypedisplayunit:
  11771. description: 价格单位
  11772. type: string
  11773. zscuttypedisplay:
  11774. type: string
  11775. zsczcolor1typedisplay:
  11776. type: string
  11777. zsczcolor2typedisplay:
  11778. type: string
  11779. zsczcolor3typedisplay:
  11780. type: string
  11781. zsfluorescencetypedisplay:
  11782. type: string
  11783. zspolishtypedisplay:
  11784. type: string
  11785. zsshapetypedisplay:
  11786. type: string
  11787. zssizedisplay:
  11788. type: string
  11789. zsstyletypedisplay:
  11790. type: string
  11791. zssymmetrytypedisplay:
  11792. type: string
  11793. zstabledisplay:
  11794. type: string
  11795. required:
  11796. - selluserid
  11797. type: object
  11798. models.MyFavorite:
  11799. properties:
  11800. accountname:
  11801. description: 账户名称(机构名称)
  11802. type: string
  11803. buyorsell:
  11804. description: 买卖 - 0:买 1:卖
  11805. type: integer
  11806. favoritestatus:
  11807. description: 收藏状态 - 1:正常 2:失效
  11808. type: integer
  11809. goodsno:
  11810. description: 商品编号
  11811. type: string
  11812. marketid:
  11813. description: 市场ID
  11814. type: integer
  11815. price:
  11816. description: 价格
  11817. type: number
  11818. priceper:
  11819. description: 克拉单价
  11820. type: string
  11821. sizedisplay:
  11822. description: 尺寸
  11823. type: string
  11824. userid:
  11825. description: 用户ID
  11826. type: integer
  11827. warehousenamedisplay:
  11828. type: string
  11829. weight:
  11830. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11831. type: number
  11832. weightavg:
  11833. description: 平均单颗重量 - 类型:1,3
  11834. type: number
  11835. wrfactortypeid:
  11836. description: 仓单要素类型ID/商品ID(77)
  11837. type: string
  11838. wrstandardid:
  11839. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11840. type: integer
  11841. wrtradeorderid:
  11842. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11843. type: string
  11844. zscategory:
  11845. description: 钻石分类 - 枚举”ZSCategory“
  11846. type: integer
  11847. zscategorydisplay:
  11848. type: string
  11849. zscerttypedisplay:
  11850. type: string
  11851. zsclaritytype1display:
  11852. type: string
  11853. zsclaritytype2display:
  11854. type: string
  11855. zscolortype1display:
  11856. type: string
  11857. zscolortype2display:
  11858. type: string
  11859. zscrystaltypedisplay:
  11860. type: string
  11861. zscurrencytypedisplay:
  11862. type: string
  11863. zscurrencytypedisplayunit:
  11864. type: string
  11865. zscuttype1display:
  11866. type: string
  11867. zscuttype2display:
  11868. type: string
  11869. zsczcolor1typedisplay:
  11870. type: string
  11871. zsczcolor2typedisplay:
  11872. type: string
  11873. zsczcolor3typedisplay:
  11874. type: string
  11875. zsfluorescencetype1display:
  11876. type: string
  11877. zsfluorescencetype2display:
  11878. type: string
  11879. zspolishtype1display:
  11880. type: string
  11881. zspolishtype2display:
  11882. type: string
  11883. zsshapetypedisplay:
  11884. type: string
  11885. zsstyletypedisplay:
  11886. type: string
  11887. zssymmetrytype1display:
  11888. type: string
  11889. zssymmetrytype2display:
  11890. type: string
  11891. required:
  11892. - userid
  11893. type: object
  11894. models.MyPerformanc:
  11895. properties:
  11896. accountname:
  11897. description: '[对手方]账户名称(机构名称)'
  11898. type: string
  11899. amount:
  11900. description: 履约金额
  11901. type: number
  11902. buyaccountid:
  11903. description: 买方账号
  11904. type: integer
  11905. buyerfreezeamount:
  11906. description: 买方履约前冻结资金
  11907. type: number
  11908. buyerfreezeamountremain:
  11909. description: 买方履约前冻结资金剩余
  11910. type: number
  11911. buyerinfo:
  11912. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11913. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11914. type: string
  11915. buyorsell:
  11916. description: 方向 - 0:买 1:卖
  11917. type: integer
  11918. buypaidamount:
  11919. description: 买方已冻/已扣金额
  11920. type: number
  11921. buytodayamount:
  11922. description: 买方今日扣/冻金额 (待开市时清零)
  11923. type: number
  11924. curstepid:
  11925. description: 当前步骤ID
  11926. type: string
  11927. goodsno:
  11928. description: 商品编号
  11929. type: string
  11930. overshortamount:
  11931. description: 溢短金额
  11932. type: number
  11933. paymenttype:
  11934. description: 买方支付方式 - 1:冻结 2:扣款
  11935. type: integer
  11936. performanceplanid:
  11937. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11938. type: string
  11939. performancestatus:
  11940. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11941. 9:超时待处理 10:超时关闭
  11942. type: integer
  11943. price:
  11944. description: 价格
  11945. type: number
  11946. priceper:
  11947. description: 克拉单价
  11948. type: string
  11949. relatedorderid:
  11950. description: 关联单号(履约类型的关联单号)
  11951. type: string
  11952. remaindays:
  11953. description: 剩余天数
  11954. type: integer
  11955. sellerfreezeamount:
  11956. description: 卖方履约前冻结资金
  11957. type: number
  11958. sellerfreezeamountremain:
  11959. description: 卖方履约前冻结资金剩余
  11960. type: number
  11961. sellerinfo:
  11962. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11963. "xxxxxxxx"}'
  11964. type: string
  11965. sellreceivedamount:
  11966. description: 卖方已收金额
  11967. type: number
  11968. selltodayamount:
  11969. description: 卖方今日收取金额(待开市时清零)
  11970. type: number
  11971. sizedisplay:
  11972. description: 尺寸
  11973. type: string
  11974. steptypeid:
  11975. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11976. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11977. type: integer
  11978. warehousenamedisplay:
  11979. type: string
  11980. zscategorydisplay:
  11981. type: string
  11982. zscerttypedisplay:
  11983. type: string
  11984. zsclaritytype1display:
  11985. type: string
  11986. zsclaritytype2display:
  11987. type: string
  11988. zscolortype1display:
  11989. type: string
  11990. zscolortype2display:
  11991. type: string
  11992. zscrystaltypedisplay:
  11993. type: string
  11994. zscurrencytypedisplay:
  11995. type: string
  11996. zscurrencytypedisplayunit:
  11997. type: string
  11998. zscuttype1display:
  11999. type: string
  12000. zscuttype2display:
  12001. type: string
  12002. zsczcolor1typedisplay:
  12003. type: string
  12004. zsczcolor2typedisplay:
  12005. type: string
  12006. zsczcolor3typedisplay:
  12007. type: string
  12008. zsfluorescencetype1display:
  12009. type: string
  12010. zsfluorescencetype2display:
  12011. type: string
  12012. zspolishtype1display:
  12013. type: string
  12014. zspolishtype2display:
  12015. type: string
  12016. zsshapetypedisplay:
  12017. type: string
  12018. zsstyletypedisplay:
  12019. type: string
  12020. zssymmetrytype1display:
  12021. type: string
  12022. zssymmetrytype2display:
  12023. type: string
  12024. type: object
  12025. models.MySellOrder:
  12026. properties:
  12027. accountid:
  12028. description: 资金账号
  12029. type: integer
  12030. applyid:
  12031. description: 申请单ID
  12032. type: integer
  12033. attachment1:
  12034. description: 附件1
  12035. type: string
  12036. attachment2:
  12037. description: 附件2
  12038. type: string
  12039. buyorsell:
  12040. description: 买卖 - 0:买 1:卖
  12041. type: integer
  12042. canbargain:
  12043. description: 是否可议价 - 0:不可 1:可
  12044. type: integer
  12045. cancelqty:
  12046. description: 撤销数量
  12047. type: integer
  12048. canceltime:
  12049. description: 撤销时间
  12050. type: string
  12051. cerno:
  12052. type: string
  12053. chargealgorithm:
  12054. description: 手续费收取方式 1:比率 2:固定
  12055. type: integer
  12056. chargealgorithmvalue:
  12057. description: 手续费设置值(交易所部分)
  12058. type: number
  12059. chargealgorithmvalue2:
  12060. description: 手续费设置值(会员部分)
  12061. type: number
  12062. clientordertime:
  12063. description: 客户端委托时间
  12064. type: string
  12065. cpcertno:
  12066. type: string
  12067. exchangerate:
  12068. description: 汇率[67]
  12069. type: number
  12070. firstratio:
  12071. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12072. type: number
  12073. fixedprice:
  12074. description: '[克拉单价]固定价格 - [挂牌]'
  12075. type: number
  12076. freezecharge:
  12077. description: 冻结手续费
  12078. type: number
  12079. freezefirstamount:
  12080. description: 冻结首付金额 - [摘牌]
  12081. type: number
  12082. freezemargin:
  12083. description: 冻结保证金
  12084. type: number
  12085. goodsno:
  12086. description: 商品编号
  12087. type: string
  12088. imagepath:
  12089. type: string
  12090. isspecified:
  12091. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12092. type: integer
  12093. kppath:
  12094. type: string
  12095. kpweight:
  12096. type: string
  12097. marginalgorithm:
  12098. description: 保证金方式 - 1:比率 2:固定
  12099. type: integer
  12100. marginvalue:
  12101. description: 保证金设置值
  12102. type: number
  12103. marketid:
  12104. description: 市场ID
  12105. type: integer
  12106. marketprice:
  12107. type: string
  12108. orderamount:
  12109. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12110. type: number
  12111. ordertime:
  12112. description: 委托时间
  12113. type: string
  12114. performancetemplateid:
  12115. description: 履约计划模板ID
  12116. type: integer
  12117. price:
  12118. description: 价格
  12119. type: number
  12120. pricefactor:
  12121. description: 价格系数(浮动价时填写) - [挂牌]
  12122. type: number
  12123. pricemove:
  12124. description: 升贴水(浮动价时填写) - [挂牌]
  12125. type: number
  12126. priceper:
  12127. type: string
  12128. relatedwrtradeorderid:
  12129. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12130. type: integer
  12131. remark:
  12132. type: string
  12133. retcode:
  12134. description: 错误代码
  12135. type: integer
  12136. selledqty:
  12137. description: 成交重量
  12138. type: number
  12139. settingmaterial:
  12140. type: string
  12141. size1:
  12142. type: string
  12143. size2:
  12144. type: string
  12145. size3:
  12146. type: string
  12147. stonedesc:
  12148. type: string
  12149. totalqty:
  12150. description: 总重量
  12151. type: number
  12152. tradedate:
  12153. description: 交易日(yyyyMMdd)
  12154. type: string
  12155. tradeprice:
  12156. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12157. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12158. type: number
  12159. unfreezecharge:
  12160. description: 解冻手续费
  12161. type: number
  12162. unfreezefirstamount:
  12163. description: 解冻首付金额 - [摘牌]
  12164. type: number
  12165. unfreezemargin:
  12166. description: 解冻保证金
  12167. type: number
  12168. userid:
  12169. description: 用户ID
  12170. type: integer
  12171. uuid:
  12172. description: 发起端唯一id
  12173. type: string
  12174. validtime:
  12175. description: 有效期限
  12176. type: string
  12177. validtype:
  12178. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12179. type: integer
  12180. warehousenamedisplay:
  12181. type: string
  12182. wrbargainid:
  12183. description: 议价申请单ID
  12184. type: integer
  12185. wrfactortypeid:
  12186. description: 仓单要素类型ID/商品ID(77)
  12187. type: integer
  12188. wrpath:
  12189. type: string
  12190. wrpricetype:
  12191. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12192. type: integer
  12193. wrstandardid:
  12194. description: 现货商品ID
  12195. type: integer
  12196. wrtradeorderid:
  12197. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12198. type: string
  12199. wrtradeorderstatus:
  12200. 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:撤单解冻贷款失败
  12201. type: integer
  12202. wrtradetype:
  12203. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12204. type: integer
  12205. wrtransferuserid:
  12206. description: 仓单受让用户 - [摘牌]
  12207. type: integer
  12208. zscategory:
  12209. description: 钻石分类 - 枚举”ZSCategory“
  12210. type: integer
  12211. zscategorydisplay:
  12212. description: 钻石分类 - 描述
  12213. type: string
  12214. zscerttypedisplay:
  12215. type: string
  12216. zsclaritytype1display:
  12217. type: string
  12218. zsclaritytype2display:
  12219. type: string
  12220. zscolortype1display:
  12221. type: string
  12222. zscolortype2display:
  12223. type: string
  12224. zscrystaltype:
  12225. type: string
  12226. zscrystaltypedisplay:
  12227. type: string
  12228. zscurrencytype:
  12229. description: 货币类型 - 枚举“ZSCurrencyType”
  12230. type: integer
  12231. zscurrencytypedisplay:
  12232. type: string
  12233. zscurrencytypedisplayunit:
  12234. type: string
  12235. zscuttype1display:
  12236. type: string
  12237. zscuttype2display:
  12238. type: string
  12239. zsczcolor1typedisplay:
  12240. type: string
  12241. zsczcolor2typedisplay:
  12242. type: string
  12243. zsczcolor3typedisplay:
  12244. type: string
  12245. zsfluorescencetype1display:
  12246. type: string
  12247. zsfluorescencetype2display:
  12248. type: string
  12249. zspolishtype1display:
  12250. type: string
  12251. zspolishtype2display:
  12252. type: string
  12253. zsshapetypedisplay:
  12254. type: string
  12255. zsstyletypedisplay:
  12256. type: string
  12257. zssymmetrytype1display:
  12258. type: string
  12259. zssymmetrytype2display:
  12260. type: string
  12261. required:
  12262. - userid
  12263. type: object
  12264. models.MyWRPosition:
  12265. properties:
  12266. cerno:
  12267. description: 证书编号 - 类型:2,4,5
  12268. type: string
  12269. cpcertno:
  12270. description: 金伯利证书编号 - 类型:3
  12271. type: string
  12272. ffreezeqty:
  12273. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12274. type: number
  12275. ftotalqty:
  12276. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12277. type: number
  12278. goodsno:
  12279. description: 商品编号
  12280. type: string
  12281. imagepath:
  12282. description: 商品照片(相对地址)
  12283. type: string
  12284. isvalid:
  12285. description: 是否有效 - 0:无效 1:有效
  12286. type: integer
  12287. kppath:
  12288. description: 金伯利证书图片(相对地址) - 类型:3
  12289. type: string
  12290. kpweight:
  12291. description: 金伯利证书重量 - 类型:3
  12292. type: string
  12293. ladingbillid:
  12294. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12295. type: string
  12296. marketflag:
  12297. description: 是否上架,0-全部 1-是 2-否
  12298. type: integer
  12299. marketprice:
  12300. description: 市场价
  12301. type: string
  12302. origin:
  12303. description: 原产地 - 类型:3
  12304. type: string
  12305. price:
  12306. description: 总价(价格) - 类型:1,2,3,4,5
  12307. type: number
  12308. priceper:
  12309. description: 克拉单价 - 类型:1,2,3,5
  12310. type: string
  12311. remark:
  12312. description: 备注
  12313. type: string
  12314. sellmobile:
  12315. description: 手机号码(加密存储)
  12316. type: string
  12317. sellusername:
  12318. description: 账户名称(机构名称)
  12319. type: string
  12320. settingmaterial:
  12321. description: 镶嵌材料 - 类型:4
  12322. type: string
  12323. size1:
  12324. description: 尺寸1 - 类型:2,4,5
  12325. type: string
  12326. size2:
  12327. description: 尺寸2 - 类型:2,4,5
  12328. type: string
  12329. size3:
  12330. description: 尺寸3 - 类型:2,4,5
  12331. type: string
  12332. sizedisplay:
  12333. description: 尺寸
  12334. type: string
  12335. stonedesc:
  12336. description: 配石描述 - 类型:4
  12337. type: string
  12338. subnum:
  12339. description: 提单子单号
  12340. type: integer
  12341. userid:
  12342. description: 用户ID
  12343. type: integer
  12344. warehouseid:
  12345. description: 仓库ID
  12346. type: integer
  12347. warehousenamedisplay:
  12348. type: string
  12349. weight:
  12350. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12351. type: number
  12352. weightavg:
  12353. description: 平均单颗重量 - 类型:1,3
  12354. type: number
  12355. wrpath:
  12356. description: 仓单扫描件(相对地址)
  12357. type: string
  12358. wrstandardid:
  12359. description: 现货商品ID
  12360. type: integer
  12361. wrtradeorderid:
  12362. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12363. type: string
  12364. wruserid:
  12365. description: 登录用户ID
  12366. type: integer
  12367. zscategory:
  12368. description: 钻石分类 - 枚举”ZSCategory“
  12369. type: integer
  12370. zscategorydisplay:
  12371. type: string
  12372. zscerttype:
  12373. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12374. type: integer
  12375. zscerttypedisplay:
  12376. type: string
  12377. zsclaritytype1:
  12378. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12379. type: integer
  12380. zsclaritytype1display:
  12381. type: string
  12382. zsclaritytype2:
  12383. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12384. type: integer
  12385. zsclaritytype2display:
  12386. type: string
  12387. zscolortype1:
  12388. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12389. type: integer
  12390. zscolortype1display:
  12391. type: string
  12392. zscolortype2:
  12393. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12394. type: integer
  12395. zscolortype2display:
  12396. type: string
  12397. zscrystaltype:
  12398. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12399. type: string
  12400. zscrystaltypedisplay:
  12401. type: string
  12402. zscurrencytype:
  12403. description: 货币类型 - 枚举“ZSCurrencyType”
  12404. type: integer
  12405. zscurrencytypedisplay:
  12406. type: string
  12407. zscurrencytypedisplayunit:
  12408. type: string
  12409. zscuttype1:
  12410. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12411. type: integer
  12412. zscuttype1display:
  12413. type: string
  12414. zscuttype2:
  12415. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12416. type: integer
  12417. zscuttype2display:
  12418. type: string
  12419. zsczcolor1type:
  12420. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12421. type: integer
  12422. zsczcolor1typedisplay:
  12423. type: string
  12424. zsczcolor2type:
  12425. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12426. type: integer
  12427. zsczcolor2typedisplay:
  12428. type: string
  12429. zsczcolor3type:
  12430. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12431. type: integer
  12432. zsczcolor3typedisplay:
  12433. type: string
  12434. zsfluorescencetype1:
  12435. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12436. type: integer
  12437. zsfluorescencetype1display:
  12438. type: string
  12439. zsfluorescencetype2:
  12440. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12441. type: integer
  12442. zsfluorescencetype2display:
  12443. type: string
  12444. zspolishtype1:
  12445. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12446. type: integer
  12447. zspolishtype1display:
  12448. type: string
  12449. zspolishtype2:
  12450. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12451. type: integer
  12452. zspolishtype2display:
  12453. type: string
  12454. zsshapetype:
  12455. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12456. type: string
  12457. zsshapetypedisplay:
  12458. type: string
  12459. zsstyletype:
  12460. description: 款式 - 类型:4
  12461. type: integer
  12462. zsstyletypedisplay:
  12463. type: string
  12464. zssymmetrytype1:
  12465. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12466. type: integer
  12467. zssymmetrytype1display:
  12468. type: string
  12469. zssymmetrytype2:
  12470. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12471. type: integer
  12472. zssymmetrytype2display:
  12473. type: string
  12474. required:
  12475. - wruserid
  12476. type: object
  12477. models.NewFuncmenulist:
  12478. properties:
  12479. authtype:
  12480. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12481. type: integer
  12482. buttonname:
  12483. description: 按钮名称
  12484. type: string
  12485. buttontype:
  12486. description: 按钮类型 - 存按钮样式
  12487. type: string
  12488. component:
  12489. description: 组件名或组件地址
  12490. type: string
  12491. hidden:
  12492. description: 是否隐藏 - 0:显示 1:隐藏
  12493. type: integer
  12494. iconame:
  12495. description: 菜单图标
  12496. type: string
  12497. menutype:
  12498. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12499. type: integer
  12500. parentcode:
  12501. description: 上级资源代码
  12502. type: string
  12503. remark:
  12504. description: Remark
  12505. type: string
  12506. resourcecode:
  12507. description: 资源代码
  12508. type: string
  12509. resourcelevel:
  12510. description: 级别1-一级 2-二级 3-三级4-四级
  12511. type: integer
  12512. resourcename:
  12513. description: 资源名(Title)
  12514. type: string
  12515. sort:
  12516. description: 排序
  12517. type: integer
  12518. url:
  12519. description: Url
  12520. type: string
  12521. urltype:
  12522. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12523. type: integer
  12524. required:
  12525. - resourcecode
  12526. type: object
  12527. models.OperationPrimaryMenu:
  12528. properties:
  12529. Children:
  12530. description: 二级功能菜单
  12531. items:
  12532. $ref: '#/definitions/models.OperationSecondaryMenu'
  12533. type: array
  12534. Key:
  12535. description: 菜单KEY
  12536. type: string
  12537. Label:
  12538. description: 菜单标题
  12539. type: string
  12540. type: object
  12541. models.OperationSecondaryMenu:
  12542. properties:
  12543. Key:
  12544. description: 菜单KEY
  12545. type: string
  12546. Label:
  12547. description: 菜单标题
  12548. type: string
  12549. TabList:
  12550. description: 三级功能菜单
  12551. items:
  12552. $ref: '#/definitions/models.OperationTabMenu'
  12553. type: array
  12554. type: object
  12555. models.OperationTabMenu:
  12556. properties:
  12557. Key:
  12558. description: 菜单KEY
  12559. type: string
  12560. Label:
  12561. description: 菜单标题
  12562. type: string
  12563. type: object
  12564. models.Patradelinkdetail:
  12565. properties:
  12566. accountname:
  12567. description: 套期主体
  12568. type: string
  12569. agreeunit:
  12570. description: 合约乘数
  12571. type: number
  12572. amount:
  12573. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12574. type: number
  12575. areauserid:
  12576. description: 所属机构
  12577. type: integer
  12578. bizsubjectid:
  12579. description: 归属业务部门ID - SubjectID
  12580. type: integer
  12581. buyorsell:
  12582. description: 方向 - 0:买 1:卖
  12583. type: integer
  12584. convertratio:
  12585. description: 品种系数
  12586. type: number
  12587. convertratiochange:
  12588. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12589. type: number
  12590. createtime:
  12591. description: '[日期时间]创建时间'
  12592. type: string
  12593. creatorid:
  12594. description: 创建人ID
  12595. type: integer
  12596. creatorsrc:
  12597. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12598. type: integer
  12599. goodscode:
  12600. description: 商品代码(内部)
  12601. type: string
  12602. goodsgroupid:
  12603. description: 对冲品种ID[期货合约商品组ID]
  12604. type: integer
  12605. goodsid:
  12606. description: 商品ID
  12607. type: integer
  12608. hedgeditemid:
  12609. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12610. type: integer
  12611. hedgeflag:
  12612. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12613. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12614. type: integer
  12615. linkdetailid:
  12616. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12617. type: string
  12618. linkstatus:
  12619. description: 关联状态 - 1:成功 2:失败 3:解绑
  12620. type: integer
  12621. middlegoodsid:
  12622. description: 套保品种ID
  12623. type: integer
  12624. name:
  12625. description: 账户名/子账户
  12626. type: string
  12627. optioncode:
  12628. description: '[期货合约]期权代码 [期权]'
  12629. type: string
  12630. ordertype:
  12631. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12632. type: integer
  12633. relatedlot:
  12634. description: '[数量]关联手数'
  12635. type: number
  12636. relatedmode:
  12637. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12638. type: integer
  12639. relatedqty:
  12640. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12641. type: number
  12642. retcode:
  12643. description: 返回码
  12644. type: integer
  12645. saleuserid:
  12646. description: 业务员ID
  12647. type: integer
  12648. tradedate:
  12649. description: 关联交易日(yyyyMMdd)
  12650. type: string
  12651. tradeid:
  12652. description: '[成交单号]内部成交单ID'
  12653. type: string
  12654. tradelot:
  12655. description: 成交手数
  12656. type: integer
  12657. tradeprice:
  12658. description: '[价格]成交价格'
  12659. type: number
  12660. tradetradedate:
  12661. description: 成交交易日(yyyyMMdd)
  12662. type: string
  12663. type: object
  12664. models.QhjAccountOutInApply:
  12665. properties:
  12666. accountcode:
  12667. description: 资金账号
  12668. type: string
  12669. accountname:
  12670. description: 用户名称(名称)
  12671. type: string
  12672. accountpwd:
  12673. description: 资金密码
  12674. type: string
  12675. accountticket:
  12676. description: 最新账户服务流水号
  12677. type: string
  12678. amount:
  12679. description: 金额
  12680. type: number
  12681. applyremark:
  12682. description: 申请备注
  12683. type: string
  12684. applystatus:
  12685. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12686. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12687. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12688. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12689. type: integer
  12690. auditid:
  12691. description: 审核人
  12692. type: integer
  12693. audittime:
  12694. description: 审核时间
  12695. type: string
  12696. bank_apply_ticket:
  12697. description: 银行申请流水
  12698. type: string
  12699. bankaccountname:
  12700. description: 银行账户名
  12701. type: string
  12702. bankaccountno:
  12703. description: 银行卡号
  12704. type: string
  12705. bankid:
  12706. description: 银行编号
  12707. type: string
  12708. bankticket:
  12709. description: 银行流水
  12710. type: string
  12711. branchbankid:
  12712. description: 银行支行号
  12713. type: string
  12714. branchbankname:
  12715. description: 银行支行名称
  12716. type: string
  12717. capamountout:
  12718. description: 出金(劣后本金) - 外部子账户
  12719. type: number
  12720. certificatephotourl:
  12721. description: 凭证地址
  12722. type: string
  12723. charge:
  12724. description: 手续费
  12725. type: number
  12726. checkerrorflag:
  12727. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12728. type: integer
  12729. currency:
  12730. description: 币种
  12731. type: string
  12732. cusbankid:
  12733. description: 托管银行编号
  12734. type: string
  12735. cusbankname:
  12736. description: 托管银行名称
  12737. type: string
  12738. cusbankshortname:
  12739. description: 托管银行简称
  12740. type: string
  12741. exchticket:
  12742. description: 银行服务流水号
  12743. type: string
  12744. executetype:
  12745. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12746. 7:外部子账户:入金 8:外部子账户:出金'
  12747. type: integer
  12748. extendinfo:
  12749. description: 扩展信息
  12750. type: string
  12751. extoperateid:
  12752. description: 交易服务流水号
  12753. type: integer
  12754. infamount:
  12755. description: 劣后金额(自有)
  12756. type: number
  12757. logincode:
  12758. description: 登录账号(账号)
  12759. type: string
  12760. netaddr:
  12761. description: 调转网址
  12762. type: string
  12763. priamount:
  12764. description: 优先金额(授信)
  12765. type: number
  12766. reauditid:
  12767. description: 复审人
  12768. type: integer
  12769. reauditremark:
  12770. description: 复审备注
  12771. type: string
  12772. reaudittime:
  12773. description: 复审时间
  12774. type: string
  12775. relatedorderid:
  12776. description: 三方关联ID
  12777. type: string
  12778. remark:
  12779. description: 备注
  12780. type: string
  12781. remark2:
  12782. description: 备注(失败原因)
  12783. type: string
  12784. soucreamount:
  12785. description: 原始出入金金额
  12786. type: number
  12787. soucrecurrencyid:
  12788. description: 原始出入金币种
  12789. type: integer
  12790. tradedate:
  12791. description: 交易日(yyyyMMdd)
  12792. type: string
  12793. updatetime:
  12794. description: 更新时间(申请时间)
  12795. type: string
  12796. userid:
  12797. description: 用户id
  12798. type: integer
  12799. userinfotype:
  12800. description: 账户类型 1-个人 2-企业
  12801. type: integer
  12802. type: object
  12803. models.QhjAgreementChangeLog:
  12804. properties:
  12805. agreementcontent:
  12806. description: 协议内容
  12807. type: string
  12808. agreementfrequency:
  12809. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12810. type: integer
  12811. agreementid:
  12812. description: 协议ID
  12813. type: integer
  12814. agreementname:
  12815. description: 协议名称
  12816. type: string
  12817. agreementno:
  12818. description: 协议编号
  12819. type: string
  12820. agreementtype:
  12821. description: 协议类型 - 1:注册 2:登录 3:交易
  12822. type: integer
  12823. agreementversion:
  12824. description: 协议版本号
  12825. type: integer
  12826. logid:
  12827. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12828. type: integer
  12829. reviserid:
  12830. description: 修改人
  12831. type: integer
  12832. revisersrc:
  12833. description: 修改来源 - 1:管理端 2:终端
  12834. type: integer
  12835. updatetime:
  12836. description: 更新时间
  12837. type: string
  12838. type: object
  12839. models.QhjAgreementConfig:
  12840. properties:
  12841. agreementcontent:
  12842. description: 协议内容
  12843. type: string
  12844. agreementfrequency:
  12845. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12846. type: integer
  12847. agreementid:
  12848. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12849. type: integer
  12850. agreementname:
  12851. description: 协议名称
  12852. type: string
  12853. agreementno:
  12854. description: 协议编号
  12855. type: string
  12856. agreementtype:
  12857. description: 协议类型 - 1:注册 2:登录 3:交易
  12858. type: integer
  12859. agreementversion:
  12860. description: 协议版本号(从1开始每次修改加1)
  12861. type: integer
  12862. createtime:
  12863. description: 创建时间
  12864. type: string
  12865. creatorid:
  12866. description: 创建人
  12867. type: integer
  12868. creatorsrc:
  12869. description: 创建来源 - 1:管理端 2:终端
  12870. type: integer
  12871. isvalid:
  12872. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12873. type: integer
  12874. reviserid:
  12875. description: 修改人
  12876. type: integer
  12877. revisersrc:
  12878. description: 修改来源 - 1:管理端 2:终端
  12879. type: integer
  12880. updatetime:
  12881. description: 更新时间
  12882. type: string
  12883. type: object
  12884. models.QhjAreaFinanceConfig:
  12885. properties:
  12886. additionalratio:
  12887. description: 追加款比例
  12888. type: number
  12889. advanceratio:
  12890. description: 预付款比例
  12891. type: number
  12892. alarmratio:
  12893. description: 告警比例
  12894. type: number
  12895. consumptiondirectreward:
  12896. description: 消费直推奖励值
  12897. type: number
  12898. consumptionenabled:
  12899. description: 是否启用消费奖励 - 0:不启用 1:启用
  12900. type: integer
  12901. consumptionindirectreward:
  12902. description: 消费间推奖励值
  12903. type: number
  12904. consumptionmodel:
  12905. description: 消费奖励方式 - 1:比率 2:固定
  12906. type: integer
  12907. customerservicenum:
  12908. description: 客服电话
  12909. type: string
  12910. dayinterestrate:
  12911. description: 日利率
  12912. type: number
  12913. disableconsumptiontips:
  12914. description: 关闭消费奖励提示
  12915. type: string
  12916. modifierid:
  12917. description: 修改人ID
  12918. type: integer
  12919. modifysrc:
  12920. description: 审核来源 - 1:管理端 2:终端
  12921. type: integer
  12922. modifytime:
  12923. description: 修改时间
  12924. type: string
  12925. promotionvalue:
  12926. description: 推广奖励值(固定)
  12927. type: number
  12928. scoreconfigvalue1:
  12929. description: 提货积分配置1
  12930. type: integer
  12931. scoreconfigvalue2:
  12932. description: 提货积分配置2
  12933. type: integer
  12934. userid:
  12935. description: 机构用户ID其他做市关系,都设置为 1
  12936. type: integer
  12937. username:
  12938. description: 用户名称
  12939. type: string
  12940. type: object
  12941. models.QhjBankAccountSign:
  12942. properties:
  12943. accountcode:
  12944. description: 资金账号
  12945. type: string
  12946. accountname:
  12947. description: 资金账号对应的账号名(UserName)
  12948. type: string
  12949. accountname2:
  12950. description: 资金账号对应的账号名(UserName) - 密文
  12951. type: string
  12952. accounttype:
  12953. description: 账户类型(UserType)
  12954. type: integer
  12955. applicationtime:
  12956. description: 最后一次更新的时间
  12957. type: string
  12958. applyexchticket:
  12959. description: 申请流水
  12960. type: string
  12961. auditid:
  12962. description: 审核人
  12963. type: integer
  12964. audittime:
  12965. description: 审核时间
  12966. type: string
  12967. bankaccountname:
  12968. description: 签约银行卡账号名
  12969. type: string
  12970. bankaccountname2:
  12971. description: 签约银行卡账号名 - 密文
  12972. type: string
  12973. bankaccountno:
  12974. description: 银行卡号
  12975. type: string
  12976. bankaccountno2:
  12977. description: 银行卡号 - 密文
  12978. type: string
  12979. bankaccounttype:
  12980. description: 银行账户类型 - 1-对私; 2-对公
  12981. type: integer
  12982. bankcardtype:
  12983. description: 银行卡类型
  12984. type: integer
  12985. bankchildaccount:
  12986. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12987. type: string
  12988. bankcity:
  12989. description: 开户行城市
  12990. type: string
  12991. bankid:
  12992. description: 签约银行ID
  12993. type: string
  12994. bankname:
  12995. description: 签约银行名称
  12996. type: string
  12997. bankprovince:
  12998. description: 开户行省份
  12999. type: string
  13000. branchbankid:
  13001. description: 签约银行支行号
  13002. type: string
  13003. branchbankname:
  13004. description: 签约银行支行名称
  13005. type: string
  13006. cardno:
  13007. description: 证件号码
  13008. type: string
  13009. cardno2:
  13010. description: 证件号码 - 密文
  13011. type: string
  13012. cardtype:
  13013. description: 证件类型
  13014. type: string
  13015. currency:
  13016. description: 币种
  13017. type: string
  13018. cusbankid:
  13019. description: 托管银行编号
  13020. type: string
  13021. direct:
  13022. description: 方向(可以判断那方先发起的签约)
  13023. type: integer
  13024. exchticket:
  13025. description: 最后一次签约成功的流水号
  13026. type: string
  13027. extendinfo:
  13028. description: 扩展信息(JSON字符串)
  13029. type: string
  13030. mobilephone:
  13031. description: 手机号
  13032. type: string
  13033. mobilephone2:
  13034. description: 手机号 - 密文
  13035. type: string
  13036. netaddr:
  13037. description: 调转网址
  13038. type: string
  13039. relateduserid:
  13040. description: 关联使用者userid
  13041. type: integer
  13042. signstatus:
  13043. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13044. 10:审核拒绝 11:换签待审核
  13045. type: integer
  13046. updatetime:
  13047. description: 更新时间(签解约更新时间)
  13048. type: string
  13049. type: object
  13050. models.QhjBankInfo:
  13051. properties:
  13052. bankid:
  13053. description: 银行ID
  13054. type: string
  13055. bankname:
  13056. description: 银行名称
  13057. type: string
  13058. clearbankno:
  13059. description: 清算系统银行编号
  13060. type: string
  13061. orderindex:
  13062. description: 排序顺序
  13063. type: integer
  13064. status:
  13065. description: 状态 - 0:正常 1:注销
  13066. type: integer
  13067. type: object
  13068. models.QhjBrokerApply:
  13069. properties:
  13070. applicantid:
  13071. description: 申请人
  13072. type: integer
  13073. applysrc:
  13074. description: 申请来源 - 1:管理端 2:终端
  13075. type: integer
  13076. applystatus:
  13077. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13078. type: integer
  13079. applytime:
  13080. description: 申请时间
  13081. type: string
  13082. auditorid:
  13083. description: 审核人
  13084. type: integer
  13085. auditremark:
  13086. description: 审核备注
  13087. type: string
  13088. auditsrc:
  13089. description: 审核来源 - 1:管理端 2:终端
  13090. type: integer
  13091. audittime:
  13092. description: 审核时间
  13093. type: string
  13094. audittradedate:
  13095. description: 审核交易日(yyyyMMdd)
  13096. type: string
  13097. brokerapplyid:
  13098. description: 申请ID(SEQ_BROKERAPPLY)
  13099. type: integer
  13100. cardbackphotourl:
  13101. description: 证件背面图片地址
  13102. type: string
  13103. cardfrontphotourl:
  13104. description: 证件正面图片地址
  13105. type: string
  13106. cardnum:
  13107. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13108. type: string
  13109. customername:
  13110. description: 姓名
  13111. type: string
  13112. logincode:
  13113. description: 登录代码
  13114. type: string
  13115. mobile:
  13116. description: 手机号码
  13117. type: string
  13118. parentuserid:
  13119. description: 所属机构id
  13120. type: integer
  13121. parentusername:
  13122. description: 所属机构名称
  13123. type: string
  13124. refereeuserid:
  13125. description: 推荐人id(经纪人)
  13126. type: integer
  13127. refernum:
  13128. description: 推荐码
  13129. type: string
  13130. remark:
  13131. description: 备注
  13132. type: string
  13133. subarealevelpath:
  13134. description: 层级路径
  13135. type: string
  13136. tradedate:
  13137. description: 交易日(yyyyMMdd)
  13138. type: string
  13139. userid:
  13140. description: 申请人用户ID
  13141. type: integer
  13142. userinfotype:
  13143. description: 用户类型 1-个人 2-企业
  13144. type: integer
  13145. username:
  13146. description: 用户名称
  13147. type: string
  13148. type: object
  13149. models.QhjBrokerApplyEx:
  13150. properties:
  13151. applylist:
  13152. description: 经纪人申请记录(只返回最新一条)
  13153. items:
  13154. $ref: '#/definitions/models.QhjBrokerApply'
  13155. type: array
  13156. canrecommend:
  13157. description: 是否经纪人 0-不是 1-是
  13158. type: integer
  13159. refernum:
  13160. description: 推荐码
  13161. type: string
  13162. userid:
  13163. description: 用户id
  13164. type: integer
  13165. userinfotype:
  13166. description: 用户类型 1-个人 2-企业
  13167. type: integer
  13168. type: object
  13169. models.QhjBrokerRewardLog:
  13170. properties:
  13171. accountid:
  13172. description: 资金账号ID
  13173. type: integer
  13174. createtime:
  13175. description: 创建时间(时间)
  13176. type: string
  13177. handlestatus:
  13178. description: 处理状态
  13179. type: integer
  13180. logid:
  13181. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13182. type: string
  13183. marketid:
  13184. description: 市场ID
  13185. type: integer
  13186. mmaccountid:
  13187. description: 做市商资金账号ID
  13188. type: string
  13189. mmuserid:
  13190. description: 做市商用户ID
  13191. type: string
  13192. rewardamount:
  13193. description: 奖励金额
  13194. type: number
  13195. rewardmodel:
  13196. description: 消费奖励方式 - 1:比率 2:固定
  13197. type: integer
  13198. rewardtype:
  13199. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13200. type: integer
  13201. rewardvalue:
  13202. description: 配置奖励值
  13203. type: number
  13204. srcamount:
  13205. description: 成交金额 [消费奖励] (金额)
  13206. type: number
  13207. srcgoodsid:
  13208. description: 来源商品ID [消费奖励]
  13209. type: string
  13210. srctime:
  13211. description: 来源时间 (成交时间) [消费奖励]
  13212. type: string
  13213. srctradeid:
  13214. description: 来源成交单ID [消费奖励] - 排除提货成交
  13215. type: string
  13216. srcuserid:
  13217. description: 来源用户ID(推广账户)
  13218. type: string
  13219. srcusername:
  13220. description: 推广账户名称
  13221. type: string
  13222. tradedate:
  13223. description: 交易日(yyyyMMdd)
  13224. type: string
  13225. userid:
  13226. description: 经纪人用户ID
  13227. type: integer
  13228. type: object
  13229. models.QhjContract:
  13230. properties:
  13231. contractconfirmtime:
  13232. description: 合同确认时间(时间)
  13233. type: string
  13234. currisklevel:
  13235. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13236. type: integer
  13237. decimalplace:
  13238. description: 商品报价小数位
  13239. type: integer
  13240. enumdicname:
  13241. description: 单位名称
  13242. type: string
  13243. goodscode:
  13244. description: 商品代码
  13245. type: string
  13246. goodsid:
  13247. description: 商品ID [5:融资单]
  13248. type: integer
  13249. goodsname:
  13250. description: 商品名称
  13251. type: string
  13252. goodunitid:
  13253. description: 商品单位id
  13254. type: integer
  13255. initmargin:
  13256. description: 初始保证金(首付款)
  13257. type: number
  13258. lenderamount:
  13259. description: 贷款金额(总额|订单总额)
  13260. type: number
  13261. marginratio:
  13262. description: 保证金比率(首付比例)
  13263. type: number
  13264. payamount:
  13265. description: 已付(已付货款)
  13266. type: number
  13267. reckonrecovermargin:
  13268. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13269. type: number
  13270. recoveredmargin:
  13271. description: 已追缴保证金
  13272. type: number
  13273. remainamount:
  13274. description: 合同剩余金额(融资额)
  13275. type: number
  13276. scfcontractid:
  13277. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13278. type: string
  13279. scfcontractstatus:
  13280. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13281. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13282. type: integer
  13283. scfcontracttype:
  13284. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13285. type: integer
  13286. totalinterest:
  13287. description: 已计总利息(利息)
  13288. type: number
  13289. tradeprice:
  13290. description: 成交价格(成本价格)
  13291. type: number
  13292. userid:
  13293. description: 用户ID
  13294. type: integer
  13295. username:
  13296. description: 用户名称
  13297. type: string
  13298. wrqty:
  13299. description: 仓单数量(数量)
  13300. type: number
  13301. type: object
  13302. models.QhjContractLog:
  13303. properties:
  13304. amount:
  13305. description: 支付金额
  13306. type: number
  13307. amounttype:
  13308. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13309. type: integer
  13310. logid:
  13311. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13312. type: string
  13313. remainamount:
  13314. description: 剩余货款
  13315. type: number
  13316. scfcontractid:
  13317. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13318. type: integer
  13319. updatetime:
  13320. description: 更新时间
  13321. type: string
  13322. type: object
  13323. models.QhjCusBankSignBankEx:
  13324. properties:
  13325. banklst:
  13326. description: 银行列表
  13327. items:
  13328. $ref: '#/definitions/models.QhjBankInfo'
  13329. type: array
  13330. canallot:
  13331. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13332. type: integer
  13333. canallotquery:
  13334. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13335. type: integer
  13336. canbindcard:
  13337. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13338. type: integer
  13339. caninamount:
  13340. description: 是否可入金 - 0:不可 1:可以
  13341. type: integer
  13342. caninamount2:
  13343. description: 是否可入金(网银端) - 0:不可 1:可以
  13344. type: integer
  13345. canmodifybankcard:
  13346. description: 是否可修改银行卡号 - 0:不可 1:可以
  13347. type: integer
  13348. canmodifyphone:
  13349. description: 是否可修改手机号 - 0:不可 1:可以
  13350. type: integer
  13351. canmodifysigninfo:
  13352. description: 是否可修改签约信息 - 0:不可 1:可以
  13353. type: integer
  13354. canoutamount:
  13355. description: 是否可出金 - 0:不可 1:可以
  13356. type: integer
  13357. canoutamount2:
  13358. description: 是否可出金(网银端) - 0:不可 1:可以
  13359. type: integer
  13360. canrelease:
  13361. description: 是否可解约 - 0:不可 1:可以
  13362. type: integer
  13363. canrelease2:
  13364. description: 是否可解约(网银端) - 0:不可 1:可以
  13365. type: integer
  13366. cansign:
  13367. description: 是否可签约 - 0:不可 1:可以
  13368. type: integer
  13369. cansign2:
  13370. description: 是否可签约(网银端) - 0:不可 1:可以
  13371. type: integer
  13372. currency:
  13373. description: 币种
  13374. type: string
  13375. cusbankid:
  13376. description: 托管银行编号(对应清算中心TRAN_NO)
  13377. type: string
  13378. cusbankname:
  13379. description: 银行业务名称
  13380. type: string
  13381. cusbankshortname:
  13382. description: 银行业务简称
  13383. type: string
  13384. exchbankid:
  13385. description: 交易所开户银行ID
  13386. type: string
  13387. exchpaybankaccname:
  13388. description: 交易所支出结算账户户名
  13389. type: string
  13390. exchpaybankaccno:
  13391. description: 交易所支出结算账户
  13392. type: string
  13393. isneedcheck:
  13394. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13395. type: integer
  13396. isneedclear:
  13397. description: 是否需要清算 - 0:不需要 1:需要
  13398. type: integer
  13399. lastcheckstatus:
  13400. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13401. type: integer
  13402. lastchecktime:
  13403. description: 最后对账时间
  13404. type: string
  13405. lastclearstatus:
  13406. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13407. type: integer
  13408. lastcleartime:
  13409. description: 最后清算时间
  13410. type: string
  13411. lastsignintime:
  13412. description: 最后签到时间
  13413. type: string
  13414. lastsignouttime:
  13415. description: 最后签退时间
  13416. type: string
  13417. riskinfo:
  13418. description: 签约风险提示书
  13419. type: string
  13420. signstatus:
  13421. description: 当前签到/签退状态 - 1:签到 2:签退
  13422. type: integer
  13423. tradedate:
  13424. description: 交易日(yyyyMMdd)
  13425. type: string
  13426. updatetime:
  13427. description: 当前签到/签退更新时间
  13428. type: string
  13429. type: object
  13430. models.QhjCustomer:
  13431. properties:
  13432. address:
  13433. description: 通讯地址
  13434. type: string
  13435. attachment1:
  13436. description: 附件1
  13437. type: string
  13438. attachment2:
  13439. description: 附件2
  13440. type: string
  13441. audittime:
  13442. description: 审核时间
  13443. type: string
  13444. cardbackphotourl:
  13445. description: 证件反面图片地址
  13446. type: string
  13447. cardfrontphotourl:
  13448. description: 证件正面图片地址
  13449. type: string
  13450. cardnum:
  13451. description: 证件号码
  13452. type: string
  13453. cardtype:
  13454. description: 证件类型
  13455. type: integer
  13456. cardtypename:
  13457. description: 证件类型名称
  13458. type: string
  13459. cityid:
  13460. description: 市
  13461. type: integer
  13462. cityname:
  13463. description: 城市名称
  13464. type: string
  13465. contactname:
  13466. description: 联系人
  13467. type: string
  13468. countryid:
  13469. description: 国家
  13470. type: integer
  13471. countryname:
  13472. description: 国家名称
  13473. type: string
  13474. createtime:
  13475. description: 创建时间
  13476. type: string
  13477. customername:
  13478. description: 客户名称
  13479. type: string
  13480. districtid:
  13481. description: 区域
  13482. type: integer
  13483. districtname:
  13484. description: 地区名称
  13485. type: string
  13486. email:
  13487. description: 邮件
  13488. type: string
  13489. legalpersonname:
  13490. description: 法人姓名(企业)
  13491. type: string
  13492. logincode:
  13493. description: 登录账号(代码)
  13494. type: string
  13495. memberuserid:
  13496. description: 所属机构ID(所属会员)
  13497. type: integer
  13498. memberusername:
  13499. description: 所属会员名称
  13500. type: string
  13501. mobile:
  13502. description: 手机号码
  13503. type: string
  13504. modifytime:
  13505. description: 修改时间
  13506. type: string
  13507. nickname:
  13508. description: 昵称
  13509. type: string
  13510. parentuserid:
  13511. description: 上级机构(所属机构)
  13512. type: integer
  13513. parentusername:
  13514. description: 所属机构名称
  13515. type: string
  13516. provinceid:
  13517. description: 省
  13518. type: integer
  13519. provincename:
  13520. description: 省名称
  13521. type: string
  13522. proxystatementurl:
  13523. description: 授权委托书
  13524. type: string
  13525. remark:
  13526. description: 备注
  13527. type: string
  13528. status:
  13529. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13530. type: integer
  13531. statusdesc:
  13532. description: 账户状态中文描述
  13533. type: string
  13534. taxpayernum:
  13535. description: 纳税人识别号
  13536. type: string
  13537. telphone:
  13538. description: 联系电话
  13539. type: string
  13540. userid:
  13541. description: 用户ID
  13542. type: integer
  13543. userinfotype:
  13544. description: 客户类型 1-个人 2-企业
  13545. type: integer
  13546. username:
  13547. description: 用户名称
  13548. type: string
  13549. type: object
  13550. models.QhjCustomerSignLog:
  13551. properties:
  13552. agreementcontent:
  13553. description: 协议内容
  13554. type: string
  13555. agreementid:
  13556. description: 协议ID
  13557. type: integer
  13558. agreementname:
  13559. description: 协议名称
  13560. type: string
  13561. agreementno:
  13562. description: 协议编号
  13563. type: string
  13564. agreementtype:
  13565. description: 协议类型 - 1:注册 2:登录 3:交易
  13566. type: integer
  13567. agreementversion:
  13568. description: 协议版本号
  13569. type: integer
  13570. createtime:
  13571. description: 创建时间
  13572. type: string
  13573. goodscode:
  13574. description: 商品代码
  13575. type: string
  13576. goodsid:
  13577. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13578. type: integer
  13579. goodsname:
  13580. description: 商品名称
  13581. type: string
  13582. logid:
  13583. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13584. type: integer
  13585. nodetype:
  13586. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13587. type: integer
  13588. signadressurl:
  13589. description: 签约文件地址
  13590. type: string
  13591. signtimestamp:
  13592. description: 签约状态时间戳
  13593. type: string
  13594. userid:
  13595. description: 客户ID
  13596. type: integer
  13597. username:
  13598. description: 客户名称
  13599. type: string
  13600. type: object
  13601. models.QhjCustomerSignStatus:
  13602. properties:
  13603. createtime:
  13604. description: 创建时间
  13605. type: string
  13606. goodscode:
  13607. description: 商品代码
  13608. type: string
  13609. goodsid:
  13610. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13611. type: integer
  13612. goodsname:
  13613. description: 商品名称
  13614. type: string
  13615. nodetype:
  13616. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13617. type: integer
  13618. signtimestamp:
  13619. description: 签约状态时间戳
  13620. type: string
  13621. tradedate:
  13622. description: 创建交易日(yyyyMMdd)
  13623. type: string
  13624. updatetime:
  13625. description: 更新时间
  13626. type: string
  13627. userid:
  13628. description: 客户ID
  13629. type: integer
  13630. username:
  13631. description: 客户名称
  13632. type: string
  13633. type: object
  13634. models.QhjMgrAccountOutInApply:
  13635. properties:
  13636. accountcode:
  13637. description: 资金账号
  13638. type: string
  13639. accountname:
  13640. description: 用户名称(名称)
  13641. type: string
  13642. accountpwd:
  13643. description: 资金密码
  13644. type: string
  13645. accountticket:
  13646. description: 最新账户服务流水号
  13647. type: string
  13648. amount:
  13649. description: 金额
  13650. type: number
  13651. applyremark:
  13652. description: 申请备注
  13653. type: string
  13654. applystatus:
  13655. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13656. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13657. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13658. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13659. type: integer
  13660. auditid:
  13661. description: 审核人
  13662. type: integer
  13663. audittime:
  13664. description: 审核时间
  13665. type: string
  13666. bank_apply_ticket:
  13667. description: 银行申请流水
  13668. type: string
  13669. bankaccountname:
  13670. description: 银行账户名
  13671. type: string
  13672. bankaccountno:
  13673. description: 银行卡号
  13674. type: string
  13675. bankid:
  13676. description: 银行编号
  13677. type: string
  13678. bankname:
  13679. description: 银行名称
  13680. type: string
  13681. bankticket:
  13682. description: 银行流水
  13683. type: string
  13684. branchbankid:
  13685. description: 银行支行号
  13686. type: string
  13687. branchbankname:
  13688. description: 银行支行名称
  13689. type: string
  13690. capamountout:
  13691. description: 出金(劣后本金) - 外部子账户
  13692. type: number
  13693. certificatephotourl:
  13694. description: 凭证地址
  13695. type: string
  13696. charge:
  13697. description: 手续费
  13698. type: number
  13699. checkerrorflag:
  13700. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13701. type: integer
  13702. currency:
  13703. description: 币种
  13704. type: string
  13705. cusbankid:
  13706. description: 托管银行编号
  13707. type: string
  13708. exchticket:
  13709. description: 银行服务流水号
  13710. type: string
  13711. executetype:
  13712. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13713. 7:外部子账户:入金 8:外部子账户:出金'
  13714. type: integer
  13715. extendinfo:
  13716. description: 扩展信息
  13717. type: string
  13718. extoperateid:
  13719. description: 交易服务流水号
  13720. type: integer
  13721. infamount:
  13722. description: 劣后金额(自有)
  13723. type: number
  13724. logincode:
  13725. description: 登录账号(账号)
  13726. type: string
  13727. netaddr:
  13728. description: 调转网址
  13729. type: string
  13730. priamount:
  13731. description: 优先金额(授信)
  13732. type: number
  13733. reauditid:
  13734. description: 复审人
  13735. type: integer
  13736. reauditremark:
  13737. description: 复审备注
  13738. type: string
  13739. reaudittime:
  13740. description: 复审时间
  13741. type: string
  13742. relatedorderid:
  13743. description: 三方关联ID
  13744. type: string
  13745. remark:
  13746. description: 备注
  13747. type: string
  13748. remark2:
  13749. description: 备注(失败原因)
  13750. type: string
  13751. soucreamount:
  13752. description: 原始出入金金额
  13753. type: number
  13754. soucrecurrencyid:
  13755. description: 原始出入金币种
  13756. type: integer
  13757. tradedate:
  13758. description: 交易日(yyyyMMdd)
  13759. type: string
  13760. updatetime:
  13761. description: 更新时间(申请时间)
  13762. type: string
  13763. userid:
  13764. description: 用户id
  13765. type: integer
  13766. userinfotype:
  13767. description: 账户类型 1-个人 2-企业
  13768. type: integer
  13769. type: object
  13770. models.QhjMgrBrokerApply:
  13771. properties:
  13772. applicantid:
  13773. description: 申请人
  13774. type: integer
  13775. applysrc:
  13776. description: 申请来源 - 1:管理端 2:终端
  13777. type: integer
  13778. applystatus:
  13779. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13780. type: integer
  13781. applytime:
  13782. description: 申请时间
  13783. type: string
  13784. auditorid:
  13785. description: 审核人
  13786. type: integer
  13787. auditremark:
  13788. description: 审核备注
  13789. type: string
  13790. auditsrc:
  13791. description: 审核来源 - 1:管理端 2:终端
  13792. type: integer
  13793. audittime:
  13794. description: 审核时间
  13795. type: string
  13796. audittradedate:
  13797. description: 审核交易日(yyyyMMdd)
  13798. type: string
  13799. brokerapplyid:
  13800. description: 申请ID(SEQ_BROKERAPPLY)
  13801. type: integer
  13802. cardbackphotourl:
  13803. description: 证件背面图片地址
  13804. type: string
  13805. cardfrontphotourl:
  13806. description: 证件正面图片地址
  13807. type: string
  13808. cardnum:
  13809. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13810. type: string
  13811. customername:
  13812. description: 姓名
  13813. type: string
  13814. filterstatus:
  13815. description: 筛选条件
  13816. type: string
  13817. logincode:
  13818. description: 登录代码
  13819. type: string
  13820. mobile:
  13821. description: 手机号码
  13822. type: string
  13823. parentuserid:
  13824. description: 所属机构id
  13825. type: integer
  13826. parentusername:
  13827. description: 所属机构名称
  13828. type: string
  13829. refereeuserid:
  13830. description: 推荐人id(经纪人)
  13831. type: integer
  13832. refernum:
  13833. description: 推荐码
  13834. type: string
  13835. remark:
  13836. description: 备注
  13837. type: string
  13838. subarealevelpath:
  13839. description: 层级路径
  13840. type: string
  13841. tradedate:
  13842. description: 交易日(yyyyMMdd)
  13843. type: string
  13844. userid:
  13845. description: 申请人用户ID
  13846. type: integer
  13847. userinfotype:
  13848. description: 用户类型 1-个人 2-企业
  13849. type: integer
  13850. username:
  13851. description: 用户名称
  13852. type: string
  13853. type: object
  13854. models.QhjMgrBrokerRewardReport:
  13855. properties:
  13856. createtime:
  13857. description: 创建时间(注册时间)
  13858. type: string
  13859. cycletime:
  13860. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13861. type: string
  13862. cycletype:
  13863. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13864. type: integer
  13865. directtotalnum:
  13866. description: 直推总人数【期末】
  13867. type: integer
  13868. indirecttotalnum:
  13869. description: 间推总人数【期末】
  13870. type: integer
  13871. mobile:
  13872. description: 电话号码
  13873. type: string
  13874. refereeuserid:
  13875. description: 推荐人id(经纪人id)
  13876. type: integer
  13877. refereeusername:
  13878. description: 推荐人名称(经纪人) 上级经纪人名称
  13879. type: string
  13880. refernum:
  13881. description: 推荐码
  13882. type: string
  13883. subarealevelpath:
  13884. description: 用户层级路径
  13885. type: string
  13886. todayrewardamount:
  13887. description: 奖励总金额【汇总】
  13888. type: number
  13889. updatetime:
  13890. description: 更新时间
  13891. type: string
  13892. userid:
  13893. description: 经纪人用户ID
  13894. type: integer
  13895. userinfotype:
  13896. description: 用户类型 1-个人 2-企业
  13897. type: integer
  13898. username:
  13899. description: 用户名称
  13900. type: string
  13901. type: object
  13902. models.QhjMgrContract:
  13903. properties:
  13904. contractconfirmtime:
  13905. description: 合同确认时间(时间)
  13906. type: string
  13907. currisklevel:
  13908. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13909. type: integer
  13910. decimalplace:
  13911. description: 商品报价小数位
  13912. type: integer
  13913. enumdicname:
  13914. description: 单位名称
  13915. type: string
  13916. goodscode:
  13917. description: 商品代码
  13918. type: string
  13919. goodsid:
  13920. description: 商品ID [5:融资单]
  13921. type: integer
  13922. goodsname:
  13923. description: 商品名称
  13924. type: string
  13925. goodunitid:
  13926. description: 商品单位id
  13927. type: integer
  13928. initmargin:
  13929. description: 初始保证金(首付款)
  13930. type: number
  13931. lenderamount:
  13932. description: 贷款金额(总额|订单总额)
  13933. type: number
  13934. logincode:
  13935. description: 账号(登录代码)
  13936. type: string
  13937. marginratio:
  13938. description: 保证金比率(首付比例)
  13939. type: number
  13940. mobile:
  13941. description: 电话号码(用户资料里的电话)
  13942. type: string
  13943. payamount:
  13944. description: 已付(已付货款)
  13945. type: number
  13946. reckonrecovermargin:
  13947. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13948. type: number
  13949. recoveredmargin:
  13950. description: 已追缴保证金
  13951. type: number
  13952. remainamount:
  13953. description: 合同剩余金额(融资额)
  13954. type: number
  13955. scfcontractid:
  13956. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13957. type: string
  13958. scfcontractstatus:
  13959. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13960. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13961. type: integer
  13962. scfcontracttype:
  13963. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13964. type: integer
  13965. totalinterest:
  13966. description: 已计总利息(利息)
  13967. type: number
  13968. tradedate:
  13969. description: 交易日
  13970. type: string
  13971. tradeprice:
  13972. description: 成交价格(成本价格)
  13973. type: number
  13974. userid:
  13975. description: 用户ID
  13976. type: integer
  13977. userinfotype:
  13978. description: 用户类型 1-个人 2-企业
  13979. type: integer
  13980. username:
  13981. description: 用户名称
  13982. type: string
  13983. wrqty:
  13984. description: 仓单数量(数量)
  13985. type: number
  13986. type: object
  13987. models.QhjMgrCustomer:
  13988. properties:
  13989. address:
  13990. description: 通讯地址
  13991. type: string
  13992. attachment1:
  13993. description: 附件1
  13994. type: string
  13995. audittime:
  13996. description: 审核时间
  13997. type: string
  13998. birthday:
  13999. description: 生日
  14000. type: string
  14001. brokerid:
  14002. description: 所属客户经理id
  14003. type: integer
  14004. brokername:
  14005. description: 所属客户经理名称
  14006. type: string
  14007. cardbackphotourl:
  14008. description: 证件反面图片地址
  14009. type: string
  14010. cardfrontphotourl:
  14011. description: 证件正面图片地址
  14012. type: string
  14013. cardnum:
  14014. description: 证件号码
  14015. type: string
  14016. cardtype:
  14017. description: 证件类型
  14018. type: integer
  14019. cardtypename:
  14020. description: 证件类型名称
  14021. type: string
  14022. cityid:
  14023. description: 市
  14024. type: integer
  14025. cityname:
  14026. description: 城市名称
  14027. type: string
  14028. contactname:
  14029. description: 联系人
  14030. type: string
  14031. countryid:
  14032. description: 国家
  14033. type: integer
  14034. countryname:
  14035. description: 国家名称
  14036. type: string
  14037. createtime:
  14038. description: 创建时间
  14039. type: string
  14040. customername:
  14041. description: 客户名称
  14042. type: string
  14043. districtid:
  14044. description: 区域
  14045. type: integer
  14046. districtname:
  14047. description: 地区名称
  14048. type: string
  14049. email:
  14050. description: 邮件
  14051. type: string
  14052. legalpersonname:
  14053. description: 法人姓名(企业)
  14054. type: string
  14055. logincode:
  14056. description: 登录账号(代码)
  14057. type: string
  14058. memberuserid:
  14059. description: 所属机构ID(所属会员)
  14060. type: integer
  14061. memberusername:
  14062. description: 所属会员名称
  14063. type: string
  14064. mobile:
  14065. description: 手机号码
  14066. type: string
  14067. modifytime:
  14068. description: 修改时间
  14069. type: string
  14070. nickname:
  14071. description: 昵称
  14072. type: string
  14073. parentuserid:
  14074. description: 上级机构(所属机构)
  14075. type: integer
  14076. parentusername:
  14077. description: 所属机构名称
  14078. type: string
  14079. provinceid:
  14080. description: 省
  14081. type: integer
  14082. provincename:
  14083. description: 省名称
  14084. type: string
  14085. proxystatementurl:
  14086. description: 授权委托书
  14087. type: string
  14088. querytype:
  14089. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14090. type: integer
  14091. remark:
  14092. description: 备注
  14093. type: string
  14094. sex:
  14095. description: 性别 0-女 1-男
  14096. type: integer
  14097. status:
  14098. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14099. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14100. type: integer
  14101. statusdesc:
  14102. description: 账户状态中文描述
  14103. type: string
  14104. taxpayernum:
  14105. description: 纳税人识别号
  14106. type: string
  14107. telphone:
  14108. description: 联系电话
  14109. type: string
  14110. userid:
  14111. description: 用户ID
  14112. type: integer
  14113. userinfotype:
  14114. description: 客户类型 1-个人 2-企业
  14115. type: integer
  14116. username:
  14117. description: 用户名称
  14118. type: string
  14119. type: object
  14120. models.QhjMgrPickGoods:
  14121. properties:
  14122. enumdicname:
  14123. description: 单位名称(提货商品)
  14124. type: string
  14125. goodsid:
  14126. description: 商品id
  14127. type: integer
  14128. imageaddress:
  14129. description: 图片
  14130. type: string
  14131. modifierid:
  14132. description: 修改人
  14133. type: integer
  14134. modifiername:
  14135. description: 修改人名称
  14136. type: string
  14137. modifysrc:
  14138. description: 修改来源 - 1:管理端 2:终端
  14139. type: integer
  14140. pickupgoodsagreeunit:
  14141. description: 合约乘数
  14142. type: number
  14143. pickupgoodsdesc:
  14144. description: 描述
  14145. type: string
  14146. pickupgoodsid:
  14147. description: 提货商品ID
  14148. type: string
  14149. pickupgoodsname:
  14150. description: 提货商品名称
  14151. type: string
  14152. pickupgoodsstatus:
  14153. description: 状态 - 1:正常 2:停用 3:注销
  14154. type: integer
  14155. pickupgoodsunitid:
  14156. description: 单位ID
  14157. type: integer
  14158. pickupratio:
  14159. description: 提货系数
  14160. type: number
  14161. preparedays:
  14162. description: 备货期(天)
  14163. type: integer
  14164. remark:
  14165. description: 备注
  14166. type: string
  14167. updatetime:
  14168. description: 更新时间
  14169. type: string
  14170. type: object
  14171. models.QhjMgrPositionRsp:
  14172. properties:
  14173. accountid:
  14174. description: 账号Id
  14175. type: integer
  14176. accountname:
  14177. description: 用户名称
  14178. type: string
  14179. agreeunit:
  14180. description: 合约乘数
  14181. type: number
  14182. averageprice:
  14183. description: 均价
  14184. type: number
  14185. avialqty:
  14186. description: 可用数量
  14187. type: number
  14188. decimalplace:
  14189. description: 报价小数位
  14190. type: integer
  14191. enumdicname:
  14192. description: 单位名称(商品)
  14193. type: string
  14194. frozenqty:
  14195. description: 冻结数量
  14196. type: number
  14197. goodscode:
  14198. description: 商品代码(内部)
  14199. type: string
  14200. goodsid:
  14201. description: 商品Id
  14202. type: integer
  14203. goodsname:
  14204. description: 商品名称
  14205. type: string
  14206. goodunitid:
  14207. description: 报价单位ID
  14208. type: integer
  14209. holderamount:
  14210. description: 金额
  14211. type: number
  14212. holderqty:
  14213. description: 持有数量
  14214. type: number
  14215. holdertype:
  14216. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14217. type: integer
  14218. logincode:
  14219. description: 登录代码(账户)
  14220. type: string
  14221. marketid:
  14222. description: 市场id
  14223. type: integer
  14224. qtydecimalplace:
  14225. description: 成交量小数位
  14226. type: integer
  14227. trademode:
  14228. description: 交易模式
  14229. type: integer
  14230. userid:
  14231. description: 用户id
  14232. type: integer
  14233. userinfotype:
  14234. description: 账户类型 1-个人 2-企业
  14235. type: integer
  14236. type: object
  14237. models.QhjMgrSubArea:
  14238. properties:
  14239. accountname:
  14240. description: 账户名称(机构名称)
  14241. type: string
  14242. memberuserid:
  14243. description: 所属会员ID
  14244. type: integer
  14245. parenttopuser:
  14246. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14247. type: string
  14248. parentuserid:
  14249. description: 所属机构ID
  14250. type: integer
  14251. rootuserid:
  14252. description: 根用户ID
  14253. type: string
  14254. subaccountlevel:
  14255. description: 子账户层数
  14256. type: integer
  14257. subarealevelpath:
  14258. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14259. type: string
  14260. userid:
  14261. description: 用户ID
  14262. type: integer
  14263. usertype:
  14264. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14265. type: integer
  14266. type: object
  14267. models.QhjMgrTradeDetailRsp:
  14268. properties:
  14269. accountid:
  14270. description: 资金账号
  14271. type: integer
  14272. accountname:
  14273. description: 用户名称
  14274. type: string
  14275. agreeunit:
  14276. description: 合约乘数
  14277. type: number
  14278. buyorsell:
  14279. description: 成交类型(方向) 0:买 1:卖
  14280. type: integer
  14281. decimalplace:
  14282. description: 报价小数位
  14283. type: integer
  14284. enumdicname:
  14285. description: 单位名称(商品)
  14286. type: string
  14287. goodscode:
  14288. description: 商品代码(内部)
  14289. type: string
  14290. goodsid:
  14291. description: 商品id
  14292. type: integer
  14293. goodsname:
  14294. description: 商品名称
  14295. type: string
  14296. goodunitid:
  14297. description: 报价单位ID
  14298. type: integer
  14299. logincode:
  14300. description: 登录代码(账户)
  14301. type: string
  14302. marketid:
  14303. description: 市场id
  14304. type: integer
  14305. orderid:
  14306. description: 关联委托单号
  14307. type: string
  14308. qtydecimalplace:
  14309. description: 成交量小数位
  14310. type: integer
  14311. tradeamount:
  14312. description: 金额
  14313. type: number
  14314. tradedate:
  14315. description: 交易日
  14316. type: string
  14317. tradeid:
  14318. description: 成交单号
  14319. type: string
  14320. trademode:
  14321. description: 交易模式
  14322. type: integer
  14323. tradeprice:
  14324. description: 价格
  14325. type: number
  14326. tradeqty:
  14327. description: 数量
  14328. type: number
  14329. tradetime:
  14330. description: 成交时间
  14331. type: string
  14332. userid:
  14333. description: 用户id
  14334. type: integer
  14335. userinfotype:
  14336. description: 账户类型 1-个人 2-企业
  14337. type: integer
  14338. type: object
  14339. models.QhjMgrTradeOrderDetailRsp:
  14340. properties:
  14341. accountid:
  14342. description: 资金账号
  14343. type: integer
  14344. accountname:
  14345. description: 用户名称
  14346. type: string
  14347. agreeunit:
  14348. description: 合约乘数
  14349. type: number
  14350. amount:
  14351. description: 金额
  14352. type: number
  14353. decimalplace:
  14354. description: 报价小数位
  14355. type: integer
  14356. enumdicname:
  14357. description: 单位名称(商品)
  14358. type: string
  14359. goodscode:
  14360. description: 商品代码(内部)
  14361. type: string
  14362. goodsid:
  14363. description: 商品id
  14364. type: integer
  14365. goodsname:
  14366. description: 商品名称
  14367. type: string
  14368. goodunitid:
  14369. description: 报价单位ID
  14370. type: integer
  14371. logincode:
  14372. description: 登录代码(账户)
  14373. type: string
  14374. marketid:
  14375. description: 市场id
  14376. type: integer
  14377. orderid:
  14378. description: 关联委托单号
  14379. type: string
  14380. orderprice:
  14381. description: 价格
  14382. type: number
  14383. orderqty:
  14384. description: 数量
  14385. type: number
  14386. orderstatus:
  14387. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14388. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14389. 16:成交失败违约(荷兰式竞拍专用)
  14390. type: integer
  14391. ordertime:
  14392. description: 委托时间
  14393. type: string
  14394. qtydecimalplace:
  14395. description: 成交量小数位
  14396. type: integer
  14397. tradedate:
  14398. description: 交易日
  14399. type: string
  14400. trademode:
  14401. description: 交易模式
  14402. type: integer
  14403. userid:
  14404. description: 用户id
  14405. type: integer
  14406. userinfotype:
  14407. description: 账户类型 1-个人 2-企业
  14408. type: integer
  14409. type: object
  14410. models.QhjMgrTradePayOrder:
  14411. properties:
  14412. accountname:
  14413. description: 用户名称
  14414. type: string
  14415. advanceratio:
  14416. description: 首付比率
  14417. type: number
  14418. agreeunit:
  14419. description: 合约乘数
  14420. type: number
  14421. buyaccountid:
  14422. description: 买方账号ID[报价币种]
  14423. type: integer
  14424. buyorderid:
  14425. description: 买方委托单号(关联单号)
  14426. type: string
  14427. createtime:
  14428. description: 创建时间
  14429. type: string
  14430. decimalplace:
  14431. description: 报价小数位
  14432. type: integer
  14433. enumdicname:
  14434. description: 单位名称(商品)
  14435. type: string
  14436. goodscode:
  14437. description: 商品代码(内部)
  14438. type: string
  14439. goodsid:
  14440. description: 商品ID
  14441. type: integer
  14442. goodsname:
  14443. description: 商品名称
  14444. type: string
  14445. goodunitid:
  14446. description: 报价单位ID
  14447. type: integer
  14448. logincode:
  14449. description: 登录代码(账户)
  14450. type: string
  14451. marketid:
  14452. description: 市场id
  14453. type: integer
  14454. offamount:
  14455. description: 优惠金额
  14456. type: number
  14457. operatetype:
  14458. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14459. type: integer
  14460. payamount:
  14461. description: 支付金额(金额)
  14462. type: number
  14463. payflag:
  14464. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14465. type: integer
  14466. paylimitedtime:
  14467. description: 支付期限
  14468. type: string
  14469. paytime:
  14470. description: 付款时间
  14471. type: string
  14472. qtydecimalplace:
  14473. description: 成交量小数位
  14474. type: integer
  14475. sellaccountid:
  14476. description: 卖方账号ID[报价币种]
  14477. type: integer
  14478. sellorderid:
  14479. description: 卖方委托单号
  14480. type: string
  14481. tradeamount:
  14482. description: 成交金额(优惠后金额)
  14483. type: number
  14484. tradecharge:
  14485. description: 成交手续费(买方)
  14486. type: number
  14487. tradedate:
  14488. description: 交易日(yyyyMMdd)
  14489. type: string
  14490. tradeid:
  14491. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14492. type: string
  14493. trademode:
  14494. description: 交易模式
  14495. type: integer
  14496. tradeprice:
  14497. description: 成交价格(价格)
  14498. type: number
  14499. tradeqty:
  14500. description: 成交数量(数量)
  14501. type: number
  14502. tradetime:
  14503. description: 成交时间
  14504. type: string
  14505. userid:
  14506. description: 用户id
  14507. type: integer
  14508. userinfotype:
  14509. description: 账户类型 1-个人 2-企业
  14510. type: integer
  14511. type: object
  14512. models.QhjMyTeamEx:
  14513. properties:
  14514. accountname:
  14515. description: 用户名称
  14516. type: string
  14517. accountstatus:
  14518. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14519. type: integer
  14520. createtime:
  14521. description: 创建时间
  14522. type: string
  14523. mobile:
  14524. description: 手机号码
  14525. type: string
  14526. refereeuserid:
  14527. description: 推荐人id
  14528. type: integer
  14529. refernum:
  14530. description: 推荐码
  14531. type: string
  14532. subList:
  14533. items:
  14534. $ref: '#/definitions/models.QhjMyTeamEx'
  14535. type: array
  14536. userid:
  14537. description: 用户id
  14538. type: integer
  14539. userinfotype:
  14540. description: 用户类型 1-个人 2-企业
  14541. type: integer
  14542. type: object
  14543. models.QhjNodeAgreementConfig:
  14544. properties:
  14545. agreementcontent:
  14546. description: 协议内容
  14547. type: string
  14548. agreementid:
  14549. description: 协议ID
  14550. type: integer
  14551. agreementname:
  14552. description: 协议名称
  14553. type: string
  14554. agreementno:
  14555. description: 协议编号
  14556. type: string
  14557. agreementtype:
  14558. description: 协议类型 - 1:注册 2:登录 3:交易
  14559. type: integer
  14560. agreementversion:
  14561. description: 协议版本号
  14562. type: integer
  14563. configid:
  14564. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14565. type: integer
  14566. createtime:
  14567. description: 创建时间
  14568. type: string
  14569. goodsid:
  14570. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14571. type: integer
  14572. nodetype:
  14573. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14574. type: integer
  14575. type: object
  14576. models.QhjParentAreaList:
  14577. properties:
  14578. accountname:
  14579. description: 账户名称(机构名称)
  14580. type: string
  14581. userid:
  14582. description: 用户ID
  14583. type: integer
  14584. usertype:
  14585. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14586. type: integer
  14587. type: object
  14588. models.QhjPayOrder:
  14589. properties:
  14590. advanceratio:
  14591. description: 首付比率
  14592. type: number
  14593. buyaccountid:
  14594. description: 买方账号ID[报价币种]
  14595. type: integer
  14596. buyorderid:
  14597. description: 买方委托单号
  14598. type: string
  14599. createtime:
  14600. description: 创建时间
  14601. type: string
  14602. decimalplace:
  14603. description: 商品报价小数位
  14604. type: integer
  14605. enumdicname:
  14606. description: 单位名称
  14607. type: string
  14608. goodscode:
  14609. description: 商品代码
  14610. type: string
  14611. goodsid:
  14612. description: 商品ID
  14613. type: integer
  14614. goodsname:
  14615. description: 商品名称
  14616. type: string
  14617. goodunitid:
  14618. description: 商品单位id
  14619. type: integer
  14620. marketid:
  14621. description: 市场ID
  14622. type: integer
  14623. offamount:
  14624. description: 优惠金额
  14625. type: number
  14626. operatetype:
  14627. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14628. type: integer
  14629. payamount:
  14630. description: 支付金额
  14631. type: number
  14632. payflag:
  14633. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14634. type: integer
  14635. paylimitedtime:
  14636. description: 支付期限
  14637. type: string
  14638. paytime:
  14639. description: 付款时间
  14640. type: string
  14641. qtydecimalplace:
  14642. description: 成交量小数位
  14643. type: integer
  14644. sellaccountid:
  14645. description: 卖方账号ID[报价币种]
  14646. type: integer
  14647. sellorderid:
  14648. description: 卖方委托单号
  14649. type: string
  14650. tradeamount:
  14651. description: 成交金额(优惠后金额)
  14652. type: number
  14653. tradecharge:
  14654. description: 成交手续费(买方)
  14655. type: number
  14656. tradedate:
  14657. description: 交易日(yyyyMMdd)
  14658. type: string
  14659. tradeid:
  14660. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14661. type: string
  14662. tradeprice:
  14663. description: 成交价格
  14664. type: number
  14665. tradeqty:
  14666. description: 成交数量
  14667. type: number
  14668. type: object
  14669. models.QhjPickArea:
  14670. properties:
  14671. address:
  14672. description: 详细地址
  14673. type: string
  14674. cityid:
  14675. description: 市
  14676. type: integer
  14677. cityname:
  14678. description: 城市名称
  14679. type: string
  14680. countryid:
  14681. description: 国家
  14682. type: integer
  14683. countryname:
  14684. description: 国家名称
  14685. type: string
  14686. districtid:
  14687. description: 地区
  14688. type: integer
  14689. districtname:
  14690. description: 地区名称
  14691. type: string
  14692. fromuserid:
  14693. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14694. type: integer
  14695. fromusername:
  14696. description: 所属机构名称
  14697. type: string
  14698. provinceid:
  14699. description: 省
  14700. type: integer
  14701. provincename:
  14702. description: 省名称
  14703. type: string
  14704. suborgtype:
  14705. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14706. type: integer
  14707. userid:
  14708. description: 机构用户ID 其他做市关系,都设置为 1
  14709. type: integer
  14710. username:
  14711. description: 机构用户名称(门店门称)
  14712. type: string
  14713. type: object
  14714. models.QhjPickGoods:
  14715. properties:
  14716. enumdicname:
  14717. description: 单位名称(提货商品)
  14718. type: string
  14719. goodsid:
  14720. description: 商品id
  14721. type: integer
  14722. imageaddress:
  14723. description: 图片
  14724. type: string
  14725. modifierid:
  14726. description: 修改人
  14727. type: integer
  14728. modifiername:
  14729. description: 修改人名称
  14730. type: string
  14731. modifysrc:
  14732. description: 修改来源 - 1:管理端 2:终端
  14733. type: integer
  14734. pickupgoodsagreeunit:
  14735. description: 合约乘数
  14736. type: number
  14737. pickupgoodsdesc:
  14738. description: 描述
  14739. type: string
  14740. pickupgoodsid:
  14741. description: 提货商品ID
  14742. type: string
  14743. pickupgoodsname:
  14744. description: 提货商品名称
  14745. type: string
  14746. pickupgoodsstatus:
  14747. description: 状态 - 1:正常 2:停用 3:注销
  14748. type: integer
  14749. pickupgoodsunitid:
  14750. description: 单位ID
  14751. type: integer
  14752. pickupratio:
  14753. description: 提货系数
  14754. type: number
  14755. preparedays:
  14756. description: 备货期(天)
  14757. type: integer
  14758. remark:
  14759. description: 备注
  14760. type: string
  14761. updatetime:
  14762. description: 更新时间
  14763. type: string
  14764. type: object
  14765. models.QhjRSTriggerLog:
  14766. properties:
  14767. accountid:
  14768. description: 用户资金账户
  14769. type: integer
  14770. accountname:
  14771. description: 账号名称(ACCOUNTID对应的名称)
  14772. type: string
  14773. currencyid:
  14774. description: 币种id
  14775. type: integer
  14776. currencyname:
  14777. description: 币种名称
  14778. type: string
  14779. decimalplace:
  14780. description: 商品报价小数位
  14781. type: integer
  14782. enumdicname:
  14783. description: 单位名称
  14784. type: string
  14785. goodscode:
  14786. description: 定投商品代码
  14787. type: string
  14788. goodsid:
  14789. description: 定投商品ID
  14790. type: integer
  14791. goodsname:
  14792. description: 定投商品名称
  14793. type: string
  14794. goodunitid:
  14795. description: 定投商品单位id
  14796. type: integer
  14797. logid:
  14798. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14799. type: string
  14800. logincode:
  14801. description: 账号(登录代码)
  14802. type: string
  14803. qtydecimalplace:
  14804. description: 成交量小数位
  14805. type: integer
  14806. regularlycycle:
  14807. description: 定投频率 - 1:每周 2:每月
  14808. type: integer
  14809. regularlycyclevalue:
  14810. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14811. type: string
  14812. regularlymode:
  14813. description: 定投方式 - 1:按数量 2:按金额
  14814. type: integer
  14815. regularlymodevalue:
  14816. description: 定投方式值 - 数量或金额
  14817. type: number
  14818. regularlystrategyid:
  14819. description: 定投策略ID
  14820. type: integer
  14821. retcode:
  14822. description: 错误码
  14823. type: string
  14824. tradeid:
  14825. description: 成交单ID
  14826. type: string
  14827. triggeramount:
  14828. description: 触发金额
  14829. type: number
  14830. triggerqty:
  14831. description: 触发数量
  14832. type: number
  14833. triggerstatus:
  14834. description: 触发状态 - 1:成功 2:失败
  14835. type: integer
  14836. triggertime:
  14837. description: 触发时间
  14838. type: string
  14839. triggertradedate:
  14840. description: 触发交易日
  14841. type: string
  14842. userid:
  14843. description: 所属用户ID
  14844. type: integer
  14845. userinfotype:
  14846. description: 用户类型 1-个人 2-企业
  14847. type: integer
  14848. username:
  14849. description: 用户名称(userid对应的名称)
  14850. type: string
  14851. type: object
  14852. models.QhjRStrategy:
  14853. properties:
  14854. accountid:
  14855. description: 用户资金账户
  14856. type: integer
  14857. accountname:
  14858. description: 账号名称(ACCOUNTID对应的名称)
  14859. type: string
  14860. currencyid:
  14861. description: 币种id
  14862. type: integer
  14863. currencyname:
  14864. description: 币种名称
  14865. type: string
  14866. decimalplace:
  14867. description: 商品报价小数位
  14868. type: integer
  14869. enumdicname:
  14870. description: 单位名称
  14871. type: string
  14872. goodscode:
  14873. description: 定投商品代码
  14874. type: string
  14875. goodsid:
  14876. description: 定投商品ID
  14877. type: integer
  14878. goodsname:
  14879. description: 定投商品名称
  14880. type: string
  14881. goodunitid:
  14882. description: 定投商品单位id
  14883. type: integer
  14884. lasteffecttradedate:
  14885. description: 最新生效交易日
  14886. type: string
  14887. laststoptradedate:
  14888. description: 最新暂停交易日
  14889. type: string
  14890. lasttriggertradedate:
  14891. description: 最新触发交易日
  14892. type: string
  14893. logincode:
  14894. description: 账号(登录代码)
  14895. type: string
  14896. nexttriggeramount:
  14897. description: 下次触发金额
  14898. type: number
  14899. nexttriggerdate:
  14900. description: 下次触发日期
  14901. type: string
  14902. nexttriggerqty:
  14903. description: 下次触发数量 [按小数位放大值]
  14904. type: number
  14905. qtydecimalplace:
  14906. description: 成交量小数位
  14907. type: integer
  14908. regularlycycle:
  14909. description: 定投频率 - 1:每周 2:每月
  14910. type: integer
  14911. regularlycyclevalue:
  14912. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14913. type: string
  14914. regularlymode:
  14915. description: 定投方式 - 1:按数量 2:按金额
  14916. type: integer
  14917. regularlymodevalue:
  14918. description: 定投方式值 - 数量或金额
  14919. type: number
  14920. regularlystrategyid:
  14921. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14922. type: integer
  14923. regularlystrategystatus:
  14924. description: 策略状态 - 1:正常 2:暂停 3:终止
  14925. type: integer
  14926. remark:
  14927. description: 备注
  14928. type: string
  14929. triggersuccesstimes:
  14930. description: 累计定投成功次数
  14931. type: string
  14932. triggertotalamount:
  14933. description: 累计定投金额(成功)
  14934. type: number
  14935. triggertotalqty:
  14936. description: 累计定投数量(成功) [按小数位放大值]
  14937. type: number
  14938. triggertotaltimes:
  14939. description: 累计定投总次数
  14940. type: string
  14941. updatesrc:
  14942. description: 更新来源 - 1:管理端 2:终端
  14943. type: integer
  14944. updatetime:
  14945. description: 更新时间
  14946. type: string
  14947. updatorid:
  14948. description: 更新人
  14949. type: string
  14950. userid:
  14951. description: 所属用户ID
  14952. type: integer
  14953. userinfotype:
  14954. description: 用户类型 1-个人 2-企业
  14955. type: integer
  14956. username:
  14957. description: 用户名称(userid对应的名称)
  14958. type: string
  14959. type: object
  14960. models.QhjReckonPriceLog:
  14961. properties:
  14962. decimalplace:
  14963. description: 商品报价小数位
  14964. type: integer
  14965. goodscode:
  14966. description: 商品代码
  14967. type: string
  14968. goodsid:
  14969. description: 商品ID
  14970. type: integer
  14971. goodsname:
  14972. description: 商品名称
  14973. type: string
  14974. lastreckonprice:
  14975. description: 上日结算价
  14976. type: number
  14977. nextdnlimitprice:
  14978. description: 下个交易日跌停价
  14979. type: number
  14980. nexttrade:
  14981. description: 下个交易日
  14982. type: string
  14983. nextuplimitprice:
  14984. description: 下个交易日涨停价
  14985. type: number
  14986. reckonprice:
  14987. description: 今日结算价(定投价)
  14988. type: number
  14989. reckontime:
  14990. description: 结算时间
  14991. type: string
  14992. totalholderqty:
  14993. description: 总持仓数
  14994. type: integer
  14995. totalstock:
  14996. description: 总库存
  14997. type: integer
  14998. tradedate:
  14999. description: 交易日
  15000. type: string
  15001. updowncount:
  15002. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15003. type: integer
  15004. updownflag:
  15005. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15006. type: integer
  15007. updownrate:
  15008. description: 今日涨跌幅
  15009. type: number
  15010. updownrate_2d:
  15011. description: 连续两日涨跌幅
  15012. type: number
  15013. updownrate_3d:
  15014. description: 连续三日涨跌幅
  15015. type: number
  15016. type: object
  15017. models.QhjScoreLog:
  15018. properties:
  15019. accountid:
  15020. description: 账户ID
  15021. type: integer
  15022. createtime:
  15023. description: 创建时间(时间)
  15024. type: string
  15025. goodsid:
  15026. description: 商品ID
  15027. type: integer
  15028. hasuploaded:
  15029. description: 是否已同步(千海金) 0:未同步 1;已同步
  15030. type: integer
  15031. logid:
  15032. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15033. type: string
  15034. marketid:
  15035. description: 市场ID
  15036. type: integer
  15037. relatedamount:
  15038. description: 关联金额
  15039. type: number
  15040. relatedorderid:
  15041. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15042. type: string
  15043. scoreconfigvalue1:
  15044. description: 积分配置1
  15045. type: integer
  15046. scoreconfigvalue2:
  15047. description: 积分配置1
  15048. type: integer
  15049. scoretype:
  15050. description: 积分类型 - 1:提货积分
  15051. type: integer
  15052. scorevalue:
  15053. description: 积分
  15054. type: number
  15055. tradedate:
  15056. description: 交易日(yyyyMMdd)
  15057. type: string
  15058. uploadedtime:
  15059. description: 同步时间
  15060. type: string
  15061. userid:
  15062. description: 用户ID
  15063. type: integer
  15064. type: object
  15065. models.QhjSiteColumnDetail:
  15066. properties:
  15067. author:
  15068. description: 作者
  15069. type: string
  15070. brief:
  15071. description: 简介
  15072. type: string
  15073. columnid:
  15074. description: 所属栏目
  15075. type: integer
  15076. context:
  15077. description: 内容
  15078. type: string
  15079. coverimage:
  15080. description: 封面图片
  15081. type: string
  15082. creaedate:
  15083. description: 创建时间
  15084. type: string
  15085. creatorid:
  15086. description: 创建人
  15087. type: integer
  15088. hits:
  15089. description: 点击数
  15090. type: integer
  15091. id:
  15092. description: ID(SEQ_SITE_COLUMNDETAIL)
  15093. type: integer
  15094. isshow:
  15095. description: 是否展示 - 0:不展示 1:展示
  15096. type: integer
  15097. istop:
  15098. description: 是否置顶 - 0:不置 1:置顶
  15099. type: integer
  15100. modifierid:
  15101. description: 操作人
  15102. type: integer
  15103. publishdate:
  15104. description: 发布日期
  15105. type: string
  15106. status:
  15107. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15108. type: integer
  15109. title:
  15110. description: 标题
  15111. type: string
  15112. updatedate:
  15113. description: 修改时间
  15114. type: string
  15115. userid:
  15116. description: 用户ID(默认为0, 核心为为机构用户ID)
  15117. type: integer
  15118. username:
  15119. description: 用户名称
  15120. type: string
  15121. type: object
  15122. models.QhjTeamOrder:
  15123. properties:
  15124. accountid:
  15125. description: 账户ID[报价币种]
  15126. type: integer
  15127. accountname:
  15128. description: 账户名称
  15129. type: string
  15130. agreeunit:
  15131. description: 合约乘数
  15132. type: number
  15133. buyorsell:
  15134. description: 方向 - 0:买 1:卖
  15135. type: integer
  15136. decimalplace:
  15137. description: 报价小数位
  15138. type: integer
  15139. enumdicname:
  15140. description: 单位名称
  15141. type: string
  15142. goodscode:
  15143. description: 商品代码(内部)
  15144. type: string
  15145. goodsid:
  15146. description: 商品ID
  15147. type: integer
  15148. goodsname:
  15149. description: 商品名称
  15150. type: string
  15151. goodunitid:
  15152. description: 报价单位ID
  15153. type: integer
  15154. marketid:
  15155. description: 市场ID
  15156. type: integer
  15157. marketname:
  15158. description: 市场名称
  15159. type: string
  15160. qtydecimalplace:
  15161. description: 成交量小数位
  15162. type: integer
  15163. refereeuserid:
  15164. description: 推荐人ID
  15165. type: integer
  15166. tradeamount:
  15167. description: 成交金额[账户币种,用于所有权]
  15168. type: number
  15169. tradedate:
  15170. description: 交易日(yyyyMMdd)
  15171. type: string
  15172. trademode:
  15173. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15174. 21:竞拍-大宗式 22:受托竞价
  15175. type: integer
  15176. tradeprice:
  15177. description: 成交价格
  15178. type: number
  15179. tradeqty:
  15180. description: 成交数量
  15181. type: number
  15182. tradetime:
  15183. description: 成交时间
  15184. type: string
  15185. userid:
  15186. description: 用户ID
  15187. type: integer
  15188. type: object
  15189. models.QhjTradeGoodsPickup:
  15190. properties:
  15191. accountid:
  15192. description: 账户ID
  15193. type: integer
  15194. address:
  15195. description: 提货人详细地址
  15196. type: string
  15197. amount:
  15198. description: 提货金额
  15199. type: number
  15200. artradedate:
  15201. description: 自动收货交易日(yyyyMMdd)
  15202. type: string
  15203. auditer:
  15204. description: 审核人
  15205. type: integer
  15206. auditsrc:
  15207. description: 更新来源 - 1:管理端 2:终端
  15208. type: integer
  15209. audittime:
  15210. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15211. type: string
  15212. audittradedate:
  15213. description: 审核交易日(yyyyMMdd)
  15214. type: string
  15215. cardnum:
  15216. description: 提货人证件号码
  15217. type: string
  15218. cardtypeid:
  15219. description: 提货人证件类型
  15220. type: integer
  15221. checkremark:
  15222. description: 审核备注
  15223. type: string
  15224. cityid:
  15225. description: 市
  15226. type: integer
  15227. cityname:
  15228. description: 城市名称
  15229. type: string
  15230. confirmtime:
  15231. description: 取货时间 或 收货时间
  15232. type: string
  15233. countryid:
  15234. description: 国家
  15235. type: integer
  15236. countryname:
  15237. description: 国家名称
  15238. type: string
  15239. decimalplace:
  15240. description: 商品报价小数位
  15241. type: integer
  15242. districtid:
  15243. description: 地区
  15244. type: integer
  15245. districtname:
  15246. description: 地区名称
  15247. type: string
  15248. enumdicname:
  15249. description: 单位名称(提货商品)
  15250. type: string
  15251. expresscompany:
  15252. description: 物流公司
  15253. type: string
  15254. expressnum:
  15255. description: 物流单号
  15256. type: string
  15257. goodsagreeunit:
  15258. description: 交易商品乘数
  15259. type: number
  15260. goodscode:
  15261. description: 商品代码
  15262. type: string
  15263. goodsid:
  15264. description: 商品ID
  15265. type: integer
  15266. goodsname:
  15267. description: 商品名称
  15268. type: string
  15269. goodsqty:
  15270. description: 交易商品手数(69模式按成交量小数位放大取整)
  15271. type: number
  15272. handlestatus:
  15273. description: 处理状态
  15274. type: integer
  15275. logincode:
  15276. description: 账号(登录代码, 有可能为空)
  15277. type: string
  15278. marketid:
  15279. description: 市场ID
  15280. type: integer
  15281. phonenum:
  15282. description: 提货人联系方式
  15283. type: string
  15284. pickupgoodsagreeunit:
  15285. description: 提货商品合约乘数
  15286. type: number
  15287. pickupgoodsid:
  15288. description: 提货商品ID
  15289. type: string
  15290. pickupgoodsname:
  15291. description: 提货商品名称
  15292. type: string
  15293. pickupgoodsqty:
  15294. description: 提货商品手数(数量)
  15295. type: number
  15296. pickupgoodsunitid:
  15297. description: 单位ID(提货商品)
  15298. type: integer
  15299. pickupratio:
  15300. description: 提货系数
  15301. type: number
  15302. preparedays:
  15303. description: 备货期(天)-提货单明细表
  15304. type: integer
  15305. provinceid:
  15306. description: 省
  15307. type: integer
  15308. provincename:
  15309. description: 省名称
  15310. type: string
  15311. qty:
  15312. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15313. type: number
  15314. qtydecimalplace:
  15315. description: 商品数量小数位
  15316. type: integer
  15317. recivername:
  15318. description: 提货人姓名
  15319. type: string
  15320. reqtime:
  15321. description: 提货申请时间
  15322. type: string
  15323. storeuserid:
  15324. description: 门店用户ID (千海金)
  15325. type: integer
  15326. storeusername:
  15327. description: 门店用户名称
  15328. type: string
  15329. takemode:
  15330. description: 提货方式 - 2:自提 3:配送(邮寄)
  15331. type: integer
  15332. takeorderid:
  15333. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15334. type: string
  15335. takeorderstatus:
  15336. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15337. 7:已拒绝 8:已撤销
  15338. type: integer
  15339. takeremark:
  15340. description: 提货备注
  15341. type: string
  15342. tradedate:
  15343. description: 交易日(yyyyMMdd)
  15344. type: string
  15345. updatetime:
  15346. description: 更新时间
  15347. type: string
  15348. userid:
  15349. description: 用户ID
  15350. type: integer
  15351. userinfotype:
  15352. description: 客户类型 1-个人 2-企业
  15353. type: integer
  15354. username:
  15355. description: 用户名称
  15356. type: string
  15357. type: object
  15358. models.QhjUserNodeCfgAndStatus:
  15359. properties:
  15360. agreementcontent:
  15361. description: 协议内容
  15362. type: string
  15363. agreementid:
  15364. description: 协议ID
  15365. type: integer
  15366. agreementname:
  15367. description: 协议名称
  15368. type: string
  15369. agreementno:
  15370. description: 协议编号
  15371. type: string
  15372. agreementtype:
  15373. description: 协议类型 - 1:注册 2:登录 3:交易
  15374. type: integer
  15375. agreementversion:
  15376. description: 协议版本号
  15377. type: integer
  15378. configid:
  15379. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15380. type: integer
  15381. createtime:
  15382. description: 创建时间
  15383. type: string
  15384. goodsid:
  15385. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15386. type: integer
  15387. nodetype:
  15388. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15389. type: integer
  15390. signtimestamp:
  15391. description: 签约状态时间戳(最近一次)
  15392. type: string
  15393. tradedate:
  15394. description: 签约交易日(yyyyMMdd)
  15395. type: string
  15396. userid:
  15397. description: 客户ID
  15398. type: integer
  15399. type: object
  15400. models.Qhjgoodsex:
  15401. properties:
  15402. canfinance:
  15403. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15404. type: integer
  15405. canregularlybuy:
  15406. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15407. type: integer
  15408. defaulttradeuserid:
  15409. description: 默认交易用户ID
  15410. type: integer
  15411. deliverygoodsid:
  15412. description: 现货品种ID
  15413. type: integer
  15414. goodsid:
  15415. description: 商品ID(自增ID SEQ_GOODS)
  15416. type: integer
  15417. minamount:
  15418. description: 最小购买金额
  15419. type: number
  15420. regularlybuyminamount:
  15421. description: 定投最小金额
  15422. type: number
  15423. regularlybuyminqty:
  15424. description: 定投最小数量
  15425. type: number
  15426. spotgoodsbrandid:
  15427. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15428. type: integer
  15429. visibilityforenterprise:
  15430. description: 企业客户是否可见 - 0:不可见 1:可见
  15431. type: integer
  15432. visibilityforpersonal:
  15433. description: 个人客户是否可见 - 0:不可见 1:可见
  15434. type: integer
  15435. wrstandardid:
  15436. description: 现货商品ID
  15437. type: integer
  15438. type: object
  15439. models.QueryErrorInfosRsp:
  15440. properties:
  15441. description:
  15442. description: 异常描述
  15443. type: string
  15444. errorcode:
  15445. description: 异常代码
  15446. type: string
  15447. errorid:
  15448. description: 异常ID
  15449. type: integer
  15450. modulecode:
  15451. description: 所属模块
  15452. type: string
  15453. operatecode:
  15454. description: 所属操作
  15455. type: string
  15456. rownumber:
  15457. description: 行号
  15458. type: string
  15459. required:
  15460. - errorid
  15461. type: object
  15462. models.QueryHedgeOrderDetailRsp:
  15463. properties:
  15464. accountid:
  15465. description: 账户ID
  15466. type: integer
  15467. buyorsell:
  15468. description: 买卖 - 0:买 1:卖
  15469. type: integer
  15470. cancellogincode:
  15471. description: 撤单人
  15472. type: string
  15473. channelbuildtype:
  15474. description: 开平标志 - 0:无 1:建仓 2:平仓
  15475. type: integer
  15476. channelinnerorderstatus:
  15477. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15478. 9:全部成交
  15479. type: integer
  15480. channeloperatetype:
  15481. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15482. type: integer
  15483. closetype:
  15484. description: 平仓方式 - 0:无 1:平今 2:平昨
  15485. type: integer
  15486. curexchangerate:
  15487. description: 当前汇率
  15488. type: number
  15489. decimalplace:
  15490. description: 商品报价小数位
  15491. type: integer
  15492. exchangefullname:
  15493. description: 外部交易所全称
  15494. type: string
  15495. goodscode:
  15496. description: 商品代码(内部)
  15497. type: string
  15498. goodsid:
  15499. description: 商品ID
  15500. type: integer
  15501. goodsname:
  15502. description: 商品名称
  15503. type: string
  15504. marketid:
  15505. description: 市场ID
  15506. type: integer
  15507. openfreezemargin:
  15508. description: 冻结保证金(冻结交易金额)
  15509. type: number
  15510. orderid:
  15511. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15512. type: string
  15513. orderlogincode:
  15514. description: 委托人
  15515. type: string
  15516. orderprice:
  15517. description: 委托价格(账户)
  15518. type: number
  15519. orderqty:
  15520. description: 委托数量
  15521. type: integer
  15522. ordertime:
  15523. description: 委托时间
  15524. type: string
  15525. pricemode:
  15526. description: '取价方式 - 1:市价 2: 限价'
  15527. type: integer
  15528. tradedate:
  15529. description: 交易日(yyyyMMdd)
  15530. type: string
  15531. tradeqty:
  15532. description: 成交数量
  15533. type: integer
  15534. type: object
  15535. models.QueryHedgeTradeDetailRsp:
  15536. properties:
  15537. accountid:
  15538. description: 账号ID
  15539. type: integer
  15540. buyorsell:
  15541. description: 方向 - 0:买 1:卖
  15542. type: integer
  15543. channelbuildtype:
  15544. description: 委托单据类型 0:无 1:建仓 2:平仓
  15545. type: integer
  15546. closecharge:
  15547. description: 平仓手续费(账户)
  15548. type: number
  15549. closecharge2:
  15550. description: 平仓手续费(商品)
  15551. type: number
  15552. closepl:
  15553. description: 平仓盈亏(账户)
  15554. type: number
  15555. closepl2:
  15556. description: 平仓盈亏(商品)
  15557. type: number
  15558. closepl3:
  15559. description: 平仓盈亏(账户)(逐笔)
  15560. type: number
  15561. closepl4:
  15562. description: 平仓盈亏(商品)(逐笔)
  15563. type: number
  15564. closetype:
  15565. description: 平仓方式 - 0:无 1:平今 2:平昨
  15566. type: integer
  15567. curexchangerate:
  15568. description: 当前汇率
  15569. type: number
  15570. decimalplace:
  15571. description: 商品报价小数位
  15572. type: integer
  15573. exchangefullname:
  15574. description: 外部交易所全称
  15575. type: string
  15576. goodscode:
  15577. description: 商品代码(内部)
  15578. type: string
  15579. goodsid:
  15580. description: 商品ID
  15581. type: integer
  15582. goodsname:
  15583. description: 商品名称
  15584. type: string
  15585. marketid:
  15586. description: 市场ID
  15587. type: integer
  15588. opencharge:
  15589. description: 建仓手续费(账户)
  15590. type: number
  15591. opencharge2:
  15592. description: 建仓手续费(商品)
  15593. type: number
  15594. orderid:
  15595. description: 委托单号
  15596. type: string
  15597. orderlogincode:
  15598. description: 委托人
  15599. type: string
  15600. tradeamount:
  15601. description: 成交金额(账户)
  15602. type: number
  15603. tradedate:
  15604. description: 交易日(yyyyMMdd)
  15605. type: string
  15606. tradeid:
  15607. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15608. type: string
  15609. tradeprice:
  15610. description: 成交价格
  15611. type: number
  15612. tradeqty:
  15613. description: 成交数量
  15614. type: integer
  15615. tradetime:
  15616. description: 成交时间
  15617. type: string
  15618. tradetype:
  15619. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15620. type: integer
  15621. type: object
  15622. models.QuotePrimaryMenu:
  15623. properties:
  15624. Index:
  15625. description: 序号
  15626. type: integer
  15627. Key:
  15628. description: 键名
  15629. type: string
  15630. Name:
  15631. description: 菜单名称
  15632. type: string
  15633. SubMenus:
  15634. description: 子菜单
  15635. items:
  15636. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15637. type: array
  15638. SubTitleType:
  15639. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15640. type: integer
  15641. TradeModes:
  15642. description: 包含市场交易类型
  15643. type: string
  15644. type: object
  15645. models.QuoteSecondaryMenu:
  15646. properties:
  15647. ExExchangeCode:
  15648. description: 外部交易所代码
  15649. type: string
  15650. ExExchangeID:
  15651. description: 外部交易所ID
  15652. type: integer
  15653. GoodsGroupIDs:
  15654. description: 商品组ID列表
  15655. items:
  15656. type: integer
  15657. type: array
  15658. Index:
  15659. description: 序号
  15660. type: integer
  15661. MarketID:
  15662. description: 市场ID
  15663. type: integer
  15664. MenuTitle:
  15665. description: 菜单标题(市场名称或外部交易所名称)
  15666. type: string
  15667. TradeMode:
  15668. description: 交易模式
  15669. type: integer
  15670. type: object
  15671. models.RelatedTaAccount:
  15672. properties:
  15673. accountid:
  15674. description: 资金账户ID
  15675. type: integer
  15676. type: object
  15677. models.RoleMenu:
  15678. properties:
  15679. hasright:
  15680. description: 是否有权限 0-没有权限 1-有权限
  15681. type: integer
  15682. iconame:
  15683. description: 菜单图标
  15684. type: string
  15685. menutype:
  15686. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15687. type: integer
  15688. parentcode:
  15689. description: 上级资源代码
  15690. type: string
  15691. remark:
  15692. description: 菜单备注
  15693. type: string
  15694. resourcecode:
  15695. description: 菜单代码
  15696. type: string
  15697. resourcelevel:
  15698. description: 级别
  15699. type: integer
  15700. resourcename:
  15701. description: 菜单名称
  15702. type: string
  15703. roleid:
  15704. description: 角色id
  15705. type: integer
  15706. sort:
  15707. description: 排序
  15708. type: integer
  15709. subMenu:
  15710. description: 子级菜单(结构同上层一样, swag解析不出来)
  15711. items:
  15712. $ref: '#/definitions/models.RoleMenu'
  15713. type: array
  15714. url:
  15715. description: URL
  15716. type: string
  15717. userid:
  15718. description: 用户id
  15719. type: integer
  15720. type: object
  15721. models.SearchGoods:
  15722. properties:
  15723. goodscode:
  15724. description: 商品代码(内部)
  15725. type: string
  15726. goodsid:
  15727. description: 商品ID(自增ID SEQ_GOODS)
  15728. type: integer
  15729. goodsname:
  15730. description: 商品名称
  15731. type: string
  15732. marketid:
  15733. description: 所属市场ID
  15734. type: integer
  15735. marketname:
  15736. description: 市场名称
  15737. type: string
  15738. trademode:
  15739. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15740. 21:竞拍-大宗式 22:受托竞价
  15741. type: integer
  15742. required:
  15743. - goodscode
  15744. - goodsid
  15745. - goodsname
  15746. - marketid
  15747. - trademode
  15748. type: object
  15749. models.SellOrder:
  15750. properties:
  15751. accountid:
  15752. description: 资金账号
  15753. type: integer
  15754. applyid:
  15755. description: 申请单ID
  15756. type: integer
  15757. attachment1:
  15758. description: 附件1
  15759. type: string
  15760. attachment2:
  15761. description: 附件2
  15762. type: string
  15763. buyorsell:
  15764. description: 买卖 - 0:买 1:卖
  15765. type: integer
  15766. canbargain:
  15767. description: 是否可议价 - 0:不可 1:可
  15768. type: integer
  15769. cancelqty:
  15770. description: 撤销数量
  15771. type: integer
  15772. canceltime:
  15773. description: 撤销时间
  15774. type: string
  15775. cerno:
  15776. type: string
  15777. chargealgorithm:
  15778. description: 手续费收取方式 1:比率 2:固定
  15779. type: integer
  15780. chargealgorithmvalue:
  15781. description: 手续费设置值(交易所部分)
  15782. type: number
  15783. chargealgorithmvalue2:
  15784. description: 手续费设置值(会员部分)
  15785. type: number
  15786. clientordertime:
  15787. description: 客户端委托时间
  15788. type: string
  15789. cpcertno:
  15790. type: string
  15791. exchangerate:
  15792. description: 汇率[67]
  15793. type: number
  15794. firstratio:
  15795. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15796. type: number
  15797. fixedprice:
  15798. description: '[克拉单价]固定价格 - [挂牌]'
  15799. type: number
  15800. freezecharge:
  15801. description: 冻结手续费
  15802. type: number
  15803. freezefirstamount:
  15804. description: 冻结首付金额 - [摘牌]
  15805. type: number
  15806. freezemargin:
  15807. description: 冻结保证金
  15808. type: number
  15809. goodsno:
  15810. description: 商品编号
  15811. type: string
  15812. imagepath:
  15813. type: string
  15814. isQueryDiamond:
  15815. description: 是否钻石查询
  15816. type: boolean
  15817. isspecified:
  15818. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15819. type: integer
  15820. kppath:
  15821. type: string
  15822. kpweight:
  15823. type: string
  15824. marginalgorithm:
  15825. description: 保证金方式 - 1:比率 2:固定
  15826. type: integer
  15827. marginvalue:
  15828. description: 保证金设置值
  15829. type: number
  15830. marketid:
  15831. description: 市场ID
  15832. type: integer
  15833. marketprice:
  15834. type: string
  15835. orderamount:
  15836. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15837. type: number
  15838. ordertime:
  15839. description: 委托时间
  15840. type: string
  15841. performancetemplateid:
  15842. description: 履约计划模板ID
  15843. type: integer
  15844. price:
  15845. description: 价格
  15846. type: number
  15847. pricefactor:
  15848. description: 价格系数(浮动价时填写) - [挂牌]
  15849. type: number
  15850. pricemove:
  15851. description: 升贴水(浮动价时填写) - [挂牌]
  15852. type: number
  15853. priceper:
  15854. type: string
  15855. relatedwrtradeorderid:
  15856. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15857. type: integer
  15858. remainqty:
  15859. description: 剩余重量
  15860. type: number
  15861. remark:
  15862. type: string
  15863. retcode:
  15864. description: 错误代码
  15865. type: integer
  15866. sellusername:
  15867. description: 卖方(查询字段-模糊查询)
  15868. type: string
  15869. settingmaterial:
  15870. description: 镶嵌材料
  15871. type: string
  15872. size1:
  15873. type: string
  15874. size2:
  15875. type: string
  15876. size3:
  15877. type: string
  15878. sizedisplay:
  15879. description: 尺寸
  15880. type: string
  15881. stonedesc:
  15882. description: 配石描述
  15883. type: string
  15884. totalqty:
  15885. description: 总重量
  15886. type: number
  15887. tradedate:
  15888. description: 交易日(yyyyMMdd)
  15889. type: string
  15890. tradeprice:
  15891. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15892. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15893. type: number
  15894. unfreezecharge:
  15895. description: 解冻手续费
  15896. type: number
  15897. unfreezefirstamount:
  15898. description: 解冻首付金额 - [摘牌]
  15899. type: number
  15900. unfreezemargin:
  15901. description: 解冻保证金
  15902. type: number
  15903. userid:
  15904. description: 用户ID
  15905. type: integer
  15906. uuid:
  15907. description: 发起端唯一id
  15908. type: string
  15909. validtime:
  15910. description: 有效期限
  15911. type: string
  15912. validtype:
  15913. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15914. type: integer
  15915. warehousenamedisplay:
  15916. type: string
  15917. wrbargainid:
  15918. description: 议价申请单ID
  15919. type: integer
  15920. wrfactortypeid:
  15921. description: 仓单要素类型ID/商品ID(77)
  15922. type: integer
  15923. wrpath:
  15924. type: string
  15925. wrpricetype:
  15926. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15927. type: integer
  15928. wrstandardid:
  15929. description: 现货商品ID
  15930. type: integer
  15931. wrtradeorderid:
  15932. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15933. type: string
  15934. wrtradeorderstatus:
  15935. 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:撤单解冻贷款失败
  15936. type: integer
  15937. wrtradetype:
  15938. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15939. type: integer
  15940. wrtransferuserid:
  15941. description: 仓单受让用户 - [摘牌]
  15942. type: integer
  15943. zscategory:
  15944. description: 钻石分类 - 枚举”ZSCategory“
  15945. type: integer
  15946. zscategorydisplay:
  15947. description: 钻石分类 - 描述
  15948. type: string
  15949. zscerttypedisplay:
  15950. type: string
  15951. zsclaritytype1display:
  15952. type: string
  15953. zsclaritytype2display:
  15954. type: string
  15955. zscolortype1display:
  15956. type: string
  15957. zscolortype2display:
  15958. type: string
  15959. zscrystaltype:
  15960. type: string
  15961. zscrystaltypedisplay:
  15962. type: string
  15963. zscurrencytype:
  15964. description: 货币类型 - 枚举“ZSCurrencyType”
  15965. type: integer
  15966. zscurrencytypedisplay:
  15967. type: string
  15968. zscurrencytypedisplayunit:
  15969. type: string
  15970. zscuttype1display:
  15971. type: string
  15972. zscuttype2display:
  15973. type: string
  15974. zsczcolor1typedisplay:
  15975. type: string
  15976. zsczcolor2typedisplay:
  15977. type: string
  15978. zsczcolor3typedisplay:
  15979. type: string
  15980. zsfluorescencetype1display:
  15981. type: string
  15982. zsfluorescencetype2display:
  15983. type: string
  15984. zspolishtype1display:
  15985. type: string
  15986. zspolishtype2display:
  15987. type: string
  15988. zsshapetypedisplay:
  15989. type: string
  15990. zsstyletypedisplay:
  15991. type: string
  15992. zssymmetrytype1display:
  15993. type: string
  15994. zssymmetrytype2display:
  15995. type: string
  15996. type: object
  15997. models.SellOrderQueryReq:
  15998. properties:
  15999. origin:
  16000. description: 原产地
  16001. type: string
  16002. page:
  16003. description: 页码
  16004. type: integer
  16005. pagesize:
  16006. description: 每页大小
  16007. type: integer
  16008. total:
  16009. description: 总条数
  16010. type: integer
  16011. warehouseid:
  16012. description: 仓库ID
  16013. type: integer
  16014. weight1:
  16015. description: 总重量(克拉重量)-从
  16016. type: number
  16017. weight2:
  16018. description: 总重量(克拉重量)-至
  16019. type: number
  16020. weightavg1:
  16021. description: 平均单颗重量-从
  16022. type: number
  16023. weightavg2:
  16024. description: 平均单颗重量-至
  16025. type: number
  16026. zscategory:
  16027. description: 钻石分类 - 枚举”ZSCategory“
  16028. type: integer
  16029. zscerttype:
  16030. description: 证书类型
  16031. items:
  16032. type: string
  16033. type: array
  16034. zsclaritytype:
  16035. description: 净度
  16036. items:
  16037. type: integer
  16038. type: array
  16039. zscolortype:
  16040. description: 颜色
  16041. items:
  16042. type: integer
  16043. type: array
  16044. zscurrencytype:
  16045. description: 货币类型 - 枚举“ZSCurrencyType”
  16046. items:
  16047. type: string
  16048. type: array
  16049. zscuttype:
  16050. description: 切工
  16051. items:
  16052. type: integer
  16053. type: array
  16054. zsczcolor1type:
  16055. description: 彩钻颜色1
  16056. items:
  16057. type: string
  16058. type: array
  16059. zsfluorescencetype:
  16060. description: 荧光
  16061. items:
  16062. type: integer
  16063. type: array
  16064. zspolishtype:
  16065. description: 抛光度
  16066. items:
  16067. type: integer
  16068. type: array
  16069. zsshapetype:
  16070. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16071. items:
  16072. type: string
  16073. type: array
  16074. zsstyletype:
  16075. description: 款式
  16076. items:
  16077. type: string
  16078. type: array
  16079. zssymmetrytype:
  16080. description: 对称度
  16081. items:
  16082. type: integer
  16083. type: array
  16084. required:
  16085. - zscategory
  16086. type: object
  16087. models.Systemparam:
  16088. properties:
  16089. loginid:
  16090. description: 更新用户账号,登录账号
  16091. type: string
  16092. modifyflag:
  16093. description: 修改标志0 不允许修改 1 允许修改
  16094. type: integer
  16095. paramcode:
  16096. description: 参数代码
  16097. type: string
  16098. paramname:
  16099. description: 参数名
  16100. type: string
  16101. paramtype:
  16102. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16103. type: integer
  16104. paramvalue:
  16105. description: 参数值
  16106. type: string
  16107. paramvalue2:
  16108. description: 参数值(CLOB)
  16109. type: string
  16110. regexpress:
  16111. description: 正则表达式
  16112. type: string
  16113. remark:
  16114. description: 备注
  16115. type: string
  16116. serverip:
  16117. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16118. type: string
  16119. showflag:
  16120. description: 是否显示0 不显示 1 显示
  16121. type: integer
  16122. updatetime:
  16123. description: 更新时间
  16124. type: string
  16125. userid:
  16126. description: 更新用户ID
  16127. type: integer
  16128. required:
  16129. - paramcode
  16130. type: object
  16131. models.Szdz3convertconfig:
  16132. properties:
  16133. canin:
  16134. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16135. type: integer
  16136. canout:
  16137. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16138. type: integer
  16139. converttype:
  16140. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16141. 6:交易转花生米(不设置)
  16142. type: integer
  16143. createtime:
  16144. description: 创建时间
  16145. type: string
  16146. creatorid:
  16147. description: 创建人
  16148. type: integer
  16149. daymaxvalue:
  16150. description: 当日最大转入限制
  16151. type: number
  16152. freezedays:
  16153. description: 冻结天数 [5:花生米转交易]
  16154. type: integer
  16155. innergoodsid:
  16156. description: 内部商品ID[交易]
  16157. type: integer
  16158. inratio:
  16159. description: 目标值
  16160. type: integer
  16161. modifierid:
  16162. description: 修改人
  16163. type: integer
  16164. modifytime:
  16165. description: 修改时间
  16166. type: string
  16167. outergoodscode:
  16168. description: 外部商品代码[JD\PD]
  16169. type: string
  16170. outratio:
  16171. description: 源值
  16172. type: integer
  16173. pddecimalplace:
  16174. description: PD小数位
  16175. type: integer
  16176. timemaxvalue:
  16177. description: 单次最大转入限制
  16178. type: number
  16179. timeminvalue:
  16180. description: 单次最小转入限制
  16181. type: number
  16182. required:
  16183. - converttype
  16184. - innergoodsid
  16185. - outergoodscode
  16186. type: object
  16187. models.Szdz3searchwhitelist:
  16188. properties:
  16189. createtime:
  16190. description: 创建时间
  16191. type: string
  16192. creatorid:
  16193. description: 创建人
  16194. type: integer
  16195. modifierid:
  16196. description: 修改人
  16197. type: integer
  16198. modifytime:
  16199. description: 修改时间
  16200. type: string
  16201. userid:
  16202. description: 用户ID
  16203. type: integer
  16204. required:
  16205. - userid
  16206. type: object
  16207. models.TBGoods:
  16208. properties:
  16209. agreeunit:
  16210. description: 合约乘数
  16211. type: number
  16212. enumdicname:
  16213. description: 单位名称
  16214. type: string
  16215. goodscode:
  16216. description: 商品代码(内部)
  16217. type: string
  16218. goodsid:
  16219. description: 商品ID(自增ID SEQ_GOODS)
  16220. type: integer
  16221. goodsname:
  16222. description: 商品名称
  16223. type: string
  16224. type: object
  16225. models.TBGoodsGroup:
  16226. properties:
  16227. GDLST:
  16228. description: 商品列表
  16229. items:
  16230. $ref: '#/definitions/models.TBGoods'
  16231. type: array
  16232. convertratio:
  16233. description: 折算系数
  16234. type: number
  16235. enumdicname:
  16236. description: 单位名称
  16237. type: string
  16238. exexchangecode:
  16239. description: 交易所代码
  16240. type: string
  16241. exexchangename:
  16242. description: 交易所名称
  16243. type: string
  16244. goodsgroupid:
  16245. description: 商品组ID(自增ID)
  16246. type: integer
  16247. goodsgroupname:
  16248. description: 商品组名称
  16249. type: string
  16250. goodunitid:
  16251. description: 报价单位ID
  16252. type: integer
  16253. type: object
  16254. models.TBMiddleGoods:
  16255. properties:
  16256. GPLST:
  16257. description: 期货品种列表
  16258. items:
  16259. $ref: '#/definitions/models.TBGoodsGroup'
  16260. type: array
  16261. WDLST:
  16262. description: 商品信息列表(现货品类)
  16263. items:
  16264. $ref: '#/definitions/models.TBWrstandard'
  16265. type: array
  16266. areauserid:
  16267. description: 机构用户ID
  16268. type: integer
  16269. enumdicname:
  16270. description: 单位名称
  16271. type: string
  16272. goodsunitid:
  16273. description: 套保品种单位id
  16274. type: integer
  16275. middlegoodscode:
  16276. description: 套保品种代码
  16277. type: string
  16278. middlegoodsid:
  16279. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16280. type: integer
  16281. middlegoodsname:
  16282. description: 套保品种名称
  16283. type: string
  16284. needarbitrageratio:
  16285. description: 套利比率
  16286. type: number
  16287. needhedgeratio:
  16288. description: 套保比率
  16289. type: number
  16290. type: object
  16291. models.TBWrstandard:
  16292. properties:
  16293. convertratio:
  16294. description: 折算系数
  16295. type: number
  16296. deliverygoodsname:
  16297. description: 品种名称
  16298. type: string
  16299. enumdicname:
  16300. description: 单位名称
  16301. type: string
  16302. vatrate:
  16303. description: 增值税率
  16304. type: number
  16305. wrstandardcode:
  16306. description: 现货商品代码
  16307. type: string
  16308. wrstandardid:
  16309. description: 现货商品ID(SEQ_WRSTANDARD)
  16310. type: integer
  16311. wrstandardname:
  16312. description: 现货商品名称
  16313. type: string
  16314. type: object
  16315. models.Taaccount:
  16316. properties:
  16317. accountflag:
  16318. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16319. type: integer
  16320. accountid:
  16321. description: 资金账户ID
  16322. type: integer
  16323. accountname:
  16324. description: 账户名称
  16325. type: string
  16326. balance:
  16327. description: 期初余额
  16328. type: number
  16329. capitalbalance:
  16330. description: 本金余额[外部子账户实际出入金余额]
  16331. type: number
  16332. changeflag:
  16333. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16334. type: integer
  16335. changetime:
  16336. description: 账户状态变更时间
  16337. type: string
  16338. closepl:
  16339. description: 今日平仓盈亏
  16340. type: number
  16341. creditdecrease:
  16342. description: 今日授信减少
  16343. type: number
  16344. creditincrease:
  16345. description: 今日授信增加
  16346. type: number
  16347. curamount:
  16348. description: 总市值(从持仓中统计)
  16349. type: number
  16350. currencyid:
  16351. description: 货币ID
  16352. type: integer
  16353. currentbalance:
  16354. description: 期末余额
  16355. type: number
  16356. freezecharge:
  16357. description: 手续费冻结
  16358. type: number
  16359. freezemargin:
  16360. description: 冻结保证金
  16361. type: number
  16362. fromaccountid:
  16363. description: 所属上级账户
  16364. type: integer
  16365. inamount:
  16366. description: 今日入金金额(包括三方入金)
  16367. type: number
  16368. ismain:
  16369. description: 是否母账号 0:不是母账户 1:是母账户
  16370. type: integer
  16371. ismarketaccount:
  16372. description: 是否机构接单账号 0:不是 1:是
  16373. type: integer
  16374. isreckonaccount:
  16375. description: 是否机构分润账号 0:不是 1:是
  16376. type: integer
  16377. mortgagecredit:
  16378. description: 授信金额
  16379. type: number
  16380. orifreezecharge:
  16381. description: 期初手续费冻结
  16382. type: number
  16383. orifreezemargin:
  16384. description: 期初冻结保证金
  16385. type: number
  16386. orimortgagecredit:
  16387. description: 期初授信金额
  16388. type: number
  16389. oriothercredit:
  16390. description: 期初其它授信金额
  16391. type: number
  16392. oriotherfreezemargin:
  16393. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16394. type: number
  16395. orioutamountfreeze:
  16396. description: 期初出金冻结
  16397. type: number
  16398. oriusedmargin:
  16399. description: 期初占用保证金
  16400. type: number
  16401. othercredit:
  16402. description: 其它授信金额
  16403. type: number
  16404. othercreditdecrease:
  16405. description: 今日其它授信减少
  16406. type: number
  16407. othercreditincrease:
  16408. description: 今日其它授信增加
  16409. type: number
  16410. otherfreezemargin:
  16411. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16412. type: number
  16413. otherincome:
  16414. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16415. type: number
  16416. otherpay:
  16417. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16418. type: number
  16419. outamount:
  16420. description: 今日出金金额(包括三方出金)
  16421. type: number
  16422. outamountfreeze:
  16423. description: 出金冻结
  16424. type: number
  16425. outthreshold:
  16426. description: 出金阈值
  16427. type: number
  16428. parentaccountid:
  16429. description: 所属根账号
  16430. type: integer
  16431. paycharge:
  16432. description: 今日手续费支出
  16433. type: number
  16434. relatedaccountstatus:
  16435. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16436. type: integer
  16437. relateduserid:
  16438. description: 关联用户
  16439. type: integer
  16440. remainamount:
  16441. description: 融资额(从融资合同中统计)
  16442. type: number
  16443. serivcegroup:
  16444. description: 服务分组
  16445. type: integer
  16446. signstatus:
  16447. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16448. type: integer
  16449. sublevelpath:
  16450. description: 账号层级路径(逗号分隔,首尾加逗号)
  16451. type: string
  16452. taaccounttype:
  16453. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16454. type: integer
  16455. thirdinamount:
  16456. description: 今日三方入金
  16457. type: number
  16458. thirdoutamount:
  16459. description: 今日三方出金
  16460. type: number
  16461. tradestatus:
  16462. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16463. type: integer
  16464. tradestatuschangetime:
  16465. description: 激活时间
  16466. type: string
  16467. transferamount:
  16468. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16469. type: number
  16470. usedmargin:
  16471. description: 占用保证金
  16472. type: number
  16473. userid:
  16474. description: 用户ID
  16475. type: integer
  16476. required:
  16477. - accountid
  16478. - userid
  16479. type: object
  16480. models.Tablecolumnconfig:
  16481. properties:
  16482. aligntype:
  16483. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16484. type: integer
  16485. autoid:
  16486. description: AutoID
  16487. type: integer
  16488. columnfield:
  16489. description: 列字段
  16490. type: string
  16491. columntitle:
  16492. description: 列Title
  16493. type: string
  16494. columnwidth:
  16495. description: 列宽
  16496. type: string
  16497. fixed:
  16498. description: 固定类型 - 空 | left | right
  16499. type: string
  16500. formatterstring:
  16501. description: 格式化字符
  16502. type: string
  16503. formattertype:
  16504. description: 格式化类型
  16505. type: string
  16506. groupname:
  16507. description: 表头分组名称
  16508. type: string
  16509. ismerge:
  16510. description: 是否合并显示 - 0:不合并 1:合并
  16511. type: integer
  16512. isshow:
  16513. description: 是否显示 - 0:不显示 1:显示
  16514. type: integer
  16515. needsummary:
  16516. description: 是否需要汇总 - 0:不需要 1:需要
  16517. type: integer
  16518. orderindex:
  16519. description: 顺序
  16520. type: integer
  16521. remark:
  16522. description: 备注
  16523. type: string
  16524. summarytype:
  16525. description: 汇总类型 - 1:加总 2:最后一个
  16526. type: integer
  16527. tablekey:
  16528. description: 列表Key
  16529. type: string
  16530. required:
  16531. - autoid
  16532. type: object
  16533. models.TjmdHolderDetailTradeInfo:
  16534. properties:
  16535. agreeunit:
  16536. description: 合约乘数
  16537. type: number
  16538. buyaccountid:
  16539. description: 买方账户
  16540. type: string
  16541. buyusername:
  16542. description: 买方
  16543. type: string
  16544. delistingdate:
  16545. description: 最后结算日
  16546. type: string
  16547. expiredate:
  16548. description: 到期结算价定价日
  16549. type: string
  16550. exprieprice:
  16551. description: 到期清算价格
  16552. type: string
  16553. goodscode:
  16554. description: 商品代码
  16555. type: string
  16556. goodsid:
  16557. description: 商品ID
  16558. type: integer
  16559. goodsname:
  16560. description: 商品名称(交易标的)
  16561. type: string
  16562. lasttradedate:
  16563. description: 最后交易日
  16564. type: string
  16565. listingdate:
  16566. description: 开始交易日
  16567. type: string
  16568. openprice:
  16569. description: 成交价
  16570. type: number
  16571. openqty:
  16572. description: 交易数量
  16573. type: integer
  16574. sellaccountid:
  16575. description: 卖方账户
  16576. type: string
  16577. sellusername:
  16578. description: 卖方
  16579. type: string
  16580. tradeamount:
  16581. description: 初始名义价值
  16582. type: number
  16583. tradedate:
  16584. description: 成交日期
  16585. type: string
  16586. tradeid:
  16587. description: 成交编号
  16588. type: string
  16589. type: object
  16590. models.TjmdMarketSection:
  16591. properties:
  16592. marketsectionid:
  16593. description: 市场版块ID(SEQ_MARKETSECTION)
  16594. type: integer
  16595. marketsectionname:
  16596. description: 市场版块名称
  16597. type: string
  16598. mlist:
  16599. description: 市场列表(板块下面有多少个市场)
  16600. items:
  16601. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16602. type: array
  16603. orderindex:
  16604. description: 排序
  16605. type: integer
  16606. pictureurl:
  16607. description: 图片url, 规格(90*90)
  16608. type: string
  16609. remark:
  16610. description: 备注
  16611. type: string
  16612. type: object
  16613. models.TjmdMarketSectionConfig:
  16614. properties:
  16615. auctionwrtype:
  16616. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16617. type: integer
  16618. canacceptquote:
  16619. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16620. type: integer
  16621. cangoodsexercise:
  16622. description: '[期权]是否可现货行权- 0:否 1:是'
  16623. type: integer
  16624. cangoodsexercisetype:
  16625. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16626. type: integer
  16627. canmanualquotestrike:
  16628. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16629. type: integer
  16630. canmutistage:
  16631. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16632. type: integer
  16633. canpreexercise:
  16634. description: '[期权]是否可预申报- 0:否 1:是'
  16635. type: integer
  16636. clearinterval:
  16637. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16638. type: integer
  16639. contracttmp:
  16640. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16641. type: string
  16642. exchareaid:
  16643. description: 所属交易所,可以没有
  16644. type: integer
  16645. financemarketid:
  16646. description: 融资回购市场ID [仓单贸易]
  16647. type: integer
  16648. goodstype:
  16649. description: 商品类型 - 1:交易商品 2:仓单商品
  16650. type: integer
  16651. hasrebate:
  16652. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16653. type: integer
  16654. hastradecredit:
  16655. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16656. type: integer
  16657. haswr:
  16658. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16659. type: integer
  16660. isdeductmargin:
  16661. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16662. type: integer
  16663. isrecordsource:
  16664. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16665. type: integer
  16666. isreleasemargin:
  16667. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16668. type: integer
  16669. isupdatereckonprice:
  16670. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16671. type: integer
  16672. listingmode:
  16673. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16674. type: integer
  16675. marginformula:
  16676. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16677. type: integer
  16678. marginformula2:
  16679. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16680. type: integer
  16681. marketid:
  16682. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16683. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16684. type: integer
  16685. marketname:
  16686. description: 市场名称
  16687. type: string
  16688. marketsectionid:
  16689. description: 市场版块ID(SEQ_MARKETSECTION)
  16690. type: integer
  16691. marketserviceid:
  16692. description: 市场服务ID
  16693. type: integer
  16694. marketstatus:
  16695. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16696. type: integer
  16697. markettype:
  16698. description: 市场类型- 1:非交易服务 2:交易服务
  16699. type: integer
  16700. matchermode:
  16701. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16702. type: integer
  16703. nowrquotaflag:
  16704. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16705. type: integer
  16706. openmethod:
  16707. description: 开盘模式 - 0 自动 1手动
  16708. type: integer
  16709. orderindex:
  16710. description: 排序
  16711. type: integer
  16712. otcuserid:
  16713. description: 场外期权做市商[场外期权]
  16714. type: integer
  16715. outersynctime:
  16716. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16717. type: string
  16718. paylaterflag:
  16719. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16720. type: integer
  16721. pendingflag:
  16722. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16723. type: integer
  16724. pendingtime:
  16725. description: 待开市时间[通道交易-对冲](HH:mm)
  16726. type: string
  16727. performancetempid:
  16728. description: 履约计划模板ID - 作废
  16729. type: integer
  16730. premiumquotemode:
  16731. description: 权利金报价方式 - 1:自动 2:手动
  16732. type: integer
  16733. rebateratio:
  16734. description: 返利比率[竞价式]
  16735. type: number
  16736. reckonorder:
  16737. description: 结算顺序
  16738. type: integer
  16739. reckonpricealgorithm:
  16740. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16741. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16742. type: integer
  16743. reckonpriceparam:
  16744. description: 结算价参数
  16745. type: integer
  16746. reckontime:
  16747. description: 结算时间[通道交易-对冲](HH:mm)
  16748. type: string
  16749. roleprioritytype:
  16750. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16751. type: integer
  16752. selllistingauditflag:
  16753. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16754. type: integer
  16755. trademarkettype:
  16756. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16757. type: integer
  16758. trademode:
  16759. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16760. 21:竞拍-大宗式 22:受托竞价
  16761. type: integer
  16762. tradeproperty:
  16763. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16764. 8:场外期权
  16765. type: integer
  16766. tradetype:
  16767. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16768. type: integer
  16769. updatereckonpriceinterval:
  16770. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16771. type: integer
  16772. type: object
  16773. models.TjmdQuoteGoods:
  16774. properties:
  16775. buyqty:
  16776. description: 买量(暂不做, 无值, 保留字段)
  16777. type: number
  16778. decimalplace:
  16779. description: 报价小数位
  16780. type: integer
  16781. goodscode:
  16782. description: 合约代码
  16783. type: string
  16784. goodsgroupid:
  16785. description: 商品组ID(自增ID)
  16786. type: integer
  16787. goodsgroupname:
  16788. description: 商品组名称
  16789. type: string
  16790. goodsid:
  16791. description: 合约id
  16792. type: integer
  16793. goodsname:
  16794. description: 合约名称
  16795. type: string
  16796. refgoodscode:
  16797. description: 标的合约代码
  16798. type: string
  16799. refgoodsid:
  16800. description: 标的合约id
  16801. type: integer
  16802. refgoodsname:
  16803. description: 标的合约名称
  16804. type: string
  16805. sellqty:
  16806. description: 卖量(暂不做, 无值, 保留字段)
  16807. type: number
  16808. type: object
  16809. models.TjmdTodayAccountMargin:
  16810. properties:
  16811. accountid:
  16812. description: 账号ID
  16813. type: integer
  16814. goodsid:
  16815. description: 商品ID
  16816. type: integer
  16817. infoc:
  16818. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16819. description: 配置参数
  16820. marketid:
  16821. description: 市场ID
  16822. type: integer
  16823. type: object
  16824. models.TjmdTradeOrderDetail:
  16825. properties:
  16826. buyorsell:
  16827. description: 买卖方向 0-买 1-卖
  16828. type: integer
  16829. goodsid:
  16830. description: 商品id
  16831. type: integer
  16832. marketmaxsub:
  16833. description: 市价最大偏移范围 [浮动价 - 点差]
  16834. type: number
  16835. orderid:
  16836. description: 委托单号
  16837. type: string
  16838. orderprice:
  16839. description: 期初均价
  16840. type: number
  16841. orderqty:
  16842. description: 委托数量
  16843. type: integer
  16844. pricemode:
  16845. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16846. type: integer
  16847. userid:
  16848. description: 用户id
  16849. type: integer
  16850. username:
  16851. description: 用户名称(已脱敏)
  16852. type: string
  16853. type: object
  16854. models.TjmdTransferApply:
  16855. properties:
  16856. applyid:
  16857. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16858. type: integer
  16859. applystatus:
  16860. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16861. type: integer
  16862. applytime:
  16863. description: 申请时间(时间)
  16864. type: string
  16865. auditremark:
  16866. description: 审核备注(拒绝原因?)
  16867. type: string
  16868. begindate:
  16869. description: 开始交易日(yyyymmdd)
  16870. type: string
  16871. buyorsell:
  16872. description: 买卖 - 0:买 1:卖
  16873. type: integer
  16874. enddate:
  16875. description: 结束交易日(yyyymmdd)
  16876. type: string
  16877. goodscode:
  16878. description: 商品代码
  16879. type: string
  16880. goodsid:
  16881. description: 商品ID
  16882. type: integer
  16883. goodsname:
  16884. description: 商品名称
  16885. type: string
  16886. marketid:
  16887. description: 市场ID
  16888. type: integer
  16889. qty:
  16890. description: 期初均价
  16891. type: number
  16892. tradeid:
  16893. description: 成交单号(关联持仓)
  16894. type: string
  16895. transferamount:
  16896. description: 转让总金额(金额)
  16897. type: number
  16898. transferprice:
  16899. description: 转让价格(协议价格)
  16900. type: number
  16901. type: object
  16902. models.TradeHolderDetail:
  16903. properties:
  16904. accountid:
  16905. description: 账号ID
  16906. type: integer
  16907. agreeunit:
  16908. description: 合约乘数
  16909. type: number
  16910. buyorsell:
  16911. description: 方向 - 0:买 1:卖
  16912. type: integer
  16913. currencyid:
  16914. description: 商品币种id
  16915. type: integer
  16916. currencyname:
  16917. description: 币种名称
  16918. type: string
  16919. decimalplace:
  16920. description: 商品价格小数位
  16921. type: integer
  16922. enumdicname:
  16923. description: 商品单位名称
  16924. type: string
  16925. expirecycle:
  16926. description: 行权周期(天) - 1:滚动行权时填写
  16927. type: integer
  16928. expiredate:
  16929. description: 行权日(yyyyMMdd) - 到期日
  16930. type: string
  16931. expiretype:
  16932. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16933. type: integer
  16934. freezeqty:
  16935. description: 期初均价
  16936. type: number
  16937. goodscode:
  16938. description: 商品代码
  16939. type: string
  16940. goodsid:
  16941. description: 商品ID
  16942. type: integer
  16943. goodsname:
  16944. description: 商品名称
  16945. type: string
  16946. goodunitid:
  16947. description: 商品单位id
  16948. type: integer
  16949. holderamount:
  16950. description: 持仓金额
  16951. type: number
  16952. holdercredit:
  16953. description: 持仓授信金额
  16954. type: number
  16955. holderdays:
  16956. description: 剩余冻结天数
  16957. type: integer
  16958. holderprice:
  16959. description: 持仓价格
  16960. type: number
  16961. holderqty:
  16962. description: 期初均价
  16963. type: number
  16964. isconfirmexercise:
  16965. description: 是否确认行权- 0:否 1:是
  16966. type: integer
  16967. ispreexercise:
  16968. description: 是否预申报- 0:否 1:是 2:不可行权
  16969. type: integer
  16970. marketid:
  16971. description: 市场id
  16972. type: integer
  16973. marketname:
  16974. description: 市场名称
  16975. type: string
  16976. openprice:
  16977. description: 建仓价格
  16978. type: number
  16979. openqty:
  16980. description: 期初均价
  16981. type: number
  16982. optiontype:
  16983. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16984. type: integer
  16985. preexerciseprice:
  16986. description: 预申报价格
  16987. type: number
  16988. premium:
  16989. description: 权利金
  16990. type: number
  16991. qtydecimalplace:
  16992. description: 商品成交量小数位
  16993. type: integer
  16994. refgoodscode:
  16995. description: 标的合约代码
  16996. type: string
  16997. refgoodsid:
  16998. description: 标的合约id
  16999. type: integer
  17000. releaseamount:
  17001. description: 释放持仓金额
  17002. type: number
  17003. releaseholdercredit:
  17004. description: 释放持仓授信金额
  17005. type: number
  17006. taname:
  17007. description: 资金账号名称
  17008. type: string
  17009. tradeamount:
  17010. description: 成交金额
  17011. type: number
  17012. tradedate:
  17013. description: 交易日(yyyyMMdd)
  17014. type: string
  17015. tradeid:
  17016. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17017. type: string
  17018. trademode:
  17019. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17020. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17021. type: integer
  17022. tradeproperty:
  17023. description: 交易属性
  17024. type: integer
  17025. tradetime:
  17026. description: 交易时间
  17027. type: string
  17028. userid:
  17029. description: 用户id
  17030. type: integer
  17031. username:
  17032. description: 用户名称
  17033. type: string
  17034. type: object
  17035. models.Unlinkermcphedgeplan:
  17036. properties:
  17037. accountid:
  17038. description: 期货账户ID - 作废
  17039. type: integer
  17040. accountname:
  17041. description: 交易用户
  17042. type: string
  17043. applyid:
  17044. description: 申请人
  17045. type: integer
  17046. applysrc:
  17047. description: 申请来源 - 1:管理端 2:终端
  17048. type: integer
  17049. applytime:
  17050. description: 申请时间
  17051. type: string
  17052. areauserid:
  17053. description: '[企业ID]机构ID'
  17054. type: integer
  17055. auditid:
  17056. description: 审核人
  17057. type: integer
  17058. auditremark:
  17059. description: 审核备注
  17060. type: string
  17061. auditsrc:
  17062. description: 审核来源 - 1:管理端 2:终端
  17063. type: integer
  17064. audittime:
  17065. description: 审核时间
  17066. type: string
  17067. audittradedate:
  17068. description: 审核交易日(yyyyMMdd)
  17069. type: string
  17070. biztype:
  17071. description: 业务类型 - 1:套保
  17072. type: integer
  17073. contracttype:
  17074. description: 计划类型 - 1:采购 -1:销售
  17075. type: integer
  17076. convertfactor:
  17077. description: 标仓系数 - 作废
  17078. type: number
  17079. createtime:
  17080. description: 创建时间
  17081. type: string
  17082. currencyid:
  17083. description: 结算币种ID - 作废
  17084. type: integer
  17085. deliverygoodsid:
  17086. description: 现货品种ID
  17087. type: integer
  17088. enumdicname:
  17089. description: 结算币种
  17090. type: string
  17091. hedgeplanid:
  17092. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17093. type: string
  17094. hedgeplanno:
  17095. description: '[计划编号]套保计划编号,模糊查询'
  17096. type: string
  17097. hedgeplanstatus:
  17098. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17099. type: integer
  17100. isrelated:
  17101. description: 是否已关联计划项目 - 0:否 1:是
  17102. type: integer
  17103. planqty:
  17104. description: '[计划量]计划数量'
  17105. type: number
  17106. plantime:
  17107. description: 计划时间
  17108. type: string
  17109. producttype:
  17110. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17111. type: integer
  17112. remark:
  17113. description: 备注
  17114. type: string
  17115. spotgoodsdesc:
  17116. description: 商品型号
  17117. type: string
  17118. tradedate:
  17119. description: 交易日(yyyyMMdd)
  17120. type: string
  17121. tradeuserid:
  17122. description: 交易用户ID
  17123. type: integer
  17124. updatetime:
  17125. description: 更新时间
  17126. type: string
  17127. wrstandardid:
  17128. description: 现货商品ID
  17129. type: integer
  17130. wrstandardname:
  17131. description: 现货商品,模糊查询
  17132. type: string
  17133. required:
  17134. - areauserid
  17135. type: object
  17136. models.UserCollectConfig:
  17137. properties:
  17138. accountstatus:
  17139. description: 账户状态 - 1:正常 2:停用 3:注销
  17140. type: integer
  17141. collectaccountname:
  17142. description: 收款人账户名称
  17143. type: string
  17144. collectaccountno:
  17145. description: 收款人账户
  17146. type: string
  17147. collectbankname:
  17148. description: 收款人开户行
  17149. type: string
  17150. collectbranchbankname:
  17151. description: 收款人开户支行
  17152. type: string
  17153. collectconfigid:
  17154. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17155. type: string
  17156. remark:
  17157. description: 备注
  17158. type: string
  17159. userid:
  17160. description: 收款人用户ID
  17161. type: integer
  17162. type: object
  17163. models.UserReceiveInfo:
  17164. properties:
  17165. address:
  17166. description: 提货人详细地址
  17167. type: string
  17168. autoid:
  17169. description: AutoID
  17170. type: integer
  17171. cardnum:
  17172. description: 证件号码(加密存储)
  17173. type: string
  17174. cardtypeid:
  17175. description: 证件类型
  17176. type: integer
  17177. cityid:
  17178. description: 市
  17179. type: integer
  17180. cityname:
  17181. description: 城市名称
  17182. type: string
  17183. countryid:
  17184. description: 国家
  17185. type: integer
  17186. countryname:
  17187. description: 国家名称
  17188. type: string
  17189. districtid:
  17190. description: 地区
  17191. type: integer
  17192. districtname:
  17193. description: 地区名称
  17194. type: string
  17195. hasencrypt:
  17196. description: 数据是否已加密 - 0:未加密 1:已加密
  17197. type: integer
  17198. isdefault:
  17199. description: 是否默认地址 - 0:否 1:是
  17200. type: integer
  17201. phonenum:
  17202. description: 提货人联系方式(加密存储)
  17203. type: string
  17204. provinceid:
  17205. description: 省
  17206. type: integer
  17207. provincename:
  17208. description: 省名称
  17209. type: string
  17210. receivername:
  17211. description: 提货人姓名
  17212. type: string
  17213. takeremark:
  17214. description: 提货备注
  17215. type: string
  17216. userid:
  17217. description: 用户ID
  17218. type: integer
  17219. type: object
  17220. models.Useraccount:
  17221. properties:
  17222. accountname:
  17223. description: 账户名称(机构名称)
  17224. type: string
  17225. accountstatus:
  17226. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17227. type: integer
  17228. applysrc:
  17229. description: 申请来源 - 1:管理端 2:终端
  17230. type: integer
  17231. auditremark:
  17232. description: 审核备注
  17233. type: string
  17234. auditsrc:
  17235. description: 审核来源 - 1:管理端 2:终端
  17236. type: integer
  17237. audittime:
  17238. description: 审核时间
  17239. type: string
  17240. audituserid:
  17241. description: 审核人
  17242. type: integer
  17243. broker:
  17244. description: 所属经纪人ID
  17245. type: integer
  17246. canceltime:
  17247. description: 销户时间
  17248. type: string
  17249. canceluserid:
  17250. description: 销户人
  17251. type: integer
  17252. canrecommend:
  17253. description: 是否可推荐 - 0:不可 1;可
  17254. type: integer
  17255. createtime:
  17256. description: 创建时间
  17257. type: string
  17258. creatorid:
  17259. description: 创建人
  17260. type: integer
  17261. hasauth:
  17262. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17263. type: integer
  17264. isanonymous:
  17265. description: 是否匿名下单 - 0:否 1:是
  17266. type: integer
  17267. maxinvestornum:
  17268. description: 最大用户数(经纪会员下投资者个数)
  17269. type: integer
  17270. memberuserid:
  17271. description: 所属会员ID
  17272. type: integer
  17273. modifierid:
  17274. description: 修改人
  17275. type: integer
  17276. modifyremark:
  17277. description: 变更备注
  17278. type: string
  17279. modifystatus:
  17280. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17281. type: integer
  17282. modifytime:
  17283. description: 修改时间
  17284. type: string
  17285. parenttopuser:
  17286. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17287. type: string
  17288. parentuserid:
  17289. description: 所属机构ID
  17290. type: integer
  17291. reckonaccountid:
  17292. description: 默认结算资金账号ID(机构分润使用) 作废
  17293. type: integer
  17294. refercount:
  17295. description: 推荐总人数
  17296. type: integer
  17297. refereeuserid:
  17298. description: 推荐人ID
  17299. type: integer
  17300. refernum:
  17301. description: 推荐码
  17302. type: string
  17303. rootuserid:
  17304. description: 根用户ID
  17305. type: integer
  17306. subaccountlevel:
  17307. description: 子账户层数
  17308. type: integer
  17309. subarealevelpath:
  17310. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17311. type: string
  17312. userid:
  17313. description: 用户ID
  17314. type: integer
  17315. usertype:
  17316. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17317. type: integer
  17318. required:
  17319. - userid
  17320. type: object
  17321. models.Userfavoritegoods:
  17322. properties:
  17323. goodsid:
  17324. description: 商品ID
  17325. type: integer
  17326. required:
  17327. - goodsid
  17328. type: object
  17329. models.Userinfo:
  17330. properties:
  17331. address:
  17332. description: 地址
  17333. type: string
  17334. attachment1:
  17335. description: 附件1
  17336. type: string
  17337. attachment2:
  17338. description: 附件2
  17339. type: string
  17340. bankaccount:
  17341. description: 银行帐号 (加密存储)
  17342. type: string
  17343. bankaccountname:
  17344. description: 收款人名称
  17345. type: string
  17346. bankcardfrontphotourl:
  17347. description: 银行卡正面照地址
  17348. type: string
  17349. bankid:
  17350. description: 银行编码
  17351. type: string
  17352. bankname:
  17353. description: 银行名称
  17354. type: string
  17355. biznature:
  17356. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17357. type: integer
  17358. bizscope:
  17359. description: 企业经营范围(企业)
  17360. type: string
  17361. cardbackphotourl:
  17362. description: 证件背面图片地址
  17363. type: string
  17364. cardfrontphotourl:
  17365. description: 证件正面图片地址
  17366. type: string
  17367. cardnum:
  17368. description: 证件号码(加密存储)
  17369. type: string
  17370. cardtypeid:
  17371. description: 证件类型ID
  17372. type: integer
  17373. cityid:
  17374. description: 市
  17375. type: integer
  17376. company:
  17377. description: 公司(个人)
  17378. type: string
  17379. contactname:
  17380. description: 联系人
  17381. type: string
  17382. countryid:
  17383. description: 国家
  17384. type: integer
  17385. createtime:
  17386. description: 创建时间
  17387. type: string
  17388. creatorid:
  17389. description: 创建人
  17390. type: integer
  17391. customername:
  17392. description: 客户名称(企业名称)
  17393. type: string
  17394. districtid:
  17395. description: 地区
  17396. type: integer
  17397. email:
  17398. description: 邮件(加密存储)
  17399. type: string
  17400. fax:
  17401. description: 传真(加密存储)
  17402. type: string
  17403. halfbodyphotourl:
  17404. description: 半身照地址
  17405. type: string
  17406. hasencrypt:
  17407. description: 数据是否已加密 - 0:未加密 1:已加密
  17408. type: integer
  17409. headurl:
  17410. description: 头像地址
  17411. type: string
  17412. legalcardbackphotourl:
  17413. description: 法人身份证背面照地址
  17414. type: string
  17415. legalcardfrontphotourl:
  17416. description: 法人身份证正面照地址
  17417. type: string
  17418. legalpersonname:
  17419. description: 法人姓名(企业)
  17420. type: string
  17421. mobile:
  17422. description: 手机号码(加密存储)
  17423. type: string
  17424. mobile2:
  17425. description: 手机号码[明文-尚志]
  17426. type: string
  17427. modifierid:
  17428. description: 修改人
  17429. type: integer
  17430. modifiertime:
  17431. description: 修改时间
  17432. type: string
  17433. needinvoice:
  17434. description: 是否需要发票 - 0:不需要 1:需要
  17435. type: integer
  17436. nickname:
  17437. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17438. type: string
  17439. openmode:
  17440. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17441. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17442. type: integer
  17443. otherurl:
  17444. description: 其它图片地址[使用分号分隔]
  17445. type: string
  17446. postalcode:
  17447. description: 邮政编码
  17448. type: string
  17449. provinceid:
  17450. description: 省
  17451. type: integer
  17452. qq:
  17453. description: QQ(加密存储
  17454. type: string
  17455. remark:
  17456. description: 备注
  17457. type: string
  17458. sex:
  17459. description: '用户性别 0: 女 1: 男'
  17460. type: integer
  17461. signpdfurl:
  17462. description: 签约pdf文件
  17463. type: string
  17464. telphone:
  17465. description: 联系电话(加密存储)
  17466. type: string
  17467. userid:
  17468. description: 用户ID
  17469. type: integer
  17470. userinfotype:
  17471. description: 用户信息类型 - 1:个人 2:企业
  17472. type: integer
  17473. userstatus:
  17474. description: 用户状态 - 1:正常 2:注销
  17475. type: integer
  17476. usertype:
  17477. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17478. type: integer
  17479. wechat:
  17480. description: 微信(加密存储)
  17481. type: string
  17482. wskhinfo:
  17483. description: 开户申请信息(JSON)
  17484. type: string
  17485. required:
  17486. - userid
  17487. type: object
  17488. models.WRSConverTDetail:
  17489. properties:
  17490. convertratio:
  17491. description: 套保系数
  17492. type: number
  17493. deliverygoodscode:
  17494. description: 现货商品代码
  17495. type: string
  17496. deliverygoodsid:
  17497. description: 现货品种ID
  17498. type: integer
  17499. deliverygoodsname:
  17500. description: 现货商品名称
  17501. type: string
  17502. enumdicname:
  17503. description: 单位名称
  17504. type: string
  17505. goodsunitid:
  17506. description: 套保品种单位id
  17507. type: integer
  17508. middlegoodscode:
  17509. description: 套保品种代码
  17510. type: string
  17511. middlegoodsid:
  17512. description: 套保品种ID
  17513. type: integer
  17514. middlegoodsname:
  17515. description: 套保品种名称
  17516. type: string
  17517. modifytime:
  17518. description: 修改时间
  17519. type: string
  17520. wrstandardid:
  17521. description: 品类ID
  17522. type: integer
  17523. type: object
  17524. models.WRStandardInfo:
  17525. properties:
  17526. areauserid:
  17527. description: 所属机构
  17528. type: integer
  17529. convertfactor:
  17530. description: 标仓系数
  17531. type: number
  17532. createtime:
  17533. description: 创建时间
  17534. type: string
  17535. creatorid:
  17536. description: 创建人
  17537. type: integer
  17538. deliverygoodsid:
  17539. description: 品种ID
  17540. type: integer
  17541. deliverygoodsname:
  17542. description: 交割商品名称
  17543. type: string
  17544. factoryitemjson:
  17545. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17546. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17547. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17548. 逗号分隔'
  17549. type: string
  17550. isvalid:
  17551. description: 是否有效 - 0:无效 1:有效
  17552. type: integer
  17553. minivalue:
  17554. description: 最小变动值
  17555. type: integer
  17556. minivaluedp:
  17557. description: 最小变动值小数位
  17558. type: integer
  17559. realminivalue:
  17560. description: 实际最小变动值
  17561. type: integer
  17562. realminivaluedp:
  17563. description: 实际最小变动值小数位
  17564. type: integer
  17565. remark:
  17566. description: 备注
  17567. type: string
  17568. unitid:
  17569. description: 单位ID
  17570. type: integer
  17571. unitname:
  17572. description: 单位
  17573. type: string
  17574. updatetime:
  17575. description: 更新时间
  17576. type: string
  17577. updatorid:
  17578. description: 更新人
  17579. type: integer
  17580. wrsstatus:
  17581. description: 状态 - 作废 - 0:未激活 1:正常
  17582. type: integer
  17583. wrstandardcode:
  17584. description: 现货品类代码
  17585. type: string
  17586. wrstandardid:
  17587. description: 现货品类ID(SEQ_WRSTANDARD)
  17588. type: integer
  17589. wrstandardname:
  17590. description: 现货品类名称
  17591. type: string
  17592. required:
  17593. - wrstandardid
  17594. type: object
  17595. models.WRTradeBargainApply:
  17596. properties:
  17597. accountid:
  17598. description: 摘牌资金账号
  17599. type: integer
  17600. applyprice:
  17601. description: 申请价格(议价价格)
  17602. type: string
  17603. applyqty:
  17604. description: 摘牌数量(议价数量)
  17605. type: number
  17606. applyremark:
  17607. description: 申请备注
  17608. type: string
  17609. applystatus:
  17610. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17611. type: integer
  17612. applytime:
  17613. description: 申请时间(议价时间)
  17614. type: string
  17615. begindate:
  17616. description: 开始交易日(yyyymmdd)
  17617. type: string
  17618. buyorsell:
  17619. description: 买卖(挂牌类型) - 0:买 1:卖
  17620. type: integer
  17621. confirmremark:
  17622. description: 确认备注
  17623. type: string
  17624. confirmtime:
  17625. description: 确认时间
  17626. type: string
  17627. confirmuserid:
  17628. description: 确认人
  17629. type: integer
  17630. deliverygoodscode:
  17631. description: 品种代码
  17632. type: string
  17633. deliverygoodsid:
  17634. description: 品种ID
  17635. type: integer
  17636. deliverygoodsname:
  17637. description: 品种名称
  17638. type: string
  17639. deliverymonth:
  17640. description: 交收月
  17641. type: string
  17642. enddate:
  17643. description: 结束交易日(yyyymmdd)
  17644. type: string
  17645. enumdicname:
  17646. description: 单位名称
  17647. type: string
  17648. fixedprice:
  17649. description: 期初均价
  17650. type: number
  17651. handlestatus:
  17652. description: 处理状态
  17653. type: integer
  17654. marginvalue:
  17655. description: 期初均价
  17656. type: number
  17657. marketid:
  17658. description: 市场ID
  17659. type: integer
  17660. matchaccountid:
  17661. description: 挂牌方资金账号
  17662. type: integer
  17663. matchuserid:
  17664. description: 挂牌方用户id
  17665. type: integer
  17666. matchusername:
  17667. description: 挂牌方用户名称(已脱敏)
  17668. type: string
  17669. minivalue:
  17670. description: 现货商品最小变动值
  17671. type: integer
  17672. optioncompare:
  17673. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17674. type: string
  17675. orderqty:
  17676. description: 挂牌数量
  17677. type: integer
  17678. refprice:
  17679. description: 参考价格
  17680. type: string
  17681. retcode:
  17682. description: 委托返回代码
  17683. type: integer
  17684. templatename:
  17685. description: 履约方式(履约模板名称)
  17686. type: string
  17687. tradedate:
  17688. description: 交易日(yyyyMMdd)
  17689. type: string
  17690. userid:
  17691. description: 摘牌人用户ID(议价人ID)
  17692. type: integer
  17693. username:
  17694. description: 议价人名字(已脱敏)
  17695. type: string
  17696. validtime:
  17697. description: 有效期限
  17698. type: string
  17699. warehouseid:
  17700. description: 仓库ID
  17701. type: integer
  17702. warehousename:
  17703. description: 仓库名称
  17704. type: string
  17705. wrbargainid:
  17706. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17707. type: string
  17708. wrfactortypeid:
  17709. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17710. type: string
  17711. wrfactortypename:
  17712. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17713. type: string
  17714. wrstandardcode:
  17715. description: 现货商品代码
  17716. type: string
  17717. wrstandardid:
  17718. description: 现货商品ID
  17719. type: integer
  17720. wrstandardname:
  17721. description: 商品名称
  17722. type: string
  17723. wrtradeorderid:
  17724. description: 关联委托单ID
  17725. type: string
  17726. wrtypename:
  17727. description: 商品
  17728. type: string
  17729. type: object
  17730. models.Warehouseinfo:
  17731. properties:
  17732. address:
  17733. description: 详细地址
  17734. type: string
  17735. areauserid:
  17736. description: 所属机构
  17737. type: integer
  17738. autoid:
  17739. description: 自增ID
  17740. type: integer
  17741. cityid:
  17742. description: 市
  17743. type: integer
  17744. contactname:
  17745. description: 联系人
  17746. type: string
  17747. contactnum:
  17748. description: 联系电话
  17749. type: string
  17750. countryid:
  17751. description: 国家
  17752. type: integer
  17753. createtime:
  17754. description: 创建时间
  17755. type: string
  17756. districtid:
  17757. description: 区
  17758. type: integer
  17759. hasvideo:
  17760. description: 是否有视频 - 0:无 1:有
  17761. type: integer
  17762. provinceid:
  17763. description: 省
  17764. type: integer
  17765. remark:
  17766. description: 审核备注
  17767. type: string
  17768. videourl:
  17769. description: 视频地址
  17770. type: string
  17771. warehousecode:
  17772. description: 仓库代码
  17773. type: string
  17774. warehousename:
  17775. description: 仓库名称
  17776. type: string
  17777. warehousestatus:
  17778. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17779. type: integer
  17780. warehousetype:
  17781. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17782. type: integer
  17783. required:
  17784. - autoid
  17785. - warehousecode
  17786. type: object
  17787. models.WrAverageTradePrice:
  17788. properties:
  17789. averageprice:
  17790. description: 期初均价
  17791. type: number
  17792. tradedate:
  17793. description: 交易日yyyymm
  17794. type: string
  17795. type: object
  17796. models.WrBrandAndYears:
  17797. properties:
  17798. brandlst:
  17799. description: 品牌列表
  17800. items:
  17801. $ref: '#/definitions/models.DgFactoryItem'
  17802. type: array
  17803. yearslst:
  17804. description: 年份列表
  17805. items:
  17806. $ref: '#/definitions/models.DgFactoryItem'
  17807. type: array
  17808. type: object
  17809. models.WrBsGoodsInfo:
  17810. properties:
  17811. buyorsell:
  17812. description: 买卖方向 0-买 1-卖
  17813. type: integer
  17814. goodsid:
  17815. description: 交易合约ID
  17816. type: integer
  17817. lstitem:
  17818. description: 商品信息项
  17819. items:
  17820. $ref: '#/definitions/models.WrTypeItem'
  17821. type: array
  17822. lststep:
  17823. description: 履约规则
  17824. items:
  17825. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17826. type: array
  17827. type: object
  17828. models.WrBuybackDetail:
  17829. properties:
  17830. buybackamount:
  17831. description: 回购金额
  17832. type: number
  17833. buybackqty:
  17834. description: 回购数量
  17835. type: number
  17836. buybackreleasemargin:
  17837. description: 回购释放保证金
  17838. type: number
  17839. buybacktime:
  17840. description: 回购时间
  17841. type: string
  17842. errordesc:
  17843. description: 错误描述
  17844. type: string
  17845. handlestatus:
  17846. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17847. type: integer
  17848. relatedwrid:
  17849. description: 关联仓单ID
  17850. type: integer
  17851. scfcontractid:
  17852. description: SCF合同ID
  17853. type: string
  17854. scfwrbuybackid:
  17855. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17856. type: integer
  17857. tradedate:
  17858. description: 交易日(yyyyMMdd)
  17859. type: string
  17860. type: object
  17861. models.WrClientAdSpaceConfig:
  17862. properties:
  17863. adspaceid:
  17864. description: 广告位ID
  17865. type: integer
  17866. adspacename:
  17867. description: 广告位名称
  17868. type: string
  17869. adspacetype:
  17870. description: 广告位类型 - 1:固定广告位
  17871. type: integer
  17872. areauserid:
  17873. description: 所属机构ID
  17874. type: integer
  17875. createdate:
  17876. description: 创建时间
  17877. type: string
  17878. imagepath:
  17879. description: 图片
  17880. type: string
  17881. modifierid:
  17882. description: 操作人
  17883. type: integer
  17884. recsize:
  17885. description: 推荐尺寸
  17886. type: string
  17887. title:
  17888. description: 标题
  17889. type: string
  17890. updatedate:
  17891. description: 更新时间
  17892. type: string
  17893. urlcontent:
  17894. description: 链接(地址\商品ID\功能菜单Key\appid)
  17895. type: string
  17896. urltype:
  17897. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17898. type: integer
  17899. type: object
  17900. models.WrDeliveryAvalidHoldLB:
  17901. properties:
  17902. accountid:
  17903. description: 资金账号
  17904. type: integer
  17905. avalidqty:
  17906. description: 数量(可点选数量)
  17907. type: number
  17908. deliverygoodsid:
  17909. description: 品种id
  17910. type: integer
  17911. enumdicname:
  17912. description: 单位名称
  17913. type: string
  17914. goodsid:
  17915. description: x合约商品id
  17916. type: integer
  17917. ladingbillid:
  17918. description: 提单id
  17919. type: string
  17920. pgoodscode:
  17921. description: p商品代码(点价合约)
  17922. type: string
  17923. pgoodsid:
  17924. description: p商品id(点价合约)
  17925. type: integer
  17926. pgoodsname:
  17927. description: p商品名称(点价合约)
  17928. type: string
  17929. pricemove:
  17930. description: 升贴水
  17931. type: number
  17932. subnum:
  17933. description: 提单子id
  17934. type: integer
  17935. userid:
  17936. description: 用户id
  17937. type: integer
  17938. username:
  17939. description: 仓单持有人
  17940. type: string
  17941. warehousecode:
  17942. description: 仓库代码
  17943. type: string
  17944. warehouseid:
  17945. description: 仓库id
  17946. type: integer
  17947. warehousename:
  17948. description: 仓库名称
  17949. type: string
  17950. wrfactortypeid:
  17951. description: 仓单要素id
  17952. type: string
  17953. wrstandardcode:
  17954. description: 品代码
  17955. type: string
  17956. wrstandardid:
  17957. description: 品类d
  17958. type: integer
  17959. wrstandardname:
  17960. description: 品类名称
  17961. type: string
  17962. wrtypename:
  17963. description: 商品
  17964. type: string
  17965. xgoodscode:
  17966. description: x合约代码
  17967. type: string
  17968. xgoodsname:
  17969. description: x合约名称
  17970. type: string
  17971. type: object
  17972. models.WrDeliveryDetail:
  17973. properties:
  17974. accountid:
  17975. description: 账号ID
  17976. type: integer
  17977. averageprice:
  17978. description: 期初均价
  17979. type: number
  17980. begindate:
  17981. description: 开始交易日(yyyymmdd)
  17982. type: string
  17983. buyorsell:
  17984. description: 方向 - 0:买 1:卖
  17985. type: integer
  17986. deliveryamount:
  17987. description: 货款金额(X总货款+P总货款)
  17988. type: number
  17989. deliveryid:
  17990. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17991. type: string
  17992. deliveryorderid:
  17993. description: 申报单号
  17994. type: string
  17995. deliverypricemove:
  17996. description: 升贴水(升贴水总额)
  17997. type: number
  17998. deliveryqty:
  17999. description: 交收数量(点选数量)
  18000. type: number
  18001. deliverystatus:
  18002. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18003. type: integer
  18004. deliverytime:
  18005. description: 交割时间
  18006. type: string
  18007. deliverytotalamount:
  18008. description: 交收金额
  18009. type: number
  18010. enddate:
  18011. description: 结束交易日(yyyymmdd)
  18012. type: string
  18013. enumdicname:
  18014. description: 单位名称
  18015. type: string
  18016. matchaccountid:
  18017. description: 对手账号ID
  18018. type: integer
  18019. matchusername:
  18020. description: 对手方名称(仓单持有人)
  18021. type: string
  18022. p1goodsremainamount:
  18023. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18024. type: number
  18025. pdeliverycloseqty:
  18026. description: p合约平仓数量
  18027. type: number
  18028. pdeliveryprice:
  18029. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18030. type: number
  18031. pgoodscode:
  18032. description: 商品代码
  18033. type: string
  18034. pgoodsid:
  18035. description: p点选合约id
  18036. type: integer
  18037. pgoodsname:
  18038. description: 商品名称
  18039. type: string
  18040. ppricemode:
  18041. description: 点价价格方式 - 1:商品价 2:固定值
  18042. type: integer
  18043. tradedate:
  18044. description: 交易日(yyyymmdd)
  18045. type: string
  18046. userid:
  18047. description: 用户id
  18048. type: integer
  18049. username:
  18050. description: 用户名称
  18051. type: string
  18052. warehousename:
  18053. description: 仓库名称
  18054. type: string
  18055. wrfactortypeid:
  18056. description: 仓单要素类型ID
  18057. type: string
  18058. wrtypename:
  18059. description: 商品
  18060. type: string
  18061. xdeliverycloseqty:
  18062. description: 合约数量
  18063. type: number
  18064. xgoodsamount:
  18065. description: 期初均价
  18066. type: number
  18067. xgoodscode:
  18068. description: 商品代码
  18069. type: string
  18070. xgoodsid:
  18071. description: x交易合约ID
  18072. type: integer
  18073. xgoodsname:
  18074. description: 商品名称
  18075. type: string
  18076. type: object
  18077. models.WrDeliveryGoodsSection:
  18078. properties:
  18079. dglst:
  18080. description: 板块商品列表
  18081. items:
  18082. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18083. type: array
  18084. imagepath:
  18085. description: 图片地址
  18086. type: string
  18087. orderindex:
  18088. description: 排序
  18089. type: integer
  18090. sectionid:
  18091. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18092. = 1的版块1 - 云融指数
  18093. type: integer
  18094. sectionname:
  18095. description: 版块名称
  18096. type: string
  18097. sectiontype:
  18098. description: 版块类型 - 1:指数版块 2:普通版块
  18099. type: integer
  18100. type: object
  18101. models.WrDeliveryGoodsSectionConfig:
  18102. properties:
  18103. deliverygoodscode:
  18104. description: 现货商品代码
  18105. type: string
  18106. deliverygoodsid:
  18107. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18108. type: integer
  18109. deliverygoodsname:
  18110. description: 现货商品名称
  18111. type: string
  18112. orderindex:
  18113. description: 排序
  18114. type: integer
  18115. type: object
  18116. models.WrDraftUserInfo:
  18117. properties:
  18118. address:
  18119. description: 地址
  18120. type: string
  18121. attachment1:
  18122. description: 附件1
  18123. type: string
  18124. attachment2:
  18125. description: 附件2
  18126. type: string
  18127. attachment3:
  18128. description: 附件3
  18129. type: string
  18130. attachment4:
  18131. description: 附件4
  18132. type: string
  18133. attachment5:
  18134. description: 附件5
  18135. type: string
  18136. bankaccount:
  18137. description: 银行帐号 (加密存储)
  18138. type: string
  18139. bankaccountname:
  18140. description: 收款人名称
  18141. type: string
  18142. bankcardfrontphotourl:
  18143. description: 银行卡正面照地址
  18144. type: string
  18145. bankid:
  18146. description: 银行编码
  18147. type: string
  18148. bankname:
  18149. description: 银行名称
  18150. type: string
  18151. birthday:
  18152. description: 生日(个人:年月日)
  18153. type: string
  18154. biznature:
  18155. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18156. type: integer
  18157. bizscope:
  18158. description: 企业经营范围(企业)
  18159. type: string
  18160. biztype:
  18161. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18162. type: integer
  18163. cardbackphotourl:
  18164. description: 证件背面图片地址
  18165. type: string
  18166. cardfrontphotourl:
  18167. description: 证件正面图片地址
  18168. type: string
  18169. cardnum:
  18170. description: 证件号码(加密存储)
  18171. type: string
  18172. cardtypeid:
  18173. description: 证件类型ID
  18174. type: integer
  18175. cityid:
  18176. description: 市
  18177. type: integer
  18178. company:
  18179. description: 公司(个人)
  18180. type: string
  18181. contactcardbackphotourl:
  18182. description: 联系人证件背面图片地址
  18183. type: string
  18184. contactcardfrontphotourl:
  18185. description: 联系人证件正面图片地址
  18186. type: string
  18187. contactname:
  18188. description: 联系人
  18189. type: string
  18190. countryid:
  18191. description: 国家
  18192. type: integer
  18193. createtime:
  18194. description: 创建时间
  18195. type: string
  18196. creatorid:
  18197. description: 创建人
  18198. type: integer
  18199. creditquota:
  18200. description: 授信额度(金瑞)
  18201. type: number
  18202. customername:
  18203. description: 客户名称(企业名称)
  18204. type: string
  18205. districtid:
  18206. description: 地区
  18207. type: integer
  18208. email:
  18209. description: 邮件(加密存储)
  18210. type: string
  18211. fax:
  18212. description: 传真(加密存储)
  18213. type: string
  18214. halfbodyphotourl:
  18215. description: 半身照地址
  18216. type: string
  18217. hasencrypt:
  18218. description: 数据是否已加密 - 0:未加密 1:已加密
  18219. type: integer
  18220. headurl:
  18221. description: 头像地址
  18222. type: string
  18223. legalcardbackphotourl:
  18224. description: 法人身份证背面照地址
  18225. type: string
  18226. legalcardfrontphotourl:
  18227. description: 法人身份证正面照地址
  18228. type: string
  18229. legalpersonname:
  18230. description: 法人姓名(企业)
  18231. type: string
  18232. mobile:
  18233. description: 手机号码(加密存储)
  18234. type: string
  18235. mobile2:
  18236. description: 手机号码[明文-尚志]
  18237. type: string
  18238. modifierid:
  18239. description: 修改人
  18240. type: integer
  18241. modifiertime:
  18242. description: 修改时间
  18243. type: string
  18244. needinvoice:
  18245. description: 是否需要发票 - 0:不需要 1:需要
  18246. type: integer
  18247. nickname:
  18248. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18249. type: string
  18250. openmode:
  18251. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18252. 6:苹果手机端注册 7:PC交易端注册"
  18253. type: integer
  18254. otherurl:
  18255. description: 其它图片地址[使用分号分隔]
  18256. type: string
  18257. postalcode:
  18258. description: 邮政编码
  18259. type: string
  18260. provinceid:
  18261. description: 省
  18262. type: integer
  18263. proxystatementurl:
  18264. description: 授权委托书
  18265. type: string
  18266. qq:
  18267. description: QQ(加密存储
  18268. type: string
  18269. remark:
  18270. description: 备注
  18271. type: string
  18272. sex:
  18273. description: '用户性别 0: 女 1: 男'
  18274. type: integer
  18275. signpdfurl:
  18276. description: 签约pdf文件
  18277. type: string
  18278. taxpayernum:
  18279. description: 纳税人识别号
  18280. type: string
  18281. telphone:
  18282. description: 联系电话(加密存储)
  18283. type: string
  18284. userid:
  18285. description: 用户ID
  18286. type: integer
  18287. userinfotype:
  18288. description: 用户信息类型 - 1:个人 2:企业
  18289. type: integer
  18290. userstatus:
  18291. description: 用户状态 - 1:正常 2:注销
  18292. type: integer
  18293. usertype:
  18294. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18295. type: integer
  18296. wechat:
  18297. description: 微信(加密存储)
  18298. type: string
  18299. wskhinfo:
  18300. description: 开户申请信息(JSON)
  18301. type: string
  18302. type: object
  18303. models.WrFAProductDetail:
  18304. properties:
  18305. accountid:
  18306. description: 资金账号
  18307. type: integer
  18308. areauserid:
  18309. description: 金融机构ID
  18310. type: integer
  18311. financingdays:
  18312. description: 天数(天)
  18313. type: integer
  18314. interestminlen:
  18315. description: 最小起息天数
  18316. type: integer
  18317. interestrate:
  18318. description: 利率
  18319. type: number
  18320. interestratemode:
  18321. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18322. type: integer
  18323. interestsettlemode:
  18324. description: 结息方式 - 1:按日结息 3:按月结息
  18325. type: integer
  18326. interestsettlevalue:
  18327. description: 结息方式值
  18328. type: integer
  18329. isautoloan:
  18330. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18331. type: integer
  18332. loantag:
  18333. description: '放款标识: "放款快" 或者为空'
  18334. type: string
  18335. marginratio:
  18336. description: 保证金比率质押率 - [仓单质押]
  18337. type: number
  18338. productdetailid:
  18339. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18340. type: integer
  18341. productid:
  18342. description: 金融产品ID
  18343. type: integer
  18344. productname:
  18345. description: 产品名称
  18346. type: string
  18347. updatetime:
  18348. description: 更新时间
  18349. type: string
  18350. username:
  18351. description: 融出方
  18352. type: string
  18353. type: object
  18354. models.WrFactorTypeInfo:
  18355. properties:
  18356. deliverygoodscode:
  18357. description: 品种代码
  18358. type: string
  18359. deliverygoodsname:
  18360. description: 品种名称
  18361. type: string
  18362. dgfactoryitemid:
  18363. description: 选择项id
  18364. type: integer
  18365. dgfactoryitemtypeid:
  18366. description: 要素选择项ID (1-仓库 2-品牌)
  18367. type: integer
  18368. dgfactoryitemvalue:
  18369. description: 要素项值
  18370. type: string
  18371. itemtypename:
  18372. description: 要素项名称
  18373. type: string
  18374. optioncompare:
  18375. description: 选择比较串
  18376. type: string
  18377. warehouseid:
  18378. description: 仓库id
  18379. type: integer
  18380. wrfactortypeid:
  18381. description: 仓单要素ID
  18382. type: string
  18383. wrfactortypename:
  18384. description: 要素名称
  18385. type: string
  18386. wrfactortypename2:
  18387. description: 要素名称(不含仓库)
  18388. type: string
  18389. wrstandardcode:
  18390. description: 品类代码
  18391. type: string
  18392. wrstandardid:
  18393. description: 品类id
  18394. type: integer
  18395. wrstandardname:
  18396. description: 品类名称
  18397. type: string
  18398. type: object
  18399. models.WrFilterItem:
  18400. properties:
  18401. itemcode:
  18402. description: 代码
  18403. type: string
  18404. itemid:
  18405. description: 项id
  18406. type: integer
  18407. itemname:
  18408. description: 名称
  18409. type: string
  18410. itemtype:
  18411. description: 类型 1-品种 2-品类(商品) 3-仓库
  18412. type: integer
  18413. type: object
  18414. models.WrFinanceBuyApply:
  18415. properties:
  18416. applydate:
  18417. description: 申请时间
  18418. type: string
  18419. applystatus:
  18420. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18421. type: integer
  18422. applyuserid:
  18423. description: 申请人
  18424. type: integer
  18425. auditdate:
  18426. description: 审核时间
  18427. type: string
  18428. auditremark:
  18429. description: 审核备注
  18430. type: string
  18431. audituserid:
  18432. description: 审核人
  18433. type: integer
  18434. buyaccountid:
  18435. description: 买方资金账号
  18436. type: integer
  18437. buyorsell:
  18438. description: 买卖 - 0:买 1:卖
  18439. type: integer
  18440. buyuserid:
  18441. description: 买方用户ID
  18442. type: integer
  18443. buyusername:
  18444. description: 买方名称
  18445. type: string
  18446. buywrtradeorderid:
  18447. description: 融资方买委托单ID
  18448. type: string
  18449. deliverygoodscode:
  18450. description: 品种代码
  18451. type: string
  18452. deliverygoodsid:
  18453. description: 品种ID
  18454. type: integer
  18455. deliverygoodsname:
  18456. description: 品种名称
  18457. type: string
  18458. deliverymonth:
  18459. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18460. type: string
  18461. enumdicname:
  18462. description: 单位名称
  18463. type: string
  18464. financeaccountid:
  18465. description: 融资方资金帐户ID
  18466. type: integer
  18467. financeapplyid:
  18468. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18469. type: string
  18470. financeareauserid:
  18471. description: 融资方用户ID
  18472. type: string
  18473. financename:
  18474. description: 融出方名称
  18475. type: string
  18476. financetype:
  18477. description: 融资类型 1-融资回购
  18478. type: integer
  18479. financingdays:
  18480. description: 天数(天)
  18481. type: integer
  18482. freezebuymargin:
  18483. description: 冻结融资保证金(买方)
  18484. type: number
  18485. handleremark:
  18486. description: 处理备注
  18487. type: string
  18488. handlestatus:
  18489. description: 处理状态
  18490. type: integer
  18491. interestminlen:
  18492. description: 最小起息天数
  18493. type: integer
  18494. interestrate:
  18495. description: 利率
  18496. type: number
  18497. interestratemode:
  18498. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18499. type: integer
  18500. interestsettlemode:
  18501. description: 结息方式 - 1:按日结息 3:按月结息
  18502. type: integer
  18503. interestsettlevalue:
  18504. description: 结息方式值
  18505. type: integer
  18506. isautoloan:
  18507. description: 是否自动放款 - 0:手动 1:自动
  18508. type: integer
  18509. marginratio:
  18510. description: 保证金比率质押率 - [仓单质押]
  18511. type: number
  18512. marketid:
  18513. description: 市场ID
  18514. type: integer
  18515. minivalue:
  18516. description: 现货商品最小变动值
  18517. type: integer
  18518. optioncompare:
  18519. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18520. type: string
  18521. orderqty:
  18522. description: 委托数量(商品数量)
  18523. type: number
  18524. productdetailid:
  18525. description: 产品组合ID
  18526. type: integer
  18527. productid:
  18528. description: 金融产品ID
  18529. type: integer
  18530. productname:
  18531. description: 产品名称
  18532. type: string
  18533. remark:
  18534. description: 备注
  18535. type: string
  18536. scfcontractid:
  18537. description: 仓单回购合同ID
  18538. type: string
  18539. sellaccountid:
  18540. description: 卖方资金账号
  18541. type: integer
  18542. selluserid:
  18543. description: 卖方用户ID
  18544. type: integer
  18545. sellwrtradeorderid:
  18546. description: 卖方委托单ID
  18547. type: string
  18548. tradeamount:
  18549. description: 成交金额(借款金额)
  18550. type: number
  18551. tradedate:
  18552. description: 交易日(yyyyMMdd)
  18553. type: string
  18554. tradeprice:
  18555. description: 成交价格
  18556. type: number
  18557. warehouseid:
  18558. description: 仓库ID
  18559. type: integer
  18560. warehousename:
  18561. description: 仓库名称
  18562. type: string
  18563. wrfactortypeid:
  18564. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18565. type: string
  18566. wrfactortypename:
  18567. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18568. type: string
  18569. wrpricetype:
  18570. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18571. type: integer
  18572. wrstandardcode:
  18573. description: 现货商品代码
  18574. type: string
  18575. wrstandardid:
  18576. description: 现货商品ID
  18577. type: integer
  18578. wrstandardname:
  18579. description: 商品名称
  18580. type: string
  18581. wrtypename:
  18582. description: 商品
  18583. type: string
  18584. type: object
  18585. models.WrFriendApply:
  18586. properties:
  18587. applicantid:
  18588. description: 申请人
  18589. type: integer
  18590. applyname:
  18591. description: 申请人名称
  18592. type: string
  18593. applysrc:
  18594. description: 申请来源 - 1:管理端 2:终端
  18595. type: integer
  18596. applystatus:
  18597. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18598. type: integer
  18599. applytime:
  18600. description: 申请时间
  18601. type: string
  18602. auditname:
  18603. description: 审核人名称
  18604. type: string
  18605. auditorid:
  18606. description: 审核人
  18607. type: integer
  18608. auditremark:
  18609. description: 审核备注
  18610. type: string
  18611. auditsrc:
  18612. description: 审核来源 - 1:管理端 2:终端
  18613. type: integer
  18614. audittime:
  18615. description: 审核时间
  18616. type: string
  18617. friendapplyid:
  18618. description: 申请ID(SEQ_FRIENDAPPLY)
  18619. type: string
  18620. friendname:
  18621. description: 好友名字(已脱敏)
  18622. type: string
  18623. frienduserid:
  18624. description: 好友用户ID
  18625. type: string
  18626. remark:
  18627. description: 备注
  18628. type: string
  18629. userid:
  18630. description: 申请人用户ID
  18631. type: integer
  18632. type: object
  18633. models.WrFtDeliveryGoods:
  18634. properties:
  18635. deliverygoodscode:
  18636. description: 品种代码
  18637. type: string
  18638. deliverygoodsid:
  18639. description: 品种ID
  18640. type: integer
  18641. deliverygoodsname:
  18642. description: 品种名称
  18643. type: string
  18644. wdlst:
  18645. description: 商品列表
  18646. items:
  18647. $ref: '#/definitions/models.WrFtWrstandard'
  18648. type: array
  18649. type: object
  18650. models.WrFtWrstandard:
  18651. properties:
  18652. enumdicname:
  18653. description: 单位名称
  18654. type: string
  18655. minivalue:
  18656. description: 最小变动值
  18657. type: integer
  18658. wrstandardcode:
  18659. description: 现货商品代码
  18660. type: string
  18661. wrstandardid:
  18662. description: 现货商品ID
  18663. type: integer
  18664. wrstandardname:
  18665. description: 商品名称
  18666. type: string
  18667. type: object
  18668. models.WrGoodsInfo:
  18669. properties:
  18670. haswr:
  18671. description: 0:仓单预售 1:仓单贸易
  18672. type: integer
  18673. lstitem:
  18674. description: 商品信息项
  18675. items:
  18676. $ref: '#/definitions/models.WrTypeItem'
  18677. type: array
  18678. lststep:
  18679. description: 履约规则
  18680. items:
  18681. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18682. type: array
  18683. marketid:
  18684. description: 市场id
  18685. type: integer
  18686. type: object
  18687. models.WrGoodsPerformanceStep:
  18688. properties:
  18689. autoid:
  18690. description: AutoID
  18691. type: integer
  18692. isauto:
  18693. description: 是否自动 - 0:不自动 1:自动
  18694. type: integer
  18695. remark:
  18696. description: 备注
  18697. type: string
  18698. stepdate:
  18699. description: 天数信息(T+N)
  18700. type: string
  18701. stepdays:
  18702. description: 距离上一步天数
  18703. type: integer
  18704. stepindex:
  18705. description: 步骤序号
  18706. type: integer
  18707. stepinfo:
  18708. description: 步骤信息(步骤名称+步骤值)
  18709. type: string
  18710. steptypeid:
  18711. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18712. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18713. type: integer
  18714. steptypename:
  18715. description: 步骤名称
  18716. type: string
  18717. stepvalue:
  18718. description: 期初均价
  18719. type: number
  18720. templateid:
  18721. description: 履约计划模板ID
  18722. type: integer
  18723. type: object
  18724. models.WrHoldLB:
  18725. properties:
  18726. accountid:
  18727. description: 持有人帐户ID
  18728. type: integer
  18729. bannerpicurl:
  18730. description: Banner图
  18731. type: string
  18732. createtime:
  18733. description: 创建时间(过户时间)
  18734. type: string
  18735. deliverygoodscode:
  18736. description: 品种代码
  18737. type: string
  18738. deliverygoodsid:
  18739. description: 品种ID
  18740. type: integer
  18741. deliverygoodsname:
  18742. description: 品种名称
  18743. type: string
  18744. enableqty:
  18745. description: 可用数量
  18746. type: number
  18747. enumdicname:
  18748. description: 单位名称
  18749. type: string
  18750. freezerqty:
  18751. description: 冻结数量
  18752. type: number
  18753. ladingbillid:
  18754. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18755. type: string
  18756. minivalue:
  18757. description: 现货商品最小变动值
  18758. type: integer
  18759. optioncompare:
  18760. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18761. type: string
  18762. parentsubnum:
  18763. description: 拆分父子单号
  18764. type: integer
  18765. pledgeqty:
  18766. description: 质押数量
  18767. type: number
  18768. qty:
  18769. description: 数量
  18770. type: number
  18771. subnum:
  18772. description: 提单子单号
  18773. type: integer
  18774. thumurls:
  18775. description: 缩略图
  18776. type: string
  18777. tradedate:
  18778. description: 交易日(yyyyMMdd)
  18779. type: string
  18780. userid:
  18781. description: 持有人ID
  18782. type: integer
  18783. warehouseid:
  18784. description: 仓库ID
  18785. type: integer
  18786. warehousename:
  18787. description: 仓库名称
  18788. type: string
  18789. wrfactortypeid:
  18790. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18791. type: string
  18792. wrfactortypename:
  18793. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18794. type: string
  18795. wrholdeno:
  18796. description: 仓单编号
  18797. type: string
  18798. wrid:
  18799. description: 仓单变更ID
  18800. type: string
  18801. wrstandardcode:
  18802. description: 现货商品代码
  18803. type: string
  18804. wrstandardid:
  18805. description: 现货商品ID
  18806. type: integer
  18807. wrstandardname:
  18808. description: 商品名称
  18809. type: string
  18810. wrtypename:
  18811. description: 商品
  18812. type: string
  18813. type: object
  18814. models.WrMarketTradeConfig:
  18815. properties:
  18816. basisdownratio:
  18817. description: 浮动价基差下限比例(仓单贸易)
  18818. type: number
  18819. basisupratio:
  18820. description: 浮动价基差上限比例(仓单贸易)
  18821. type: number
  18822. buychargealgorithm:
  18823. description: 买方手续费收取方式 1:比率 2:固定
  18824. type: integer
  18825. buychargealgorithm2:
  18826. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18827. type: integer
  18828. buychargealgorithmvalue:
  18829. description: 买方手续费设置值(交易所部分)
  18830. type: number
  18831. buychargealgorithmvalue2:
  18832. description: 买方手续费设置值(会员部分)
  18833. type: number
  18834. buychargealgorithmvalue3:
  18835. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18836. type: number
  18837. buychargealgorithmvalue4:
  18838. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18839. type: number
  18840. buyfirstmarginalgorithm:
  18841. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18842. type: integer
  18843. buyfirstmarginvalue:
  18844. description: 买方出价保证金设置值 - [竞拍]
  18845. type: number
  18846. buymarginalgorithm:
  18847. description: 买方保证金方式 - 1:比率 2:固定
  18848. type: integer
  18849. buymarginvalue:
  18850. description: 买方保证金设置值
  18851. type: number
  18852. buyreleaseratio:
  18853. description: 买方释放比率[2:分步履约]
  18854. type: number
  18855. executemode:
  18856. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18857. type: integer
  18858. executeside:
  18859. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18860. type: integer
  18861. failedchargealgorithm:
  18862. description: 流拍手续费收取方式 1:比率 2:固定
  18863. type: integer
  18864. failedchargevalue:
  18865. description: 流拍手续费设置值
  18866. type: number
  18867. failedchargevalue2:
  18868. description: 流拍卖方手续费设置值
  18869. type: number
  18870. holddays:
  18871. description: 合同期限[2:分步履约]
  18872. type: integer
  18873. listingmode:
  18874. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18875. type: integer
  18876. marketid:
  18877. description: 市场ID-仓单贸易、竞拍、预售
  18878. type: integer
  18879. minqty:
  18880. description: 最小执行量[2:分步履约]
  18881. type: number
  18882. modifierid:
  18883. description: 修改人
  18884. type: integer
  18885. nowrquotaflag:
  18886. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18887. type: integer
  18888. performancetempid:
  18889. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18890. 立即执行(-1)
  18891. type: integer
  18892. performancetempid2:
  18893. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18894. 立即执行
  18895. type: integer
  18896. performancetempid2s:
  18897. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18898. - 履约方式: 立即执行
  18899. type: string
  18900. performancetempids:
  18901. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18902. - 履约方式: 立即执行(-1)
  18903. type: string
  18904. performanceway:
  18905. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18906. type: integer
  18907. sellchargealgorithm:
  18908. description: 卖方手续费收取方式 1:比率 2:固定
  18909. type: integer
  18910. sellchargealgorithm2:
  18911. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18912. type: integer
  18913. sellchargealgorithmvalue:
  18914. description: 卖方手续费设置值(交易所部分)
  18915. type: number
  18916. sellchargealgorithmvalue2:
  18917. description: 卖方手续费设置值(会员部分)
  18918. type: number
  18919. sellchargealgorithmvalue3:
  18920. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18921. type: number
  18922. sellchargealgorithmvalue4:
  18923. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18924. type: number
  18925. sellmarginalgorithm:
  18926. description: 卖方保证金方式 - 1:比率 2:固定
  18927. type: integer
  18928. sellmarginvalue:
  18929. description: 卖方保证金设置值
  18930. type: number
  18931. sellmarginvalue2:
  18932. description: 卖方保证金设置值(无仓单)
  18933. type: number
  18934. sellreleaseratio:
  18935. description: 卖方释放比率[2:分步履约]
  18936. type: number
  18937. updatetime:
  18938. description: 更新时间
  18939. type: string
  18940. type: object
  18941. models.WrOrderDetail:
  18942. properties:
  18943. accountid:
  18944. description: 交易账号(资金账号)
  18945. type: integer
  18946. allfriendsflag:
  18947. description: 是否全好友可见 - 0:否 1:是
  18948. type: integer
  18949. amount:
  18950. description: 期初均价
  18951. type: number
  18952. bannerpicurl:
  18953. description: Banner图
  18954. type: string
  18955. begindate:
  18956. description: 开始交易日(yyyymmdd)
  18957. type: string
  18958. buyorsell:
  18959. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18960. type: integer
  18961. canbargain:
  18962. description: 是否可议价 - 0:不可 1:可
  18963. type: integer
  18964. cancelqty:
  18965. description: 撤销数量
  18966. type: number
  18967. canpart:
  18968. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18969. type: integer
  18970. delistminqty:
  18971. description: 起摘数量
  18972. type: integer
  18973. deliverygoodscode:
  18974. description: 品种代码
  18975. type: string
  18976. deliverygoodsid:
  18977. description: 品种ID
  18978. type: integer
  18979. deliverygoodsname:
  18980. description: 品种名称
  18981. type: string
  18982. deliverymonth:
  18983. description: 交收月
  18984. type: string
  18985. enddate:
  18986. description: 结束交易日(yyyymmdd)
  18987. type: string
  18988. enumdicname:
  18989. description: 单位名称
  18990. type: string
  18991. fixedprice:
  18992. description: 固定价格 - [挂牌]
  18993. type: number
  18994. freezecharge:
  18995. description: 期初均价
  18996. type: number
  18997. freezemargin:
  18998. description: 期初均价
  18999. type: number
  19000. futupricemove:
  19001. description: 期货升贴水
  19002. type: number
  19003. futushow:
  19004. description: 期货合约/升贴水
  19005. type: string
  19006. goodscode:
  19007. description: 期货合约
  19008. type: string
  19009. goodsid:
  19010. description: 期货商品id
  19011. type: integer
  19012. goodsname:
  19013. description: 商品名称
  19014. type: string
  19015. haswr:
  19016. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19017. type: integer
  19018. isspecified:
  19019. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19020. type: integer
  19021. ladingbillid:
  19022. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19023. type: string
  19024. marginvalue:
  19025. description: 期初均价
  19026. type: number
  19027. marketid:
  19028. description: 市场ID
  19029. type: integer
  19030. matchusername:
  19031. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19032. type: string
  19033. minivalue:
  19034. description: 现货商品最小变动值
  19035. type: integer
  19036. optioncompare:
  19037. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19038. type: string
  19039. orderqty:
  19040. description: 委托数量
  19041. type: number
  19042. ordertime:
  19043. description: 委托时间(挂牌时间)
  19044. type: string
  19045. performancetemplateid:
  19046. description: 履约模板id
  19047. type: integer
  19048. pricemove:
  19049. description: 升贴水(浮动价时填写) - [挂牌]
  19050. type: number
  19051. taname:
  19052. description: 交易用户名称(资金账号名称)
  19053. type: string
  19054. thumurls:
  19055. description: 缩略图
  19056. type: string
  19057. tradedate:
  19058. description: 交易日(yyyyMMdd)
  19059. type: string
  19060. tradeprice:
  19061. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19062. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19063. type: number
  19064. tradeqty:
  19065. description: 成交数量
  19066. type: number
  19067. userid:
  19068. description: 用户ID
  19069. type: integer
  19070. validtime:
  19071. description: 挂牌有效期
  19072. type: string
  19073. validtype:
  19074. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19075. type: integer
  19076. warehouseid:
  19077. description: 仓库ID
  19078. type: integer
  19079. warehousename:
  19080. description: 仓库名称
  19081. type: string
  19082. wrfactortypeid:
  19083. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19084. type: string
  19085. wrfactortypename:
  19086. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19087. type: string
  19088. wrpricetype:
  19089. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19090. type: integer
  19091. wrstandardcode:
  19092. description: 现货商品代码
  19093. type: string
  19094. wrstandardid:
  19095. description: 现货商品ID
  19096. type: integer
  19097. wrstandardname:
  19098. description: 商品名称
  19099. type: string
  19100. wrtradeorderid:
  19101. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19102. type: string
  19103. wrtradeorderstatus:
  19104. 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:撤单解冻贷款失败
  19105. type: integer
  19106. wrtradetype:
  19107. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19108. type: integer
  19109. wrtypename:
  19110. description: 商品
  19111. type: string
  19112. type: object
  19113. models.WrOrderQuote:
  19114. properties:
  19115. bannerpicurl:
  19116. description: Banner图
  19117. type: string
  19118. buyprice:
  19119. description: 买价
  19120. type: number
  19121. buypricemove:
  19122. description: 买升贴水(基差)
  19123. type: number
  19124. buyqty:
  19125. description: 买量
  19126. type: number
  19127. deliverygoodscode:
  19128. description: 品种代码
  19129. type: string
  19130. deliverygoodsid:
  19131. description: 品种id
  19132. type: integer
  19133. deliverygoodsname:
  19134. description: 品种名称
  19135. type: string
  19136. deliverymonth:
  19137. description: 交收月
  19138. type: string
  19139. enumdicname:
  19140. description: 单位名称
  19141. type: string
  19142. goodscode:
  19143. description: 商品合约(浮动价列表才有)
  19144. type: string
  19145. goodsid:
  19146. description: 商品id(浮动价列表才有)
  19147. type: integer
  19148. minivalue:
  19149. description: 现货商品最小变动值
  19150. type: integer
  19151. pictureurls:
  19152. description: 详情图片(逗号分隔)
  19153. type: string
  19154. sellprice:
  19155. description: 卖价
  19156. type: number
  19157. sellpricemove:
  19158. description: 卖升贴水(基差)
  19159. type: number
  19160. sellqty:
  19161. description: 卖量
  19162. type: number
  19163. thumurls:
  19164. description: 缩略图片(1:1)(逗号分隔)
  19165. type: string
  19166. warehousecode:
  19167. description: 仓库代码
  19168. type: string
  19169. warehouseid:
  19170. description: 仓库id
  19171. type: integer
  19172. warehousename:
  19173. description: 仓库名称
  19174. type: string
  19175. wrfactortypeid:
  19176. description: 仓单要素id
  19177. type: string
  19178. wrfactortypename:
  19179. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19180. type: string
  19181. wrgoodsname:
  19182. description: 商品(商品名称+仓库要素名称 拼接)
  19183. type: string
  19184. wrstandardcode:
  19185. description: 商品代码
  19186. type: string
  19187. wrstandardid:
  19188. description: 商品id
  19189. type: integer
  19190. wrstandardname:
  19191. description: 商品名称
  19192. type: string
  19193. type: object
  19194. models.WrOrderQuoteDetail:
  19195. properties:
  19196. buyorsell:
  19197. description: 买卖 - 0:买 1:卖
  19198. type: integer
  19199. delistminqty:
  19200. description: 期初均价
  19201. type: number
  19202. deliverymonth:
  19203. description: 交收月
  19204. type: string
  19205. enumdicname:
  19206. description: 单位名称
  19207. type: string
  19208. fixedprice:
  19209. description: 买(卖)价
  19210. type: number
  19211. marketid:
  19212. description: 市场id
  19213. type: integer
  19214. minivalue:
  19215. description: 现货商品最小变动值
  19216. type: integer
  19217. orderqty:
  19218. description: 买(卖)量(=委托量-成交量)
  19219. type: number
  19220. ordertime:
  19221. description: 委托时间
  19222. type: string
  19223. pricemove:
  19224. description: 买(卖)升贴水- 基差
  19225. type: number
  19226. userid:
  19227. description: 购买方(销售方)用户ID
  19228. type: integer
  19229. username:
  19230. description: 购买方(销售方)
  19231. type: string
  19232. wrtradeorderid:
  19233. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19234. type: string
  19235. type: object
  19236. models.WrOutInApply:
  19237. properties:
  19238. applyid:
  19239. description: 申请单id
  19240. type: string
  19241. applystatus:
  19242. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19243. 8:已撤销
  19244. type: integer
  19245. applytime:
  19246. description: 申请时间
  19247. type: string
  19248. applytype:
  19249. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19250. type: integer
  19251. bannerpicurl:
  19252. description: Banner图
  19253. type: string
  19254. begindate:
  19255. description: 开始交易日(yyyymmdd)
  19256. type: string
  19257. deliverygoodscode:
  19258. description: 品种代码
  19259. type: string
  19260. deliverygoodsid:
  19261. description: 品种ID
  19262. type: integer
  19263. deliverygoodsname:
  19264. description: 品种名称
  19265. type: string
  19266. enddate:
  19267. description: 结束交易日(yyyymmdd)
  19268. type: string
  19269. enumdicname:
  19270. description: 单位名称
  19271. type: string
  19272. expresscompany:
  19273. description: 物流公司
  19274. type: string
  19275. expressnum:
  19276. description: 物流单号
  19277. type: string
  19278. minivalue:
  19279. description: 现货商品最小变动值
  19280. type: integer
  19281. optioncompare:
  19282. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19283. type: string
  19284. qty:
  19285. description: 数量
  19286. type: integer
  19287. userid:
  19288. description: 用户id
  19289. type: integer
  19290. warehouseid:
  19291. description: 仓库ID
  19292. type: integer
  19293. warehousename:
  19294. description: 仓库名称
  19295. type: string
  19296. wrfactortypeid:
  19297. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19298. type: string
  19299. wrfactortypename:
  19300. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19301. type: string
  19302. wrstandardcode:
  19303. description: 现货商品代码
  19304. type: string
  19305. wrstandardid:
  19306. description: 现货商品ID
  19307. type: integer
  19308. wrstandardname:
  19309. description: 商品名称
  19310. type: string
  19311. wrtypename:
  19312. description: 商品
  19313. type: string
  19314. type: object
  19315. models.WrPerformancePlan:
  19316. properties:
  19317. activatemonth:
  19318. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19319. type: string
  19320. amount:
  19321. description: 履约金额(总金额)
  19322. type: number
  19323. begindate:
  19324. description: 开始交易日(yyyymmdd)
  19325. type: string
  19326. buyaccountid:
  19327. description: 买方账号
  19328. type: integer
  19329. buyerfreezeamount:
  19330. description: 履约冻结(买履约)
  19331. type: number
  19332. buyerfreezeamountremain:
  19333. description: 履约冻结剩余(买履约)
  19334. type: number
  19335. buyorsell:
  19336. description: 买卖方向 0-买 1-卖
  19337. type: integer
  19338. buypaidamount:
  19339. description: 买方已冻/已扣金额 (已付金额)
  19340. type: number
  19341. buyusername:
  19342. description: 买方名字
  19343. type: string
  19344. contractid:
  19345. description: 合同ID
  19346. type: integer
  19347. createtime:
  19348. description: 创建时间
  19349. type: string
  19350. creatorid:
  19351. description: 创建人
  19352. type: integer
  19353. curstepdeadline:
  19354. description: 当前步骤到期时间
  19355. type: string
  19356. curstepid:
  19357. description: 当前步骤ID
  19358. type: string
  19359. curstepname:
  19360. description: 当前步骤名称
  19361. type: string
  19362. deliverygoodscode:
  19363. description: 品种代码
  19364. type: string
  19365. deliverygoodsid:
  19366. description: 品种ID
  19367. type: integer
  19368. deliverygoodsname:
  19369. description: 品种名称
  19370. type: string
  19371. enddate:
  19372. description: 结束交易日(yyyymmdd)
  19373. type: string
  19374. enumdicname:
  19375. description: 单位名称
  19376. type: string
  19377. expressfee:
  19378. description: 运费
  19379. type: number
  19380. expressfeeconfirmed:
  19381. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19382. type: integer
  19383. hasovershort:
  19384. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19385. type: integer
  19386. haswr:
  19387. description: 类型 0-仓单预售 1-仓单贸易
  19388. type: integer
  19389. marketid:
  19390. description: 市场ID
  19391. type: integer
  19392. middleaccountid:
  19393. description: 中间商资金账号ID
  19394. type: integer
  19395. middleuserid:
  19396. description: 中间商用户ID
  19397. type: integer
  19398. minivalue:
  19399. description: 现货商品最小变动值
  19400. type: integer
  19401. optioncompare:
  19402. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19403. type: string
  19404. overshortamount:
  19405. description: 溢短金额
  19406. type: number
  19407. overshortqty:
  19408. description: 溢短数量
  19409. type: number
  19410. paymenttype:
  19411. description: 付款方式 - 1:冻结 2:扣款
  19412. type: integer
  19413. performanceplanid:
  19414. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19415. type: string
  19416. performancestatus:
  19417. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19418. 9:超时待处理 10:超时关闭
  19419. type: integer
  19420. performancetype:
  19421. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19422. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19423. type: integer
  19424. qty:
  19425. description: 履约数量
  19426. type: number
  19427. relatedorderid:
  19428. description: 关联单号(履约类型的关联单号)
  19429. type: string
  19430. remark:
  19431. description: 备注
  19432. type: string
  19433. sellaccountid:
  19434. description: 卖方账号
  19435. type: integer
  19436. sellerfreezeamount:
  19437. description: 履约冻结(卖履约)
  19438. type: number
  19439. sellerfreezeamountremain:
  19440. description: 履约冻结剩余(卖履约)
  19441. type: number
  19442. sellreceivedamount:
  19443. description: 卖方已收金额
  19444. type: number
  19445. sellusername:
  19446. description: 卖方名字
  19447. type: string
  19448. shipremark:
  19449. description: 发货备注[物流单号]
  19450. type: string
  19451. starttime:
  19452. description: 开始时间
  19453. type: string
  19454. steptypeid:
  19455. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19456. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19457. type: integer
  19458. typename:
  19459. description: 履约类型 名称
  19460. type: string
  19461. unpaidamount:
  19462. description: 期初均价
  19463. type: number
  19464. userid:
  19465. description: 用户id
  19466. type: integer
  19467. warehouseid:
  19468. description: 仓库ID
  19469. type: integer
  19470. warehousename:
  19471. description: 仓库名称
  19472. type: string
  19473. wrfactortypeid:
  19474. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19475. type: string
  19476. wrfactortypename:
  19477. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19478. type: string
  19479. wrstandardcode:
  19480. description: 现货商品代码
  19481. type: string
  19482. wrstandardid:
  19483. description: 现货商品ID
  19484. type: integer
  19485. wrstandardname:
  19486. description: 商品名称
  19487. type: string
  19488. wrtransferuserid:
  19489. description: 仓单受让用户
  19490. type: integer
  19491. wrtypename:
  19492. description: 商品
  19493. type: string
  19494. required:
  19495. - userid
  19496. type: object
  19497. models.WrPerformancePlanStep:
  19498. properties:
  19499. delaydays:
  19500. description: 延期申请天数
  19501. type: integer
  19502. deliverygoodscode:
  19503. description: 品种代码
  19504. type: string
  19505. deliverygoodsid:
  19506. description: 品种ID
  19507. type: integer
  19508. deliverygoodsname:
  19509. description: 品种名称
  19510. type: string
  19511. endtime:
  19512. description: 结束日期
  19513. type: string
  19514. enumdicname:
  19515. description: 单位名称
  19516. type: string
  19517. executeside:
  19518. description: 步骤执行方 - 1:买方 2:卖方
  19519. type: integer
  19520. handlestatus:
  19521. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19522. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19523. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19524. type: integer
  19525. isauto:
  19526. description: 是否自动 - 0:不自动 1:自动
  19527. type: integer
  19528. islastreceivestep:
  19529. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19530. type: integer
  19531. minivalue:
  19532. description: 现货商品最小变动值
  19533. type: integer
  19534. optioncompare:
  19535. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19536. type: string
  19537. overdays:
  19538. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19539. type: integer
  19540. performancestepid:
  19541. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19542. type: string
  19543. planid:
  19544. description: 所属履约计划ID
  19545. type: string
  19546. realamount:
  19547. description: 实际完成金额
  19548. type: number
  19549. relatedorderid:
  19550. description: 关联单号
  19551. type: string
  19552. remaindays:
  19553. description: 剩余天数
  19554. type: integer
  19555. remark:
  19556. description: 错误备注
  19557. type: string
  19558. starttime:
  19559. description: 开始日期
  19560. type: string
  19561. stepamount:
  19562. description: 步骤金额
  19563. type: number
  19564. stepdays:
  19565. description: 距离上一步天数(分钟)
  19566. type: integer
  19567. stepindex:
  19568. description: 步骤序号
  19569. type: integer
  19570. steplanchtype:
  19571. description: 步骤启动类型 - 1:系统自动 2:手动
  19572. type: integer
  19573. stepremark:
  19574. description: 步骤备注
  19575. type: string
  19576. stepstatus:
  19577. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19578. type: integer
  19579. steptypeid:
  19580. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19581. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19582. type: integer
  19583. steptypename:
  19584. description: 步骤名称
  19585. type: string
  19586. stepvalue:
  19587. description: 步骤值
  19588. type: number
  19589. warehouseid:
  19590. description: 仓库ID
  19591. type: integer
  19592. warehousename:
  19593. description: 仓库名称
  19594. type: string
  19595. wrfactortypeid:
  19596. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19597. type: string
  19598. wrfactortypename:
  19599. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19600. type: string
  19601. wrstandardcode:
  19602. description: 现货商品代码
  19603. type: string
  19604. wrstandardid:
  19605. description: 现货商品ID
  19606. type: integer
  19607. wrstandardname:
  19608. description: 商品名称
  19609. type: string
  19610. wrtypename:
  19611. description: 商品
  19612. type: string
  19613. type: object
  19614. models.WrPerformanceStepType:
  19615. properties:
  19616. canauto:
  19617. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19618. type: integer
  19619. steptypeid:
  19620. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19621. type: integer
  19622. steptypename:
  19623. description: 步骤类型名称
  19624. type: string
  19625. type: object
  19626. models.WrPerformanceTemplateEx:
  19627. properties:
  19628. autoid:
  19629. description: AutoID 模板id
  19630. type: integer
  19631. createtime:
  19632. description: 创建时间
  19633. type: string
  19634. creatorid:
  19635. description: 创建人
  19636. type: integer
  19637. lstStep:
  19638. description: 步骤信息列表
  19639. items:
  19640. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19641. type: array
  19642. paymenttype:
  19643. description: 支付方式 - 1:冻结 2:扣款
  19644. type: integer
  19645. takemode:
  19646. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19647. type: integer
  19648. templatename:
  19649. description: 模板名称
  19650. type: string
  19651. templatetype:
  19652. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19653. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19654. type: integer
  19655. userid:
  19656. description: 所属用户
  19657. type: integer
  19658. type: object
  19659. models.WrPosition:
  19660. properties:
  19661. accountid:
  19662. description: 帐户ID
  19663. type: integer
  19664. buyexcuteqty:
  19665. description: 采购履约中数量
  19666. type: number
  19667. creditcurqty:
  19668. description: 授信当前数量(预售仓单:预售当前量)
  19669. type: number
  19670. creditenableqty:
  19671. description: '授信可用数量(预售仓单: 可用数量)'
  19672. type: number
  19673. creditfreezeqty:
  19674. description: '授信冻结数量(预售仓单: 当前数量)'
  19675. type: number
  19676. credittotalqty:
  19677. description: 授信总数量(预售仓单:预售总量)
  19678. type: number
  19679. credittradeqty:
  19680. description: 授信成交数量(预售仓单:成交总量)
  19681. type: number
  19682. deliverygoodscode:
  19683. description: 品种代码
  19684. type: string
  19685. deliverygoodsid:
  19686. description: 品种ID
  19687. type: integer
  19688. deliverygoodsname:
  19689. description: 品种名称
  19690. type: string
  19691. enalbeqty:
  19692. description: 可用数量
  19693. type: number
  19694. enumdicname:
  19695. description: 单位名称
  19696. type: string
  19697. freezeqty:
  19698. description: 总冻结数量
  19699. type: number
  19700. haswr:
  19701. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19702. type: integer
  19703. minivalue:
  19704. description: 现货商品最小变动值
  19705. type: integer
  19706. modifytime:
  19707. description: 修改时间(过户时间)
  19708. type: string
  19709. optioncompare:
  19710. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19711. type: string
  19712. pledgeqty:
  19713. description: 质押数量
  19714. type: number
  19715. querytype:
  19716. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19717. type: integer
  19718. sellexcuteqty:
  19719. description: 销售履约中数量
  19720. type: number
  19721. totalqty:
  19722. description: 总数量(库存数量)
  19723. type: number
  19724. warehouseid:
  19725. description: 仓库ID
  19726. type: integer
  19727. warehousename:
  19728. description: 仓库名称
  19729. type: string
  19730. wrfactortypeid:
  19731. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19732. type: string
  19733. wrfactortypename:
  19734. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19735. type: string
  19736. wrpositionid:
  19737. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19738. type: string
  19739. wrpositionno:
  19740. description: 仓单编号
  19741. type: string
  19742. wrstandardcode:
  19743. description: 现货商品代码
  19744. type: string
  19745. wrstandardid:
  19746. description: 现货商品ID
  19747. type: integer
  19748. wrstandardname:
  19749. description: 商品名称
  19750. type: string
  19751. wrtypename:
  19752. description: 商品
  19753. type: string
  19754. wruserid:
  19755. description: 持有人ID
  19756. type: integer
  19757. type: object
  19758. models.WrPreSaleInfo:
  19759. properties:
  19760. bannerpicurl:
  19761. description: Banner图
  19762. type: string
  19763. baseqty:
  19764. description: 中签基数
  19765. type: number
  19766. createtime:
  19767. description: 创建时间
  19768. type: string
  19769. deliverygoodsid:
  19770. description: 现货品种ID
  19771. type: integer
  19772. enddate:
  19773. description: 预售结束日期
  19774. type: string
  19775. enumdicname:
  19776. description: 单位名称
  19777. type: string
  19778. lotteryflag:
  19779. description: 摇号标识 - 0:未摇号 1:已摇号
  19780. type: integer
  19781. lotteryqty:
  19782. description: 摇号总量
  19783. type: number
  19784. luckyqty:
  19785. description: 已中签量
  19786. type: number
  19787. marketid:
  19788. description: 市场ID
  19789. type: integer
  19790. maxbuyqty:
  19791. description: 单人最大申购量
  19792. type: number
  19793. maxluckyqty:
  19794. description: 单人最大中签量
  19795. type: number
  19796. pictureurls:
  19797. description: 详情图片(逗号分隔)
  19798. type: string
  19799. placeqty:
  19800. description: 已配售量
  19801. type: number
  19802. presaleapplyid:
  19803. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19804. example: "0"
  19805. type: string
  19806. presaleqty:
  19807. description: 预售总量
  19808. type: number
  19809. presalestatus:
  19810. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19811. type: integer
  19812. sellaccountid:
  19813. description: 发行方资金账户ID
  19814. type: integer
  19815. selluserid:
  19816. description: 发行方用户ID
  19817. type: integer
  19818. sellwrtradeorderid:
  19819. description: 发行方卖委托单ID
  19820. type: string
  19821. startdate:
  19822. description: 预售开始日期
  19823. type: string
  19824. takestartdate:
  19825. description: 提货开始日期
  19826. type: string
  19827. thumurls:
  19828. description: 缩略图片(1:1)(逗号分隔)
  19829. type: string
  19830. tradedate:
  19831. description: 交易日
  19832. type: string
  19833. unitid:
  19834. description: 单位ID
  19835. type: integer
  19836. unitprice:
  19837. description: 商品单价
  19838. type: number
  19839. username:
  19840. description: 发行方用户名称
  19841. type: string
  19842. warehousecode:
  19843. description: 仓库代码(仓库简称)
  19844. type: string
  19845. warehouseid:
  19846. description: 仓库ID
  19847. type: integer
  19848. warehousename:
  19849. description: 仓库名称
  19850. type: string
  19851. wrfactortypeid:
  19852. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19853. example: "0"
  19854. type: string
  19855. wrstandardid:
  19856. description: 现货商品ID
  19857. type: integer
  19858. wrstandardname:
  19859. description: 现货商品名称
  19860. type: string
  19861. type: object
  19862. models.WrQuoteOrderMyq:
  19863. properties:
  19864. buyorsell:
  19865. description: 买卖 - 0:买 1:卖
  19866. type: integer
  19867. canbargain:
  19868. description: 是否可议价 - 0:不可 1:可
  19869. type: integer
  19870. canpart:
  19871. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19872. type: integer
  19873. delistminqty:
  19874. description: 期初均价
  19875. type: number
  19876. deliverygoodscode:
  19877. description: 品种代码
  19878. type: string
  19879. deliverygoodsid:
  19880. description: 品种ID
  19881. type: integer
  19882. deliverygoodsname:
  19883. description: 品种名称
  19884. type: string
  19885. deliverymonth:
  19886. description: 交收月
  19887. type: string
  19888. enumdicname:
  19889. description: 单位名称
  19890. type: string
  19891. fixedprice:
  19892. description: 买(卖)价
  19893. type: number
  19894. goodscode:
  19895. description: 商品合约代码
  19896. type: string
  19897. marginflag:
  19898. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19899. type: integer
  19900. marginvalue:
  19901. description: 保证金设置值
  19902. type: number
  19903. minivalue:
  19904. description: 现货商品最小变动值
  19905. type: integer
  19906. orderqty:
  19907. description: 买(卖)量(=委托量-成交量)
  19908. type: number
  19909. ordertime:
  19910. description: 委托时间
  19911. type: string
  19912. performancetemplateid:
  19913. description: 履约模板id
  19914. type: integer
  19915. pricemove:
  19916. description: 买(卖)升贴水- 基差
  19917. type: number
  19918. templatename:
  19919. description: 履约模板名称
  19920. type: string
  19921. userid:
  19922. description: 购买方(销售方)用户ID
  19923. type: integer
  19924. username:
  19925. description: 购买方(销售方)
  19926. type: string
  19927. validtime:
  19928. description: 有效期限
  19929. type: string
  19930. validtype:
  19931. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19932. type: integer
  19933. warehousename:
  19934. description: 仓库名称
  19935. type: string
  19936. wrfactortypeid:
  19937. description: 仓单要素id
  19938. type: string
  19939. wrstandardcode:
  19940. description: 现货商品代码
  19941. type: string
  19942. wrstandardid:
  19943. description: 现货商品ID
  19944. type: integer
  19945. wrstandardname:
  19946. description: 商品名称
  19947. type: string
  19948. wrtradeorderid:
  19949. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19950. type: string
  19951. wrtypename:
  19952. description: 商品
  19953. type: string
  19954. type: object
  19955. models.WrReckonSpotGoodsTradeSum:
  19956. properties:
  19957. begindate:
  19958. description: 开始日期(结果含开始日期) yyyymmdd
  19959. type: string
  19960. enddate:
  19961. description: 结束日期(结果含结束日期) yyyymmdd
  19962. type: string
  19963. istoday:
  19964. description: 是否当日
  19965. type: boolean
  19966. marketid:
  19967. description: 市场ID
  19968. type: integer
  19969. price:
  19970. description: 价格 = 日成交金额 / 日成交数量
  19971. type: string
  19972. reckondate:
  19973. description: 日期 格式 yyyymmdd
  19974. type: string
  19975. tradeamount:
  19976. description: 期初均价
  19977. type: number
  19978. tradeqty:
  19979. description: 期初均价
  19980. type: number
  19981. wrstandardid:
  19982. description: 现货商品ID
  19983. type: integer
  19984. type: object
  19985. models.WrScfContract:
  19986. properties:
  19987. borroweruserid:
  19988. description: 借款用户ID
  19989. type: integer
  19990. buybackwrpositionqty:
  19991. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19992. type: number
  19993. closeinterest:
  19994. description: 已结利息 -> 已结费用
  19995. type: number
  19996. currisklevel:
  19997. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19998. type: integer
  19999. deadline:
  20000. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20001. type: string
  20002. deliverygoodscode:
  20003. description: 品种代码
  20004. type: string
  20005. deliverygoodsid:
  20006. description: 品种ID
  20007. type: integer
  20008. deliverygoodsname:
  20009. description: 品种名称
  20010. type: string
  20011. enumdicname:
  20012. description: 单位名称
  20013. type: string
  20014. financingdays:
  20015. description: 天数(天)
  20016. type: integer
  20017. initmargin:
  20018. description: 保证金 - [仓单回购]
  20019. type: number
  20020. interestamount:
  20021. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20022. type: number
  20023. interestdebt:
  20024. description: 利息欠款(记录负数) -> 费用欠款
  20025. type: number
  20026. interestminlen:
  20027. description: 最小起息天数
  20028. type: integer
  20029. interestrate:
  20030. description: 利率
  20031. type: number
  20032. interestratemode:
  20033. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20034. type: integer
  20035. interestsettlemode:
  20036. description: 结息方式 - 1:按日结息 3:按月结息
  20037. type: integer
  20038. interestsettlevalue:
  20039. description: 结息方式值
  20040. type: integer
  20041. isautoloan:
  20042. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20043. type: integer
  20044. lastcloseinterestday:
  20045. description: 最近结息日(yyyyMMdd)
  20046. type: string
  20047. lenderamount:
  20048. description: 贷款金额 -> 借款金额
  20049. type: number
  20050. lenderuserid:
  20051. description: 贷款方用户ID -> 融出方用户ID
  20052. type: integer
  20053. lenderusername:
  20054. description: 融出方
  20055. type: string
  20056. marginratio:
  20057. description: 保证金比率质押率 - [仓单质押]
  20058. type: number
  20059. marketid:
  20060. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20061. type: integer
  20062. minivalue:
  20063. description: 现货商品最小变动值
  20064. type: integer
  20065. optioncompare:
  20066. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20067. type: string
  20068. pricemove:
  20069. description: 估值升贴水值
  20070. type: number
  20071. productdetailid:
  20072. description: 产品组合ID
  20073. type: integer
  20074. productid:
  20075. description: 金融产品ID
  20076. type: integer
  20077. productname:
  20078. description: 产品名称
  20079. type: string
  20080. remainamount:
  20081. description: 合同剩余金额 -> 剩余金额
  20082. type: number
  20083. remainwrpositionqty:
  20084. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20085. type: number
  20086. remark:
  20087. description: 备注
  20088. type: string
  20089. scfcontractid:
  20090. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20091. type: string
  20092. scfcontractstatus:
  20093. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20094. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20095. type: integer
  20096. scfcontracttype:
  20097. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20098. type: integer
  20099. startinterestday:
  20100. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20101. type: string
  20102. totalinterest:
  20103. description: 已计利息 -> 已计费用
  20104. type: number
  20105. unpaidinterest:
  20106. description: 期初均价
  20107. type: number
  20108. updatetime:
  20109. description: 更新时间
  20110. type: string
  20111. warehouseid:
  20112. description: 仓库ID
  20113. type: integer
  20114. warehousename:
  20115. description: 仓库名称
  20116. type: string
  20117. wrfactortypeid:
  20118. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20119. type: string
  20120. wrfactortypename:
  20121. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20122. type: string
  20123. wrqty:
  20124. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20125. type: number
  20126. wrstandardcode:
  20127. description: 现货商品代码
  20128. type: string
  20129. wrstandardid:
  20130. description: 现货商品ID
  20131. type: integer
  20132. wrstandardname:
  20133. description: 商品名称
  20134. type: string
  20135. wrtypename:
  20136. description: 商品
  20137. type: string
  20138. type: object
  20139. models.WrScfContractInterest:
  20140. properties:
  20141. closeinterest:
  20142. description: 已结利息
  20143. type: number
  20144. closeintereststatus:
  20145. description: 结息状态 - 1:未结 2:已结
  20146. type: integer
  20147. closetime:
  20148. description: 结息时间
  20149. type: string
  20150. closetradedate:
  20151. description: 结息交易日
  20152. type: string
  20153. creatorid:
  20154. description: 操作人ID
  20155. type: integer
  20156. dayrate:
  20157. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20158. type: number
  20159. interest:
  20160. description: 利息
  20161. type: number
  20162. interestamount:
  20163. description: 计息金额
  20164. type: number
  20165. interestday:
  20166. description: 计息日(yyyyMMdd)
  20167. type: string
  20168. scfcontractid:
  20169. description: SCF合同ID
  20170. type: string
  20171. scfcontractinterestid:
  20172. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20173. type: integer
  20174. updatetime:
  20175. description: 更新时间
  20176. type: string
  20177. type: object
  20178. models.WrSearchUser:
  20179. properties:
  20180. userid:
  20181. description: 用户ID
  20182. type: integer
  20183. username:
  20184. description: 用户名称(已脱敏)
  20185. type: string
  20186. username2:
  20187. description: 用户名称(未脱敏)
  20188. type: string
  20189. usertype:
  20190. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20191. type: integer
  20192. required:
  20193. - username
  20194. type: object
  20195. models.WrSiteColumnDetail:
  20196. properties:
  20197. brief:
  20198. description: 简介
  20199. type: string
  20200. context:
  20201. description: 内容
  20202. type: string
  20203. coverimage:
  20204. description: 封面图片
  20205. type: string
  20206. creaedate:
  20207. description: 创建时间
  20208. type: string
  20209. id:
  20210. description: ID(SEQ_SITE_COLUMNDETAIL)
  20211. type: integer
  20212. istop:
  20213. description: 是否置顶 - 0:不置 1:置顶
  20214. type: integer
  20215. publishdate:
  20216. description: 发布日期
  20217. type: string
  20218. title:
  20219. description: 标题
  20220. type: string
  20221. updatedate:
  20222. description: 修改时间
  20223. type: string
  20224. type: object
  20225. models.WrSpecialMatchOrder:
  20226. properties:
  20227. amount:
  20228. description: 金额 = 数量 * 价格
  20229. type: number
  20230. buyorsell:
  20231. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20232. type: integer
  20233. cancelqty:
  20234. description: 撤销数量
  20235. type: number
  20236. deliverygoodscode:
  20237. description: 品种代码
  20238. type: string
  20239. deliverygoodsid:
  20240. description: 品种ID
  20241. type: integer
  20242. deliverygoodsname:
  20243. description: 品种名称
  20244. type: string
  20245. enumdicname:
  20246. description: 单位名称
  20247. type: string
  20248. fixedprice:
  20249. description: 固定价格(价格)
  20250. type: number
  20251. haswr:
  20252. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20253. type: integer
  20254. isspecified:
  20255. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20256. type: integer
  20257. marketid:
  20258. description: 市场ID
  20259. type: integer
  20260. matchuserid:
  20261. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20262. type: integer
  20263. matchusername:
  20264. description: 指定方
  20265. type: string
  20266. minivalue:
  20267. description: 现货商品最小变动值
  20268. type: integer
  20269. optioncompare:
  20270. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20271. type: string
  20272. orderqty:
  20273. description: 委托数量
  20274. type: number
  20275. ordertime:
  20276. description: 委托时间
  20277. type: string
  20278. pricemove:
  20279. description: 升贴水(浮动价时填写) - [挂牌]
  20280. type: number
  20281. tradedate:
  20282. description: 交易日(yyyyMMdd)
  20283. type: string
  20284. tradeprice:
  20285. description: 成交价格
  20286. type: number
  20287. tradeqty:
  20288. description: 成交数量
  20289. type: number
  20290. userid:
  20291. description: 用户ID
  20292. type: integer
  20293. username:
  20294. description: 发起方
  20295. type: string
  20296. warehouseid:
  20297. description: 仓库ID
  20298. type: integer
  20299. warehousename:
  20300. description: 仓库名称
  20301. type: string
  20302. wrfactortypeid:
  20303. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20304. type: string
  20305. wrfactortypename:
  20306. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20307. type: string
  20308. wrpricetype:
  20309. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20310. type: integer
  20311. wrstandardcode:
  20312. description: 现货商品代码
  20313. type: string
  20314. wrstandardid:
  20315. description: 现货商品ID
  20316. type: integer
  20317. wrstandardname:
  20318. description: 商品名称
  20319. type: string
  20320. wrtradeorderid:
  20321. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20322. type: string
  20323. wrtradeorderstatus:
  20324. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20325. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20326. type: integer
  20327. wrtradetype:
  20328. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20329. type: integer
  20330. wrtypename:
  20331. description: 商品
  20332. type: string
  20333. type: object
  20334. models.WrSpotGroupTradeSum:
  20335. properties:
  20336. deliverygoodscode:
  20337. description: 现货品种代码
  20338. type: string
  20339. deliverygoodsid:
  20340. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20341. type: integer
  20342. deliverygoodsname:
  20343. description: 现货品种名称
  20344. type: string
  20345. lastavgprice:
  20346. description: 上上个交易日价格(前2天价格)
  20347. type: string
  20348. lastreckondate:
  20349. description: 上上个交易日(前2天交易日)
  20350. type: string
  20351. reckondate:
  20352. description: 上个交易日(前1天交易日)
  20353. type: string
  20354. todayavgprice:
  20355. description: 上个交易日价格(前1天价格)
  20356. type: string
  20357. updown:
  20358. description: 涨跌
  20359. type: string
  20360. updownratio:
  20361. description: 涨幅(已格式化, 直接显示即可)
  20362. type: string
  20363. type: object
  20364. models.WrSpotGroupTradeSumDetail:
  20365. properties:
  20366. deliverygoodsid:
  20367. description: 现货商品id
  20368. type: integer
  20369. price:
  20370. description: 价格
  20371. type: number
  20372. reckondate:
  20373. description: 日期(yyymmdd, 如:20211031)
  20374. type: string
  20375. type: object
  20376. models.WrSpotGroupTradeSumEx:
  20377. properties:
  20378. lst:
  20379. description: 指数列表
  20380. items:
  20381. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20382. type: array
  20383. prereckondate:
  20384. description: 上上个交易日(yyymmdd)
  20385. type: string
  20386. reckondate:
  20387. description: 上个交易日(yyyymmdd)
  20388. type: string
  20389. type: object
  20390. models.WrStandardFactoryItem:
  20391. properties:
  20392. dgfactoryitemid:
  20393. description: 选择项id
  20394. type: integer
  20395. dgfactoryitemvalue:
  20396. description: 要素项值
  20397. type: string
  20398. warehouseid:
  20399. description: 仓库id
  20400. type: integer
  20401. type: object
  20402. models.WrStandardFactoryItemEx:
  20403. properties:
  20404. dgfactoryitemtypeid:
  20405. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20406. type: integer
  20407. itemlst:
  20408. description: 要素项列表
  20409. items:
  20410. $ref: '#/definitions/models.WrStandardFactoryItem'
  20411. type: array
  20412. itemtypename:
  20413. description: 要素项类型名称
  20414. type: string
  20415. wrstandardid:
  20416. description: 品类
  20417. type: integer
  20418. type: object
  20419. models.WrTradeDetail:
  20420. properties:
  20421. accountid:
  20422. description: 资金账号
  20423. type: integer
  20424. bannerpicurl:
  20425. description: Banner图
  20426. type: string
  20427. begindate:
  20428. description: 开始交易日(yyyymmdd)
  20429. type: string
  20430. buyorsell:
  20431. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20432. type: integer
  20433. chargevalue:
  20434. description: 手续费
  20435. type: number
  20436. deliverygoodscode:
  20437. description: 品种代码
  20438. type: string
  20439. deliverygoodsid:
  20440. description: 品种ID
  20441. type: integer
  20442. deliverygoodsname:
  20443. description: 品种名称
  20444. type: string
  20445. deliverymonth:
  20446. description: 交收月
  20447. type: string
  20448. enddate:
  20449. description: 结束交易日(yyyymmdd)
  20450. type: string
  20451. enumdicname:
  20452. description: 单位名称
  20453. type: string
  20454. haswr:
  20455. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20456. type: integer
  20457. marketid:
  20458. description: 市场ID
  20459. type: integer
  20460. matchaccountid:
  20461. description: 对手账号
  20462. type: integer
  20463. matchusername:
  20464. description: 对手方
  20465. type: string
  20466. minivalue:
  20467. description: 现货商品最小变动值
  20468. type: integer
  20469. optioncompare:
  20470. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20471. type: string
  20472. thumurls:
  20473. description: 缩略图
  20474. type: string
  20475. tradedate:
  20476. description: 交易日(yyyyMMdd)
  20477. type: string
  20478. tradeprice:
  20479. description: 成交价格
  20480. type: number
  20481. tradeqty:
  20482. description: 成交数量
  20483. type: number
  20484. tradetime:
  20485. description: 成交时间
  20486. type: string
  20487. userid:
  20488. description: 用户ID
  20489. type: integer
  20490. warehouseid:
  20491. description: 仓库ID
  20492. type: integer
  20493. warehousename:
  20494. description: 仓库名称
  20495. type: string
  20496. wrfactortypeid:
  20497. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20498. type: string
  20499. wrfactortypename:
  20500. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20501. type: string
  20502. wrstandardcode:
  20503. description: 现货商品代码
  20504. type: string
  20505. wrstandardid:
  20506. description: 现货商品ID
  20507. type: integer
  20508. wrstandardname:
  20509. description: 商品名称
  20510. type: string
  20511. wrtradedetailid:
  20512. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20513. type: string
  20514. wrtradetype:
  20515. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20516. type: integer
  20517. wrtypename:
  20518. description: 商品
  20519. type: string
  20520. type: object
  20521. models.WrTradeOrderDetail:
  20522. properties:
  20523. buyorsell:
  20524. description: 买卖方向 0-买 1-卖
  20525. type: integer
  20526. goodsid:
  20527. description: 商品id
  20528. type: integer
  20529. orderid:
  20530. description: 委托单号
  20531. type: string
  20532. orderprice:
  20533. description: 期初均价
  20534. type: number
  20535. orderqty:
  20536. description: 委托数量
  20537. type: integer
  20538. userid:
  20539. description: 用户id
  20540. type: integer
  20541. username:
  20542. description: 用户名称(已脱敏)
  20543. type: string
  20544. type: object
  20545. models.WrTypeItem:
  20546. properties:
  20547. name:
  20548. description: 名称
  20549. type: string
  20550. value:
  20551. description: 值
  20552. type: string
  20553. type: object
  20554. models.WrUserFriend:
  20555. properties:
  20556. friendname:
  20557. description: 朋友名称(已脱敏)
  20558. type: string
  20559. frienduserid:
  20560. description: 朋友id
  20561. type: integer
  20562. isfriend:
  20563. description: 是否好友 0-不是 1-是
  20564. type: integer
  20565. userid:
  20566. description: 用户id
  20567. type: integer
  20568. type: object
  20569. models.WrUserReceiptInfo:
  20570. properties:
  20571. address:
  20572. description: 地址[发票类型:企业]
  20573. type: string
  20574. autoid:
  20575. description: AutoID
  20576. type: integer
  20577. contactinfo:
  20578. description: 联系方式
  20579. type: string
  20580. idnum:
  20581. description: 身份证号码[发票类型:个人]
  20582. type: string
  20583. isdefault:
  20584. description: 是否默认地址 - 0:否 1:是
  20585. type: integer
  20586. receiptaccount:
  20587. description: 发票帐号[发票类型:企业]
  20588. type: string
  20589. receiptbank:
  20590. description: 发票开户行[发票类型:企业]
  20591. type: string
  20592. receipttype:
  20593. description: 发票类型 - 1:个人 2:企业
  20594. type: integer
  20595. taxpayerid:
  20596. description: 纳税人识别号
  20597. type: string
  20598. userid:
  20599. description: 用户ID
  20600. type: integer
  20601. username:
  20602. description: 户名(个人姓名或企业名称)
  20603. type: string
  20604. type: object
  20605. models.Wrtradetradequote:
  20606. properties:
  20607. buyaccountid:
  20608. description: 买方账号ID
  20609. type: integer
  20610. buychargevalue:
  20611. description: 买方手续费
  20612. type: number
  20613. buyuserid:
  20614. description: 买方用户ID
  20615. type: integer
  20616. deliverygoodsid:
  20617. description: 现货品种ID
  20618. type: integer
  20619. exchangerate:
  20620. description: 汇率
  20621. type: number
  20622. marketid:
  20623. description: 市场ID
  20624. type: integer
  20625. oritradeamount:
  20626. description: 成交金额[商品币种]
  20627. type: number
  20628. performanceplanid:
  20629. description: 履约计划ID/合同ID
  20630. type: integer
  20631. sellaccountid:
  20632. description: 卖方账号ID
  20633. type: integer
  20634. sellchargevalue:
  20635. description: 卖方手续费
  20636. type: number
  20637. selluserid:
  20638. description: 卖方用户ID
  20639. type: integer
  20640. tradeamount:
  20641. description: 成交金额
  20642. type: number
  20643. tradedate:
  20644. description: 交易日(yyyyMMdd)
  20645. type: string
  20646. tradeprice:
  20647. description: 成交价格
  20648. type: number
  20649. tradeqty:
  20650. description: 成交数量
  20651. type: integer
  20652. tradetime:
  20653. description: 成交时间
  20654. type: string
  20655. wrfactortypeid:
  20656. description: 仓单要素类型ID
  20657. type: integer
  20658. wrstandardid:
  20659. description: 现货商品ID
  20660. type: integer
  20661. wrtradedetailid:
  20662. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20663. type: integer
  20664. type: object
  20665. models.XHBRAND:
  20666. properties:
  20667. brandid:
  20668. description: 品牌id
  20669. type: integer
  20670. brandname:
  20671. description: 品牌名称
  20672. type: string
  20673. isvalid:
  20674. description: 是否有效 0-无效 1-有效
  20675. type: integer
  20676. type: object
  20677. models.XHDeliveryGoods:
  20678. properties:
  20679. areauserid:
  20680. description: 所属机构
  20681. type: integer
  20682. bdlst:
  20683. description: 品牌列表
  20684. items:
  20685. $ref: '#/definitions/models.XHBRAND'
  20686. type: array
  20687. deliverygoodscode:
  20688. description: 现货品种代码
  20689. type: string
  20690. deliverygoodsid:
  20691. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20692. type: integer
  20693. deliverygoodsname:
  20694. description: 现货品种名称
  20695. type: string
  20696. dgstatus:
  20697. description: 品种状态 - 作废 - 0:未激活 1:正常
  20698. type: integer
  20699. filterSubEmpty:
  20700. description: 过滤下级为空的
  20701. type: integer
  20702. isvalid:
  20703. description: 是否有效 - 0:无效 1:有效
  20704. type: integer
  20705. remark:
  20706. description: 备注
  20707. type: string
  20708. unitid:
  20709. description: 单位id(目前看,数据库中是空值)
  20710. type: integer
  20711. wdlst:
  20712. description: 品类(现货商品)列表
  20713. items:
  20714. $ref: '#/definitions/models.XHWrstandard'
  20715. type: array
  20716. type: object
  20717. models.XHMiddleGoods:
  20718. properties:
  20719. GPLST:
  20720. description: 期货品种列表
  20721. items:
  20722. $ref: '#/definitions/models.TBGoodsGroup'
  20723. type: array
  20724. convertratio:
  20725. description: 拆算系数
  20726. type: number
  20727. costratio:
  20728. description: 成本权重
  20729. type: number
  20730. deliverygoodsid:
  20731. description: 现货商品id
  20732. type: integer
  20733. enumdicname:
  20734. description: 单位名称
  20735. type: string
  20736. middlegoodscode:
  20737. description: 套保品种代码
  20738. type: string
  20739. middlegoodsid:
  20740. description: 套保品种id
  20741. type: integer
  20742. middlegoodsname:
  20743. description: 套保品种名称
  20744. type: string
  20745. unitid:
  20746. description: 单位id
  20747. type: integer
  20748. type: object
  20749. models.XHWrstandard:
  20750. properties:
  20751. bannerpicurl:
  20752. description: banner图
  20753. type: string
  20754. deliverygoodsid:
  20755. description: 品种ID
  20756. type: integer
  20757. enumdicname:
  20758. description: 单位名称
  20759. type: string
  20760. mglst:
  20761. description: 套保品列表
  20762. items:
  20763. $ref: '#/definitions/models.XHMiddleGoods'
  20764. type: array
  20765. pictureurls:
  20766. description: 详情图片(逗号分隔)
  20767. type: string
  20768. thumurls:
  20769. description: 缩略图片(1:1)(逗号分隔)
  20770. type: string
  20771. unitid:
  20772. description: 单位id
  20773. type: integer
  20774. vatrate:
  20775. description: 增值税率
  20776. type: number
  20777. wrstandardcode:
  20778. description: 现货商品代码
  20779. type: string
  20780. wrstandardid:
  20781. description: 现货商品ID(SEQ_WRSTANDARD)
  20782. type: integer
  20783. wrstandardname:
  20784. description: 现货商品名称
  20785. type: string
  20786. type: object
  20787. models.XhcpSellBackApplyEx:
  20788. properties:
  20789. applyremark:
  20790. description: 申请备注
  20791. type: string
  20792. expirytype:
  20793. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20794. type: integer
  20795. goodsspec:
  20796. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20797. type: integer
  20798. holeflag:
  20799. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20800. type: integer
  20801. isunopened:
  20802. description: 是否原封 - 1:否 2:是
  20803. type: integer
  20804. mpflag:
  20805. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20806. type: integer
  20807. openflag:
  20808. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20809. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20810. type: integer
  20811. phonenum:
  20812. description: 联系电话
  20813. type: string
  20814. userid:
  20815. description: 所属用户ID
  20816. type: integer
  20817. zpflag:
  20818. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20819. type: integer
  20820. required:
  20821. - userid
  20822. type: object
  20823. models.Xhcpsellbackapply:
  20824. properties:
  20825. applyid:
  20826. description: 申请人
  20827. type: integer
  20828. applyremark:
  20829. description: 申请备注
  20830. type: string
  20831. applysrc:
  20832. description: 申请来源 - 1:管理端 2:终端
  20833. type: integer
  20834. applystatus:
  20835. description: 申请状态 - 1:待确认 2:已处理
  20836. type: integer
  20837. applytime:
  20838. description: 申请时间
  20839. type: string
  20840. auditremark:
  20841. description: 审核备注
  20842. type: string
  20843. auditsrc:
  20844. description: 审核来源 - 1:管理端 2:终端
  20845. type: integer
  20846. expirytype:
  20847. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20848. type: integer
  20849. goodsspec:
  20850. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20851. type: integer
  20852. holeflag:
  20853. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20854. type: integer
  20855. isunopened:
  20856. description: 是否原封 - 1:否 2:是
  20857. type: integer
  20858. mpflag:
  20859. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20860. type: integer
  20861. openflag:
  20862. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20863. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20864. type: integer
  20865. phonenum:
  20866. description: 联系电话
  20867. type: string
  20868. sellbackapplyid:
  20869. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20870. type: string
  20871. userid:
  20872. description: 所属用户ID
  20873. type: integer
  20874. zpflag:
  20875. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20876. type: integer
  20877. required:
  20878. - userid
  20879. type: object
  20880. order.QueryHisTradeDetailRsp:
  20881. properties:
  20882. accountid:
  20883. description: 账户ID[报价币种]
  20884. type: integer
  20885. advanceratio:
  20886. description: 首付比率
  20887. type: number
  20888. buildtype:
  20889. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20890. type: integer
  20891. buyorsell:
  20892. description: 方向 - 0:买 1:卖
  20893. type: integer
  20894. charge:
  20895. description: 手续费
  20896. type: number
  20897. closecharge:
  20898. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20899. type: number
  20900. closeexchagechargevalue:
  20901. description: 平仓交易所手续费设置值
  20902. type: number
  20903. closefeealgorithm:
  20904. description: 平仓手续费收取方式 1:比率 2:固定
  20905. type: integer
  20906. closememberchargevalue:
  20907. description: 平仓会员手续费设置值
  20908. type: number
  20909. closepl:
  20910. description: 平仓盈亏
  20911. type: number
  20912. closepl2:
  20913. description: 平仓盈亏[逐笔]
  20914. type: number
  20915. closeqty:
  20916. description: 平仓数量(先建后平操作 需要记录)
  20917. type: number
  20918. creditamount:
  20919. description: 授信金额
  20920. type: number
  20921. decimalplace:
  20922. description: 商品报价小数位
  20923. type: integer
  20924. enumdicname:
  20925. description: 单位名称
  20926. type: string
  20927. gcaccountid:
  20928. description: 账户ID[合约币种]
  20929. type: integer
  20930. goodscode:
  20931. description: 商品代码
  20932. type: string
  20933. goodsid:
  20934. description: 商品ID
  20935. type: integer
  20936. goodsname:
  20937. description: 商品名称
  20938. type: string
  20939. goodunitid:
  20940. description: 商品单位id
  20941. type: integer
  20942. histradedate:
  20943. description: 历史交易日
  20944. type: string
  20945. intclosepl:
  20946. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20947. type: integer
  20948. isconfirmexercise:
  20949. description: 是否确认行权- 0:否 1:是
  20950. type: integer
  20951. ismain:
  20952. description: 是否主单 - 0:不是 1:是
  20953. type: integer
  20954. ispreexercise:
  20955. description: 是否预申报- 0:否 1:是
  20956. type: integer
  20957. isreckoned:
  20958. description: 是否结算 - 0:未结算 1:已结算
  20959. type: integer
  20960. isvaliddata:
  20961. description: 是否有效 - 0:无效 1:有效
  20962. type: integer
  20963. listingselecttype:
  20964. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20965. type: integer
  20966. marketid:
  20967. description: 市场ID
  20968. type: integer
  20969. marketname:
  20970. description: 市场名称
  20971. type: string
  20972. matchaccountid:
  20973. description: 对手账号id
  20974. type: integer
  20975. memberuserid:
  20976. description: 会员id 个人投资者 需要填写
  20977. type: integer
  20978. opencharge:
  20979. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20980. type: number
  20981. openexchagechargevalue:
  20982. description: 建仓交易所手续费设置值
  20983. type: number
  20984. openfeealgorithm:
  20985. description: 建仓手续费收取方式 1:比率 2:固定
  20986. type: integer
  20987. openmemberchargevalue:
  20988. description: 建仓会员手续费设置值
  20989. type: number
  20990. openqty:
  20991. description: 开仓数量(先建后平操作 需要记录)
  20992. type: number
  20993. optiontype:
  20994. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20995. type: integer
  20996. orderid:
  20997. description: 委托单号
  20998. type: string
  20999. payamount:
  21000. description: 支付金额(付款金额)
  21001. type: number
  21002. performanceplanid:
  21003. description: 履约计划ID[期权]
  21004. type: integer
  21005. performancestatus:
  21006. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21007. type: integer
  21008. preexerciseprice:
  21009. description: 预申报价格
  21010. type: number
  21011. premium:
  21012. description: 权利金 - [持仓单的权利金]
  21013. type: number
  21014. qtydecimalplace:
  21015. description: 商品报价小数位
  21016. type: integer
  21017. recvamount:
  21018. description: 到账金额 = 成交金额 - 手续费
  21019. type: number
  21020. relatedouttradeid:
  21021. description: 关联外部成交单ID
  21022. type: integer
  21023. status:
  21024. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21025. type: integer
  21026. totalamount:
  21027. description: 订单总额 = 成交金额 + 手续费
  21028. type: number
  21029. tradeamount:
  21030. description: 成交金额[账户币种,用于所有权]
  21031. type: number
  21032. tradedate:
  21033. description: 交易日(yyyyMMdd)
  21034. type: string
  21035. tradeid:
  21036. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21037. type: string
  21038. trademode:
  21039. description: 交易模式
  21040. type: integer
  21041. tradeprice:
  21042. description: 成交价格
  21043. type: number
  21044. tradeproperty:
  21045. description: 交易属性
  21046. type: integer
  21047. tradeqty:
  21048. description: 成交数量
  21049. type: number
  21050. tradetime:
  21051. description: 成交时间
  21052. type: string
  21053. tradetype:
  21054. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21055. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21056. type: integer
  21057. required:
  21058. - accountid
  21059. - buyorsell
  21060. - goodsid
  21061. - histradedate
  21062. - marketid
  21063. - memberuserid
  21064. - orderid
  21065. - tradeamount
  21066. - tradedate
  21067. - tradeid
  21068. - tradeprice
  21069. - tradeqty
  21070. - tradetime
  21071. type: object
  21072. order.QueryHisTradeOrderDetailRsp:
  21073. properties:
  21074. accountid:
  21075. description: 账户ID[报价币种]
  21076. type: integer
  21077. buildtype:
  21078. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21079. type: integer
  21080. buyorsell:
  21081. description: 买卖 - 0:买 1:卖
  21082. type: integer
  21083. cancelorderid:
  21084. description: 撤单单号(撤单时填写)
  21085. type: string
  21086. cancelqty:
  21087. description: 撤单数量
  21088. type: number
  21089. clientordertime:
  21090. description: 客户端委托时间
  21091. type: string
  21092. clientticket:
  21093. description: 客户端流水号
  21094. type: string
  21095. clienttype:
  21096. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21097. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21098. type: integer
  21099. closeexchagechargevalue:
  21100. description: 平仓交易所手续费设置值
  21101. type: number
  21102. closefeealgorithm:
  21103. description: 平仓手续费收取方式 1:比率 2:固定
  21104. type: integer
  21105. closefreezecharge:
  21106. description: 平仓冻结手续费(先建后平操作,需要记录)
  21107. type: number
  21108. closememberchargevalue:
  21109. description: 平仓会员手续费设置值
  21110. type: number
  21111. closeqty:
  21112. description: 平仓数量(先建后平操作 需要记录)
  21113. type: number
  21114. closetradeqty:
  21115. description: 平仓成交数量(先建后平操作,需要记录)
  21116. type: number
  21117. closeunfreezecharge:
  21118. description: 平仓解冻手续费(先建后平操作,需要记录)
  21119. type: number
  21120. decimalplace:
  21121. description: 商品报价小数位
  21122. type: integer
  21123. delistingtype:
  21124. description: 摘牌类型 - 1:价格最优 2:点选成交
  21125. type: integer
  21126. enumdicname:
  21127. description: 单位名称
  21128. type: string
  21129. freezecharge:
  21130. description: 冻结手续费
  21131. type: number
  21132. freezemargin:
  21133. description: 冻结保证金(冻结交易金额)
  21134. type: number
  21135. gcaccountid:
  21136. description: 账户ID[合约币种]
  21137. type: integer
  21138. goodscode:
  21139. description: 商品代码
  21140. type: string
  21141. goodsid:
  21142. description: 商品ID
  21143. type: integer
  21144. goodsname:
  21145. description: 商品名称
  21146. type: string
  21147. goodunitid:
  21148. description: 商品单位id
  21149. type: integer
  21150. histradedate:
  21151. description: 历史交易日
  21152. type: string
  21153. isconfirmexercise:
  21154. description: 是否确认行权- 0:否 1:是
  21155. type: integer
  21156. ispreexercise:
  21157. description: 是否预申报- 0:否 1:是
  21158. type: integer
  21159. isvaliddata:
  21160. description: 是否有效 - 0:无效 1:有效
  21161. type: integer
  21162. listingselecttype:
  21163. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21164. type: integer
  21165. marginalgorithm:
  21166. description: 保证金收取方式 1:比率 2:固定
  21167. type: integer
  21168. marginvalue:
  21169. description: 即市保证金设置值
  21170. type: number
  21171. marketid:
  21172. description: 市场ID
  21173. type: integer
  21174. marketmaxsub:
  21175. description: 市价最大偏移范围
  21176. type: number
  21177. marketname:
  21178. description: 市场名称
  21179. type: string
  21180. memberuserid:
  21181. description: 所属会员UserID
  21182. type: integer
  21183. openexchagechargevalue:
  21184. description: 建仓交易所手续费设置值
  21185. type: number
  21186. openfeealgorithm:
  21187. description: 建仓手续费收取方式 1:比率 2:固定
  21188. type: integer
  21189. openfreezecharge:
  21190. description: 开仓冻结手续费(先建后平操作,需要记录)
  21191. type: number
  21192. openmemberchargevalue:
  21193. description: 建仓会员手续费设置值
  21194. type: number
  21195. openqty:
  21196. description: 开仓数量(先建后平操作,需要记录)
  21197. type: number
  21198. opentradeqty:
  21199. description: 开仓成交数量(先建后平操作,需要记录)
  21200. type: number
  21201. openunfreezecharge:
  21202. description: 开仓解冻手续费(先建后平操作,需要记录)
  21203. type: number
  21204. operatetype:
  21205. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21206. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21207. 15:管理端协议转让
  21208. type: integer
  21209. operatorid:
  21210. description: 登录账号(LoginID)
  21211. type: integer
  21212. optiontype:
  21213. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21214. type: integer
  21215. orderid:
  21216. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21217. type: string
  21218. orderprice:
  21219. description: 委托价格
  21220. type: number
  21221. orderqty:
  21222. description: 委托数量
  21223. type: number
  21224. ordersrc:
  21225. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21226. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21227. type: integer
  21228. orderstatus:
  21229. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21230. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21231. 16:成交失败违约(荷兰式竞拍专用)
  21232. type: integer
  21233. ordertime:
  21234. description: 委托时间
  21235. type: string
  21236. preexerciseprice:
  21237. description: 预申报价格
  21238. type: number
  21239. premium:
  21240. description: 权利金
  21241. type: number
  21242. preorderid:
  21243. description: 关联预埋单号(止盈止损单时填写)
  21244. type: string
  21245. pricemode:
  21246. description: '取价方式 - 1:市价 2: 限价'
  21247. type: integer
  21248. qtydecimalplace:
  21249. description: 成交量小数位
  21250. type: integer
  21251. quoteid:
  21252. description: 报价单ID
  21253. type: integer
  21254. relatedid:
  21255. description: 关联单号(交割单)
  21256. type: string
  21257. retcode:
  21258. description: 错误代码
  21259. type: integer
  21260. sessionid:
  21261. description: 会话ID
  21262. type: integer
  21263. tradedate:
  21264. description: 交易日(yyyyMMdd)
  21265. type: string
  21266. trademode:
  21267. description: 交易模式
  21268. type: integer
  21269. tradeproperty:
  21270. description: 交易属性
  21271. type: integer
  21272. tradeqty:
  21273. description: 成交数量
  21274. type: number
  21275. unfreezecharge:
  21276. description: 解冻手续费
  21277. type: number
  21278. unfreezemargin:
  21279. description: 解冻保证金
  21280. type: number
  21281. updatetime:
  21282. description: 更新时间
  21283. type: string
  21284. uuid:
  21285. description: 发起端唯一id
  21286. type: string
  21287. validtime:
  21288. description: 有效期限
  21289. type: string
  21290. validtype:
  21291. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21292. type: integer
  21293. volumetype:
  21294. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21295. type: integer
  21296. required:
  21297. - accountid
  21298. - buildtype
  21299. - buyorsell
  21300. - goodsid
  21301. - histradedate
  21302. - marketid
  21303. - memberuserid
  21304. - operatetype
  21305. - orderid
  21306. - orderqty
  21307. - ordertime
  21308. - pricemode
  21309. - tradedate
  21310. - validtype
  21311. type: object
  21312. order.QueryTradeDetailRsp:
  21313. properties:
  21314. accountid:
  21315. description: 账户ID[报价币种]
  21316. type: integer
  21317. advanceratio:
  21318. description: 首付比率
  21319. type: number
  21320. buildtype:
  21321. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21322. type: integer
  21323. buyorsell:
  21324. description: 方向 - 0:买 1:卖
  21325. type: integer
  21326. charge:
  21327. description: 手续费
  21328. type: number
  21329. closecharge:
  21330. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21331. type: number
  21332. closeexchagechargevalue:
  21333. description: 平仓交易所手续费设置值
  21334. type: number
  21335. closefeealgorithm:
  21336. description: 平仓手续费收取方式 1:比率 2:固定
  21337. type: integer
  21338. closememberchargevalue:
  21339. description: 平仓会员手续费设置值
  21340. type: number
  21341. closepl:
  21342. description: 平仓盈亏
  21343. type: number
  21344. closepl2:
  21345. description: 平仓盈亏[逐笔]
  21346. type: number
  21347. closeqty:
  21348. description: 平仓数量(先建后平操作 需要记录)
  21349. type: number
  21350. creditamount:
  21351. description: 授信金额
  21352. type: number
  21353. decimalplace:
  21354. description: 商品报价小数位
  21355. type: integer
  21356. enumdicname:
  21357. description: 单位名称
  21358. type: string
  21359. gcaccountid:
  21360. description: 账户ID[合约币种]
  21361. type: integer
  21362. goodscode:
  21363. description: 商品代码
  21364. type: string
  21365. goodsid:
  21366. description: 商品ID
  21367. type: integer
  21368. goodsname:
  21369. description: 商品名称
  21370. type: string
  21371. goodunitid:
  21372. description: 商品单位id
  21373. type: integer
  21374. intclosepl:
  21375. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21376. type: integer
  21377. isconfirmexercise:
  21378. description: 是否确认行权- 0:否 1:是
  21379. type: integer
  21380. ismain:
  21381. description: 是否主单 - 0:不是 1:是
  21382. type: integer
  21383. ispreexercise:
  21384. description: 是否预申报- 0:否 1:是
  21385. type: integer
  21386. isreckoned:
  21387. description: 是否结算 - 0:未结算 1:已结算
  21388. type: integer
  21389. listingselecttype:
  21390. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21391. type: integer
  21392. marketid:
  21393. description: 市场ID
  21394. type: integer
  21395. marketname:
  21396. description: 市场名称
  21397. type: string
  21398. matchaccountid:
  21399. description: 对手账号id
  21400. type: integer
  21401. memberuserid:
  21402. description: 会员id 个人投资者 需要填写
  21403. type: integer
  21404. opencharge:
  21405. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21406. type: number
  21407. openexchagechargevalue:
  21408. description: 建仓交易所手续费设置值
  21409. type: number
  21410. openfeealgorithm:
  21411. description: 建仓手续费收取方式 1:比率 2:固定
  21412. type: integer
  21413. openmemberchargevalue:
  21414. description: 建仓会员手续费设置值
  21415. type: number
  21416. openqty:
  21417. description: 开仓数量(先建后平操作 需要记录)
  21418. type: number
  21419. optiontype:
  21420. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21421. type: integer
  21422. orderid:
  21423. description: 委托单号
  21424. type: string
  21425. payamount:
  21426. description: 支付金额(付款金额)
  21427. type: number
  21428. performanceplanid:
  21429. description: 履约计划ID[期权]
  21430. type: integer
  21431. performancestatus:
  21432. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21433. type: integer
  21434. preexerciseprice:
  21435. description: 预申报价格
  21436. type: number
  21437. premium:
  21438. description: 权利金 - [持仓单的权利金]
  21439. type: number
  21440. qtydecimalplace:
  21441. description: 商品报价小数位
  21442. type: integer
  21443. recvamount:
  21444. description: 到账金额 = 成交金额 - 手续费
  21445. type: number
  21446. relatedouttradeid:
  21447. description: 关联外部成交单ID
  21448. type: integer
  21449. status:
  21450. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21451. type: integer
  21452. totalamount:
  21453. description: 订单总额 = 成交金额 + 手续费
  21454. type: number
  21455. tradeamount:
  21456. description: 成交金额[账户币种,用于所有权]
  21457. type: number
  21458. tradedate:
  21459. description: 交易日(yyyyMMdd)
  21460. type: string
  21461. tradeid:
  21462. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21463. type: string
  21464. trademode:
  21465. description: 交易模式
  21466. type: integer
  21467. tradeprice:
  21468. description: 成交价格
  21469. type: number
  21470. tradeproperty:
  21471. description: 交易属性
  21472. type: integer
  21473. tradeqty:
  21474. description: 成交数量
  21475. type: number
  21476. tradetime:
  21477. description: 成交时间
  21478. type: string
  21479. tradetype:
  21480. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21481. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21482. type: integer
  21483. required:
  21484. - accountid
  21485. - buyorsell
  21486. - goodsid
  21487. - marketid
  21488. - memberuserid
  21489. - orderid
  21490. - tradeamount
  21491. - tradedate
  21492. - tradeid
  21493. - tradeprice
  21494. - tradeqty
  21495. - tradetime
  21496. type: object
  21497. order.QueryTradeOrderDetailRsp:
  21498. properties:
  21499. accountid:
  21500. description: 账户ID[报价币种]
  21501. type: integer
  21502. buildtype:
  21503. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21504. type: integer
  21505. buyorsell:
  21506. description: 买卖 - 0:买 1:卖
  21507. type: integer
  21508. cancelorderid:
  21509. description: 撤单单号(撤单时填写)
  21510. type: string
  21511. cancelqty:
  21512. description: 撤单数量
  21513. type: number
  21514. clienttype:
  21515. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21516. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21517. type: integer
  21518. closefreezecharge:
  21519. description: 平仓冻结手续费(先建后平操作,需要记录)
  21520. type: number
  21521. closeqty:
  21522. description: 平仓数量(先建后平操作 需要记录)
  21523. type: number
  21524. closetradeqty:
  21525. description: 平仓成交数量(先建后平操作,需要记录)
  21526. type: number
  21527. closeunfreezecharge:
  21528. description: 平仓解冻手续费(先建后平操作,需要记录)
  21529. type: number
  21530. decimalplace:
  21531. description: 商品报价小数位
  21532. type: integer
  21533. delistingtype:
  21534. description: 摘牌类型 - 1:价格最优 2:点选成交
  21535. type: integer
  21536. enableqty:
  21537. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21538. type: number
  21539. enumdicname:
  21540. description: 单位名称
  21541. type: string
  21542. freezecharge:
  21543. description: 冻结手续费
  21544. type: number
  21545. freezemargin:
  21546. description: 冻结保证金(冻结交易金额)
  21547. type: number
  21548. goodscode:
  21549. description: 商品代码
  21550. type: string
  21551. goodsid:
  21552. description: 商品ID
  21553. type: integer
  21554. goodsname:
  21555. description: 商品名称
  21556. type: string
  21557. goodunitid:
  21558. description: 商品单位id
  21559. type: integer
  21560. listingselecttype:
  21561. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21562. type: integer
  21563. marketid:
  21564. description: 市场ID
  21565. type: integer
  21566. marketname:
  21567. description: 市场名称
  21568. type: string
  21569. openfreezecharge:
  21570. description: 开仓冻结手续费(先建后平操作,需要记录)
  21571. type: number
  21572. openqty:
  21573. description: 开仓数量(先建后平操作,需要记录)
  21574. type: number
  21575. opentradeqty:
  21576. description: 开仓成交数量(先建后平操作,需要记录)
  21577. type: number
  21578. openunfreezecharge:
  21579. description: 开仓解冻手续费(先建后平操作,需要记录)
  21580. type: number
  21581. operatetype:
  21582. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21583. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21584. 15:管理端协议转让
  21585. type: integer
  21586. operatorid:
  21587. description: 登录账号(LoginID)
  21588. type: integer
  21589. orderid:
  21590. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21591. type: string
  21592. orderprice:
  21593. description: 委托价格
  21594. type: number
  21595. orderqty:
  21596. description: 委托数量
  21597. type: number
  21598. ordersrc:
  21599. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21600. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21601. type: integer
  21602. orderstatus:
  21603. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21604. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21605. 16:成交失败违约(荷兰式竞拍专用)
  21606. type: integer
  21607. ordertime:
  21608. description: 委托时间
  21609. type: string
  21610. preorderid:
  21611. description: 关联预埋单号(止盈止损单时填写)
  21612. type: string
  21613. pricemode:
  21614. description: '取价方式 - 1:市价 2: 限价'
  21615. type: integer
  21616. qtydecimalplace:
  21617. description: 商品报价小数位
  21618. type: integer
  21619. relatedid:
  21620. description: 关联单号(交割单)
  21621. type: string
  21622. tradedate:
  21623. description: 交易日(yyyyMMdd)
  21624. type: string
  21625. trademode:
  21626. description: 交易模式
  21627. type: integer
  21628. tradeqty:
  21629. description: 成交数量
  21630. type: number
  21631. unfreezecharge:
  21632. description: 解冻手续费
  21633. type: number
  21634. unfreezemargin:
  21635. description: 解冻保证金
  21636. type: number
  21637. validtime:
  21638. description: 有效期限
  21639. type: string
  21640. validtype:
  21641. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21642. type: integer
  21643. volumetype:
  21644. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21645. type: integer
  21646. required:
  21647. - accountid
  21648. - buildtype
  21649. - buyorsell
  21650. - goodsid
  21651. - marketid
  21652. - operatetype
  21653. - orderqty
  21654. - ordertime
  21655. - pricemode
  21656. - tradedate
  21657. - validtype
  21658. type: object
  21659. order.QueryTradePositionRsp:
  21660. properties:
  21661. accountid:
  21662. description: 资金账户
  21663. type: integer
  21664. agreeunit:
  21665. description: 合约单位
  21666. type: number
  21667. averageprice:
  21668. description: 持仓均价
  21669. type: number
  21670. buyorsell:
  21671. description: 方向 - 0:买 1:卖
  21672. type: integer
  21673. closetotalqty:
  21674. description: 平仓总数量
  21675. type: number
  21676. curholderamount:
  21677. description: 当前持仓总金额[商品币种]
  21678. type: number
  21679. curpositionqty:
  21680. description: 当前持仓总数量
  21681. type: number
  21682. currencyid:
  21683. description: 报价货币ID
  21684. type: integer
  21685. curtdposition:
  21686. description: 期末今日头寸
  21687. type: number
  21688. decimalplace:
  21689. description: 报价小数位
  21690. type: integer
  21691. enableqty:
  21692. description: 可用量
  21693. type: number
  21694. fretdposition:
  21695. description: 冻结今日头寸
  21696. type: number
  21697. frozenqty:
  21698. description: 持仓冻结数量
  21699. type: number
  21700. goodscode:
  21701. description: 商品代码
  21702. type: string
  21703. goodsid:
  21704. description: 商品Id
  21705. type: integer
  21706. goodsname:
  21707. description: 商品名称
  21708. type: string
  21709. goodunit:
  21710. description: 报价单位
  21711. type: string
  21712. goodunitid:
  21713. description: 报价单位ID
  21714. type: integer
  21715. holderamount:
  21716. description: 期初持仓总金额[商品币种]
  21717. type: number
  21718. lastprice:
  21719. description: 最新价
  21720. type: number
  21721. marketamount:
  21722. description: 市值
  21723. type: number
  21724. marketid:
  21725. description: 所属市场ID
  21726. type: integer
  21727. openreqqty:
  21728. description: 开仓申请数量(用于比较最大持仓数量)
  21729. type: number
  21730. opentotalqty:
  21731. description: 开仓总数量
  21732. type: number
  21733. otherfrozenqty:
  21734. description: 持仓其他冻结数量(交割冻结)
  21735. type: number
  21736. positionpl:
  21737. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21738. * 合约单位
  21739. type: number
  21740. positionplrate:
  21741. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21742. type: number
  21743. positionqty:
  21744. description: 期初持仓数量
  21745. type: number
  21746. qtydecimalplace:
  21747. description: 成交量小数位
  21748. type: integer
  21749. refgoodscode:
  21750. description: 参考商品代码
  21751. type: string
  21752. refgoodsid:
  21753. description: 参考商品ID
  21754. type: integer
  21755. tnqty:
  21756. description: T+N冻结总量
  21757. type: number
  21758. tnusedqty:
  21759. description: T+N使用量(可以使用T+N的冻结数量)
  21760. type: number
  21761. trademode:
  21762. description: 交易模式
  21763. type: integer
  21764. tradeproperty:
  21765. description: 交易属性
  21766. type: integer
  21767. usedmargin:
  21768. description: 占用保证金[商品币种]
  21769. type: number
  21770. required:
  21771. - goodsid
  21772. type: object
  21773. pb.GoodsMarginCfgStruct:
  21774. properties:
  21775. CustomerTypeID:
  21776. description: 投资者客户类型
  21777. type: integer
  21778. GoodsID:
  21779. description: 商品ID
  21780. type: integer
  21781. IsDefault:
  21782. description: 是否默认标志位
  21783. type: integer
  21784. LockMarginValue:
  21785. description: 锁仓保证金
  21786. type: number
  21787. MarginAlgorithm:
  21788. description: 保证金计算方式
  21789. type: integer
  21790. MarketMarginValue:
  21791. description: 即市保证金值
  21792. type: number
  21793. RealMarginAlgorithm:
  21794. description: 实付保证金计算方式
  21795. type: integer
  21796. RealMarginValue:
  21797. description: 实付比例
  21798. type: number
  21799. ReckonMarginValue:
  21800. description: 结算保证金值
  21801. type: number
  21802. type: object
  21803. quote.HistoryData:
  21804. properties:
  21805. c:
  21806. description: 收盘价
  21807. type: number
  21808. f:
  21809. description: 是否补充数据
  21810. type: boolean
  21811. h:
  21812. description: 最高价
  21813. type: number
  21814. hv:
  21815. description: 持仓量
  21816. type: integer
  21817. l:
  21818. description: 最低价
  21819. type: number
  21820. o:
  21821. description: 开盘价
  21822. type: number
  21823. s:
  21824. description: 结算价,日线周期(包括)以上才有
  21825. type: number
  21826. ts:
  21827. description: 时间
  21828. type: string
  21829. tt:
  21830. description: 总金额
  21831. type: number
  21832. tv:
  21833. description: 总量(成交量)
  21834. type: integer
  21835. type: object
  21836. quote.HistoryTikData:
  21837. properties:
  21838. AV:
  21839. description: 卖量
  21840. type: integer
  21841. Ask:
  21842. description: 卖价
  21843. type: number
  21844. BV:
  21845. description: 买量
  21846. type: integer
  21847. Bid:
  21848. description: 买价
  21849. type: number
  21850. HI:
  21851. description: 单笔持仓
  21852. type: integer
  21853. HV:
  21854. description: 持仓量
  21855. type: integer
  21856. PE:
  21857. description: 现价
  21858. type: number
  21859. TDR:
  21860. description: 交易方向,0:买 1:卖
  21861. type: integer
  21862. TK:
  21863. description: 交易类型
  21864. type: integer
  21865. TS:
  21866. description: 行情时间文本
  21867. type: string
  21868. TT:
  21869. description: 现金额
  21870. type: number
  21871. Vol:
  21872. description: 现量
  21873. type: integer
  21874. type: object
  21875. quote.QueryQuoteDayRsp:
  21876. properties:
  21877. ask:
  21878. description: 卖1
  21879. type: number
  21880. ask2:
  21881. description: 卖2
  21882. type: number
  21883. ask3:
  21884. description: 卖3
  21885. type: number
  21886. ask4:
  21887. description: 卖4
  21888. type: number
  21889. ask5:
  21890. description: 卖5
  21891. type: number
  21892. ask6:
  21893. description: 卖6
  21894. type: number
  21895. ask7:
  21896. description: 卖7
  21897. type: number
  21898. ask8:
  21899. description: 卖8
  21900. type: number
  21901. ask9:
  21902. description: 卖9
  21903. type: number
  21904. ask10:
  21905. description: 卖10
  21906. type: number
  21907. askorderid:
  21908. description: 卖单号1
  21909. type: integer
  21910. askorderid2:
  21911. description: 卖单号2
  21912. type: integer
  21913. askorderid3:
  21914. description: 卖单号3
  21915. type: integer
  21916. askorderid4:
  21917. description: 卖单号4
  21918. type: integer
  21919. askorderid5:
  21920. description: 卖单号5
  21921. type: integer
  21922. askordervolume:
  21923. description: 卖单量1
  21924. type: integer
  21925. askordervolume2:
  21926. description: 卖单量2
  21927. type: integer
  21928. askordervolume3:
  21929. description: 卖单量3
  21930. type: integer
  21931. askordervolume4:
  21932. description: 卖单量4
  21933. type: integer
  21934. askordervolume5:
  21935. description: 卖单量5
  21936. type: integer
  21937. askordervolume6:
  21938. description: 卖单量6
  21939. type: integer
  21940. askordervolume7:
  21941. description: 卖单量7
  21942. type: integer
  21943. askordervolume8:
  21944. description: 卖单量8
  21945. type: integer
  21946. askordervolume9:
  21947. description: 卖单量9
  21948. type: integer
  21949. askordervolume10:
  21950. description: 卖单量10
  21951. type: integer
  21952. askqueueinfo:
  21953. description: 大利市卖港股用
  21954. type: string
  21955. askvolume:
  21956. description: 卖量1
  21957. type: integer
  21958. askvolume2:
  21959. description: 卖量2
  21960. type: integer
  21961. askvolume3:
  21962. description: 卖量3
  21963. type: integer
  21964. askvolume4:
  21965. description: 卖量4
  21966. type: integer
  21967. askvolume5:
  21968. description: 卖量5
  21969. type: integer
  21970. askvolume6:
  21971. description: 卖量6
  21972. type: integer
  21973. askvolume7:
  21974. description: 卖量7
  21975. type: integer
  21976. askvolume8:
  21977. description: 卖量8
  21978. type: integer
  21979. askvolume9:
  21980. description: 卖量9
  21981. type: integer
  21982. askvolume10:
  21983. description: 卖量10
  21984. type: integer
  21985. averageprice:
  21986. description: 均价
  21987. type: number
  21988. bid:
  21989. description: 买1
  21990. type: number
  21991. bid2:
  21992. description: 买2
  21993. type: number
  21994. bid3:
  21995. description: 买3
  21996. type: number
  21997. bid4:
  21998. description: 买4
  21999. type: number
  22000. bid5:
  22001. description: 买5
  22002. type: number
  22003. bid6:
  22004. description: 买6
  22005. type: number
  22006. bid7:
  22007. description: 买7
  22008. type: number
  22009. bid8:
  22010. description: 买8
  22011. type: number
  22012. bid9:
  22013. description: 买9
  22014. type: number
  22015. bid10:
  22016. description: 买10
  22017. type: number
  22018. bidorderid:
  22019. description: 买单号1
  22020. type: integer
  22021. bidorderid2:
  22022. description: 买单号2
  22023. type: integer
  22024. bidorderid3:
  22025. description: 买单号3
  22026. type: integer
  22027. bidorderid4:
  22028. description: 买单号4
  22029. type: integer
  22030. bidorderid5:
  22031. description: 买单号5
  22032. type: integer
  22033. bidordervolume:
  22034. description: 买单量1
  22035. type: integer
  22036. bidordervolume2:
  22037. description: 买单量2
  22038. type: integer
  22039. bidordervolume3:
  22040. description: 买单量3
  22041. type: integer
  22042. bidordervolume4:
  22043. description: 买单量4
  22044. type: integer
  22045. bidordervolume5:
  22046. description: 买单量5
  22047. type: integer
  22048. bidordervolume6:
  22049. description: 买单量6
  22050. type: integer
  22051. bidordervolume7:
  22052. description: 买单量7
  22053. type: integer
  22054. bidordervolume8:
  22055. description: 买单量8
  22056. type: integer
  22057. bidordervolume9:
  22058. description: 买单量9
  22059. type: integer
  22060. bidordervolume10:
  22061. description: 买单量10
  22062. type: integer
  22063. bidqueueinfo:
  22064. description: 大利市买港股用
  22065. type: string
  22066. bidvolume:
  22067. description: 买量1
  22068. type: integer
  22069. bidvolume2:
  22070. description: 买量2
  22071. type: integer
  22072. bidvolume3:
  22073. description: 买量3
  22074. type: integer
  22075. bidvolume4:
  22076. description: 买量4
  22077. type: integer
  22078. bidvolume5:
  22079. description: 买量5
  22080. type: integer
  22081. bidvolume6:
  22082. description: 买量6
  22083. type: integer
  22084. bidvolume7:
  22085. description: 买量7
  22086. type: integer
  22087. bidvolume8:
  22088. description: 买量8
  22089. type: integer
  22090. bidvolume9:
  22091. description: 买量9
  22092. type: integer
  22093. bidvolume10:
  22094. description: 买量10
  22095. type: integer
  22096. calloptionpremiums:
  22097. description: 认购期权1
  22098. type: integer
  22099. calloptionpremiums2:
  22100. description: 认购期权2
  22101. type: integer
  22102. calloptionpremiums3:
  22103. description: 认购期权3
  22104. type: integer
  22105. calloptionpremiums4:
  22106. description: 认购期权4
  22107. type: integer
  22108. calloptionpremiums5:
  22109. description: 认购期权5
  22110. type: integer
  22111. cleartime:
  22112. description: 清盘时间
  22113. type: integer
  22114. exchangecode:
  22115. description: 交易所代码
  22116. type: integer
  22117. exchangedate:
  22118. description: 交易日
  22119. type: integer
  22120. goodscode:
  22121. description: 商品代码
  22122. type: string
  22123. grepmarketprice:
  22124. description: 暗盘价 港股专用
  22125. type: number
  22126. highest:
  22127. description: 最高价
  22128. type: number
  22129. holdincrement:
  22130. description: 单笔持仓
  22131. type: integer
  22132. holdvolume:
  22133. description: 持仓
  22134. type: integer
  22135. iep:
  22136. description: 平衡价 港股专用
  22137. type: number
  22138. iev:
  22139. description: 平衡量 港股专用
  22140. type: number
  22141. inventory:
  22142. description: 库存
  22143. type: integer
  22144. iscleared:
  22145. description: 是否清盘标志
  22146. type: integer
  22147. issettled:
  22148. description: 是否结算标志
  22149. type: integer
  22150. last:
  22151. description: 最新价
  22152. type: number
  22153. lastlot:
  22154. description: 最新成交手数
  22155. type: integer
  22156. lasttime:
  22157. description: 行情时间(只有现价变化行情时间才变化)
  22158. type: string
  22159. lastturnover:
  22160. description: 最新成交金额
  22161. type: number
  22162. lastvolume:
  22163. description: 最新成交量
  22164. type: integer
  22165. limitdown:
  22166. description: 跌停价
  22167. type: number
  22168. limitup:
  22169. description: 涨停价
  22170. type: number
  22171. lowest:
  22172. description: 最低价
  22173. type: number
  22174. nontotalholdervolume:
  22175. description: 非交易持仓量
  22176. type: integer
  22177. nontotallot:
  22178. description: 非交易总手数
  22179. type: integer
  22180. nontotalturnover:
  22181. description: 非交易总金额
  22182. type: integer
  22183. nontotalvolume:
  22184. description: 非交易总量
  22185. type: integer
  22186. opened:
  22187. description: 开盘价
  22188. type: number
  22189. opentime:
  22190. description: 开盘时间
  22191. type: string
  22192. orderid:
  22193. description: 序号
  22194. type: integer
  22195. preclose:
  22196. description: 昨收
  22197. type: number
  22198. preholdvolume:
  22199. description: 昨持仓
  22200. type: integer
  22201. presettle:
  22202. description: 昨结价
  22203. type: number
  22204. publictradetype:
  22205. description: 公共交易标志类型 港股专用
  22206. type: string
  22207. putoptionpremiums:
  22208. description: 认沽期权1
  22209. type: integer
  22210. putoptionpremiums2:
  22211. description: 认沽期权2
  22212. type: integer
  22213. putoptionpremiums3:
  22214. description: 认沽期权3
  22215. type: integer
  22216. putoptionpremiums4:
  22217. description: 认沽期权4
  22218. type: integer
  22219. putoptionpremiums5:
  22220. description: 认沽期权5
  22221. type: integer
  22222. settle:
  22223. description: 结算价
  22224. type: number
  22225. strikeprice:
  22226. description: 发行价
  22227. type: number
  22228. totalaskvolume:
  22229. description: 内盘
  22230. type: integer
  22231. totalbidvolume:
  22232. description: 外盘
  22233. type: integer
  22234. totallot:
  22235. description: 总手数
  22236. type: integer
  22237. totalturnover:
  22238. description: 总金额
  22239. type: number
  22240. totalvolume:
  22241. description: 总量
  22242. type: integer
  22243. utclasttime:
  22244. description: utc的行情时间
  22245. type: string
  22246. type: object
  22247. quote.QueryTSDataRsp:
  22248. properties:
  22249. Count:
  22250. description: 交易日应有数据个数
  22251. type: integer
  22252. decimalPlace:
  22253. description: 小数位
  22254. type: integer
  22255. endTime:
  22256. description: 结束时间
  22257. type: string
  22258. goodsCode:
  22259. description: 商品代码
  22260. type: string
  22261. historyDatas:
  22262. description: 历史数据
  22263. items:
  22264. $ref: '#/definitions/quote.HistoryData'
  22265. type: array
  22266. outGoodsCode:
  22267. description: 外部商品代码
  22268. type: string
  22269. preSettle:
  22270. description: 昨结价
  22271. type: number
  22272. runSteps:
  22273. description: 交易日开休市计划
  22274. items:
  22275. $ref: '#/definitions/quote.TSDataRunStep'
  22276. type: array
  22277. startTime:
  22278. description: 开始时间
  22279. type: string
  22280. tradeDate:
  22281. description: 交易日
  22282. type: string
  22283. type: object
  22284. quote.TSDataRunStep:
  22285. properties:
  22286. end:
  22287. description: 真实结束时间
  22288. type: string
  22289. endflag:
  22290. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22291. type: integer
  22292. endtime:
  22293. description: 结束时间(HH:mm)
  22294. type: string
  22295. endweekday:
  22296. description: 结束周几
  22297. type: integer
  22298. groupid:
  22299. description: 分组ID
  22300. type: integer
  22301. runstep:
  22302. description: 运行阶段 - 2:连续交易
  22303. type: integer
  22304. sectionid:
  22305. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22306. 结束时间=结算时间 结束周几=结算周几
  22307. type: integer
  22308. start:
  22309. description: 真实开始时间
  22310. type: string
  22311. startflag:
  22312. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22313. type: integer
  22314. starttime:
  22315. description: 起始时间(HH:mm)
  22316. type: string
  22317. startweekday:
  22318. description: 起始周几
  22319. type: integer
  22320. tradeweekday:
  22321. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22322. type: integer
  22323. type: object
  22324. szdz.QueryConvertLogRsp:
  22325. properties:
  22326. accountid:
  22327. description: 资金账户ID
  22328. type: integer
  22329. clientticket:
  22330. description: 客户端流水号
  22331. type: string
  22332. converttype:
  22333. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22334. type: integer
  22335. createtime:
  22336. description: 记账时间
  22337. type: string
  22338. daymaxvalue:
  22339. description: 配置当日最大转入限制
  22340. type: number
  22341. daymaxvalue2:
  22342. description: 配置当日最大转入限制(转入)
  22343. type: number
  22344. goodscode:
  22345. description: 商品代码
  22346. type: string
  22347. goodsname:
  22348. description: 商品名称
  22349. type: string
  22350. handlestatus:
  22351. description: 处理状态
  22352. type: integer
  22353. innergoodsid:
  22354. description: 内部商品ID
  22355. type: integer
  22356. inratio:
  22357. description: 配置转入比值
  22358. type: integer
  22359. invalue:
  22360. description: 目标值
  22361. type: number
  22362. logid:
  22363. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22364. type: integer
  22365. mobile:
  22366. description: 手机号码(加密存储)
  22367. type: string
  22368. outergoodscode:
  22369. description: 外部商品代码[JD\PD]
  22370. type: string
  22371. outratio:
  22372. description: 配置转出比值
  22373. type: integer
  22374. outvalue:
  22375. description: 源值
  22376. type: number
  22377. pddecimalplace:
  22378. description: PD小数位
  22379. type: integer
  22380. qty:
  22381. description: 数量
  22382. type: string
  22383. remark:
  22384. description: 备注
  22385. type: string
  22386. sessionid:
  22387. description: 会话ID
  22388. type: integer
  22389. timemaxvalue:
  22390. description: 配置单次最大转入限制
  22391. type: number
  22392. timemaxvalue2:
  22393. description: 配置单次最大转入限制(转入)
  22394. type: number
  22395. timeminvalue:
  22396. description: 配置单次最小数量限制
  22397. type: number
  22398. timeminvalue2:
  22399. description: 配置单次最小数量限制(转入)
  22400. type: number
  22401. tradedate:
  22402. description: 交易日(yyyyMMdd)
  22403. type: string
  22404. userid:
  22405. description: 用户ID
  22406. type: integer
  22407. required:
  22408. - logid
  22409. type: object
  22410. szdz.QueryGoodsPickupRsp:
  22411. properties:
  22412. accountid:
  22413. description: 账户ID
  22414. type: integer
  22415. address:
  22416. description: 提货人详细地址
  22417. type: string
  22418. auditer:
  22419. description: 审核人
  22420. type: integer
  22421. audittime:
  22422. description: 审核时间
  22423. type: string
  22424. cardnum:
  22425. description: 提货人证件号码
  22426. type: string
  22427. cardtypeid:
  22428. description: 提货人证件类型
  22429. type: integer
  22430. checkremark:
  22431. description: 审核备注
  22432. type: string
  22433. goodscode:
  22434. description: 商品代码
  22435. type: string
  22436. goodsid:
  22437. description: 商品ID
  22438. type: integer
  22439. goodsname:
  22440. description: 商品名称
  22441. type: string
  22442. handlestatus:
  22443. description: 处理状态
  22444. type: integer
  22445. marketid:
  22446. description: 市场ID
  22447. type: integer
  22448. phonenum:
  22449. description: 提货人联系方式
  22450. type: string
  22451. qty:
  22452. description: 提货数量
  22453. type: number
  22454. recivername:
  22455. description: 提货人姓名
  22456. type: string
  22457. reqtime:
  22458. description: 更新时间
  22459. type: string
  22460. takemode:
  22461. description: 提货方式 - 2:自提 3:配送
  22462. type: integer
  22463. takeorderid:
  22464. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22465. type: string
  22466. takeorderstatus:
  22467. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22468. type: integer
  22469. takeremark:
  22470. description: 提货备注
  22471. type: string
  22472. tradedate:
  22473. description: 交易日(yyyyMMdd)
  22474. type: string
  22475. userid:
  22476. description: 用户ID
  22477. type: integer
  22478. required:
  22479. - takeorderid
  22480. type: object
  22481. szdz.QueryRecieptOrderRsp:
  22482. properties:
  22483. accountName:
  22484. description: 所属账号名称(已脱敏)
  22485. type: string
  22486. accountid:
  22487. description: 资金账号
  22488. type: integer
  22489. buyorsell:
  22490. description: 方向 - 0:买 1:卖
  22491. type: integer
  22492. enableqty:
  22493. description: 可摘数量
  22494. type: integer
  22495. goodscode:
  22496. description: 商品代码
  22497. type: string
  22498. goodsid:
  22499. description: 商品ID
  22500. type: integer
  22501. goodsname:
  22502. description: 商品名称
  22503. type: string
  22504. orderid:
  22505. description: 委托单号
  22506. type: string
  22507. orderprice:
  22508. description: 委托价格
  22509. type: number
  22510. ordertime:
  22511. description: 委托时间
  22512. type: string
  22513. tradedate:
  22514. description: 交易日(yyyyMMdd)
  22515. type: string
  22516. required:
  22517. - ordertime
  22518. type: object
  22519. szdz.QuerySZDZTradePositionRsp:
  22520. properties:
  22521. accountid:
  22522. description: 账号Id
  22523. type: integer
  22524. agreeunit:
  22525. description: 合约单位
  22526. type: number
  22527. averageprice:
  22528. description: 持仓均价
  22529. type: number
  22530. buyorsell:
  22531. description: 方向 - 0:买 1:卖
  22532. type: integer
  22533. closetotalqty:
  22534. description: 平仓总数量
  22535. type: integer
  22536. curholderamount:
  22537. description: 当前持仓总金额
  22538. type: number
  22539. curpositionqty:
  22540. description: 当前持仓总数量
  22541. type: integer
  22542. currencyid:
  22543. description: 报价货币ID
  22544. type: integer
  22545. curtdposition:
  22546. description: 期末今日头寸
  22547. type: integer
  22548. decimalplace:
  22549. description: 报价小数位
  22550. type: integer
  22551. enableqty:
  22552. description: 可用量
  22553. type: integer
  22554. fretdposition:
  22555. description: 冻结今日头寸
  22556. type: integer
  22557. frozenqty:
  22558. description: 持仓冻结数量
  22559. type: integer
  22560. goodscode:
  22561. description: 商品代码(内部)
  22562. type: string
  22563. goodsid:
  22564. description: 商品Id
  22565. type: integer
  22566. goodsname:
  22567. description: 商品名称
  22568. type: string
  22569. goodunit:
  22570. description: 报价单位
  22571. type: string
  22572. goodunitid:
  22573. description: 报价单位ID
  22574. type: integer
  22575. holderamount:
  22576. description: 期初持仓总金额
  22577. type: number
  22578. marketid:
  22579. description: 市场ID
  22580. type: integer
  22581. openreqqty:
  22582. description: 开仓申请数量
  22583. type: integer
  22584. opentotalqty:
  22585. description: 开仓总数量
  22586. type: integer
  22587. otherfrozenqty:
  22588. description: 持仓其他冻结数量(交割冻结)
  22589. type: integer
  22590. positionqty:
  22591. description: 期初持仓数量
  22592. type: integer
  22593. szdz3freezqty:
  22594. description: 尚志大宗转换冻结总数量
  22595. type: integer
  22596. tnqty:
  22597. description: T+N冻结总量
  22598. type: integer
  22599. tnusedqty:
  22600. description: T+N使用量
  22601. type: integer
  22602. trademode:
  22603. description: 交易模式
  22604. type: integer
  22605. usedmargin:
  22606. description: 占用保证金
  22607. type: number
  22608. type: object
  22609. taaccount.QueryAmountLogRsp:
  22610. properties:
  22611. OPERATETYPENAME:
  22612. description: 资金操作类型名称
  22613. type: string
  22614. accountid:
  22615. description: 资金账户ID
  22616. type: integer
  22617. agoodscode:
  22618. description: 竞拍商品代码
  22619. type: string
  22620. agoodsname:
  22621. description: 竞拍商品名称
  22622. type: string
  22623. amount:
  22624. description: 资金金额
  22625. type: number
  22626. amountadjusttype:
  22627. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22628. type: integer
  22629. autoid:
  22630. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22631. type: integer
  22632. balance:
  22633. description: 期初余额
  22634. type: number
  22635. businesscode:
  22636. description: 业务编号
  22637. type: integer
  22638. createtime:
  22639. description: 发生时间
  22640. type: string
  22641. currencyid:
  22642. description: 币种ID
  22643. type: integer
  22644. currentbalance:
  22645. description: 期末余额(变动后金额)
  22646. type: number
  22647. dgoodscode:
  22648. description: 交割商品代码
  22649. type: string
  22650. dgoodsname:
  22651. description: 交割商品名称
  22652. type: string
  22653. goodscode:
  22654. description: 商品代码
  22655. type: string
  22656. goodsid:
  22657. description: 商品ID
  22658. type: integer
  22659. goodsname:
  22660. description: 商品名称
  22661. type: string
  22662. marketid:
  22663. description: 市场ID
  22664. type: integer
  22665. marketname:
  22666. description: 市场名称
  22667. type: string
  22668. moneyticket:
  22669. description: 资金流水号:银行端流水号
  22670. type: integer
  22671. operatetype:
  22672. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22673. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22674. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22675. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22676. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22677. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22678. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22679. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22680. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22681. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22682. type: integer
  22683. relationorderid:
  22684. description: 关联单号
  22685. type: string
  22686. remark:
  22687. description: 备注
  22688. type: string
  22689. trademode:
  22690. description: 交易模式
  22691. type: integer
  22692. required:
  22693. - accountid
  22694. - amount
  22695. - amountadjusttype
  22696. - autoid
  22697. - balance
  22698. - createtime
  22699. - currentbalance
  22700. - operatetype
  22701. type: object
  22702. taaccount.QueryHisAmountLogRsp:
  22703. properties:
  22704. OPERATETYPENAME:
  22705. description: 资金操作类型名称
  22706. type: string
  22707. accountid:
  22708. description: 资金账户ID
  22709. type: integer
  22710. agoodscode:
  22711. description: 竞拍商品代码
  22712. type: string
  22713. agoodsname:
  22714. description: 竞拍商品名称
  22715. type: string
  22716. amount:
  22717. description: 资金金额
  22718. type: number
  22719. amountadjusttype:
  22720. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22721. type: integer
  22722. autoid:
  22723. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22724. type: integer
  22725. balance:
  22726. description: 期初余额
  22727. type: number
  22728. businesscode:
  22729. description: 业务编号
  22730. type: integer
  22731. createtime:
  22732. description: 发生时间
  22733. type: string
  22734. currencyid:
  22735. description: 币种ID
  22736. type: integer
  22737. currentbalance:
  22738. description: 期末余额(变动后金额)
  22739. type: number
  22740. dgoodscode:
  22741. description: 交割商品代码
  22742. type: string
  22743. dgoodsname:
  22744. description: 交割商品名称
  22745. type: string
  22746. goodscode:
  22747. description: 商品代码
  22748. type: string
  22749. goodsid:
  22750. description: 商品ID
  22751. type: integer
  22752. goodsname:
  22753. description: 商品名称
  22754. type: string
  22755. histradedate:
  22756. description: 历史交易日
  22757. type: string
  22758. isvaliddata:
  22759. description: 是否有效 - 0:无效 1:有效
  22760. type: integer
  22761. marketid:
  22762. description: 市场ID
  22763. type: integer
  22764. marketname:
  22765. description: 市场名称
  22766. type: string
  22767. moneyticket:
  22768. description: 资金流水号:银行端流水号
  22769. type: integer
  22770. operatetype:
  22771. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22772. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22773. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22774. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22775. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22776. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22777. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22778. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22779. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22780. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22781. type: integer
  22782. relationorderid:
  22783. description: 关联单号
  22784. type: string
  22785. remark:
  22786. description: 备注
  22787. type: string
  22788. trademode:
  22789. description: 交易模式
  22790. type: integer
  22791. required:
  22792. - accountid
  22793. - amount
  22794. - amountadjusttype
  22795. - autoid
  22796. - balance
  22797. - createtime
  22798. - currentbalance
  22799. - histradedate
  22800. - operatetype
  22801. type: object
  22802. trade.QueryRecieptOrderRsp:
  22803. properties:
  22804. accountName:
  22805. description: 所属账号名称(已脱敏)
  22806. type: string
  22807. accountid:
  22808. description: 资金账号
  22809. type: integer
  22810. buyorsell:
  22811. description: 方向 - 0:买 1:卖
  22812. type: integer
  22813. enableqty:
  22814. description: 可摘数量
  22815. type: integer
  22816. goodscode:
  22817. description: 商品代码
  22818. type: string
  22819. goodsid:
  22820. description: 商品ID
  22821. type: integer
  22822. goodsname:
  22823. description: 商品名称
  22824. type: string
  22825. orderid:
  22826. description: 委托单号
  22827. type: string
  22828. orderprice:
  22829. description: 委托价格
  22830. type: number
  22831. ordertime:
  22832. description: 委托时间
  22833. type: string
  22834. tradedate:
  22835. description: 交易日(yyyyMMdd)
  22836. type: string
  22837. required:
  22838. - ordertime
  22839. type: object
  22840. user.LoginQueryRsp:
  22841. properties:
  22842. areaRoles:
  22843. description: 所属角色信息
  22844. items:
  22845. $ref: '#/definitions/models.Arearole'
  22846. type: array
  22847. exchangeRateConfigs:
  22848. description: 汇率信息
  22849. items:
  22850. $ref: '#/definitions/models.Exchangerateconfig'
  22851. type: array
  22852. externalExchanges:
  22853. description: 外部交易所
  22854. items:
  22855. $ref: '#/definitions/models.Externalexchange'
  22856. type: array
  22857. goodsgroups:
  22858. description: 商品组
  22859. items:
  22860. $ref: '#/definitions/models.Goodsgroup'
  22861. type: array
  22862. loginAccount:
  22863. $ref: '#/definitions/models.Loginaccount'
  22864. description: 登录账号
  22865. markets:
  22866. description: 市场
  22867. items:
  22868. $ref: '#/definitions/models.Market'
  22869. type: array
  22870. systemParams:
  22871. description: 系统参数
  22872. items:
  22873. $ref: '#/definitions/models.Systemparam'
  22874. type: array
  22875. userAccount:
  22876. $ref: '#/definitions/models.Useraccount'
  22877. description: 用户账号
  22878. userInfo:
  22879. $ref: '#/definitions/models.Userinfo'
  22880. description: 用户信息
  22881. username:
  22882. description: 用户姓名
  22883. type: string
  22884. type: object
  22885. info:
  22886. contact: {}
  22887. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22888. termsOfService: http://www.muchinfo.cn
  22889. title: MTP2.0 查询服务 API
  22890. version: "1.0"
  22891. paths:
  22892. /CPTrade/QueryCPTradeMyBidInfos:
  22893. get:
  22894. parameters:
  22895. - description: 资金账户
  22896. in: query
  22897. name: accountid
  22898. required: true
  22899. type: integer
  22900. - description: 预售市场ID
  22901. in: query
  22902. name: marketid
  22903. type: integer
  22904. - description: 预售商品ID
  22905. in: query
  22906. name: goodsid
  22907. type: integer
  22908. produces:
  22909. - application/json
  22910. responses:
  22911. "200":
  22912. description: OK
  22913. schema:
  22914. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22915. "500":
  22916. description: Internal Server Error
  22917. schema:
  22918. $ref: '#/definitions/app.Response'
  22919. security:
  22920. - ApiKeyAuth: []
  22921. summary: 查询产能预售我的出价信息
  22922. tags:
  22923. - 产能预售
  22924. /CPTrade/QueryCPTradeOrderDetail:
  22925. get:
  22926. parameters:
  22927. - description: 预售商品ID
  22928. in: query
  22929. name: goodsid
  22930. type: integer
  22931. - description: 预售市场ID
  22932. in: query
  22933. name: marketid
  22934. type: integer
  22935. - description: 预售商品ID列表 - 格式:1,2,3
  22936. in: query
  22937. name: goodsids
  22938. type: string
  22939. produces:
  22940. - application/json
  22941. responses:
  22942. "200":
  22943. description: OK
  22944. schema:
  22945. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22946. "500":
  22947. description: Internal Server Error
  22948. schema:
  22949. $ref: '#/definitions/app.Response'
  22950. security:
  22951. - ApiKeyAuth: []
  22952. summary: 查询产能预售委托单信息
  22953. tags:
  22954. - 产能预售
  22955. /CPTrade/QueryMyCPTradeGoods:
  22956. get:
  22957. parameters:
  22958. - description: 资金账户
  22959. in: query
  22960. name: accountid
  22961. required: true
  22962. type: integer
  22963. produces:
  22964. - application/json
  22965. responses:
  22966. "200":
  22967. description: OK
  22968. schema:
  22969. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22970. "500":
  22971. description: Internal Server Error
  22972. schema:
  22973. $ref: '#/definitions/app.Response'
  22974. security:
  22975. - ApiKeyAuth: []
  22976. summary: 查询我的预售信息
  22977. tags:
  22978. - 产能预售
  22979. /CPTrade/QueryPositionCancel:
  22980. get:
  22981. parameters:
  22982. - description: 账户ID
  22983. in: query
  22984. name: userid
  22985. required: true
  22986. type: integer
  22987. - description: 注销ID
  22988. in: query
  22989. name: cancelid
  22990. type: integer
  22991. - description: 资金账户ID
  22992. in: query
  22993. name: accountid
  22994. type: integer
  22995. produces:
  22996. - application/json
  22997. responses:
  22998. "200":
  22999. description: OK
  23000. schema:
  23001. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23002. "500":
  23003. description: Internal Server Error
  23004. schema:
  23005. $ref: '#/definitions/app.Response'
  23006. security:
  23007. - ApiKeyAuth: []
  23008. summary: 查询远期订单注销申请信息
  23009. tags:
  23010. - 产能预售
  23011. /CPTrade/QueryPreasleApply:
  23012. get:
  23013. parameters:
  23014. - description: 账户ID
  23015. in: query
  23016. name: userid
  23017. required: true
  23018. type: integer
  23019. - description: 申请ID
  23020. in: query
  23021. name: applyid
  23022. type: integer
  23023. - description: 资金账户ID
  23024. in: query
  23025. name: accountid
  23026. type: integer
  23027. produces:
  23028. - application/json
  23029. responses:
  23030. "200":
  23031. description: OK
  23032. schema:
  23033. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23034. "500":
  23035. description: Internal Server Error
  23036. schema:
  23037. $ref: '#/definitions/app.Response'
  23038. security:
  23039. - ApiKeyAuth: []
  23040. summary: 查询产能预售申请信息
  23041. tags:
  23042. - 产能预售
  23043. /CPTrade/QueryPresaleGoodsEx:
  23044. get:
  23045. parameters:
  23046. - description: 预售商品ID
  23047. in: query
  23048. name: goodsid
  23049. type: integer
  23050. - description: 预售市场ID
  23051. in: query
  23052. name: marketid
  23053. type: integer
  23054. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23055. in: query
  23056. name: presalemode
  23057. type: integer
  23058. - description: 预售商品ID列表 - 格式:1,2,3
  23059. in: query
  23060. name: goodsids
  23061. type: string
  23062. - description: 预售商品代码
  23063. in: query
  23064. name: goodscode
  23065. type: string
  23066. produces:
  23067. - application/json
  23068. responses:
  23069. "200":
  23070. description: OK
  23071. schema:
  23072. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23073. "500":
  23074. description: Internal Server Error
  23075. schema:
  23076. $ref: '#/definitions/app.Response'
  23077. security:
  23078. - ApiKeyAuth: []
  23079. summary: 查询产能预售商品扩展信息
  23080. tags:
  23081. - 产能预售
  23082. /CPTrade/QueryUserGoodsData:
  23083. get:
  23084. parameters:
  23085. - description: 资金账户ID
  23086. in: query
  23087. name: accountid
  23088. required: true
  23089. type: integer
  23090. produces:
  23091. - application/json
  23092. responses:
  23093. "200":
  23094. description: OK
  23095. schema:
  23096. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23097. "500":
  23098. description: Internal Server Error
  23099. schema:
  23100. $ref: '#/definitions/app.Response'
  23101. security:
  23102. - ApiKeyAuth: []
  23103. summary: 查询远期订单信息
  23104. tags:
  23105. - 产能预售
  23106. /Common/DeleteNewFuncmenu:
  23107. delete:
  23108. consumes:
  23109. - application/json
  23110. parameters:
  23111. - description: 菜单表数据,只需要resourcecode字段即可
  23112. in: body
  23113. name: data
  23114. required: true
  23115. schema:
  23116. $ref: '#/definitions/models.NewFuncmenulist'
  23117. produces:
  23118. - application/json
  23119. responses:
  23120. "200":
  23121. description: OK
  23122. schema:
  23123. $ref: '#/definitions/app.Response'
  23124. "500":
  23125. description: Internal Server Error
  23126. schema:
  23127. $ref: '#/definitions/app.Response'
  23128. security:
  23129. - ApiKeyAuth: []
  23130. summary: 删除菜单表数据
  23131. tags:
  23132. - 通用服务
  23133. /Common/FindNewFuncmenu:
  23134. get:
  23135. parameters:
  23136. - description: 资源代码
  23137. in: query
  23138. name: resourcecode
  23139. type: string
  23140. - description: 上级资源代码
  23141. in: query
  23142. name: parentcode
  23143. type: string
  23144. - description: 资源名(Title), 模糊查询
  23145. in: query
  23146. name: resourcename
  23147. type: string
  23148. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23149. in: query
  23150. name: menutype
  23151. type: string
  23152. produces:
  23153. - application/json
  23154. responses:
  23155. "200":
  23156. description: OK
  23157. schema:
  23158. items:
  23159. $ref: '#/definitions/models.NewFuncmenulist'
  23160. type: array
  23161. "500":
  23162. description: Internal Server Error
  23163. schema:
  23164. $ref: '#/definitions/app.Response'
  23165. security:
  23166. - ApiKeyAuth: []
  23167. summary: 获取菜单表数据
  23168. tags:
  23169. - 通用服务
  23170. /Common/GetAllEnums:
  23171. get:
  23172. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23173. parameters:
  23174. - description: 起始自增ID
  23175. in: query
  23176. name: autoid
  23177. type: integer
  23178. produces:
  23179. - application/json
  23180. responses:
  23181. "200":
  23182. description: OK
  23183. schema:
  23184. $ref: '#/definitions/models.Enumdicitem'
  23185. "500":
  23186. description: Internal Server Error
  23187. schema:
  23188. $ref: '#/definitions/app.Response'
  23189. summary: 获取所有枚举信息
  23190. tags:
  23191. - 通用服务
  23192. /Common/GetClientMenus:
  23193. get:
  23194. parameters:
  23195. - description: 登录账号
  23196. in: query
  23197. name: loginID
  23198. required: true
  23199. type: integer
  23200. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23201. in: query
  23202. name: clientType
  23203. type: integer
  23204. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23205. in: query
  23206. name: name
  23207. type: string
  23208. produces:
  23209. - application/json
  23210. responses:
  23211. "200":
  23212. description: OK
  23213. schema:
  23214. items:
  23215. $ref: '#/definitions/common.ClientMenu'
  23216. type: array
  23217. "500":
  23218. description: Internal Server Error
  23219. schema:
  23220. $ref: '#/definitions/app.Response'
  23221. security:
  23222. - ApiKeyAuth: []
  23223. summary: 获取交易端菜单
  23224. tags:
  23225. - 通用服务
  23226. /Common/GetClientNewFuncmenu:
  23227. get:
  23228. parameters:
  23229. - description: 登录账号
  23230. in: query
  23231. name: loginid
  23232. required: true
  23233. type: integer
  23234. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23235. in: query
  23236. name: menutype
  23237. required: true
  23238. type: integer
  23239. produces:
  23240. - application/json
  23241. responses:
  23242. "200":
  23243. description: OK
  23244. schema:
  23245. items:
  23246. $ref: '#/definitions/models.NewFuncmenulist'
  23247. type: array
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. security:
  23253. - ApiKeyAuth: []
  23254. summary: 获取终端菜单
  23255. tags:
  23256. - 通用服务
  23257. /Common/GetDivisions:
  23258. get:
  23259. produces:
  23260. - application/json
  23261. responses:
  23262. "200":
  23263. description: OK
  23264. schema:
  23265. $ref: '#/definitions/models.Division'
  23266. "500":
  23267. description: Internal Server Error
  23268. schema:
  23269. $ref: '#/definitions/app.Response'
  23270. summary: 查询区域信息
  23271. tags:
  23272. - 通用服务
  23273. /Common/GetPCWebMenus:
  23274. get:
  23275. parameters:
  23276. - description: 登录账号
  23277. in: query
  23278. name: loginID
  23279. required: true
  23280. type: integer
  23281. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23282. in: query
  23283. name: name
  23284. type: string
  23285. produces:
  23286. - application/json
  23287. responses:
  23288. "200":
  23289. description: OK
  23290. schema:
  23291. items:
  23292. $ref: '#/definitions/common.PCWebMenu'
  23293. type: array
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. security:
  23299. - ApiKeyAuth: []
  23300. summary: 获取PCWeb交易端菜单
  23301. tags:
  23302. - 通用服务
  23303. /Common/GetServerTime:
  23304. get:
  23305. produces:
  23306. - application/json
  23307. responses:
  23308. "200":
  23309. description: OK
  23310. schema:
  23311. $ref: '#/definitions/app.Response'
  23312. "500":
  23313. description: Internal Server Error
  23314. schema:
  23315. $ref: '#/definitions/app.Response'
  23316. summary: 获取服务器时间
  23317. tags:
  23318. - 通用服务
  23319. /Common/InsertNewFuncmenu:
  23320. post:
  23321. consumes:
  23322. - application/json
  23323. parameters:
  23324. - description: 菜单表数据
  23325. in: body
  23326. name: data
  23327. required: true
  23328. schema:
  23329. $ref: '#/definitions/models.NewFuncmenulist'
  23330. produces:
  23331. - application/json
  23332. responses:
  23333. "200":
  23334. description: OK
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. "500":
  23338. description: Internal Server Error
  23339. schema:
  23340. $ref: '#/definitions/app.Response'
  23341. security:
  23342. - ApiKeyAuth: []
  23343. summary: 插入菜单表数据
  23344. tags:
  23345. - 通用服务
  23346. /Common/NoticeReaded:
  23347. post:
  23348. parameters:
  23349. - description: 登录账号
  23350. in: query
  23351. name: loginID
  23352. required: true
  23353. type: integer
  23354. - description: 通知公告ID
  23355. in: query
  23356. name: noticeID
  23357. required: true
  23358. type: integer
  23359. produces:
  23360. - application/json
  23361. responses:
  23362. "200":
  23363. description: OK
  23364. schema:
  23365. $ref: '#/definitions/app.Response'
  23366. "500":
  23367. description: Internal Server Error
  23368. schema:
  23369. $ref: '#/definitions/app.Response'
  23370. security:
  23371. - ApiKeyAuth: []
  23372. summary: 通知公告设置已读请求
  23373. tags:
  23374. - 通用服务
  23375. /Common/QueryErrorInfos:
  23376. get:
  23377. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23378. parameters:
  23379. - description: 起始行号前索引
  23380. in: query
  23381. name: rowNumber
  23382. type: string
  23383. produces:
  23384. - application/json
  23385. responses:
  23386. "200":
  23387. description: OK
  23388. schema:
  23389. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23390. "500":
  23391. description: Internal Server Error
  23392. schema:
  23393. $ref: '#/definitions/app.Response'
  23394. summary: 获取数据库错误信息
  23395. tags:
  23396. - 通用服务
  23397. /Common/QueryImageConfigs:
  23398. get:
  23399. parameters:
  23400. - description: 用户id
  23401. in: query
  23402. name: userId
  23403. type: integer
  23404. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23405. in: query
  23406. name: imageType
  23407. type: integer
  23408. produces:
  23409. - application/json
  23410. responses:
  23411. "200":
  23412. description: OK
  23413. schema:
  23414. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23415. "500":
  23416. description: Internal Server Error
  23417. schema:
  23418. $ref: '#/definitions/app.Response'
  23419. summary: 查询轮播图配置信息
  23420. tags:
  23421. - 通用服务
  23422. /Common/QueryNotice:
  23423. get:
  23424. parameters:
  23425. - description: 页码
  23426. in: query
  23427. name: page
  23428. type: integer
  23429. - description: 每页条数
  23430. in: query
  23431. name: pagesize
  23432. type: integer
  23433. - description: 登录账号
  23434. in: query
  23435. name: loginID
  23436. required: true
  23437. type: integer
  23438. - description: 消息类型 - 1:公告通知 2:系统消息
  23439. in: query
  23440. name: msgType
  23441. type: integer
  23442. - description: 是否只获取未读信息
  23443. in: query
  23444. name: onlyUnRead
  23445. type: boolean
  23446. - description: 自增ID,传入后会返回这个ID后面的记录
  23447. in: query
  23448. name: lastID
  23449. type: integer
  23450. produces:
  23451. - application/json
  23452. responses:
  23453. "200":
  23454. description: OK
  23455. schema:
  23456. $ref: '#/definitions/common.QueryNoticeRsp'
  23457. "500":
  23458. description: Internal Server Error
  23459. schema:
  23460. $ref: '#/definitions/app.Response'
  23461. security:
  23462. - ApiKeyAuth: []
  23463. summary: 通知公告系统消息查询
  23464. tags:
  23465. - 通用服务
  23466. /Common/QueryProvincesAndCities:
  23467. get:
  23468. parameters:
  23469. - description: 省ID
  23470. in: query
  23471. name: provinceID
  23472. type: integer
  23473. produces:
  23474. - application/json
  23475. responses:
  23476. "200":
  23477. description: OK
  23478. schema:
  23479. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23480. "500":
  23481. description: Internal Server Error
  23482. schema:
  23483. $ref: '#/definitions/app.Response'
  23484. summary: 查询省市信息(不包括区)
  23485. tags:
  23486. - 通用服务
  23487. /Common/QueryRates:
  23488. get:
  23489. parameters:
  23490. - description: 页码
  23491. in: query
  23492. name: page
  23493. type: integer
  23494. - description: 每页条数
  23495. in: query
  23496. name: pagesize
  23497. type: integer
  23498. - description: 源币种ID
  23499. in: query
  23500. name: oricurrencyid
  23501. type: integer
  23502. - description: 目标币种ID
  23503. in: query
  23504. name: descurrencyid
  23505. type: integer
  23506. produces:
  23507. - application/json
  23508. responses:
  23509. "200":
  23510. description: OK
  23511. schema:
  23512. items:
  23513. $ref: '#/definitions/models.Exchangerateconfig'
  23514. type: array
  23515. "500":
  23516. description: Internal Server Error
  23517. schema:
  23518. $ref: '#/definitions/app.Response'
  23519. security:
  23520. - ApiKeyAuth: []
  23521. - LoginID: []
  23522. - Group: []
  23523. summary: 查询汇率信息
  23524. tags:
  23525. - 通用服务
  23526. /Common/QueryTableDefine:
  23527. get:
  23528. parameters:
  23529. - description: 表key
  23530. in: query
  23531. name: tableKey
  23532. type: string
  23533. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23534. in: query
  23535. name: tableType
  23536. type: integer
  23537. produces:
  23538. - application/json
  23539. responses:
  23540. "200":
  23541. description: OK
  23542. schema:
  23543. $ref: '#/definitions/common.QueryTableDefineRsp'
  23544. "500":
  23545. description: Internal Server Error
  23546. schema:
  23547. $ref: '#/definitions/app.Response'
  23548. summary: 查询交易端列表头信息
  23549. tags:
  23550. - 通用服务
  23551. /Common/QueryTraderMenu:
  23552. get:
  23553. parameters:
  23554. - description: 登录账号
  23555. in: query
  23556. name: loginid
  23557. required: true
  23558. type: integer
  23559. produces:
  23560. - application/json
  23561. responses:
  23562. "200":
  23563. description: OK
  23564. schema:
  23565. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23566. "500":
  23567. description: Internal Server Error
  23568. schema:
  23569. $ref: '#/definitions/app.Response'
  23570. summary: 查询交易端菜单
  23571. tags:
  23572. - 通用服务
  23573. /Common/UpdateNewFuncmenu:
  23574. put:
  23575. consumes:
  23576. - application/json
  23577. parameters:
  23578. - description: 菜单表数据
  23579. in: body
  23580. name: data
  23581. required: true
  23582. schema:
  23583. $ref: '#/definitions/models.NewFuncmenulist'
  23584. produces:
  23585. - application/json
  23586. responses:
  23587. "200":
  23588. description: OK
  23589. schema:
  23590. $ref: '#/definitions/app.Response'
  23591. "500":
  23592. description: Internal Server Error
  23593. schema:
  23594. $ref: '#/definitions/app.Response'
  23595. security:
  23596. - ApiKeyAuth: []
  23597. summary: 更新菜单表数据
  23598. tags:
  23599. - 通用服务
  23600. /Delivery/QueryDeliveryRelation:
  23601. get:
  23602. parameters:
  23603. - description: 商品ID
  23604. in: query
  23605. name: goodsid
  23606. type: integer
  23607. - description: 品种ID
  23608. in: query
  23609. name: deliverygoodsid
  23610. type: integer
  23611. - description: 市场ID
  23612. in: query
  23613. name: marketid
  23614. type: integer
  23615. produces:
  23616. - application/json
  23617. responses:
  23618. "200":
  23619. description: OK
  23620. schema:
  23621. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23622. "500":
  23623. description: Internal Server Error
  23624. schema:
  23625. $ref: '#/definitions/app.Response'
  23626. security:
  23627. - ApiKeyAuth: []
  23628. summary: 查询商品交割关系表
  23629. tags:
  23630. - 交割服务
  23631. /Ermcp/GetErmcpGoods:
  23632. get:
  23633. parameters:
  23634. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23635. in: query
  23636. name: userid
  23637. type: integer
  23638. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23639. in: query
  23640. name: lastUpdateTime
  23641. type: string
  23642. produces:
  23643. - application/json
  23644. responses:
  23645. "200":
  23646. description: OK
  23647. schema:
  23648. $ref: '#/definitions/models.ErmcpGoods'
  23649. "500":
  23650. description: Internal Server Error
  23651. schema:
  23652. $ref: '#/definitions/app.Response'
  23653. security:
  23654. - ApiKeyAuth: []
  23655. summary: 查询企业风管期货商品信息
  23656. tags:
  23657. - 企业风险管理(app)
  23658. /Ermcp/GetErmcpGoodsSortByPosition:
  23659. get:
  23660. parameters:
  23661. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23662. in: query
  23663. name: sortIndex
  23664. type: string
  23665. produces:
  23666. - application/json
  23667. responses:
  23668. "200":
  23669. description: OK
  23670. schema:
  23671. $ref: '#/definitions/models.Goodssortbypreposition'
  23672. "500":
  23673. description: Internal Server Error
  23674. schema:
  23675. $ref: '#/definitions/app.Response'
  23676. security:
  23677. - ApiKeyAuth: []
  23678. summary: 查询企业风管期货主力、次主力商品信息
  23679. tags:
  23680. - 企业风险管理(app)
  23681. /Ermcp/GetErmcpOutAccountStatus:
  23682. get:
  23683. parameters:
  23684. - description: 登录账号
  23685. in: query
  23686. name: loginID
  23687. required: true
  23688. type: integer
  23689. produces:
  23690. - application/json
  23691. responses:
  23692. "200":
  23693. description: OK
  23694. schema:
  23695. $ref: '#/definitions/models.Hedgemarketopenlog'
  23696. "500":
  23697. description: Internal Server Error
  23698. schema:
  23699. $ref: '#/definitions/app.Response'
  23700. security:
  23701. - ApiKeyAuth: []
  23702. summary: 获取目标登录账号当前对冲账号在线状态
  23703. tags:
  23704. - 企业风险管理(app)
  23705. /Ermcp/GetErmcpRoleFuncMenuLists:
  23706. get:
  23707. parameters:
  23708. - description: 登录账号
  23709. in: query
  23710. name: loginID
  23711. required: true
  23712. type: integer
  23713. produces:
  23714. - application/json
  23715. responses:
  23716. "200":
  23717. description: OK
  23718. schema:
  23719. $ref: '#/definitions/models.Funcmenulist'
  23720. "500":
  23721. description: Internal Server Error
  23722. schema:
  23723. $ref: '#/definitions/app.Response'
  23724. security:
  23725. - ApiKeyAuth: []
  23726. summary: 获取企业风管终端权限
  23727. tags:
  23728. - 企业风险管理(app)
  23729. /Ermcp/QueryAccMgrBizGroupSet:
  23730. get:
  23731. parameters:
  23732. - description: 用户ID
  23733. in: query
  23734. name: userid
  23735. required: true
  23736. type: integer
  23737. - description: 现货商品id
  23738. in: query
  23739. name: deliverygoodsid
  23740. type: integer
  23741. produces:
  23742. - application/json
  23743. responses:
  23744. "200":
  23745. description: OK
  23746. schema:
  23747. items:
  23748. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23749. type: array
  23750. "500":
  23751. description: Internal Server Error
  23752. schema:
  23753. $ref: '#/definitions/app.Response'
  23754. security:
  23755. - ApiKeyAuth: []
  23756. summary: 查询业务类型分组(账户管理/账户设置)
  23757. tags:
  23758. - 企业风险管理(app)
  23759. /Ermcp/QueryAccMgrLoginUser:
  23760. get:
  23761. parameters:
  23762. - description: 用户ID
  23763. in: query
  23764. name: userid
  23765. required: true
  23766. type: integer
  23767. - description: 用户类型 2-机构 7-企业成员
  23768. in: query
  23769. name: usertype
  23770. type: integer
  23771. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23772. in: query
  23773. name: querytype
  23774. required: true
  23775. type: integer
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. items:
  23783. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23784. type: array
  23785. "500":
  23786. description: Internal Server Error
  23787. schema:
  23788. $ref: '#/definitions/app.Response'
  23789. security:
  23790. - ApiKeyAuth: []
  23791. summary: 查询账户管理登录账号(账户管理/登录账号)
  23792. tags:
  23793. - 企业风险管理(app)
  23794. /Ermcp/QueryAccMgrMainAccountInfo:
  23795. get:
  23796. parameters:
  23797. - description: 用户ID
  23798. in: query
  23799. name: userid
  23800. type: integer
  23801. - description: 主账号id
  23802. in: query
  23803. name: accountid
  23804. type: integer
  23805. produces:
  23806. - application/json
  23807. responses:
  23808. "200":
  23809. description: OK
  23810. schema:
  23811. items:
  23812. $ref: '#/definitions/models.MainAccountInfo'
  23813. type: array
  23814. "500":
  23815. description: Internal Server Error
  23816. schema:
  23817. $ref: '#/definitions/app.Response'
  23818. security:
  23819. - ApiKeyAuth: []
  23820. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23821. tags:
  23822. - 企业风险管理(app)
  23823. /Ermcp/QueryAccMgrRole:
  23824. get:
  23825. parameters:
  23826. - description: 用户ID
  23827. in: query
  23828. name: userid
  23829. required: true
  23830. type: integer
  23831. produces:
  23832. - application/json
  23833. responses:
  23834. "200":
  23835. description: OK
  23836. schema:
  23837. items:
  23838. $ref: '#/definitions/models.ErmcpRole'
  23839. type: array
  23840. "500":
  23841. description: Internal Server Error
  23842. schema:
  23843. $ref: '#/definitions/app.Response'
  23844. security:
  23845. - ApiKeyAuth: []
  23846. summary: 查询账户管理角色设置(账户管理/角色设置)
  23847. tags:
  23848. - 企业风险管理(app)
  23849. /Ermcp/QueryAccMgrRoleMenu:
  23850. get:
  23851. parameters:
  23852. - description: 用户ID
  23853. in: query
  23854. name: userid
  23855. required: true
  23856. type: integer
  23857. - description: 角色id(可多个,逗号隔开)
  23858. in: query
  23859. name: roleid
  23860. type: string
  23861. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23862. in: query
  23863. name: menutype
  23864. type: integer
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. items:
  23872. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23873. type: array
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23881. tags:
  23882. - 企业风险管理(app)
  23883. /Ermcp/QueryAccMgrTaAccountInfo:
  23884. get:
  23885. parameters:
  23886. - description: 用户ID
  23887. in: query
  23888. name: userid
  23889. required: true
  23890. type: integer
  23891. - description: 账号id
  23892. in: query
  23893. name: accountid
  23894. type: integer
  23895. produces:
  23896. - application/json
  23897. responses:
  23898. "200":
  23899. description: OK
  23900. schema:
  23901. items:
  23902. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23903. type: array
  23904. "500":
  23905. description: Internal Server Error
  23906. schema:
  23907. $ref: '#/definitions/app.Response'
  23908. security:
  23909. - ApiKeyAuth: []
  23910. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23911. tags:
  23912. - 企业风险管理(app)
  23913. /Ermcp/QueryAccMgrTaaccount:
  23914. get:
  23915. parameters:
  23916. - description: 用户ID
  23917. in: query
  23918. name: userid
  23919. required: true
  23920. type: integer
  23921. produces:
  23922. - application/json
  23923. responses:
  23924. "200":
  23925. description: OK
  23926. schema:
  23927. items:
  23928. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23929. type: array
  23930. "500":
  23931. description: Internal Server Error
  23932. schema:
  23933. $ref: '#/definitions/app.Response'
  23934. security:
  23935. - ApiKeyAuth: []
  23936. summary: 查询账户管理期货账号(账户管理/期货账号)
  23937. tags:
  23938. - 企业风险管理(app)
  23939. /Ermcp/QueryAvaildGoodsGroup:
  23940. get:
  23941. parameters:
  23942. - description: 所属机构ID
  23943. in: query
  23944. name: userid
  23945. required: true
  23946. type: integer
  23947. produces:
  23948. - application/json
  23949. responses:
  23950. "200":
  23951. description: OK
  23952. schema:
  23953. items:
  23954. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23955. type: array
  23956. "500":
  23957. description: Internal Server Error
  23958. schema:
  23959. $ref: '#/definitions/app.Response'
  23960. security:
  23961. - ApiKeyAuth: []
  23962. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23963. tags:
  23964. - 企业风险管理(app)
  23965. /Ermcp/QueryBusinessDj:
  23966. get:
  23967. parameters:
  23968. - description: 用户ID
  23969. in: query
  23970. name: UserId
  23971. required: true
  23972. type: integer
  23973. - description: 用户类型 2-机构 7-企业成员
  23974. in: query
  23975. name: usertype
  23976. type: integer
  23977. - description: 现货合同ID, 不填则查所有
  23978. in: query
  23979. name: relatedid
  23980. type: string
  23981. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23982. in: query
  23983. name: applystatus
  23984. type: string
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. items:
  23992. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23993. type: array
  23994. "500":
  23995. description: Internal Server Error
  23996. schema:
  23997. $ref: '#/definitions/app.Response'
  23998. security:
  23999. - ApiKeyAuth: []
  24000. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24001. tags:
  24002. - 企业风险管理(app)
  24003. /Ermcp/QueryBusinessFp:
  24004. get:
  24005. parameters:
  24006. - description: 用户ID
  24007. in: query
  24008. name: UserId
  24009. required: true
  24010. type: integer
  24011. - description: 用户类型 2-机构 7-企业成员
  24012. in: query
  24013. name: usertype
  24014. type: integer
  24015. - description: 现货合同ID, 不填则查所有
  24016. in: query
  24017. name: relatedid
  24018. type: string
  24019. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24020. in: query
  24021. name: applystatus
  24022. type: string
  24023. produces:
  24024. - application/json
  24025. responses:
  24026. "200":
  24027. description: OK
  24028. schema:
  24029. items:
  24030. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24031. type: array
  24032. "500":
  24033. description: Internal Server Error
  24034. schema:
  24035. $ref: '#/definitions/app.Response'
  24036. security:
  24037. - ApiKeyAuth: []
  24038. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24039. tags:
  24040. - 企业风险管理(app)
  24041. /Ermcp/QueryBusinessJs:
  24042. get:
  24043. parameters:
  24044. - description: 用户ID
  24045. in: query
  24046. name: UserId
  24047. required: true
  24048. type: integer
  24049. - description: 用户类型 2-机构 7-企业成员
  24050. in: query
  24051. name: usertype
  24052. type: integer
  24053. - description: 现货合同ID, 不填则查所有
  24054. in: query
  24055. name: relatedid
  24056. type: string
  24057. - description: 操作申请id
  24058. in: query
  24059. name: operateapplyid
  24060. type: string
  24061. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24062. in: query
  24063. name: applystatus
  24064. type: string
  24065. produces:
  24066. - application/json
  24067. responses:
  24068. "200":
  24069. description: OK
  24070. schema:
  24071. items:
  24072. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24073. type: array
  24074. "500":
  24075. description: Internal Server Error
  24076. schema:
  24077. $ref: '#/definitions/app.Response'
  24078. security:
  24079. - ApiKeyAuth: []
  24080. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24081. tags:
  24082. - 企业风险管理(app)
  24083. /Ermcp/QueryBusinessJsEx:
  24084. get:
  24085. parameters:
  24086. - description: 用户ID
  24087. in: query
  24088. name: UserId
  24089. required: true
  24090. type: integer
  24091. - description: 用户类型 2-机构 7-企业成员
  24092. in: query
  24093. name: usertype
  24094. type: integer
  24095. - description: 现货合同ID, 不填则查所有
  24096. in: query
  24097. name: relatedid
  24098. type: string
  24099. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24100. in: query
  24101. name: applystatus
  24102. type: string
  24103. produces:
  24104. - application/json
  24105. responses:
  24106. "200":
  24107. description: OK
  24108. schema:
  24109. items:
  24110. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24111. type: array
  24112. "500":
  24113. description: Internal Server Error
  24114. schema:
  24115. $ref: '#/definitions/app.Response'
  24116. security:
  24117. - ApiKeyAuth: []
  24118. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24119. tags:
  24120. - 企业风险管理(app)
  24121. /Ermcp/QueryBusinessKx:
  24122. get:
  24123. parameters:
  24124. - description: 用户ID
  24125. in: query
  24126. name: UserId
  24127. required: true
  24128. type: integer
  24129. - description: 用户类型 2-机构 7-企业成员
  24130. in: query
  24131. name: usertype
  24132. type: integer
  24133. - description: 现货合同ID, 不填则查所有
  24134. in: query
  24135. name: relatedid
  24136. type: string
  24137. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24138. in: query
  24139. name: applystatus
  24140. type: string
  24141. produces:
  24142. - application/json
  24143. responses:
  24144. "200":
  24145. description: OK
  24146. schema:
  24147. items:
  24148. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24149. type: array
  24150. "500":
  24151. description: Internal Server Error
  24152. schema:
  24153. $ref: '#/definitions/app.Response'
  24154. security:
  24155. - ApiKeyAuth: []
  24156. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24157. tags:
  24158. - 企业风险管理(app)
  24159. /Ermcp/QueryChangeLog:
  24160. get:
  24161. parameters:
  24162. - description: 合同ID
  24163. in: query
  24164. name: RelatedId
  24165. required: true
  24166. type: string
  24167. produces:
  24168. - application/json
  24169. responses:
  24170. "200":
  24171. description: OK
  24172. schema:
  24173. items:
  24174. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24175. type: array
  24176. "500":
  24177. description: Internal Server Error
  24178. schema:
  24179. $ref: '#/definitions/app.Response'
  24180. security:
  24181. - ApiKeyAuth: []
  24182. summary: 查询变更记录
  24183. tags:
  24184. - 企业风险管理(app)
  24185. /Ermcp/QueryErmcpHisOrderDetails:
  24186. get:
  24187. parameters:
  24188. - description: 资金账户ID
  24189. in: query
  24190. name: accountID
  24191. required: true
  24192. type: integer
  24193. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24194. in: query
  24195. name: startDate
  24196. type: string
  24197. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24198. in: query
  24199. name: endDate
  24200. type: string
  24201. produces:
  24202. - application/json
  24203. responses:
  24204. "200":
  24205. description: OK
  24206. schema:
  24207. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24208. "500":
  24209. description: Internal Server Error
  24210. schema:
  24211. $ref: '#/definitions/app.Response'
  24212. security:
  24213. - ApiKeyAuth: []
  24214. summary: 获取企业风管期货历史委托单信息
  24215. tags:
  24216. - 企业风险管理(app)
  24217. /Ermcp/QueryErmcpHisTradeDetails:
  24218. get:
  24219. parameters:
  24220. - description: 资金账户ID
  24221. in: query
  24222. name: accountID
  24223. required: true
  24224. type: integer
  24225. - description: 商品ID
  24226. in: query
  24227. name: goodsID
  24228. type: integer
  24229. - description: 买卖方向,0:买 1:卖
  24230. in: query
  24231. name: buyOrSell
  24232. type: integer
  24233. - description: 关联委托单号
  24234. in: query
  24235. name: orderID
  24236. type: integer
  24237. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24238. in: query
  24239. name: startDate
  24240. type: string
  24241. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24242. in: query
  24243. name: endDate
  24244. type: string
  24245. produces:
  24246. - application/json
  24247. responses:
  24248. "200":
  24249. description: OK
  24250. schema:
  24251. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24252. "500":
  24253. description: Internal Server Error
  24254. schema:
  24255. $ref: '#/definitions/app.Response'
  24256. security:
  24257. - ApiKeyAuth: []
  24258. summary: 获取企业风管期货历史成交单信息
  24259. tags:
  24260. - 企业风险管理(app)
  24261. /Ermcp/QueryErmcpInnerHolderDetails:
  24262. get:
  24263. parameters:
  24264. - description: 资金账户ID
  24265. in: query
  24266. name: accountID
  24267. required: true
  24268. type: integer
  24269. - description: 商品ID
  24270. in: query
  24271. name: goodsID
  24272. type: integer
  24273. - description: 买卖方向,0:买 1:卖
  24274. in: query
  24275. name: buyOrSell
  24276. type: integer
  24277. produces:
  24278. - application/json
  24279. responses:
  24280. "200":
  24281. description: OK
  24282. schema:
  24283. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24284. "500":
  24285. description: Internal Server Error
  24286. schema:
  24287. $ref: '#/definitions/app.Response'
  24288. security:
  24289. - ApiKeyAuth: []
  24290. summary: 获取企业风管期货内部持仓单信息
  24291. tags:
  24292. - 企业风险管理(app)
  24293. /Ermcp/QueryErmcpOrderDetails:
  24294. get:
  24295. parameters:
  24296. - description: 资金账户ID
  24297. in: query
  24298. name: accountID
  24299. required: true
  24300. type: integer
  24301. produces:
  24302. - application/json
  24303. responses:
  24304. "200":
  24305. description: OK
  24306. schema:
  24307. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24308. "500":
  24309. description: Internal Server Error
  24310. schema:
  24311. $ref: '#/definitions/app.Response'
  24312. security:
  24313. - ApiKeyAuth: []
  24314. summary: 获取企业风管期货委托单信息
  24315. tags:
  24316. - 企业风险管理(app)
  24317. /Ermcp/QueryErmcpTradeDetails:
  24318. get:
  24319. parameters:
  24320. - description: 资金账户ID
  24321. in: query
  24322. name: accountID
  24323. required: true
  24324. type: integer
  24325. - description: 商品ID
  24326. in: query
  24327. name: goodsID
  24328. type: integer
  24329. - description: 买卖方向,0:买 1:卖
  24330. in: query
  24331. name: buyOrSell
  24332. type: integer
  24333. - description: 关联委托单号
  24334. in: query
  24335. name: orderID
  24336. type: integer
  24337. produces:
  24338. - application/json
  24339. responses:
  24340. "200":
  24341. description: OK
  24342. schema:
  24343. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24344. "500":
  24345. description: Internal Server Error
  24346. schema:
  24347. $ref: '#/definitions/app.Response'
  24348. security:
  24349. - ApiKeyAuth: []
  24350. summary: 获取企业风管期货成交单信息
  24351. tags:
  24352. - 企业风险管理(app)
  24353. /Ermcp/QueryErmcpTradePosition:
  24354. get:
  24355. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24356. parameters:
  24357. - description: 资金账户ID
  24358. in: query
  24359. name: accountID
  24360. required: true
  24361. type: integer
  24362. - description: 所属市场ID
  24363. in: query
  24364. name: marketID
  24365. type: integer
  24366. produces:
  24367. - application/json
  24368. responses:
  24369. "200":
  24370. description: OK
  24371. schema:
  24372. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24373. "500":
  24374. description: Internal Server Error
  24375. schema:
  24376. $ref: '#/definitions/app.Response'
  24377. security:
  24378. - ApiKeyAuth: []
  24379. summary: 获取企业风管期货持仓头寸信息
  24380. tags:
  24381. - 企业风险管理(app)
  24382. /Ermcp/QueryExposureDetail:
  24383. get:
  24384. parameters:
  24385. - description: 所属机构ID
  24386. in: query
  24387. name: areaUserId
  24388. required: true
  24389. type: integer
  24390. - description: 套保商品
  24391. in: query
  24392. name: middleGoodsId
  24393. required: true
  24394. type: integer
  24395. produces:
  24396. - application/json
  24397. responses:
  24398. "200":
  24399. description: OK
  24400. schema:
  24401. items:
  24402. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24403. type: array
  24404. "500":
  24405. description: Internal Server Error
  24406. schema:
  24407. $ref: '#/definitions/app.Response'
  24408. security:
  24409. - ApiKeyAuth: []
  24410. summary: 查询敞口现货明细
  24411. tags:
  24412. - 企业风险管理(app)
  24413. /Ermcp/QueryExposureGoods:
  24414. get:
  24415. parameters:
  24416. - description: 套保商品id
  24417. in: query
  24418. name: middlegoodsid
  24419. required: true
  24420. type: integer
  24421. produces:
  24422. - application/json
  24423. responses:
  24424. "200":
  24425. description: OK
  24426. schema:
  24427. items:
  24428. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24429. type: array
  24430. "500":
  24431. description: Internal Server Error
  24432. schema:
  24433. $ref: '#/definitions/app.Response'
  24434. security:
  24435. - ApiKeyAuth: []
  24436. summary: 查询敞口主力合约
  24437. tags:
  24438. - 企业风险管理(app)
  24439. /Ermcp/QueryExposureHedgePosition:
  24440. get:
  24441. parameters:
  24442. - description: 用户id
  24443. in: query
  24444. name: userid
  24445. required: true
  24446. type: integer
  24447. produces:
  24448. - application/json
  24449. responses:
  24450. "200":
  24451. description: OK
  24452. schema:
  24453. items:
  24454. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24455. type: array
  24456. "500":
  24457. description: Internal Server Error
  24458. schema:
  24459. $ref: '#/definitions/app.Response'
  24460. security:
  24461. - ApiKeyAuth: []
  24462. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24463. tags:
  24464. - 企业风险管理(app)
  24465. /Ermcp/QueryExposureHedgePositionDetail:
  24466. get:
  24467. parameters:
  24468. - description: 所属机构ID
  24469. in: query
  24470. name: userid
  24471. required: true
  24472. type: integer
  24473. - description: 商品id
  24474. in: query
  24475. name: goodsId
  24476. required: true
  24477. type: integer
  24478. produces:
  24479. - application/json
  24480. responses:
  24481. "200":
  24482. description: OK
  24483. schema:
  24484. items:
  24485. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24486. type: array
  24487. "500":
  24488. description: Internal Server Error
  24489. schema:
  24490. $ref: '#/definitions/app.Response'
  24491. security:
  24492. - ApiKeyAuth: []
  24493. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24494. tags:
  24495. - 企业风险管理(app)
  24496. /Ermcp/QueryExposureSpot:
  24497. get:
  24498. parameters:
  24499. - description: 所属机构ID
  24500. in: query
  24501. name: areaUserId
  24502. required: true
  24503. type: integer
  24504. produces:
  24505. - application/json
  24506. responses:
  24507. "200":
  24508. description: OK
  24509. schema:
  24510. items:
  24511. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24512. type: array
  24513. "500":
  24514. description: Internal Server Error
  24515. schema:
  24516. $ref: '#/definitions/app.Response'
  24517. security:
  24518. - ApiKeyAuth: []
  24519. summary: 查询敞口现货头寸(敞口/现货头寸)
  24520. tags:
  24521. - 企业风险管理(app)
  24522. /Ermcp/QueryExposureSpotDetail:
  24523. get:
  24524. parameters:
  24525. - description: 所属机构ID
  24526. in: query
  24527. name: areaUserId
  24528. required: true
  24529. type: integer
  24530. - description: 现货品种ID
  24531. in: query
  24532. name: wrstandardId
  24533. required: true
  24534. type: integer
  24535. produces:
  24536. - application/json
  24537. responses:
  24538. "200":
  24539. description: OK
  24540. schema:
  24541. items:
  24542. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24543. type: array
  24544. "500":
  24545. description: Internal Server Error
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. security:
  24549. - ApiKeyAuth: []
  24550. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24551. tags:
  24552. - 企业风险管理(app)
  24553. /Ermcp/QueryFuturesCompany:
  24554. get:
  24555. produces:
  24556. - application/json
  24557. responses:
  24558. "200":
  24559. description: OK
  24560. schema:
  24561. items:
  24562. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24563. type: array
  24564. "500":
  24565. description: Internal Server Error
  24566. schema:
  24567. $ref: '#/definitions/app.Response'
  24568. security:
  24569. - ApiKeyAuth: []
  24570. summary: 查询期货公司
  24571. tags:
  24572. - 企业风险管理(app)
  24573. /Ermcp/QueryGGConvertConfig:
  24574. get:
  24575. parameters:
  24576. - description: 品种id(不填则查所有)
  24577. in: query
  24578. name: goodsgroupid
  24579. type: integer
  24580. produces:
  24581. - application/json
  24582. responses:
  24583. "200":
  24584. description: OK
  24585. schema:
  24586. items:
  24587. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24588. type: array
  24589. "500":
  24590. description: Internal Server Error
  24591. schema:
  24592. $ref: '#/definitions/app.Response'
  24593. security:
  24594. - ApiKeyAuth: []
  24595. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24596. tags:
  24597. - 企业风险管理(app)
  24598. /Ermcp/QueryGoodsBrand:
  24599. get:
  24600. parameters:
  24601. - description: 用户ID
  24602. in: query
  24603. name: userid
  24604. required: true
  24605. type: integer
  24606. - description: 现货商品ID
  24607. in: query
  24608. name: wrstandardid
  24609. type: integer
  24610. produces:
  24611. - application/json
  24612. responses:
  24613. "200":
  24614. description: OK
  24615. schema:
  24616. items:
  24617. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24618. type: array
  24619. "500":
  24620. description: Internal Server Error
  24621. schema:
  24622. $ref: '#/definitions/app.Response'
  24623. security:
  24624. - ApiKeyAuth: []
  24625. summary: 查询商品品牌
  24626. tags:
  24627. - 企业风险管理(app)
  24628. /Ermcp/QueryGoodsModel:
  24629. get:
  24630. parameters:
  24631. - description: 用户ID
  24632. in: query
  24633. name: userid
  24634. required: true
  24635. type: integer
  24636. produces:
  24637. - application/json
  24638. responses:
  24639. "200":
  24640. description: OK
  24641. schema:
  24642. items:
  24643. $ref: '#/definitions/models.ErmcpGoodsModel'
  24644. type: array
  24645. "500":
  24646. description: Internal Server Error
  24647. schema:
  24648. $ref: '#/definitions/app.Response'
  24649. security:
  24650. - ApiKeyAuth: []
  24651. summary: 查询商品型号
  24652. tags:
  24653. - 企业风险管理(app)
  24654. /Ermcp/QueryHisExposure:
  24655. get:
  24656. parameters:
  24657. - description: 用户id
  24658. in: query
  24659. name: userid
  24660. required: true
  24661. type: integer
  24662. - description: 每个品种记录数
  24663. in: query
  24664. name: lastNum
  24665. required: true
  24666. type: integer
  24667. produces:
  24668. - application/json
  24669. responses:
  24670. "200":
  24671. description: OK
  24672. schema:
  24673. items:
  24674. $ref: '#/definitions/ermcp.HisExposureRsp'
  24675. type: array
  24676. "500":
  24677. description: Internal Server Error
  24678. schema:
  24679. $ref: '#/definitions/app.Response'
  24680. security:
  24681. - ApiKeyAuth: []
  24682. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24683. tags:
  24684. - 企业风险管理(app)
  24685. /Ermcp/QueryMiddleGoods:
  24686. get:
  24687. parameters:
  24688. - description: 所属机构ID
  24689. in: query
  24690. name: userid
  24691. required: true
  24692. type: integer
  24693. - description: 状态 0-停用 1-正常
  24694. in: query
  24695. name: status
  24696. required: true
  24697. type: integer
  24698. produces:
  24699. - application/json
  24700. responses:
  24701. "200":
  24702. description: OK
  24703. schema:
  24704. items:
  24705. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24706. type: array
  24707. "500":
  24708. description: Internal Server Error
  24709. schema:
  24710. $ref: '#/definitions/app.Response'
  24711. security:
  24712. - ApiKeyAuth: []
  24713. summary: 查询套保品种(菜单:套保品种)
  24714. tags:
  24715. - 企业风险管理(app)
  24716. /Ermcp/QueryMiddleGoodsChangeLog:
  24717. get:
  24718. parameters:
  24719. - description: 所属机构ID
  24720. in: query
  24721. name: userid
  24722. required: true
  24723. type: integer
  24724. - description: 套保品种id
  24725. in: query
  24726. name: middlegoodsid
  24727. required: true
  24728. type: integer
  24729. produces:
  24730. - application/json
  24731. responses:
  24732. "200":
  24733. description: OK
  24734. schema:
  24735. items:
  24736. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24737. type: array
  24738. "500":
  24739. description: Internal Server Error
  24740. schema:
  24741. $ref: '#/definitions/app.Response'
  24742. security:
  24743. - ApiKeyAuth: []
  24744. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24745. tags:
  24746. - 企业风险管理(app)
  24747. /Ermcp/QueryMiddleGoodsDetail:
  24748. get:
  24749. parameters:
  24750. - description: 所属机构ID
  24751. in: query
  24752. name: userid
  24753. required: true
  24754. type: integer
  24755. - description: 套保品种id
  24756. in: query
  24757. name: middlegoodsid
  24758. type: integer
  24759. produces:
  24760. - application/json
  24761. responses:
  24762. "200":
  24763. description: OK
  24764. schema:
  24765. items:
  24766. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24767. type: array
  24768. "500":
  24769. description: Internal Server Error
  24770. schema:
  24771. $ref: '#/definitions/app.Response'
  24772. security:
  24773. - ApiKeyAuth: []
  24774. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24775. tags:
  24776. - 企业风险管理(app)
  24777. /Ermcp/QueryPendingAuditInfo:
  24778. get:
  24779. parameters:
  24780. - description: 用户ID
  24781. in: query
  24782. name: UserId
  24783. required: true
  24784. type: integer
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24801. tags:
  24802. - 企业风险管理(app)
  24803. /Ermcp/QueryRealtimeExposure:
  24804. get:
  24805. parameters:
  24806. - description: 所属机构ID
  24807. in: query
  24808. name: userid
  24809. required: true
  24810. type: integer
  24811. produces:
  24812. - application/json
  24813. responses:
  24814. "200":
  24815. description: OK
  24816. schema:
  24817. items:
  24818. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24819. type: array
  24820. "500":
  24821. description: Internal Server Error
  24822. schema:
  24823. $ref: '#/definitions/app.Response'
  24824. security:
  24825. - ApiKeyAuth: []
  24826. summary: 查询实时敞口
  24827. tags:
  24828. - 企业风险管理(app)
  24829. /Ermcp/QueryRealtimeExposurePosition:
  24830. get:
  24831. parameters:
  24832. - description: 用户id
  24833. in: query
  24834. name: userid
  24835. required: true
  24836. type: integer
  24837. - description: 套保商品ID
  24838. in: query
  24839. name: middleGoodsId
  24840. required: true
  24841. type: integer
  24842. produces:
  24843. - application/json
  24844. responses:
  24845. "200":
  24846. description: OK
  24847. schema:
  24848. items:
  24849. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24850. type: array
  24851. "500":
  24852. description: Internal Server Error
  24853. schema:
  24854. $ref: '#/definitions/app.Response'
  24855. security:
  24856. - ApiKeyAuth: []
  24857. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24858. tags:
  24859. - 企业风险管理(app)
  24860. /Ermcp/QueryRoleMenu:
  24861. get:
  24862. parameters:
  24863. - description: 登录ID
  24864. in: query
  24865. name: loginid
  24866. required: true
  24867. type: integer
  24868. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24869. in: query
  24870. name: menutype
  24871. type: integer
  24872. produces:
  24873. - application/json
  24874. responses:
  24875. "200":
  24876. description: OK
  24877. schema:
  24878. items:
  24879. $ref: '#/definitions/models.RoleMenu'
  24880. type: array
  24881. "500":
  24882. description: Internal Server Error
  24883. schema:
  24884. $ref: '#/definitions/app.Response'
  24885. security:
  24886. - ApiKeyAuth: []
  24887. summary: 查询角色菜单和权限
  24888. tags:
  24889. - 企业风险管理(app)
  24890. /Ermcp/QueryTradeConfigTMP:
  24891. get:
  24892. parameters:
  24893. - description: 所属机构id
  24894. in: query
  24895. name: areauserid
  24896. type: integer
  24897. produces:
  24898. - application/json
  24899. responses:
  24900. "200":
  24901. description: OK
  24902. schema:
  24903. items:
  24904. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24905. type: array
  24906. "500":
  24907. description: Internal Server Error
  24908. schema:
  24909. $ref: '#/definitions/app.Response'
  24910. security:
  24911. - ApiKeyAuth: []
  24912. summary: 查询交易模板配置
  24913. tags:
  24914. - 企业风险管理(app)
  24915. /Ermcp/QueryUserInfo:
  24916. get:
  24917. parameters:
  24918. - description: 所属机构用户ID
  24919. in: query
  24920. name: MemberUserID
  24921. required: true
  24922. type: integer
  24923. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24924. in: query
  24925. name: queryType
  24926. required: true
  24927. type: integer
  24928. produces:
  24929. - application/json
  24930. responses:
  24931. "200":
  24932. description: OK
  24933. schema:
  24934. items:
  24935. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24936. type: array
  24937. "500":
  24938. description: Internal Server Error
  24939. schema:
  24940. $ref: '#/definitions/app.Response'
  24941. security:
  24942. - ApiKeyAuth: []
  24943. summary: 查询客户资料
  24944. tags:
  24945. - 企业风险管理(app)
  24946. /Ermcp/QueryWarehouseInfo:
  24947. get:
  24948. parameters:
  24949. - description: 用户ID
  24950. in: query
  24951. name: userid
  24952. required: true
  24953. type: integer
  24954. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24955. in: query
  24956. name: status
  24957. type: string
  24958. produces:
  24959. - application/json
  24960. responses:
  24961. "200":
  24962. description: OK
  24963. schema:
  24964. items:
  24965. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24966. type: array
  24967. "500":
  24968. description: Internal Server Error
  24969. schema:
  24970. $ref: '#/definitions/app.Response'
  24971. security:
  24972. - ApiKeyAuth: []
  24973. summary: 查询仓库信息
  24974. tags:
  24975. - 企业风险管理(app)
  24976. /Ermcp3/QryAreaExpourseContractDetail:
  24977. get:
  24978. parameters:
  24979. - description: 用户ID
  24980. in: query
  24981. name: userid
  24982. required: true
  24983. type: integer
  24984. - description: 套保商品id
  24985. in: query
  24986. name: middlegoodsid
  24987. required: true
  24988. type: integer
  24989. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24990. in: query
  24991. name: cycletype
  24992. required: true
  24993. type: integer
  24994. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24995. 全(0)【原值】
  24996. in: query
  24997. name: cycletime
  24998. required: true
  24999. type: string
  25000. produces:
  25001. - application/json
  25002. responses:
  25003. "200":
  25004. description: OK
  25005. schema:
  25006. items:
  25007. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25008. type: array
  25009. "500":
  25010. description: Internal Server Error
  25011. schema:
  25012. $ref: '#/definitions/app.Response'
  25013. security:
  25014. - ApiKeyAuth: []
  25015. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25016. tags:
  25017. - 企业风险管理v3(app)
  25018. /Ermcp3/QryAreaExpourseFutuDetail:
  25019. get:
  25020. parameters:
  25021. - description: 用户ID
  25022. in: query
  25023. name: userid
  25024. required: true
  25025. type: integer
  25026. - description: 套保商品id
  25027. in: query
  25028. name: middlegoodsid
  25029. required: true
  25030. type: integer
  25031. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25032. in: query
  25033. name: cycletype
  25034. required: true
  25035. type: integer
  25036. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25037. 全(0)【原值】
  25038. in: query
  25039. name: cycletime
  25040. required: true
  25041. type: string
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. items:
  25049. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25050. type: array
  25051. "500":
  25052. description: Internal Server Error
  25053. schema:
  25054. $ref: '#/definitions/app.Response'
  25055. security:
  25056. - ApiKeyAuth: []
  25057. summary: 查询敞口期货明细(敞口报表/期货明细)
  25058. tags:
  25059. - 企业风险管理v3(app)
  25060. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25061. get:
  25062. parameters:
  25063. - description: 用户ID
  25064. in: query
  25065. name: userid
  25066. required: true
  25067. type: integer
  25068. - description: 套保商品id
  25069. in: query
  25070. name: middlegoodsid
  25071. required: true
  25072. type: integer
  25073. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25074. in: query
  25075. name: cycletype
  25076. required: true
  25077. type: integer
  25078. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25079. 全(0)【原值】
  25080. in: query
  25081. name: cycletime
  25082. required: true
  25083. type: string
  25084. produces:
  25085. - application/json
  25086. responses:
  25087. "200":
  25088. description: OK
  25089. schema:
  25090. items:
  25091. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25092. type: array
  25093. "500":
  25094. description: Internal Server Error
  25095. schema:
  25096. $ref: '#/definitions/app.Response'
  25097. security:
  25098. - ApiKeyAuth: []
  25099. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25100. tags:
  25101. - 企业风险管理v3(app)
  25102. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25103. get:
  25104. parameters:
  25105. - description: 用户ID
  25106. in: query
  25107. name: userid
  25108. required: true
  25109. type: integer
  25110. - description: 套保商品id
  25111. in: query
  25112. name: middlegoodsid
  25113. required: true
  25114. type: integer
  25115. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25116. in: query
  25117. name: cycletype
  25118. required: true
  25119. type: integer
  25120. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25121. 全(0)【原值】
  25122. in: query
  25123. name: cycletime
  25124. required: true
  25125. type: string
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25142. tags:
  25143. - 企业风险管理v3(app)
  25144. /Ermcp3/QryAreaExpourseReport:
  25145. get:
  25146. parameters:
  25147. - description: 用户ID
  25148. in: query
  25149. name: userid
  25150. required: true
  25151. type: integer
  25152. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25153. in: query
  25154. name: querytype
  25155. required: true
  25156. type: integer
  25157. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25158. in: query
  25159. name: cycletype
  25160. required: true
  25161. type: integer
  25162. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25163. 全(0)【原值】
  25164. in: query
  25165. name: cycletime
  25166. required: true
  25167. type: string
  25168. produces:
  25169. - application/json
  25170. responses:
  25171. "200":
  25172. description: OK
  25173. schema:
  25174. items:
  25175. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25176. type: array
  25177. "500":
  25178. description: Internal Server Error
  25179. schema:
  25180. $ref: '#/definitions/app.Response'
  25181. security:
  25182. - ApiKeyAuth: []
  25183. summary: 查询敞口报表
  25184. tags:
  25185. - 企业风险管理v3(app)
  25186. /Ermcp3/QryAreaSpotplReport:
  25187. get:
  25188. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25189. parameters:
  25190. - description: 用户ID
  25191. in: query
  25192. name: userid
  25193. required: true
  25194. type: integer
  25195. - description: 查询类型 1-报表 2-报表明细
  25196. in: query
  25197. name: querytype
  25198. required: true
  25199. type: integer
  25200. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25201. in: query
  25202. name: cycletype
  25203. required: true
  25204. type: integer
  25205. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25206. 全(0)【原值】
  25207. in: query
  25208. name: cycletime
  25209. required: true
  25210. type: string
  25211. - description: 现货品种id(明细必填)
  25212. in: query
  25213. name: deliverygoodsid
  25214. type: integer
  25215. - description: 币种id(明细必填)
  25216. in: query
  25217. name: currencyid
  25218. type: integer
  25219. - description: 日/周/月报表汇总维度 1:品种+品类
  25220. in: query
  25221. name: sumflag
  25222. type: integer
  25223. produces:
  25224. - application/json
  25225. responses:
  25226. "200":
  25227. description: OK
  25228. schema:
  25229. items:
  25230. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25231. type: array
  25232. "500":
  25233. description: Internal Server Error
  25234. schema:
  25235. $ref: '#/definitions/app.Response'
  25236. security:
  25237. - ApiKeyAuth: []
  25238. summary: 查询现货报表
  25239. tags:
  25240. - 企业风险管理v3(app)
  25241. /Ermcp3/QryAreaStockReport:
  25242. get:
  25243. parameters:
  25244. - description: 用户ID
  25245. in: query
  25246. name: userid
  25247. required: true
  25248. type: integer
  25249. - description: 查询类型 1-报表 2-报表明细
  25250. in: query
  25251. name: querytype
  25252. required: true
  25253. type: integer
  25254. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25255. in: query
  25256. name: cycletype
  25257. required: true
  25258. type: integer
  25259. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25260. 全(0)【原值】
  25261. in: query
  25262. name: cycletime
  25263. required: true
  25264. type: string
  25265. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25266. in: query
  25267. name: sumfields
  25268. type: string
  25269. - description: 品种ID
  25270. in: query
  25271. name: deliverygoodsid
  25272. type: integer
  25273. - description: 品类ID
  25274. in: query
  25275. name: wrstandardid
  25276. type: integer
  25277. - description: 品牌ID
  25278. in: query
  25279. name: spotgoodsbrandid
  25280. type: integer
  25281. - description: 仓库ID
  25282. in: query
  25283. name: warehouseinfoid
  25284. type: integer
  25285. produces:
  25286. - application/json
  25287. responses:
  25288. "200":
  25289. description: OK
  25290. schema:
  25291. items:
  25292. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25293. type: array
  25294. "500":
  25295. description: Internal Server Error
  25296. schema:
  25297. $ref: '#/definitions/app.Response'
  25298. security:
  25299. - ApiKeyAuth: []
  25300. summary: 查询库存报表
  25301. tags:
  25302. - 企业风险管理v3(app)
  25303. /Ermcp3/QryAreaSumPL:
  25304. get:
  25305. parameters:
  25306. - description: 用户ID
  25307. in: query
  25308. name: userid
  25309. required: true
  25310. type: integer
  25311. - description: 查询类型 1-报表 2-报表明细
  25312. in: query
  25313. name: querytype
  25314. required: true
  25315. type: integer
  25316. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25317. in: query
  25318. name: cycletype
  25319. required: true
  25320. type: integer
  25321. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25322. 全(0)【原值】
  25323. in: query
  25324. name: cycletime
  25325. required: true
  25326. type: string
  25327. - description: 币种id(明细必填)
  25328. in: query
  25329. name: currencyid
  25330. type: integer
  25331. - description: 套保品种ID, 查询类型为2时起效
  25332. in: query
  25333. name: middlegoodsid
  25334. type: integer
  25335. produces:
  25336. - application/json
  25337. responses:
  25338. "200":
  25339. description: OK
  25340. schema:
  25341. items:
  25342. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25343. type: array
  25344. "500":
  25345. description: Internal Server Error
  25346. schema:
  25347. $ref: '#/definitions/app.Response'
  25348. security:
  25349. - ApiKeyAuth: []
  25350. summary: 查询汇总损益表
  25351. tags:
  25352. - 企业风险管理v3(app)
  25353. /Ermcp3/QryFinanceReport:
  25354. get:
  25355. parameters:
  25356. - description: 用户ID
  25357. in: query
  25358. name: userid
  25359. required: true
  25360. type: integer
  25361. - description: 查询类型 1-报表 2-报表明细
  25362. in: query
  25363. name: querytype
  25364. required: true
  25365. type: integer
  25366. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25367. in: query
  25368. name: cycletype
  25369. required: true
  25370. type: integer
  25371. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25372. 全(0)【原值】
  25373. in: query
  25374. name: cycletime
  25375. required: true
  25376. type: string
  25377. - description: 币种id(报表明细必填)
  25378. in: query
  25379. name: currencyid
  25380. type: integer
  25381. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25382. in: query
  25383. name: sumfields
  25384. type: string
  25385. produces:
  25386. - application/json
  25387. responses:
  25388. "200":
  25389. description: OK
  25390. schema:
  25391. items:
  25392. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25393. type: array
  25394. "500":
  25395. description: Internal Server Error
  25396. schema:
  25397. $ref: '#/definitions/app.Response'
  25398. security:
  25399. - ApiKeyAuth: []
  25400. summary: 查询财务报表
  25401. tags:
  25402. - 企业风险管理v3(app)
  25403. /Ermcp3/QrySCMiddleGoodsReport:
  25404. get:
  25405. parameters:
  25406. - description: 用户ID
  25407. in: query
  25408. name: userid
  25409. required: true
  25410. type: integer
  25411. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25412. in: query
  25413. name: cycletype
  25414. required: true
  25415. type: integer
  25416. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25417. 全(0)【原值】
  25418. in: query
  25419. name: cycletime
  25420. required: true
  25421. type: string
  25422. - description: 合同id
  25423. in: query
  25424. name: spotcontractid
  25425. type: integer
  25426. - description: 套保品种id
  25427. in: query
  25428. name: middlegoodsid
  25429. type: integer
  25430. - description: 现货品种id
  25431. in: query
  25432. name: deliverygoodsid
  25433. type: integer
  25434. - description: 现货商品id
  25435. in: query
  25436. name: wrstandardid
  25437. type: integer
  25438. - description: 合同编号(模糊匹配)
  25439. in: query
  25440. name: contractno
  25441. type: string
  25442. produces:
  25443. - application/json
  25444. responses:
  25445. "200":
  25446. description: OK
  25447. schema:
  25448. items:
  25449. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25450. type: array
  25451. "500":
  25452. description: Internal Server Error
  25453. schema:
  25454. $ref: '#/definitions/app.Response'
  25455. security:
  25456. - ApiKeyAuth: []
  25457. summary: 查询定价报表
  25458. tags:
  25459. - 企业风险管理v3(app)
  25460. /Ermcp3/QryTaFutureDataReport:
  25461. get:
  25462. parameters:
  25463. - description: 用户ID
  25464. in: query
  25465. name: userid
  25466. required: true
  25467. type: integer
  25468. - description: 查询类型 1-报表 2-报表明细
  25469. in: query
  25470. name: querytype
  25471. required: true
  25472. type: integer
  25473. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25474. in: query
  25475. name: cycletype
  25476. required: true
  25477. type: integer
  25478. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25479. 全(0)【原值】
  25480. in: query
  25481. name: cycletime
  25482. required: true
  25483. type: string
  25484. - description: 币种id(查明细必填)
  25485. in: query
  25486. name: currencyid
  25487. type: integer
  25488. - description: 品种id(查明细必填)
  25489. in: query
  25490. name: goodsgroupid
  25491. type: integer
  25492. - description: 商品id(查明细必填)
  25493. in: query
  25494. name: goodsid
  25495. type: integer
  25496. - description: 买卖方向(查明细必填)
  25497. in: query
  25498. name: buyorsell
  25499. type: integer
  25500. produces:
  25501. - application/json
  25502. responses:
  25503. "200":
  25504. description: OK
  25505. schema:
  25506. items:
  25507. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25508. type: array
  25509. "500":
  25510. description: Internal Server Error
  25511. schema:
  25512. $ref: '#/definitions/app.Response'
  25513. security:
  25514. - ApiKeyAuth: []
  25515. summary: 查询期货报表
  25516. tags:
  25517. - 企业风险管理v3(app)
  25518. /Ermcp3/QueryAreaStock:
  25519. get:
  25520. parameters:
  25521. - description: 用户ID
  25522. in: query
  25523. name: userid
  25524. required: true
  25525. type: integer
  25526. produces:
  25527. - application/json
  25528. responses:
  25529. "200":
  25530. description: OK
  25531. schema:
  25532. items:
  25533. $ref: '#/definitions/models.Ermcp3AreaStock'
  25534. type: array
  25535. "500":
  25536. description: Internal Server Error
  25537. schema:
  25538. $ref: '#/definitions/app.Response'
  25539. security:
  25540. - ApiKeyAuth: []
  25541. summary: 查询机构库存(库存管理/当前库存)
  25542. tags:
  25543. - 企业风险管理v3(app)
  25544. /Ermcp3/QueryAreaStockApply:
  25545. get:
  25546. parameters:
  25547. - description: 用户ID
  25548. in: query
  25549. name: userid
  25550. required: true
  25551. type: integer
  25552. - description: 用户类型 2-机构 7-企业成员
  25553. in: query
  25554. name: usertype
  25555. type: integer
  25556. - description: 现货商品ID
  25557. in: query
  25558. name: deliverygoodsid
  25559. type: integer
  25560. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25561. in: query
  25562. name: inouttype
  25563. type: string
  25564. - description: 合同ID
  25565. in: query
  25566. name: spotcontractid
  25567. type: integer
  25568. - description: 品类ID
  25569. in: query
  25570. name: wrstandardid
  25571. type: integer
  25572. - description: 品牌ID
  25573. in: query
  25574. name: spotgoodsbrandid
  25575. type: integer
  25576. - description: 仓库ID
  25577. in: query
  25578. name: warehouseinfoid
  25579. type: integer
  25580. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25581. in: query
  25582. name: applystatus
  25583. type: string
  25584. produces:
  25585. - application/json
  25586. responses:
  25587. "200":
  25588. description: OK
  25589. schema:
  25590. items:
  25591. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25592. type: array
  25593. "500":
  25594. description: Internal Server Error
  25595. schema:
  25596. $ref: '#/definitions/app.Response'
  25597. security:
  25598. - ApiKeyAuth: []
  25599. summary: 查询库存申请(出入库记录|库存审核)
  25600. tags:
  25601. - 企业风险管理v3(app)
  25602. /Ermcp3/QueryAreaStockApplySum:
  25603. get:
  25604. parameters:
  25605. - description: 合同ID
  25606. in: query
  25607. name: spotcontractid
  25608. required: true
  25609. type: integer
  25610. produces:
  25611. - application/json
  25612. responses:
  25613. "200":
  25614. description: OK
  25615. schema:
  25616. items:
  25617. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25618. type: array
  25619. "500":
  25620. description: Internal Server Error
  25621. schema:
  25622. $ref: '#/definitions/app.Response'
  25623. security:
  25624. - ApiKeyAuth: []
  25625. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25626. tags:
  25627. - 企业风险管理v3(app)
  25628. /Ermcp3/QueryDGFactoryItem:
  25629. get:
  25630. parameters:
  25631. - description: 用户id
  25632. in: query
  25633. name: userid
  25634. type: integer
  25635. - description: 用户类型 2-机构 7-企业成员
  25636. in: query
  25637. name: usertype
  25638. type: integer
  25639. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25640. in: query
  25641. name: dgfactoryitemid
  25642. type: integer
  25643. - description: 现货品种ID
  25644. in: query
  25645. name: deliverygoodsid
  25646. type: integer
  25647. - description: 要素项类型
  25648. in: query
  25649. name: dgfactoryitemtypeid
  25650. type: integer
  25651. - description: 顺序
  25652. in: query
  25653. name: orderindex
  25654. type: integer
  25655. produces:
  25656. - application/json
  25657. responses:
  25658. "200":
  25659. description: OK
  25660. schema:
  25661. items:
  25662. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25663. type: array
  25664. "500":
  25665. description: Internal Server Error
  25666. schema:
  25667. $ref: '#/definitions/app.Response'
  25668. security:
  25669. - ApiKeyAuth: []
  25670. summary: 查询品种要素定义项
  25671. tags:
  25672. - 企业风险管理v3(app)
  25673. /Ermcp3/QueryDeliveryGoods:
  25674. get:
  25675. parameters:
  25676. - description: 用户id
  25677. in: query
  25678. name: userid
  25679. required: true
  25680. type: integer
  25681. - description: 用户类型 2-机构 7-企业成员
  25682. in: query
  25683. name: usertype
  25684. type: integer
  25685. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25686. in: query
  25687. name: excludecfg
  25688. type: integer
  25689. produces:
  25690. - application/json
  25691. responses:
  25692. "200":
  25693. description: OK
  25694. schema:
  25695. items:
  25696. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25697. type: array
  25698. "500":
  25699. description: Internal Server Error
  25700. schema:
  25701. $ref: '#/definitions/app.Response'
  25702. security:
  25703. - ApiKeyAuth: []
  25704. summary: 查询现货商品
  25705. tags:
  25706. - 企业风险管理v3(app)
  25707. /Ermcp3/QueryDeliveryGoodsDetail:
  25708. get:
  25709. parameters:
  25710. - description: 用户id
  25711. in: query
  25712. name: userid
  25713. required: true
  25714. type: integer
  25715. - description: 用户类型 2-机构 7-企业成员
  25716. in: query
  25717. name: usertype
  25718. type: integer
  25719. - description: 现货商品id
  25720. in: query
  25721. name: deliverygoodsid
  25722. type: integer
  25723. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25724. in: query
  25725. name: filtersubempty
  25726. type: integer
  25727. produces:
  25728. - application/json
  25729. responses:
  25730. "200":
  25731. description: OK
  25732. schema:
  25733. items:
  25734. $ref: '#/definitions/models.XHDeliveryGoods'
  25735. type: array
  25736. "500":
  25737. description: Internal Server Error
  25738. schema:
  25739. $ref: '#/definitions/app.Response'
  25740. security:
  25741. - ApiKeyAuth: []
  25742. summary: 查询现货商品详情
  25743. tags:
  25744. - 企业风险管理v3(app)
  25745. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25746. get:
  25747. parameters:
  25748. - description: 合同id
  25749. in: query
  25750. name: spotcontractid
  25751. required: true
  25752. type: string
  25753. produces:
  25754. - application/json
  25755. responses:
  25756. "200":
  25757. description: OK
  25758. schema:
  25759. items:
  25760. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25761. type: array
  25762. "500":
  25763. description: Internal Server Error
  25764. schema:
  25765. $ref: '#/definitions/app.Response'
  25766. security:
  25767. - ApiKeyAuth: []
  25768. summary: 查询现货合同期现配置信息
  25769. tags:
  25770. - 企业风险管理v3(app)
  25771. /Ermcp3/QueryExposureDetail:
  25772. get:
  25773. parameters:
  25774. - description: 用户id
  25775. in: query
  25776. name: userid
  25777. required: true
  25778. type: integer
  25779. - description: 用户类型 2-机构 7-企业成员
  25780. in: query
  25781. name: usertype
  25782. type: integer
  25783. - description: 套保商品
  25784. in: query
  25785. name: middlegoodsid
  25786. required: true
  25787. type: integer
  25788. produces:
  25789. - application/json
  25790. responses:
  25791. "200":
  25792. description: OK
  25793. schema:
  25794. items:
  25795. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25796. type: array
  25797. "500":
  25798. description: Internal Server Error
  25799. schema:
  25800. $ref: '#/definitions/app.Response'
  25801. security:
  25802. - ApiKeyAuth: []
  25803. summary: 查询敞口现货明细
  25804. tags:
  25805. - 企业风险管理v3(app)
  25806. /Ermcp3/QueryExposureSpot:
  25807. get:
  25808. parameters:
  25809. - description: 用户id
  25810. in: query
  25811. name: userid
  25812. required: true
  25813. type: integer
  25814. - description: 用户类型 2-机构 7-企业成员
  25815. in: query
  25816. name: usertype
  25817. type: integer
  25818. produces:
  25819. - application/json
  25820. responses:
  25821. "200":
  25822. description: OK
  25823. schema:
  25824. items:
  25825. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25826. type: array
  25827. "500":
  25828. description: Internal Server Error
  25829. schema:
  25830. $ref: '#/definitions/app.Response'
  25831. security:
  25832. - ApiKeyAuth: []
  25833. summary: 查询敞口现货头寸(敞口/现货头寸)
  25834. tags:
  25835. - 企业风险管理v3(app)
  25836. /Ermcp3/QueryExposureSpotDetail:
  25837. get:
  25838. parameters:
  25839. - description: 用户id
  25840. in: query
  25841. name: userid
  25842. required: true
  25843. type: integer
  25844. - description: 用户类型 2-机构 7-企业成员
  25845. in: query
  25846. name: usertype
  25847. type: integer
  25848. - description: 现货商品ID
  25849. in: query
  25850. name: wrstandardid
  25851. required: true
  25852. type: integer
  25853. produces:
  25854. - application/json
  25855. responses:
  25856. "200":
  25857. description: OK
  25858. schema:
  25859. items:
  25860. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25861. type: array
  25862. "500":
  25863. description: Internal Server Error
  25864. schema:
  25865. $ref: '#/definitions/app.Response'
  25866. security:
  25867. - ApiKeyAuth: []
  25868. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25869. tags:
  25870. - 企业风险管理v3(app)
  25871. /Ermcp3/QueryGoodsGroup:
  25872. get:
  25873. parameters:
  25874. - description: 用户id
  25875. in: query
  25876. name: userid
  25877. required: true
  25878. type: integer
  25879. - description: 用户类型 2-机构 7-企业成员
  25880. in: query
  25881. name: usertype
  25882. type: integer
  25883. - description: 排除套保品中已关联的商品组 1-排除
  25884. in: query
  25885. name: excludecfg
  25886. type: integer
  25887. produces:
  25888. - application/json
  25889. responses:
  25890. "200":
  25891. description: OK
  25892. schema:
  25893. items:
  25894. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25895. type: array
  25896. "500":
  25897. description: Internal Server Error
  25898. schema:
  25899. $ref: '#/definitions/app.Response'
  25900. security:
  25901. - ApiKeyAuth: []
  25902. summary: 查询期货商品组
  25903. tags:
  25904. - 企业风险管理v3(app)
  25905. /Ermcp3/QueryGoodsWrstandard:
  25906. get:
  25907. parameters:
  25908. - description: 用户id
  25909. in: query
  25910. name: userid
  25911. required: true
  25912. type: integer
  25913. - description: 用户类型 2-机构 7-企业成员
  25914. in: query
  25915. name: usertype
  25916. type: integer
  25917. - description: 现货商品id
  25918. in: query
  25919. name: deliverygoodsid
  25920. type: integer
  25921. produces:
  25922. - application/json
  25923. responses:
  25924. "200":
  25925. description: OK
  25926. schema:
  25927. items:
  25928. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25929. type: array
  25930. "500":
  25931. description: Internal Server Error
  25932. schema:
  25933. $ref: '#/definitions/app.Response'
  25934. security:
  25935. - ApiKeyAuth: []
  25936. summary: 查询商品品类
  25937. tags:
  25938. - 企业风险管理v3(app)
  25939. /Ermcp3/QueryGoodsbrand:
  25940. get:
  25941. parameters:
  25942. - description: 用户id
  25943. in: query
  25944. name: userid
  25945. required: true
  25946. type: integer
  25947. - description: 用户类型 2-机构 7-企业成员
  25948. in: query
  25949. name: usertype
  25950. type: integer
  25951. produces:
  25952. - application/json
  25953. responses:
  25954. "200":
  25955. description: OK
  25956. schema:
  25957. items:
  25958. $ref: '#/definitions/models.Ermcp3Brand'
  25959. type: array
  25960. "500":
  25961. description: Internal Server Error
  25962. schema:
  25963. $ref: '#/definitions/app.Response'
  25964. security:
  25965. - ApiKeyAuth: []
  25966. summary: 查询商品品牌
  25967. tags:
  25968. - 企业风险管理v3(app)
  25969. /Ermcp3/QueryHPMiddleGoods:
  25970. get:
  25971. parameters:
  25972. - description: 用户ID(填登录用户的userid)
  25973. in: query
  25974. name: userid
  25975. required: true
  25976. type: integer
  25977. - description: 买卖方向 0-买 1-卖
  25978. in: query
  25979. name: buyorsell
  25980. required: true
  25981. type: integer
  25982. - description: 商品组id
  25983. in: query
  25984. name: goodsgroupid
  25985. required: true
  25986. type: integer
  25987. - description: 套保计划编号(模糊匹配)
  25988. in: query
  25989. name: hedgeplanno
  25990. type: string
  25991. - description: 现货商品名称(模糊匹配)
  25992. in: query
  25993. name: wrstandardname
  25994. type: string
  25995. produces:
  25996. - application/json
  25997. responses:
  25998. "200":
  25999. description: OK
  26000. schema:
  26001. items:
  26002. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26003. type: array
  26004. "500":
  26005. description: Internal Server Error
  26006. schema:
  26007. $ref: '#/definitions/app.Response'
  26008. security:
  26009. - ApiKeyAuth: []
  26010. summary: 查询可关联套保计划
  26011. tags:
  26012. - 企业风险管理v3(app)
  26013. /Ermcp3/QueryHedgePlan:
  26014. get:
  26015. parameters:
  26016. - description: 用户ID
  26017. in: query
  26018. name: userid
  26019. required: true
  26020. type: integer
  26021. - description: 用户类型 2-机构 7-企业成员
  26022. in: query
  26023. name: usertype
  26024. type: integer
  26025. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26026. in: query
  26027. name: hedgeplanstatus
  26028. required: true
  26029. type: string
  26030. produces:
  26031. - application/json
  26032. responses:
  26033. "200":
  26034. description: OK
  26035. schema:
  26036. items:
  26037. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26038. type: array
  26039. "500":
  26040. description: Internal Server Error
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. security:
  26044. - ApiKeyAuth: []
  26045. summary: 查询套保计划
  26046. tags:
  26047. - 企业风险管理v3(app)
  26048. /Ermcp3/QueryInnerTradeLink:
  26049. get:
  26050. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26051. parameters:
  26052. - description: 外部成交单号
  26053. in: query
  26054. name: outtradeid
  26055. required: true
  26056. type: integer
  26057. produces:
  26058. - application/json
  26059. responses:
  26060. "200":
  26061. description: OK
  26062. schema:
  26063. items:
  26064. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26065. type: array
  26066. "500":
  26067. description: Internal Server Error
  26068. schema:
  26069. $ref: '#/definitions/app.Response'
  26070. security:
  26071. - ApiKeyAuth: []
  26072. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26073. tags:
  26074. - 企业风险管理v3(app)
  26075. /Ermcp3/QueryMiddleGoodsDetail:
  26076. get:
  26077. parameters:
  26078. - description: 用户id
  26079. in: query
  26080. name: userid
  26081. required: true
  26082. type: integer
  26083. - description: 用户类型 2-机构 7-企业成员
  26084. in: query
  26085. name: usertype
  26086. type: integer
  26087. - description: 套保品种id
  26088. in: query
  26089. name: middlegoodsid
  26090. type: integer
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. items:
  26098. $ref: '#/definitions/models.TBMiddleGoods'
  26099. type: array
  26100. "500":
  26101. description: Internal Server Error
  26102. schema:
  26103. $ref: '#/definitions/app.Response'
  26104. security:
  26105. - ApiKeyAuth: []
  26106. summary: 查询套保品种详情(套保品种/商品详情)
  26107. tags:
  26108. - 企业风险管理v3(app)
  26109. /Ermcp3/QueryOutTradeLink:
  26110. get:
  26111. description: 页面 app 现货->期现关联->外部成交单关联
  26112. parameters:
  26113. - description: 用户ID(填登录用户的userid)
  26114. in: query
  26115. name: userid
  26116. required: true
  26117. type: integer
  26118. - description: 外部订单号(模糊匹配)
  26119. in: query
  26120. name: outtradeid
  26121. type: string
  26122. - description: 合约名称/代码(模糊匹配)
  26123. in: query
  26124. name: goodsname
  26125. type: string
  26126. - description: 关联状态 0-未关联 1-已关联
  26127. in: query
  26128. name: hasinnerorder
  26129. type: integer
  26130. produces:
  26131. - application/json
  26132. responses:
  26133. "200":
  26134. description: OK
  26135. schema:
  26136. items:
  26137. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26138. type: array
  26139. "500":
  26140. description: Internal Server Error
  26141. schema:
  26142. $ref: '#/definitions/app.Response'
  26143. security:
  26144. - ApiKeyAuth: []
  26145. summary: 查询外部成交单关联
  26146. tags:
  26147. - 企业风险管理v3(app)
  26148. /Ermcp3/QueryPaAreaAuditCfg:
  26149. get:
  26150. parameters:
  26151. - description: 用户id
  26152. in: query
  26153. name: userid
  26154. required: true
  26155. type: integer
  26156. produces:
  26157. - application/json
  26158. responses:
  26159. "200":
  26160. description: OK
  26161. schema:
  26162. items:
  26163. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26164. type: array
  26165. "500":
  26166. description: Internal Server Error
  26167. schema:
  26168. $ref: '#/definitions/app.Response'
  26169. security:
  26170. - ApiKeyAuth: []
  26171. summary: 查询审核设置
  26172. tags:
  26173. - 企业风险管理v3(app)
  26174. /Ermcp3/QueryPaAreaSubject:
  26175. get:
  26176. parameters:
  26177. - description: 用户id
  26178. in: query
  26179. name: userid
  26180. required: true
  26181. type: integer
  26182. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26183. in: query
  26184. name: subjectid
  26185. type: integer
  26186. - description: 主体类型 - 1:交易主体 2:业务部门
  26187. in: query
  26188. name: subjecttype
  26189. type: integer
  26190. - description: '主体状态 - 1:正常 2: 停用'
  26191. in: query
  26192. name: subjectstatus
  26193. type: integer
  26194. produces:
  26195. - application/json
  26196. responses:
  26197. "200":
  26198. description: OK
  26199. schema:
  26200. items:
  26201. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26202. type: array
  26203. "500":
  26204. description: Internal Server Error
  26205. schema:
  26206. $ref: '#/definitions/app.Response'
  26207. security:
  26208. - ApiKeyAuth: []
  26209. summary: 查询交易主体
  26210. tags:
  26211. - 企业风险管理v3(app)
  26212. /Ermcp3/QueryPaTradeLink:
  26213. get:
  26214. description: 页面 app 现货->期现关联->期现单据关联
  26215. parameters:
  26216. - description: 用户ID
  26217. in: query
  26218. name: userid
  26219. required: true
  26220. type: integer
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. items:
  26228. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26229. type: array
  26230. "500":
  26231. description: Internal Server Error
  26232. schema:
  26233. $ref: '#/definitions/app.Response'
  26234. security:
  26235. - ApiKeyAuth: []
  26236. summary: 查询期现单据关联
  26237. tags:
  26238. - 企业风险管理v3(app)
  26239. /Ermcp3/QueryPaTradeLinkDetail:
  26240. get:
  26241. description: 页面 app 现货->期现关联->关联记录
  26242. parameters:
  26243. - description: 用户ID(填登录用户的userid)
  26244. in: query
  26245. name: userid
  26246. required: true
  26247. type: integer
  26248. - description: 关联状态 1:成功 2:失败 3:解绑
  26249. in: query
  26250. name: linkstatus
  26251. type: integer
  26252. - description: 期货订单号(模糊匹配)
  26253. in: query
  26254. name: tradeid
  26255. type: string
  26256. - description: 现货编号(模糊匹配)
  26257. in: query
  26258. name: contractno
  26259. type: string
  26260. - description: 期货账户(模糊匹配)
  26261. in: query
  26262. name: taname
  26263. type: string
  26264. produces:
  26265. - application/json
  26266. responses:
  26267. "200":
  26268. description: OK
  26269. schema:
  26270. items:
  26271. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26272. type: array
  26273. "500":
  26274. description: Internal Server Error
  26275. schema:
  26276. $ref: '#/definitions/app.Response'
  26277. security:
  26278. - ApiKeyAuth: []
  26279. summary: 查询期现关联记录
  26280. tags:
  26281. - 企业风险管理v3(app)
  26282. /Ermcp3/QueryParamChangeApp:
  26283. get:
  26284. description: |-
  26285. 原型页面:
  26286. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26287. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26288. parameters:
  26289. - description: 用户ID
  26290. in: query
  26291. name: userid
  26292. required: true
  26293. type: integer
  26294. - description: 现货品种id
  26295. in: query
  26296. name: deliverygoodsid
  26297. type: integer
  26298. - description: 现货商品id
  26299. in: query
  26300. name: wrstandardid
  26301. type: integer
  26302. - description: 套保商品id
  26303. in: query
  26304. name: middlegoodsid
  26305. type: integer
  26306. - description: 操作类型 1:新增 2:修改
  26307. in: query
  26308. name: operatetype
  26309. type: integer
  26310. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26311. in: query
  26312. name: paramchangetype
  26313. type: integer
  26314. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26315. in: query
  26316. name: ftstatus
  26317. type: string
  26318. produces:
  26319. - application/json
  26320. responses:
  26321. "200":
  26322. description: OK
  26323. schema:
  26324. items:
  26325. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26326. type: array
  26327. "500":
  26328. description: Internal Server Error
  26329. schema:
  26330. $ref: '#/definitions/app.Response'
  26331. security:
  26332. - ApiKeyAuth: []
  26333. summary: 查询现货商品参数变更申请(流水)
  26334. tags:
  26335. - 企业风险管理v3(app)
  26336. /Ermcp3/QueryRootUserAccount:
  26337. get:
  26338. parameters:
  26339. - description: 用户ID
  26340. in: query
  26341. name: userid
  26342. required: true
  26343. type: integer
  26344. produces:
  26345. - application/json
  26346. responses:
  26347. "200":
  26348. description: OK
  26349. schema:
  26350. items:
  26351. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26352. type: array
  26353. "500":
  26354. description: Internal Server Error
  26355. schema:
  26356. $ref: '#/definitions/app.Response'
  26357. security:
  26358. - ApiKeyAuth: []
  26359. summary: 查询顶级用户信息
  26360. tags:
  26361. - 企业风险管理v3(app)
  26362. /Ermcp3/QuerySCMiddleGoods:
  26363. get:
  26364. description: |-
  26365. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26366. 现货编号 即 合同编号
  26367. parameters:
  26368. - description: 用户ID(填登录用户的userid)
  26369. in: query
  26370. name: userid
  26371. required: true
  26372. type: integer
  26373. - description: 买卖方向 0-买 1-卖
  26374. in: query
  26375. name: buyorsell
  26376. required: true
  26377. type: integer
  26378. - description: 商品组id
  26379. in: query
  26380. name: goodsgroupid
  26381. required: true
  26382. type: integer
  26383. - description: 业务类型 1:套保 2:套利
  26384. in: query
  26385. name: biztype
  26386. type: integer
  26387. - description: 现货编号(模糊匹配)
  26388. in: query
  26389. name: contractno
  26390. type: string
  26391. - description: 对手方(模糊匹配)
  26392. in: query
  26393. name: customername
  26394. type: string
  26395. - description: 现货商品名称(模糊匹配)
  26396. in: query
  26397. name: wrstandardname
  26398. type: string
  26399. produces:
  26400. - application/json
  26401. responses:
  26402. "200":
  26403. description: OK
  26404. schema:
  26405. items:
  26406. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26407. type: array
  26408. "500":
  26409. description: Internal Server Error
  26410. schema:
  26411. $ref: '#/definitions/app.Response'
  26412. security:
  26413. - ApiKeyAuth: []
  26414. summary: 查询现货订单
  26415. tags:
  26416. - 企业风险管理v3(app)
  26417. /Ermcp3/QuerySpotContract:
  26418. get:
  26419. parameters:
  26420. - description: 用户id(当指定contractid, userid可不填)
  26421. in: query
  26422. name: userid
  26423. required: true
  26424. type: integer
  26425. - description: 用户类型 2-机构 7-企业成员
  26426. in: query
  26427. name: usertype
  26428. type: integer
  26429. - description: 合同类型 1-采购, -1-销售
  26430. in: query
  26431. name: contracttype
  26432. type: integer
  26433. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26434. in: query
  26435. name: querytype
  26436. type: string
  26437. - description: 合同ID(SpotContractId)
  26438. in: query
  26439. name: contractid
  26440. type: string
  26441. - description: 合同编号(模糊匹配)
  26442. in: query
  26443. name: contractno
  26444. type: string
  26445. - description: 商品名称(模糊匹配)
  26446. in: query
  26447. name: wrstandardname
  26448. type: string
  26449. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26450. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26451. in: query
  26452. name: status
  26453. type: string
  26454. - description: 是否只查今日的合同 1-查今日合同
  26455. in: query
  26456. name: istoday
  26457. type: integer
  26458. produces:
  26459. - application/json
  26460. responses:
  26461. "200":
  26462. description: OK
  26463. schema:
  26464. items:
  26465. $ref: '#/definitions/models.Ermcp3Contract'
  26466. type: array
  26467. "500":
  26468. description: Internal Server Error
  26469. schema:
  26470. $ref: '#/definitions/app.Response'
  26471. security:
  26472. - ApiKeyAuth: []
  26473. summary: 查询现货合同
  26474. tags:
  26475. - 企业风险管理v3(app)
  26476. /Ermcp3/QuerySpotContractBS:
  26477. get:
  26478. parameters:
  26479. - description: 用户id
  26480. in: query
  26481. name: userid
  26482. required: true
  26483. type: integer
  26484. - description: 用户类型 2-机构 7-企业成员
  26485. in: query
  26486. name: usertype
  26487. type: integer
  26488. - description: 合同类型 1-采购, -1-销售
  26489. in: query
  26490. name: contracttype
  26491. required: true
  26492. type: integer
  26493. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26494. in: query
  26495. name: querytype
  26496. type: integer
  26497. - description: 合同ID(SpotContractId)
  26498. in: query
  26499. name: contractid
  26500. type: string
  26501. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26502. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26503. in: query
  26504. name: status
  26505. type: string
  26506. - description: 是否只查今日的合同 1-查今日合同
  26507. in: query
  26508. name: istoday
  26509. type: integer
  26510. produces:
  26511. - application/json
  26512. responses:
  26513. "200":
  26514. description: OK
  26515. schema:
  26516. items:
  26517. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26518. type: array
  26519. "500":
  26520. description: Internal Server Error
  26521. schema:
  26522. $ref: '#/definitions/app.Response'
  26523. security:
  26524. - ApiKeyAuth: []
  26525. summary: 查询合同(采购/销售)
  26526. tags:
  26527. - 企业风险管理v3(app)
  26528. /Ermcp3/QuerySpotGoodsPrice:
  26529. get:
  26530. parameters:
  26531. - description: 用户ID
  26532. in: query
  26533. name: userid
  26534. required: true
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. items:
  26543. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26544. type: array
  26545. "500":
  26546. description: Internal Server Error
  26547. schema:
  26548. $ref: '#/definitions/app.Response'
  26549. security:
  26550. - ApiKeyAuth: []
  26551. summary: 查询现货市价(现货市价)
  26552. tags:
  26553. - 企业风险管理v3(app)
  26554. /Ermcp3/QuerySpotGoodsPriceLog:
  26555. get:
  26556. parameters:
  26557. - description: 用户ID
  26558. in: query
  26559. name: userid
  26560. required: true
  26561. type: integer
  26562. - description: 现货商品ID
  26563. in: query
  26564. name: deliverygoodsid
  26565. required: true
  26566. type: integer
  26567. - description: 品牌ID
  26568. in: query
  26569. name: brandid
  26570. type: integer
  26571. - description: 品类ID
  26572. in: query
  26573. name: wrstandardid
  26574. type: integer
  26575. produces:
  26576. - application/json
  26577. responses:
  26578. "200":
  26579. description: OK
  26580. schema:
  26581. items:
  26582. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26583. type: array
  26584. "500":
  26585. description: Internal Server Error
  26586. schema:
  26587. $ref: '#/definitions/app.Response'
  26588. security:
  26589. - ApiKeyAuth: []
  26590. summary: 查询现货市价详情(现货市价/详情)
  26591. tags:
  26592. - 企业风险管理v3(app)
  26593. /Ermcp3/QuerySubTaaccount:
  26594. get:
  26595. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26596. parameters:
  26597. - description: 母账号id
  26598. in: query
  26599. name: parentaccountid
  26600. type: integer
  26601. - description: 母账号代码
  26602. in: query
  26603. name: parentaccountcode
  26604. type: string
  26605. produces:
  26606. - application/json
  26607. responses:
  26608. "200":
  26609. description: OK
  26610. schema:
  26611. items:
  26612. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26613. type: array
  26614. "500":
  26615. description: Internal Server Error
  26616. schema:
  26617. $ref: '#/definitions/app.Response'
  26618. security:
  26619. - ApiKeyAuth: []
  26620. summary: 查询期货子账户
  26621. tags:
  26622. - 企业风险管理v3(app)
  26623. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26624. get:
  26625. parameters:
  26626. - description: 套期项目ID
  26627. in: query
  26628. name: hedgeditemid
  26629. required: true
  26630. type: integer
  26631. produces:
  26632. - application/json
  26633. responses:
  26634. "200":
  26635. description: OK
  26636. schema:
  26637. items:
  26638. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26639. type: array
  26640. "500":
  26641. description: Internal Server Error
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. security:
  26645. - ApiKeyAuth: []
  26646. summary: 现货成交明细查询
  26647. tags:
  26648. - 企业风险管理v8
  26649. /Ermcp8/QueryERMCP2HedgedItemspot:
  26650. get:
  26651. parameters:
  26652. - description: 套期项目ID
  26653. in: query
  26654. name: hedgeditemid
  26655. required: true
  26656. type: integer
  26657. produces:
  26658. - application/json
  26659. responses:
  26660. "200":
  26661. description: OK
  26662. schema:
  26663. items:
  26664. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26665. type: array
  26666. "500":
  26667. description: Internal Server Error
  26668. schema:
  26669. $ref: '#/definitions/app.Response'
  26670. security:
  26671. - ApiKeyAuth: []
  26672. summary: 套期计划明细查询
  26673. tags:
  26674. - 企业风险管理v8
  26675. /Ermcp8/QueryERMCPJRLinkPos:
  26676. get:
  26677. parameters:
  26678. - description: 套期项目ID
  26679. in: query
  26680. name: hedgeditemid
  26681. required: true
  26682. type: integer
  26683. produces:
  26684. - application/json
  26685. responses:
  26686. "200":
  26687. description: OK
  26688. schema:
  26689. items:
  26690. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26691. type: array
  26692. "500":
  26693. description: Internal Server Error
  26694. schema:
  26695. $ref: '#/definitions/app.Response'
  26696. security:
  26697. - ApiKeyAuth: []
  26698. summary: 期货持仓明细查询
  26699. tags:
  26700. - 企业风险管理v8
  26701. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26702. get:
  26703. parameters:
  26704. - description: 套期项目ID
  26705. in: query
  26706. name: hedgeditemid
  26707. required: true
  26708. type: integer
  26709. produces:
  26710. - application/json
  26711. responses:
  26712. "200":
  26713. description: OK
  26714. schema:
  26715. items:
  26716. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26717. type: array
  26718. "500":
  26719. description: Internal Server Error
  26720. schema:
  26721. $ref: '#/definitions/app.Response'
  26722. security:
  26723. - ApiKeyAuth: []
  26724. summary: 期货成交单明细查询
  26725. tags:
  26726. - 企业风险管理v8
  26727. /Ermcp8/QueryErmcp2AreaExposure:
  26728. get:
  26729. parameters:
  26730. - description: 用户ID
  26731. in: query
  26732. name: userid
  26733. required: true
  26734. type: string
  26735. produces:
  26736. - application/json
  26737. responses:
  26738. "200":
  26739. description: OK
  26740. schema:
  26741. items:
  26742. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26743. type: array
  26744. "500":
  26745. description: Internal Server Error
  26746. schema:
  26747. $ref: '#/definitions/app.Response'
  26748. security:
  26749. - ApiKeyAuth: []
  26750. summary: 企业敞口查询
  26751. tags:
  26752. - 企业风险管理v8
  26753. /Ermcp8/QueryErmcp2HedgedItem:
  26754. get:
  26755. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26756. parameters:
  26757. - description: 用户ID
  26758. in: query
  26759. name: userid
  26760. required: true
  26761. type: string
  26762. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26763. in: query
  26764. name: hedgedtype
  26765. type: integer
  26766. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26767. in: query
  26768. name: hedgeditemstatus
  26769. type: integer
  26770. produces:
  26771. - application/json
  26772. responses:
  26773. "200":
  26774. description: OK
  26775. schema:
  26776. items:
  26777. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26778. type: array
  26779. "500":
  26780. description: Internal Server Error
  26781. schema:
  26782. $ref: '#/definitions/app.Response'
  26783. security:
  26784. - ApiKeyAuth: []
  26785. summary: 查询被套期项目信息
  26786. tags:
  26787. - 企业风险管理v8
  26788. /Ermcp8/QueryErmcp2HedgedItemLink:
  26789. get:
  26790. parameters:
  26791. - description: 现货合同ID
  26792. in: query
  26793. name: spotcontractid
  26794. required: true
  26795. type: integer
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. items:
  26803. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26804. type: array
  26805. "500":
  26806. description: Internal Server Error
  26807. schema:
  26808. $ref: '#/definitions/app.Response'
  26809. security:
  26810. - ApiKeyAuth: []
  26811. summary: 现货合同关联被套期项目查询
  26812. tags:
  26813. - 企业风险管理v8
  26814. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26815. get:
  26816. parameters:
  26817. - description: 用户ID
  26818. in: query
  26819. name: userid
  26820. required: true
  26821. type: integer
  26822. - description: 套保品种ID
  26823. in: query
  26824. name: middlegoodsid
  26825. required: true
  26826. type: integer
  26827. produces:
  26828. - application/json
  26829. responses:
  26830. "200":
  26831. description: OK
  26832. schema:
  26833. items:
  26834. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26835. type: array
  26836. "500":
  26837. description: Internal Server Error
  26838. schema:
  26839. $ref: '#/definitions/app.Response'
  26840. security:
  26841. - ApiKeyAuth: []
  26842. summary: 敞口明细 - 计划变动明细
  26843. tags:
  26844. - 企业风险管理v8
  26845. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26846. get:
  26847. parameters:
  26848. - description: 用户ID
  26849. in: query
  26850. name: userid
  26851. required: true
  26852. type: integer
  26853. - description: 套保品种ID
  26854. in: query
  26855. name: middlegoodsid
  26856. required: true
  26857. type: integer
  26858. produces:
  26859. - application/json
  26860. responses:
  26861. "200":
  26862. description: OK
  26863. schema:
  26864. items:
  26865. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26866. type: array
  26867. "500":
  26868. description: Internal Server Error
  26869. schema:
  26870. $ref: '#/definitions/app.Response'
  26871. security:
  26872. - ApiKeyAuth: []
  26873. summary: 敞口明细 - 现货变动明细查询
  26874. tags:
  26875. - 企业风险管理v8
  26876. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26877. get:
  26878. parameters:
  26879. - description: 用户ID
  26880. in: query
  26881. name: userid
  26882. required: true
  26883. type: integer
  26884. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26885. in: query
  26886. name: spottype
  26887. required: true
  26888. type: integer
  26889. - description: 现货商品ID
  26890. in: query
  26891. name: wrstandardid
  26892. type: integer
  26893. produces:
  26894. - application/json
  26895. responses:
  26896. "200":
  26897. description: OK
  26898. schema:
  26899. items:
  26900. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26901. type: array
  26902. "500":
  26903. description: Internal Server Error
  26904. schema:
  26905. $ref: '#/definitions/app.Response'
  26906. security:
  26907. - ApiKeyAuth: []
  26908. summary: 可关联项目查询
  26909. tags:
  26910. - 企业风险管理v8
  26911. /Ermcp8/QueryErmcp8HedgeditemReport:
  26912. get:
  26913. parameters:
  26914. - description: 用户ID
  26915. in: query
  26916. name: userid
  26917. required: true
  26918. type: integer
  26919. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26920. in: query
  26921. name: cycletype
  26922. type: integer
  26923. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26924. 全(0)【原值】
  26925. in: query
  26926. name: cycletime
  26927. required: true
  26928. type: string
  26929. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26930. in: query
  26931. name: hedgedtype
  26932. type: integer
  26933. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26934. in: query
  26935. name: hedgeditemstatus
  26936. type: integer
  26937. - description: 项目编号,模糊查询
  26938. in: query
  26939. name: hedgeditemnum
  26940. type: string
  26941. - description: 现货商品ID
  26942. in: query
  26943. name: wrstandardid
  26944. type: integer
  26945. produces:
  26946. - application/json
  26947. responses:
  26948. "200":
  26949. description: OK
  26950. schema:
  26951. items:
  26952. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26953. type: array
  26954. "500":
  26955. description: Internal Server Error
  26956. schema:
  26957. $ref: '#/definitions/app.Response'
  26958. security:
  26959. - ApiKeyAuth: []
  26960. summary: 套期项目报表查询
  26961. tags:
  26962. - 企业风险管理v8
  26963. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26964. get:
  26965. parameters:
  26966. - description: 用户ID
  26967. in: query
  26968. name: userid
  26969. required: true
  26970. type: string
  26971. produces:
  26972. - application/json
  26973. responses:
  26974. "200":
  26975. description: OK
  26976. schema:
  26977. items:
  26978. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26979. type: array
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 查询执行中项目查询信息
  26987. tags:
  26988. - 企业风险管理v8
  26989. /Ermcp8/QueryInternalEnableTradeDetail:
  26990. get:
  26991. parameters:
  26992. - description: 企业ID
  26993. in: query
  26994. name: areauserid
  26995. required: true
  26996. type: integer
  26997. - description: 期货合约ID
  26998. in: query
  26999. name: goodsid
  27000. required: true
  27001. type: integer
  27002. - description: 交易用户ID
  27003. in: query
  27004. name: tradeuserid
  27005. required: true
  27006. type: integer
  27007. produces:
  27008. - application/json
  27009. responses:
  27010. "200":
  27011. description: OK
  27012. schema:
  27013. items:
  27014. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27015. type: array
  27016. "500":
  27017. description: Internal Server Error
  27018. schema:
  27019. $ref: '#/definitions/app.Response'
  27020. security:
  27021. - ApiKeyAuth: []
  27022. summary: 内部成交单可关联项目查询
  27023. tags:
  27024. - 企业风险管理v8
  27025. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27026. get:
  27027. parameters:
  27028. - description: 用户编号
  27029. in: query
  27030. name: userid
  27031. required: true
  27032. type: integer
  27033. - description: 起始日期(格式yyyymmdd)
  27034. in: query
  27035. name: begindate
  27036. type: string
  27037. - description: 终止日期(格式yyyymmdd)
  27038. in: query
  27039. name: enddate
  27040. type: string
  27041. - description: 合约代码
  27042. in: query
  27043. name: goodscode
  27044. type: string
  27045. - description: 合约名称
  27046. in: query
  27047. name: goodsname
  27048. type: string
  27049. - description: 成交单号
  27050. in: query
  27051. name: tradeid
  27052. type: integer
  27053. - description: 方向 - 0:买 1:卖
  27054. in: query
  27055. name: buyorsell
  27056. type: integer
  27057. - description: 套期主体
  27058. in: query
  27059. name: accountname
  27060. type: string
  27061. produces:
  27062. - application/json
  27063. responses:
  27064. "200":
  27065. description: OK
  27066. schema:
  27067. items:
  27068. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27069. type: array
  27070. "500":
  27071. description: Internal Server Error
  27072. schema:
  27073. $ref: '#/definitions/app.Response'
  27074. security:
  27075. - ApiKeyAuth: []
  27076. summary: 内部未关联成交单查询
  27077. tags:
  27078. - 企业风险管理v8
  27079. /Ermcp8/QueryMarketCalendar:
  27080. get:
  27081. parameters:
  27082. - description: 市场ID
  27083. in: query
  27084. name: marketid
  27085. type: integer
  27086. produces:
  27087. - application/json
  27088. responses:
  27089. "200":
  27090. description: OK
  27091. schema:
  27092. items:
  27093. $ref: '#/definitions/models.Marketcalendar'
  27094. type: array
  27095. "500":
  27096. description: Internal Server Error
  27097. schema:
  27098. $ref: '#/definitions/app.Response'
  27099. security:
  27100. - ApiKeyAuth: []
  27101. summary: 市场节假日查询
  27102. tags:
  27103. - 企业风险管理v8
  27104. /Ermcp8/QueryPatradeLinkDetail:
  27105. get:
  27106. parameters:
  27107. - description: 用户ID
  27108. in: query
  27109. name: userid
  27110. required: true
  27111. type: integer
  27112. - description: 套保品种ID
  27113. in: query
  27114. name: middlegoodsid
  27115. required: true
  27116. type: integer
  27117. produces:
  27118. - application/json
  27119. responses:
  27120. "200":
  27121. description: OK
  27122. schema:
  27123. items:
  27124. $ref: '#/definitions/models.Patradelinkdetail'
  27125. type: array
  27126. "500":
  27127. description: Internal Server Error
  27128. schema:
  27129. $ref: '#/definitions/app.Response'
  27130. security:
  27131. - ApiKeyAuth: []
  27132. summary: 敞口明细 - 期货变动明细
  27133. tags:
  27134. - 企业风险管理v8
  27135. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27136. get:
  27137. parameters:
  27138. - description: 企业ID
  27139. in: query
  27140. name: areauserid
  27141. required: true
  27142. type: integer
  27143. - description: 计划类型 - 1:采购 -1:销售
  27144. in: query
  27145. name: contracttype
  27146. type: integer
  27147. - description: 计划编号,模糊查询
  27148. in: query
  27149. name: hedgeplanno
  27150. type: string
  27151. - description: 现货商品,模糊查询
  27152. in: query
  27153. name: wrstandardname
  27154. type: string
  27155. produces:
  27156. - application/json
  27157. responses:
  27158. "200":
  27159. description: OK
  27160. schema:
  27161. items:
  27162. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27163. type: array
  27164. "500":
  27165. description: Internal Server Error
  27166. schema:
  27167. $ref: '#/definitions/app.Response'
  27168. security:
  27169. - ApiKeyAuth: []
  27170. summary: 未关联购销计划
  27171. tags:
  27172. - 企业风险管理v8
  27173. /Ermcp8/QueryUnLinkSpotContract:
  27174. get:
  27175. parameters:
  27176. - description: 用户ID
  27177. in: query
  27178. name: userid
  27179. required: true
  27180. type: integer
  27181. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27182. in: query
  27183. name: pricetype
  27184. type: integer
  27185. - description: 合同编号, 模拟查询
  27186. in: query
  27187. name: contractno
  27188. type: string
  27189. - description: 对手方, 模拟查询
  27190. in: query
  27191. name: customername
  27192. type: string
  27193. - description: 项合同类型 - 1:采购 -1:销售
  27194. in: query
  27195. name: contracttype
  27196. type: integer
  27197. produces:
  27198. - application/json
  27199. responses:
  27200. "200":
  27201. description: OK
  27202. schema:
  27203. items:
  27204. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27205. type: array
  27206. "500":
  27207. description: Internal Server Error
  27208. schema:
  27209. $ref: '#/definitions/app.Response'
  27210. security:
  27211. - ApiKeyAuth: []
  27212. summary: 未关联合同查询
  27213. tags:
  27214. - 企业风险管理v8
  27215. /Erms2/QueryArbitrageStrategy:
  27216. get:
  27217. parameters:
  27218. - description: 账户ID
  27219. in: query
  27220. name: userid
  27221. required: true
  27222. type: integer
  27223. - description: 商品组ID(品种ID)
  27224. in: query
  27225. name: goodsgroupid
  27226. type: string
  27227. produces:
  27228. - application/json
  27229. responses:
  27230. "200":
  27231. description: OK
  27232. schema:
  27233. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27234. "500":
  27235. description: Internal Server Error
  27236. schema:
  27237. $ref: '#/definitions/app.Response'
  27238. security:
  27239. - ApiKeyAuth: []
  27240. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27241. tags:
  27242. - 风险管理
  27243. /Erms2/QueryInnerTradeDetail:
  27244. get:
  27245. parameters:
  27246. - description: 资金账户
  27247. in: query
  27248. name: accountid
  27249. required: true
  27250. type: integer
  27251. produces:
  27252. - application/json
  27253. responses:
  27254. "200":
  27255. description: OK
  27256. schema:
  27257. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27258. "500":
  27259. description: Internal Server Error
  27260. schema:
  27261. $ref: '#/definitions/app.Response'
  27262. security:
  27263. - ApiKeyAuth: []
  27264. summary: 查询内部成交单信息
  27265. tags:
  27266. - 风险管理
  27267. /Erms2/QuerySpotContract:
  27268. get:
  27269. parameters:
  27270. - description: 策略申请ID
  27271. in: query
  27272. name: asapplyid
  27273. required: true
  27274. type: integer
  27275. - description: 现货合同ID
  27276. in: query
  27277. name: spotcontractid
  27278. type: integer
  27279. produces:
  27280. - application/json
  27281. responses:
  27282. "200":
  27283. description: OK
  27284. schema:
  27285. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27286. "500":
  27287. description: Internal Server Error
  27288. schema:
  27289. $ref: '#/definitions/app.Response'
  27290. security:
  27291. - ApiKeyAuth: []
  27292. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27293. tags:
  27294. - 风险管理
  27295. /Erms3/AddErms2ASApply:
  27296. post:
  27297. parameters:
  27298. - description: 申请参数
  27299. in: body
  27300. name: jsonBody
  27301. required: true
  27302. schema:
  27303. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27304. produces:
  27305. - application/json
  27306. responses:
  27307. "200":
  27308. description: OK
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. "500":
  27312. description: Internal Server Error
  27313. schema:
  27314. $ref: '#/definitions/app.Response'
  27315. security:
  27316. - ApiKeyAuth: []
  27317. summary: 新增期现套利业务申请
  27318. tags:
  27319. - 风险管理v3
  27320. /Erms3/AddErms2SpotTradeApply:
  27321. post:
  27322. parameters:
  27323. - description: 申请参数
  27324. in: body
  27325. name: jsonBody
  27326. required: true
  27327. schema:
  27328. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27329. produces:
  27330. - application/json
  27331. responses:
  27332. "200":
  27333. description: OK
  27334. schema:
  27335. $ref: '#/definitions/app.Response'
  27336. "500":
  27337. description: Internal Server Error
  27338. schema:
  27339. $ref: '#/definitions/app.Response'
  27340. security:
  27341. - ApiKeyAuth: []
  27342. summary: 新增现货贸易业务申请
  27343. tags:
  27344. - 风险管理v3
  27345. /Erms3/AddSpotContractApply:
  27346. post:
  27347. parameters:
  27348. - description: 申请参数
  27349. in: body
  27350. name: jsonBody
  27351. required: true
  27352. schema:
  27353. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27354. produces:
  27355. - application/json
  27356. responses:
  27357. "200":
  27358. description: OK
  27359. schema:
  27360. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27361. "500":
  27362. description: Internal Server Error
  27363. schema:
  27364. $ref: '#/definitions/app.Response'
  27365. security:
  27366. - ApiKeyAuth: []
  27367. summary: 新增现货合同申请
  27368. tags:
  27369. - 风险管理v3
  27370. /Erms3/AddUserInfoApply:
  27371. post:
  27372. parameters:
  27373. - description: 用户信息
  27374. in: body
  27375. name: jsonBody
  27376. required: true
  27377. schema:
  27378. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27379. produces:
  27380. - application/json
  27381. responses:
  27382. "200":
  27383. description: OK
  27384. schema:
  27385. $ref: '#/definitions/app.Response'
  27386. "500":
  27387. description: Internal Server Error
  27388. schema:
  27389. $ref: '#/definitions/app.Response'
  27390. security:
  27391. - ApiKeyAuth: []
  27392. summary: 新增客户申请
  27393. tags:
  27394. - 风险管理v3
  27395. /Erms3/DeleteUserInfoApply:
  27396. get:
  27397. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27398. parameters:
  27399. - description: 用户ID
  27400. in: query
  27401. name: userID
  27402. required: true
  27403. type: integer
  27404. produces:
  27405. - application/json
  27406. responses:
  27407. "200":
  27408. description: OK
  27409. schema:
  27410. $ref: '#/definitions/app.Response'
  27411. "500":
  27412. description: Internal Server Error
  27413. schema:
  27414. $ref: '#/definitions/app.Response'
  27415. security:
  27416. - ApiKeyAuth: []
  27417. summary: 删除客户申请
  27418. tags:
  27419. - 风险管理v3
  27420. /Erms3/ModifyUserInfoApply:
  27421. post:
  27422. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27423. int, "userstate": 2 }'
  27424. parameters:
  27425. - description: 用户信息
  27426. in: body
  27427. name: jsonBody
  27428. required: true
  27429. schema:
  27430. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27431. produces:
  27432. - application/json
  27433. responses:
  27434. "200":
  27435. description: OK
  27436. schema:
  27437. $ref: '#/definitions/app.Response'
  27438. "500":
  27439. description: Internal Server Error
  27440. schema:
  27441. $ref: '#/definitions/app.Response'
  27442. security:
  27443. - ApiKeyAuth: []
  27444. summary: 修改客户申请
  27445. tags:
  27446. - 风险管理v3
  27447. /Erms3/QueryBusinessInfo:
  27448. get:
  27449. parameters:
  27450. - description: 资金账号ID列表,用逗号分隔
  27451. in: query
  27452. name: accountids
  27453. required: true
  27454. type: string
  27455. - description: 状态,0为未结束 1为已结束
  27456. in: query
  27457. name: status
  27458. required: true
  27459. type: integer
  27460. produces:
  27461. - application/json
  27462. responses:
  27463. "200":
  27464. description: OK
  27465. schema:
  27466. items:
  27467. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27468. type: array
  27469. "500":
  27470. description: Internal Server Error
  27471. schema:
  27472. $ref: '#/definitions/app.Response'
  27473. security:
  27474. - ApiKeyAuth: []
  27475. summary: 查询业务表单数据
  27476. tags:
  27477. - 风险管理v3
  27478. /Erms3/QueryPendingAuditContract:
  27479. get:
  27480. parameters:
  27481. - description: 资金账号ID列表,逗号隔开
  27482. in: query
  27483. name: accountids
  27484. required: true
  27485. type: string
  27486. - description: 合同类型 1-采购 -1-销售
  27487. in: query
  27488. name: contracttype
  27489. required: true
  27490. type: integer
  27491. - description: 合同模式 1-普通 2-回购
  27492. in: query
  27493. name: contractmode
  27494. required: true
  27495. type: integer
  27496. produces:
  27497. - application/json
  27498. responses:
  27499. "200":
  27500. description: OK
  27501. schema:
  27502. items:
  27503. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27504. type: array
  27505. "500":
  27506. description: Internal Server Error
  27507. schema:
  27508. $ref: '#/definitions/app.Response'
  27509. security:
  27510. - ApiKeyAuth: []
  27511. summary: 查询待审核合同
  27512. tags:
  27513. - 风险管理v3
  27514. /Erms3/QueryPendingBusiness:
  27515. get:
  27516. parameters:
  27517. - description: 资金账号ID列表,逗号隔开
  27518. in: query
  27519. name: accountids
  27520. required: true
  27521. type: string
  27522. produces:
  27523. - application/json
  27524. responses:
  27525. "200":
  27526. description: OK
  27527. schema:
  27528. items:
  27529. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27530. type: array
  27531. "500":
  27532. description: Internal Server Error
  27533. schema:
  27534. $ref: '#/definitions/app.Response'
  27535. security:
  27536. - ApiKeyAuth: []
  27537. summary: 查询待审核基差贸易业务
  27538. tags:
  27539. - 风险管理v3
  27540. /Erms3/QuerySpotContractAppleForm:
  27541. get:
  27542. parameters:
  27543. - description: 登录账号
  27544. in: query
  27545. name: loginID
  27546. required: true
  27547. type: integer
  27548. produces:
  27549. - application/json
  27550. responses:
  27551. "200":
  27552. description: OK
  27553. schema:
  27554. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27555. "500":
  27556. description: Internal Server Error
  27557. schema:
  27558. $ref: '#/definitions/app.Response'
  27559. security:
  27560. - ApiKeyAuth: []
  27561. summary: 查询合同申请表单数据
  27562. tags:
  27563. - 风险管理v3
  27564. /Erms3/QuerySpotContractDetail:
  27565. get:
  27566. parameters:
  27567. - description: 资金账号ID列表,用逗号分隔
  27568. in: query
  27569. name: accountids
  27570. required: true
  27571. type: string
  27572. - description: 合同类型,1为采购合同 -1为销售合同
  27573. in: query
  27574. name: contracttype
  27575. required: true
  27576. type: integer
  27577. - description: 合同模式,1为普通合同 2为回购销售合同
  27578. in: query
  27579. name: contractmode
  27580. required: true
  27581. type: integer
  27582. - description: 状态,0为履约中 1为已完成
  27583. in: query
  27584. name: status
  27585. required: true
  27586. type: integer
  27587. produces:
  27588. - application/json
  27589. responses:
  27590. "200":
  27591. description: OK
  27592. schema:
  27593. items:
  27594. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27595. type: array
  27596. "500":
  27597. description: Internal Server Error
  27598. schema:
  27599. $ref: '#/definitions/app.Response'
  27600. security:
  27601. - ApiKeyAuth: []
  27602. summary: 查询合同详细信息
  27603. tags:
  27604. - 风险管理v3
  27605. /Erms3/QueryUserInfoApplies:
  27606. get:
  27607. parameters:
  27608. - description: 页码
  27609. in: query
  27610. name: page
  27611. type: integer
  27612. - description: 每页条数
  27613. in: query
  27614. name: pagesize
  27615. type: integer
  27616. - description: 客户名称,支持模糊查询
  27617. in: query
  27618. name: userName
  27619. type: string
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27627. "500":
  27628. description: Internal Server Error
  27629. schema:
  27630. $ref: '#/definitions/app.Response'
  27631. security:
  27632. - ApiKeyAuth: []
  27633. summary: 客户申请信息查询
  27634. tags:
  27635. - 风险管理v3
  27636. /Erms3/QueryUserInfos:
  27637. get:
  27638. parameters:
  27639. - description: 页码
  27640. in: query
  27641. name: page
  27642. type: integer
  27643. - description: 每页条数
  27644. in: query
  27645. name: pagesize
  27646. type: integer
  27647. - description: 客户名称,支持模糊查询
  27648. in: query
  27649. name: userName
  27650. type: string
  27651. produces:
  27652. - application/json
  27653. responses:
  27654. "200":
  27655. description: OK
  27656. schema:
  27657. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27658. "500":
  27659. description: Internal Server Error
  27660. schema:
  27661. $ref: '#/definitions/app.Response'
  27662. security:
  27663. - ApiKeyAuth: []
  27664. summary: 客户信息查询
  27665. tags:
  27666. - 风险管理v3
  27667. /Guangzuan/GZBSFWOrderOperate:
  27668. get:
  27669. parameters:
  27670. - description: 单据ID
  27671. in: query
  27672. name: orderid
  27673. required: true
  27674. type: integer
  27675. produces:
  27676. - application/json
  27677. responses:
  27678. "200":
  27679. description: OK
  27680. schema:
  27681. items:
  27682. $ref: '#/definitions/models.Gzbsfworderoperate'
  27683. type: array
  27684. "500":
  27685. description: Internal Server Error
  27686. schema:
  27687. $ref: '#/definitions/app.Response'
  27688. security:
  27689. - ApiKeyAuth: []
  27690. - LoginID: []
  27691. - Group: []
  27692. summary: 保税服务单据操作信息
  27693. tags:
  27694. - 广钻
  27695. /Guangzuan/GetGoods:
  27696. get:
  27697. parameters:
  27698. - description: 商品编号
  27699. in: query
  27700. name: goodsno
  27701. required: true
  27702. type: string
  27703. produces:
  27704. - application/json
  27705. responses:
  27706. "200":
  27707. description: OK
  27708. schema:
  27709. $ref: '#/definitions/models.GZGoods'
  27710. "500":
  27711. description: Internal Server Error
  27712. schema:
  27713. $ref: '#/definitions/app.Response'
  27714. security:
  27715. - ApiKeyAuth: []
  27716. - LoginID: []
  27717. - Group: []
  27718. summary: 获取钻石详情
  27719. tags:
  27720. - 广钻
  27721. /Guangzuan/GzCertAddressConfig:
  27722. get:
  27723. produces:
  27724. - application/json
  27725. responses:
  27726. "200":
  27727. description: OK
  27728. schema:
  27729. items:
  27730. $ref: '#/definitions/models.Gzcertaddressconfig'
  27731. type: array
  27732. "500":
  27733. description: Internal Server Error
  27734. schema:
  27735. $ref: '#/definitions/app.Response'
  27736. security:
  27737. - ApiKeyAuth: []
  27738. - LoginID: []
  27739. - Group: []
  27740. summary: Rapaport最新报价表(广钻)
  27741. tags:
  27742. - 广钻
  27743. /Guangzuan/GzCertAddressParam:
  27744. get:
  27745. produces:
  27746. - application/json
  27747. responses:
  27748. "200":
  27749. description: OK
  27750. schema:
  27751. items:
  27752. $ref: '#/definitions/models.Gzcertaddressparam'
  27753. type: array
  27754. "500":
  27755. description: Internal Server Error
  27756. schema:
  27757. $ref: '#/definitions/app.Response'
  27758. security:
  27759. - ApiKeyAuth: []
  27760. - LoginID: []
  27761. - Group: []
  27762. summary: 钻石证书地址参数
  27763. tags:
  27764. - 广钻
  27765. /Guangzuan/HomeData:
  27766. get:
  27767. parameters:
  27768. - description: 用户ID
  27769. in: query
  27770. name: userid
  27771. required: true
  27772. type: integer
  27773. produces:
  27774. - application/json
  27775. responses:
  27776. "200":
  27777. description: OK
  27778. schema:
  27779. $ref: '#/definitions/models.GZHomeData'
  27780. "500":
  27781. description: Internal Server Error
  27782. schema:
  27783. $ref: '#/definitions/app.Response'
  27784. security:
  27785. - ApiKeyAuth: []
  27786. - LoginID: []
  27787. - Group: []
  27788. summary: 首页统计数据
  27789. tags:
  27790. - 广钻
  27791. /Guangzuan/PriceCalc:
  27792. get:
  27793. parameters:
  27794. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  27795. in: query
  27796. name: zsshape
  27797. required: true
  27798. type: integer
  27799. - description: 颜色(D-M)
  27800. in: query
  27801. name: zscolor
  27802. required: true
  27803. type: string
  27804. - description: 净度
  27805. in: query
  27806. name: zsclarity
  27807. required: true
  27808. type: string
  27809. - description: 重量
  27810. in: query
  27811. name: weight
  27812. required: true
  27813. type: number
  27814. - description: 汇率
  27815. in: query
  27816. name: rate
  27817. required: true
  27818. type: number
  27819. - description: 折扣(%), 方向(加:10, 减:-10 )
  27820. in: query
  27821. name: discount
  27822. type: number
  27823. produces:
  27824. - application/json
  27825. responses:
  27826. "200":
  27827. description: OK
  27828. schema:
  27829. items:
  27830. $ref: '#/definitions/models.Gzrapaportprice'
  27831. type: array
  27832. "500":
  27833. description: Internal Server Error
  27834. schema:
  27835. $ref: '#/definitions/app.Response'
  27836. security:
  27837. - ApiKeyAuth: []
  27838. - LoginID: []
  27839. - Group: []
  27840. summary: 钻石价格计算器
  27841. tags:
  27842. - 广钻
  27843. /Guangzuan/QueryBuyOrder:
  27844. get:
  27845. parameters:
  27846. - description: 页码
  27847. in: query
  27848. name: page
  27849. type: integer
  27850. - description: 每页条数
  27851. in: query
  27852. name: pagesize
  27853. type: integer
  27854. - description: 商品(查询字段-模糊查询)
  27855. in: query
  27856. name: zsallproperties
  27857. type: string
  27858. - description: 钻石分类, 格式:1,2,3
  27859. in: query
  27860. name: zscategorys
  27861. type: string
  27862. - description: 委托单号
  27863. in: query
  27864. name: wrtradeorderid
  27865. type: integer
  27866. - description: 买方(查询字段-模糊查询)
  27867. in: query
  27868. name: buyusername
  27869. type: string
  27870. produces:
  27871. - application/json
  27872. responses:
  27873. "200":
  27874. description: OK
  27875. schema:
  27876. items:
  27877. $ref: '#/definitions/models.BuyOrder'
  27878. type: array
  27879. "500":
  27880. description: Internal Server Error
  27881. schema:
  27882. $ref: '#/definitions/app.Response'
  27883. security:
  27884. - ApiKeyAuth: []
  27885. - LoginID: []
  27886. - Group: []
  27887. summary: 查询求购大厅委托单
  27888. tags:
  27889. - 广钻
  27890. /Guangzuan/QueryDiamond:
  27891. post:
  27892. parameters:
  27893. - description: 钻石搜索入参
  27894. in: body
  27895. name: data
  27896. required: true
  27897. schema:
  27898. $ref: '#/definitions/models.SellOrderQueryReq'
  27899. produces:
  27900. - application/json
  27901. responses:
  27902. "200":
  27903. description: OK
  27904. schema:
  27905. items:
  27906. $ref: '#/definitions/models.SellOrder'
  27907. type: array
  27908. "500":
  27909. description: Internal Server Error
  27910. schema:
  27911. $ref: '#/definitions/app.Response'
  27912. security:
  27913. - ApiKeyAuth: []
  27914. - LoginID: []
  27915. - Group: []
  27916. summary: 钻石搜索
  27917. tags:
  27918. - 广钻
  27919. /Guangzuan/QueryGZBSFWOrder:
  27920. get:
  27921. parameters:
  27922. - description: 用户ID
  27923. in: query
  27924. name: userid
  27925. required: true
  27926. type: integer
  27927. - description: 页码
  27928. in: query
  27929. name: page
  27930. type: integer
  27931. - description: 每页条数
  27932. in: query
  27933. name: pagesize
  27934. type: integer
  27935. produces:
  27936. - application/json
  27937. responses:
  27938. "200":
  27939. description: OK
  27940. schema:
  27941. items:
  27942. $ref: '#/definitions/models.GzbsfworderM'
  27943. type: array
  27944. "500":
  27945. description: Internal Server Error
  27946. schema:
  27947. $ref: '#/definitions/app.Response'
  27948. security:
  27949. - ApiKeyAuth: []
  27950. - LoginID: []
  27951. - Group: []
  27952. summary: 查询保税服务单据
  27953. tags:
  27954. - 广钻
  27955. /Guangzuan/QueryGZBSFWOrderDetail:
  27956. get:
  27957. parameters:
  27958. - description: 用户ID
  27959. in: query
  27960. name: userid
  27961. required: true
  27962. type: integer
  27963. - description: 单据ID
  27964. in: query
  27965. name: orderid
  27966. type: integer
  27967. - description: 页码
  27968. in: query
  27969. name: page
  27970. type: integer
  27971. - description: 每页条数
  27972. in: query
  27973. name: pagesize
  27974. type: integer
  27975. produces:
  27976. - application/json
  27977. responses:
  27978. "200":
  27979. description: OK
  27980. schema:
  27981. items:
  27982. $ref: '#/definitions/models.GzbsfworderdetailM'
  27983. type: array
  27984. "500":
  27985. description: Internal Server Error
  27986. schema:
  27987. $ref: '#/definitions/app.Response'
  27988. security:
  27989. - ApiKeyAuth: []
  27990. - LoginID: []
  27991. - Group: []
  27992. summary: 查询保税服务单据明细
  27993. tags:
  27994. - 广钻
  27995. /Guangzuan/QueryGZCJBSOrderFile:
  27996. get:
  27997. parameters:
  27998. - description: 单据ID
  27999. in: query
  28000. name: orderid
  28001. required: true
  28002. type: integer
  28003. - description: 页码
  28004. in: query
  28005. name: page
  28006. type: integer
  28007. - description: 每页条数
  28008. in: query
  28009. name: pagesize
  28010. type: integer
  28011. produces:
  28012. - application/json
  28013. responses:
  28014. "200":
  28015. description: OK
  28016. schema:
  28017. items:
  28018. $ref: '#/definitions/models.GzcjbsorderfileM'
  28019. type: array
  28020. "500":
  28021. description: Internal Server Error
  28022. schema:
  28023. $ref: '#/definitions/app.Response'
  28024. security:
  28025. - ApiKeyAuth: []
  28026. - LoginID: []
  28027. - Group: []
  28028. summary: 出境保税单据文件
  28029. tags:
  28030. - 广钻
  28031. /Guangzuan/QueryGZCJJCOrder:
  28032. get:
  28033. parameters:
  28034. - description: 用户ID
  28035. in: query
  28036. name: userid
  28037. required: true
  28038. type: integer
  28039. - description: 页码
  28040. in: query
  28041. name: page
  28042. type: integer
  28043. - description: 每页条数
  28044. in: query
  28045. name: pagesize
  28046. type: integer
  28047. produces:
  28048. - application/json
  28049. responses:
  28050. "200":
  28051. description: OK
  28052. schema:
  28053. items:
  28054. $ref: '#/definitions/models.GzcjjcorderM'
  28055. type: array
  28056. "500":
  28057. description: Internal Server Error
  28058. schema:
  28059. $ref: '#/definitions/app.Response'
  28060. security:
  28061. - ApiKeyAuth: []
  28062. - LoginID: []
  28063. - Group: []
  28064. summary: 查询出境检测单据
  28065. tags:
  28066. - 广钻
  28067. /Guangzuan/QueryGZCJJCOrderDetail:
  28068. get:
  28069. parameters:
  28070. - description: 用户ID
  28071. in: query
  28072. name: userid
  28073. required: true
  28074. type: integer
  28075. - description: 单据ID
  28076. in: query
  28077. name: orderid
  28078. type: integer
  28079. - description: 页码
  28080. in: query
  28081. name: page
  28082. type: integer
  28083. - description: 每页条数
  28084. in: query
  28085. name: pagesize
  28086. type: integer
  28087. produces:
  28088. - application/json
  28089. responses:
  28090. "200":
  28091. description: OK
  28092. schema:
  28093. items:
  28094. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28095. type: array
  28096. "500":
  28097. description: Internal Server Error
  28098. schema:
  28099. $ref: '#/definitions/app.Response'
  28100. security:
  28101. - ApiKeyAuth: []
  28102. - LoginID: []
  28103. - Group: []
  28104. summary: 查询出境检测单据明细(批次信息)
  28105. tags:
  28106. - 广钻
  28107. /Guangzuan/QueryMyBargainApply:
  28108. get:
  28109. parameters:
  28110. - description: 用户ID
  28111. in: query
  28112. name: userid
  28113. required: true
  28114. type: integer
  28115. - description: 页码
  28116. in: query
  28117. name: page
  28118. type: integer
  28119. - description: 每页条数
  28120. in: query
  28121. name: pagesize
  28122. type: integer
  28123. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28124. in: query
  28125. name: applystatus
  28126. type: integer
  28127. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28128. in: query
  28129. name: type
  28130. type: integer
  28131. - description: 关联委托单ID
  28132. in: query
  28133. name: wrtradeorderid
  28134. type: string
  28135. produces:
  28136. - application/json
  28137. responses:
  28138. "200":
  28139. description: OK
  28140. schema:
  28141. items:
  28142. $ref: '#/definitions/models.MyBargainApply'
  28143. type: array
  28144. "500":
  28145. description: Internal Server Error
  28146. schema:
  28147. $ref: '#/definitions/app.Response'
  28148. security:
  28149. - ApiKeyAuth: []
  28150. - LoginID: []
  28151. - Group: []
  28152. summary: 查询询价-求购
  28153. tags:
  28154. - 广钻
  28155. /Guangzuan/QueryMyBuyOrder:
  28156. get:
  28157. parameters:
  28158. - description: 用户ID
  28159. in: query
  28160. name: userid
  28161. required: true
  28162. type: integer
  28163. - description: 页码
  28164. in: query
  28165. name: page
  28166. type: integer
  28167. - description: 每页条数
  28168. in: query
  28169. name: pagesize
  28170. type: integer
  28171. - description: 商品(查询字段-模糊查询)
  28172. in: query
  28173. name: zsallproperties
  28174. type: string
  28175. - description: 钻石分类, 格式:1,2,3
  28176. in: query
  28177. name: zscategorys
  28178. type: string
  28179. - description: 委托单号
  28180. in: query
  28181. name: wrtradeorderid
  28182. type: integer
  28183. - description: 是否历史查询
  28184. in: query
  28185. name: ishis
  28186. type: boolean
  28187. - description: 开始交易日(yyyymmdd)
  28188. in: query
  28189. name: begindate
  28190. type: string
  28191. - description: 结束交易日(yyyymmdd)
  28192. in: query
  28193. name: enddate
  28194. type: string
  28195. produces:
  28196. - application/json
  28197. responses:
  28198. "200":
  28199. description: OK
  28200. schema:
  28201. items:
  28202. $ref: '#/definitions/models.MyBuyOrder'
  28203. type: array
  28204. "500":
  28205. description: Internal Server Error
  28206. schema:
  28207. $ref: '#/definitions/app.Response'
  28208. security:
  28209. - ApiKeyAuth: []
  28210. - LoginID: []
  28211. - Group: []
  28212. summary: 查询我的求购
  28213. tags:
  28214. - 广钻
  28215. /Guangzuan/QueryMyDeListing:
  28216. get:
  28217. parameters:
  28218. - description: 用户ID
  28219. in: query
  28220. name: userid
  28221. required: true
  28222. type: integer
  28223. - description: 页码
  28224. in: query
  28225. name: page
  28226. type: integer
  28227. - description: 每页条数
  28228. in: query
  28229. name: pagesize
  28230. type: integer
  28231. - description: 商品(查询字段-模糊查询)
  28232. in: query
  28233. name: zsallproperties
  28234. type: string
  28235. - description: 钻石分类, 格式:1,2,3
  28236. in: query
  28237. name: zscategorys
  28238. type: string
  28239. - description: 成交单号
  28240. in: query
  28241. name: wrtradedetailid
  28242. type: integer
  28243. - description: 方向,0-购买 1-出售
  28244. in: query
  28245. name: buyorsell
  28246. type: integer
  28247. - description: 对手方(模糊匹配)
  28248. in: query
  28249. name: matchusername
  28250. type: string
  28251. - description: 开始交易日(yyyymmdd)
  28252. in: query
  28253. name: begindate
  28254. type: string
  28255. - description: 结束交易日(yyyymmdd)
  28256. in: query
  28257. name: enddate
  28258. type: string
  28259. produces:
  28260. - application/json
  28261. responses:
  28262. "200":
  28263. description: OK
  28264. schema:
  28265. items:
  28266. $ref: '#/definitions/models.MyDeListing'
  28267. type: array
  28268. "500":
  28269. description: Internal Server Error
  28270. schema:
  28271. $ref: '#/definitions/app.Response'
  28272. security:
  28273. - ApiKeyAuth: []
  28274. - LoginID: []
  28275. - Group: []
  28276. summary: 查询我的摘牌
  28277. tags:
  28278. - 广钻
  28279. /Guangzuan/QueryMyDelistingApply:
  28280. get:
  28281. parameters:
  28282. - description: 用户ID
  28283. in: query
  28284. name: userid
  28285. required: true
  28286. type: integer
  28287. - description: 页码
  28288. in: query
  28289. name: page
  28290. type: integer
  28291. - description: 每页条数
  28292. in: query
  28293. name: pagesize
  28294. type: integer
  28295. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28296. in: query
  28297. name: applystatus
  28298. type: integer
  28299. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28300. in: query
  28301. name: type
  28302. type: integer
  28303. - description: 买委托单ID
  28304. in: query
  28305. name: buywrtradeorderid
  28306. type: string
  28307. produces:
  28308. - application/json
  28309. responses:
  28310. "200":
  28311. description: OK
  28312. schema:
  28313. items:
  28314. $ref: '#/definitions/models.MyDelistingApply'
  28315. type: array
  28316. "500":
  28317. description: Internal Server Error
  28318. schema:
  28319. $ref: '#/definitions/app.Response'
  28320. security:
  28321. - ApiKeyAuth: []
  28322. - LoginID: []
  28323. - Group: []
  28324. summary: 查询询价-出售
  28325. tags:
  28326. - 广钻
  28327. /Guangzuan/QueryMyFavorite:
  28328. get:
  28329. parameters:
  28330. - description: 用户ID
  28331. in: query
  28332. name: userid
  28333. required: true
  28334. type: integer
  28335. - description: 页码
  28336. in: query
  28337. name: page
  28338. type: integer
  28339. - description: 每页条数
  28340. in: query
  28341. name: pagesize
  28342. type: integer
  28343. - description: 钻石分类, 格式:1,2,3
  28344. in: query
  28345. name: zscategorys
  28346. type: string
  28347. produces:
  28348. - application/json
  28349. responses:
  28350. "200":
  28351. description: OK
  28352. schema:
  28353. items:
  28354. $ref: '#/definitions/models.MyFavorite'
  28355. type: array
  28356. "500":
  28357. description: Internal Server Error
  28358. schema:
  28359. $ref: '#/definitions/app.Response'
  28360. security:
  28361. - ApiKeyAuth: []
  28362. - LoginID: []
  28363. - Group: []
  28364. summary: 查询我的收藏
  28365. tags:
  28366. - 广钻
  28367. /Guangzuan/QueryMyPerformanc:
  28368. get:
  28369. parameters:
  28370. - description: 用户ID
  28371. in: query
  28372. name: userid
  28373. required: true
  28374. type: integer
  28375. - description: 页码
  28376. in: query
  28377. name: page
  28378. type: integer
  28379. - description: 每页条数
  28380. in: query
  28381. name: pagesize
  28382. type: integer
  28383. - description: 商品(查询字段-模糊查询)
  28384. in: query
  28385. name: zsallproperties
  28386. type: string
  28387. - description: 方向,0-买 1-卖
  28388. in: query
  28389. name: buyorsell
  28390. type: integer
  28391. - description: 是否历史查询
  28392. in: query
  28393. name: ishis
  28394. type: boolean
  28395. - description: 开始交易日(yyyymmdd)
  28396. in: query
  28397. name: begindate
  28398. type: string
  28399. - description: 结束交易日(yyyymmdd)
  28400. in: query
  28401. name: enddate
  28402. type: string
  28403. produces:
  28404. - application/json
  28405. responses:
  28406. "200":
  28407. description: OK
  28408. schema:
  28409. items:
  28410. $ref: '#/definitions/models.MyPerformanc'
  28411. type: array
  28412. "500":
  28413. description: Internal Server Error
  28414. schema:
  28415. $ref: '#/definitions/app.Response'
  28416. security:
  28417. - ApiKeyAuth: []
  28418. - LoginID: []
  28419. - Group: []
  28420. summary: 查询我的履约
  28421. tags:
  28422. - 广钻
  28423. /Guangzuan/QueryMySellOrder:
  28424. get:
  28425. parameters:
  28426. - description: 用户ID
  28427. in: query
  28428. name: userid
  28429. required: true
  28430. type: integer
  28431. - description: 页码
  28432. in: query
  28433. name: page
  28434. type: integer
  28435. - description: 每页条数
  28436. in: query
  28437. name: pagesize
  28438. type: integer
  28439. - description: 商品(查询字段-模糊查询)
  28440. in: query
  28441. name: zsallproperties
  28442. type: string
  28443. - description: 钻石分类, 格式:1,2,3
  28444. in: query
  28445. name: zscategorys
  28446. type: string
  28447. - description: 委托单号
  28448. in: query
  28449. name: wrtradeorderid
  28450. type: integer
  28451. - description: 是否历史查询
  28452. in: query
  28453. name: ishis
  28454. type: boolean
  28455. - description: 开始交易日(yyyymmdd)
  28456. in: query
  28457. name: begindate
  28458. type: string
  28459. - description: 结束交易日(yyyymmdd)
  28460. in: query
  28461. name: enddate
  28462. type: string
  28463. produces:
  28464. - application/json
  28465. responses:
  28466. "200":
  28467. description: OK
  28468. schema:
  28469. items:
  28470. $ref: '#/definitions/models.MySellOrder'
  28471. type: array
  28472. "500":
  28473. description: Internal Server Error
  28474. schema:
  28475. $ref: '#/definitions/app.Response'
  28476. security:
  28477. - ApiKeyAuth: []
  28478. - LoginID: []
  28479. - Group: []
  28480. summary: 查询我的出售
  28481. tags:
  28482. - 广钻
  28483. /Guangzuan/QueryMyWRPosition:
  28484. get:
  28485. parameters:
  28486. - description: 页码
  28487. in: query
  28488. name: page
  28489. type: integer
  28490. - description: 每页条数
  28491. in: query
  28492. name: pagesize
  28493. type: integer
  28494. - description: 登录用户ID
  28495. in: query
  28496. name: wruserid
  28497. required: true
  28498. type: integer
  28499. - description: 商品(查询字段-模糊查询)
  28500. in: query
  28501. name: zsallproperties
  28502. type: string
  28503. - description: 钻石分类, 格式:1,2,3
  28504. in: query
  28505. name: zscategorys
  28506. type: string
  28507. - description: 仓库ID
  28508. in: query
  28509. name: warehouseid
  28510. type: integer
  28511. - description: 是否上架,0-全部 1-是 2-否
  28512. in: query
  28513. name: marketflag
  28514. type: integer
  28515. produces:
  28516. - application/json
  28517. responses:
  28518. "200":
  28519. description: OK
  28520. schema:
  28521. items:
  28522. $ref: '#/definitions/models.MyWRPosition'
  28523. type: array
  28524. "500":
  28525. description: Internal Server Error
  28526. schema:
  28527. $ref: '#/definitions/app.Response'
  28528. security:
  28529. - ApiKeyAuth: []
  28530. - LoginID: []
  28531. - Group: []
  28532. summary: 查询我的库存
  28533. tags:
  28534. - 广钻
  28535. /Guangzuan/QuerySellOrder:
  28536. get:
  28537. parameters:
  28538. - description: 页码
  28539. in: query
  28540. name: page
  28541. type: integer
  28542. - description: 每页条数
  28543. in: query
  28544. name: pagesize
  28545. type: integer
  28546. - description: 商品(查询字段-模糊查询)
  28547. in: query
  28548. name: zsallproperties
  28549. type: string
  28550. - description: 钻石分类, 格式:1,2,3
  28551. in: query
  28552. name: zscategorys
  28553. type: string
  28554. - description: 委托单号
  28555. in: query
  28556. name: wrtradeorderid
  28557. type: integer
  28558. - description: 卖方(查询字段-模糊查询)
  28559. in: query
  28560. name: buyusername
  28561. type: string
  28562. produces:
  28563. - application/json
  28564. responses:
  28565. "200":
  28566. description: OK
  28567. schema:
  28568. items:
  28569. $ref: '#/definitions/models.SellOrder'
  28570. type: array
  28571. "500":
  28572. description: Internal Server Error
  28573. schema:
  28574. $ref: '#/definitions/app.Response'
  28575. security:
  28576. - ApiKeyAuth: []
  28577. - LoginID: []
  28578. - Group: []
  28579. summary: 查询出售大厅委托单
  28580. tags:
  28581. - 广钻
  28582. /Guangzuan/QueryWarehouseInfo:
  28583. get:
  28584. parameters:
  28585. - description: 页码
  28586. in: query
  28587. name: page
  28588. type: integer
  28589. - description: 每页条数
  28590. in: query
  28591. name: pagesize
  28592. type: integer
  28593. - description: 用户ID
  28594. in: query
  28595. name: userid
  28596. required: true
  28597. type: integer
  28598. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28599. in: query
  28600. name: status
  28601. type: string
  28602. - description: 是返回交易所仓库
  28603. in: query
  28604. name: isincludeexchange
  28605. type: boolean
  28606. produces:
  28607. - application/json
  28608. responses:
  28609. "200":
  28610. description: OK
  28611. schema:
  28612. items:
  28613. $ref: '#/definitions/models.GZWarehouseinfo'
  28614. type: array
  28615. "500":
  28616. description: Internal Server Error
  28617. schema:
  28618. $ref: '#/definitions/app.Response'
  28619. security:
  28620. - ApiKeyAuth: []
  28621. - LoginID: []
  28622. - Group: []
  28623. summary: 查询仓库信息
  28624. tags:
  28625. - 广钻
  28626. /Market/GetAllExExchanges:
  28627. get:
  28628. produces:
  28629. - application/json
  28630. responses:
  28631. "200":
  28632. description: OK
  28633. schema:
  28634. $ref: '#/definitions/models.Goods'
  28635. "500":
  28636. description: Internal Server Error
  28637. schema:
  28638. $ref: '#/definitions/app.Response'
  28639. security:
  28640. - ApiKeyAuth: []
  28641. summary: 获取所有外部交易所信息
  28642. tags:
  28643. - 通用市场
  28644. /Market/QueryGoodsesByLoginID:
  28645. get:
  28646. parameters:
  28647. - description: 登录账号
  28648. in: query
  28649. name: loginID
  28650. required: true
  28651. type: integer
  28652. - description: 市场ID列表,格式:1,2,3
  28653. in: query
  28654. name: marketIDs
  28655. type: string
  28656. produces:
  28657. - application/json
  28658. responses:
  28659. "200":
  28660. description: OK
  28661. schema:
  28662. $ref: '#/definitions/models.Goods'
  28663. "500":
  28664. description: Internal Server Error
  28665. schema:
  28666. $ref: '#/definitions/app.Response'
  28667. security:
  28668. - ApiKeyAuth: []
  28669. summary: 获取登录账号有权限的商品信息
  28670. tags:
  28671. - 通用市场
  28672. /Market/QueryMarketRun:
  28673. get:
  28674. parameters:
  28675. - description: 市场ID,不传返回所有
  28676. in: query
  28677. name: marketID
  28678. type: integer
  28679. produces:
  28680. - application/json
  28681. responses:
  28682. "200":
  28683. description: OK
  28684. schema:
  28685. $ref: '#/definitions/models.Marketrun'
  28686. "500":
  28687. description: Internal Server Error
  28688. schema:
  28689. $ref: '#/definitions/app.Response'
  28690. security:
  28691. - ApiKeyAuth: []
  28692. summary: 查询市场运行信息
  28693. tags:
  28694. - 通用市场
  28695. /Market/QueryMarketsByLoginID:
  28696. get:
  28697. parameters:
  28698. - description: 登录账号
  28699. in: query
  28700. name: loginID
  28701. required: true
  28702. type: integer
  28703. produces:
  28704. - application/json
  28705. responses:
  28706. "200":
  28707. description: OK
  28708. schema:
  28709. $ref: '#/definitions/models.Market'
  28710. "500":
  28711. description: Internal Server Error
  28712. schema:
  28713. $ref: '#/definitions/app.Response'
  28714. security:
  28715. - ApiKeyAuth: []
  28716. summary: 获取登录账号有权限的市场信息
  28717. tags:
  28718. - 通用市场
  28719. /Order/QueryHisTradeDetail:
  28720. get:
  28721. parameters:
  28722. - description: 资金账户 - 格式:1,2,3
  28723. in: query
  28724. name: accountID
  28725. required: true
  28726. type: string
  28727. - description: 成交单号
  28728. in: query
  28729. name: tradeID
  28730. type: integer
  28731. - description: 委托单号
  28732. in: query
  28733. name: orderID
  28734. type: integer
  28735. - description: 商品ID
  28736. in: query
  28737. name: goodsID
  28738. type: integer
  28739. - description: 交易模式 - 格式:1,2,3
  28740. in: query
  28741. name: tradeMode
  28742. type: string
  28743. - description: 委托单据类型
  28744. in: query
  28745. name: buildType
  28746. type: integer
  28747. - description: 成交类别 - 格式:1,2,3
  28748. in: query
  28749. name: tradeType
  28750. type: string
  28751. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28752. in: query
  28753. name: startDate
  28754. type: string
  28755. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28756. in: query
  28757. name: endDate
  28758. type: string
  28759. produces:
  28760. - application/json
  28761. responses:
  28762. "200":
  28763. description: OK
  28764. schema:
  28765. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28766. "500":
  28767. description: Internal Server Error
  28768. schema:
  28769. $ref: '#/definitions/app.Response'
  28770. security:
  28771. - ApiKeyAuth: []
  28772. summary: 历史成交单查询(合约市场)
  28773. tags:
  28774. - 通用单据
  28775. /Order/QueryHisTradeOrderDetail:
  28776. get:
  28777. parameters:
  28778. - description: 资金账户 - 格式:1,2,3
  28779. in: query
  28780. name: accountID
  28781. required: true
  28782. type: string
  28783. - description: 交易模式 - 格式:1,2,3
  28784. in: query
  28785. name: tradeMode
  28786. type: string
  28787. - description: 委托状态 - 格式:1,2,3
  28788. in: query
  28789. name: orderStatus
  28790. type: string
  28791. - description: 委托单号
  28792. in: query
  28793. name: orderID
  28794. type: integer
  28795. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28796. in: query
  28797. name: startDate
  28798. type: string
  28799. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28800. in: query
  28801. name: endDate
  28802. type: string
  28803. produces:
  28804. - application/json
  28805. responses:
  28806. "200":
  28807. description: OK
  28808. schema:
  28809. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28810. "500":
  28811. description: Internal Server Error
  28812. schema:
  28813. $ref: '#/definitions/app.Response'
  28814. security:
  28815. - ApiKeyAuth: []
  28816. summary: 历史委托单查询请求(合约市场)
  28817. tags:
  28818. - 通用单据
  28819. /Order/QueryTradeDetail:
  28820. get:
  28821. parameters:
  28822. - description: 资金账户 - 格式:1,2,3
  28823. in: query
  28824. name: accountID
  28825. required: true
  28826. type: string
  28827. - description: 成交单号
  28828. in: query
  28829. name: tradeID
  28830. type: integer
  28831. - description: 委托单号
  28832. in: query
  28833. name: orderID
  28834. type: integer
  28835. - description: 交易模式 - 格式:1,2,3
  28836. in: query
  28837. name: tradeMode
  28838. type: string
  28839. - description: 委托单据类型
  28840. in: query
  28841. name: buildType
  28842. type: integer
  28843. - description: 成交类别 - 格式:1,2,3
  28844. in: query
  28845. name: tradeType
  28846. type: string
  28847. - description: 商品ID
  28848. in: query
  28849. name: goodsID
  28850. type: integer
  28851. produces:
  28852. - application/json
  28853. responses:
  28854. "200":
  28855. description: OK
  28856. schema:
  28857. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28858. "500":
  28859. description: Internal Server Error
  28860. schema:
  28861. $ref: '#/definitions/app.Response'
  28862. security:
  28863. - ApiKeyAuth: []
  28864. summary: 成交单查询(合约市场)
  28865. tags:
  28866. - 通用单据
  28867. /Order/QueryTradeHolderDetail:
  28868. get:
  28869. parameters:
  28870. - description: 用户id
  28871. in: query
  28872. name: userid
  28873. type: integer
  28874. - description: 资金账号, 格式 1,2,3
  28875. in: query
  28876. name: accids
  28877. type: string
  28878. - description: 交易模式, 格式 1,2,3
  28879. in: query
  28880. name: trademodes
  28881. type: string
  28882. - description: 市场id, 格式 1,2,3
  28883. in: query
  28884. name: marketids
  28885. type: string
  28886. - description: 商品id
  28887. in: query
  28888. name: goodsid
  28889. type: integer
  28890. - description: 买卖方向 0-买 1-卖
  28891. in: query
  28892. name: buyorsell
  28893. type: integer
  28894. produces:
  28895. - application/json
  28896. responses:
  28897. "200":
  28898. description: OK
  28899. schema:
  28900. items:
  28901. $ref: '#/definitions/models.TradeHolderDetail'
  28902. type: array
  28903. "500":
  28904. description: Internal Server Error
  28905. schema:
  28906. $ref: '#/definitions/app.Response'
  28907. security:
  28908. - ApiKeyAuth: []
  28909. summary: 查询持仓明细
  28910. tags:
  28911. - 通用单据
  28912. /Order/QueryTradeOrderDetail:
  28913. get:
  28914. parameters:
  28915. - description: 资金账户 - 格式:1,2,3
  28916. in: query
  28917. name: accountID
  28918. required: true
  28919. type: string
  28920. - description: 交易模式 - 格式:1,2,3
  28921. in: query
  28922. name: tradeMode
  28923. type: string
  28924. - description: 委托状态 - 格式:1,2,3
  28925. in: query
  28926. name: orderStatus
  28927. type: string
  28928. - description: 委托单号
  28929. in: query
  28930. name: orderID
  28931. type: integer
  28932. produces:
  28933. - application/json
  28934. responses:
  28935. "200":
  28936. description: OK
  28937. schema:
  28938. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28939. "500":
  28940. description: Internal Server Error
  28941. schema:
  28942. $ref: '#/definitions/app.Response'
  28943. security:
  28944. - ApiKeyAuth: []
  28945. summary: 委托单查询请求(合约市场)
  28946. tags:
  28947. - 通用单据
  28948. /Order/QueryTradePosition:
  28949. get:
  28950. parameters:
  28951. - description: 资金账户 - 格式:1,2,3
  28952. in: query
  28953. name: accountID
  28954. required: true
  28955. type: string
  28956. - description: 交易模式 - 格式:1,2,3
  28957. in: query
  28958. name: tradeMode
  28959. type: string
  28960. produces:
  28961. - application/json
  28962. responses:
  28963. "200":
  28964. description: OK
  28965. schema:
  28966. $ref: '#/definitions/order.QueryTradePositionRsp'
  28967. "500":
  28968. description: Internal Server Error
  28969. schema:
  28970. $ref: '#/definitions/app.Response'
  28971. security:
  28972. - ApiKeyAuth: []
  28973. summary: 持仓汇总查询(合约市场)
  28974. tags:
  28975. - 通用单据
  28976. /Qhj/QueryAccountInOutApply:
  28977. get:
  28978. parameters:
  28979. - description: 用户ID
  28980. in: query
  28981. name: userid
  28982. required: true
  28983. type: integer
  28984. - description: 申请起始日期(格式yyyymmdd)
  28985. in: query
  28986. name: begindate
  28987. type: string
  28988. - description: 申请截止日期(格式yyyymmdd)
  28989. in: query
  28990. name: enddate
  28991. type: string
  28992. - description: 模糊搜索名称
  28993. in: query
  28994. name: likename
  28995. type: string
  28996. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28997. in: query
  28998. name: applystatus
  28999. type: integer
  29000. - description: 查询类型 1-提现(出金) 2-充值(入金)
  29001. in: query
  29002. name: querytype
  29003. type: integer
  29004. produces:
  29005. - application/json
  29006. responses:
  29007. "200":
  29008. description: OK
  29009. schema:
  29010. items:
  29011. $ref: '#/definitions/models.QhjAccountOutInApply'
  29012. type: array
  29013. "500":
  29014. description: Internal Server Error
  29015. schema:
  29016. $ref: '#/definitions/app.Response'
  29017. security:
  29018. - ApiKeyAuth: []
  29019. summary: 查询充值提现
  29020. tags:
  29021. - 大连千海金
  29022. /Qhj/QueryAreaFinanceConfig:
  29023. get:
  29024. parameters:
  29025. - description: 机构用户ID 其他做市关系,都设置为 1
  29026. in: query
  29027. name: userid
  29028. type: integer
  29029. produces:
  29030. - application/json
  29031. responses:
  29032. "200":
  29033. description: OK
  29034. schema:
  29035. items:
  29036. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29037. type: array
  29038. "500":
  29039. description: Internal Server Error
  29040. schema:
  29041. $ref: '#/definitions/app.Response'
  29042. security:
  29043. - ApiKeyAuth: []
  29044. summary: 查询企业配置表
  29045. tags:
  29046. - 大连千海金
  29047. /Qhj/QueryBankAccountSign:
  29048. get:
  29049. parameters:
  29050. - description: 用户ID
  29051. in: query
  29052. name: userid
  29053. required: true
  29054. type: integer
  29055. produces:
  29056. - application/json
  29057. responses:
  29058. "200":
  29059. description: OK
  29060. schema:
  29061. items:
  29062. $ref: '#/definitions/models.QhjBankAccountSign'
  29063. type: array
  29064. "500":
  29065. description: Internal Server Error
  29066. schema:
  29067. $ref: '#/definitions/app.Response'
  29068. security:
  29069. - ApiKeyAuth: []
  29070. summary: 查询签约银行信息(提现账户管理)
  29071. tags:
  29072. - 大连千海金
  29073. /Qhj/QueryBankInfo:
  29074. get:
  29075. produces:
  29076. - application/json
  29077. responses:
  29078. "200":
  29079. description: OK
  29080. schema:
  29081. items:
  29082. $ref: '#/definitions/models.QhjBankInfo'
  29083. type: array
  29084. "500":
  29085. description: Internal Server Error
  29086. schema:
  29087. $ref: '#/definitions/app.Response'
  29088. security:
  29089. - ApiKeyAuth: []
  29090. summary: 查询开户行
  29091. tags:
  29092. - 大连千海金
  29093. /Qhj/QueryBrokerApply:
  29094. get:
  29095. parameters:
  29096. - description: 所属机构ID
  29097. in: query
  29098. name: userid
  29099. type: integer
  29100. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29101. in: query
  29102. name: filterstatus
  29103. type: string
  29104. produces:
  29105. - application/json
  29106. responses:
  29107. "200":
  29108. description: OK
  29109. schema:
  29110. items:
  29111. $ref: '#/definitions/models.QhjBrokerApply'
  29112. type: array
  29113. "500":
  29114. description: Internal Server Error
  29115. schema:
  29116. $ref: '#/definitions/app.Response'
  29117. security:
  29118. - ApiKeyAuth: []
  29119. summary: 查询经纪人申请
  29120. tags:
  29121. - 大连千海金
  29122. /Qhj/QueryBrokerApplyEx:
  29123. get:
  29124. parameters:
  29125. - description: 所属机构ID
  29126. in: query
  29127. name: userid
  29128. type: integer
  29129. produces:
  29130. - application/json
  29131. responses:
  29132. "200":
  29133. description: OK
  29134. schema:
  29135. items:
  29136. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29137. type: array
  29138. "500":
  29139. description: Internal Server Error
  29140. schema:
  29141. $ref: '#/definitions/app.Response'
  29142. security:
  29143. - ApiKeyAuth: []
  29144. summary: 查询经纪人信息和申请记录
  29145. tags:
  29146. - 大连千海金
  29147. /Qhj/QueryBrokerRewardLog:
  29148. get:
  29149. parameters:
  29150. - description: 用户ID
  29151. in: query
  29152. name: userid
  29153. required: true
  29154. type: integer
  29155. - description: 开始交易日(yyyymmdd)
  29156. in: query
  29157. name: begindate
  29158. type: string
  29159. - description: 结束交易日(yyyymmdd)
  29160. in: query
  29161. name: enddate
  29162. type: string
  29163. produces:
  29164. - application/json
  29165. responses:
  29166. "200":
  29167. description: OK
  29168. schema:
  29169. items:
  29170. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29171. type: array
  29172. "500":
  29173. description: Internal Server Error
  29174. schema:
  29175. $ref: '#/definitions/app.Response'
  29176. security:
  29177. - ApiKeyAuth: []
  29178. summary: 查询奖励流水(我的奖励)
  29179. tags:
  29180. - 大连千海金
  29181. /Qhj/QueryContract:
  29182. get:
  29183. parameters:
  29184. - description: 用户ID
  29185. in: query
  29186. name: userid
  29187. type: integer
  29188. - description: scf合同id
  29189. in: query
  29190. name: scfcontractid
  29191. type: integer
  29192. produces:
  29193. - application/json
  29194. responses:
  29195. "200":
  29196. description: OK
  29197. schema:
  29198. items:
  29199. $ref: '#/definitions/models.QhjContract'
  29200. type: array
  29201. "500":
  29202. description: Internal Server Error
  29203. schema:
  29204. $ref: '#/definitions/app.Response'
  29205. security:
  29206. - ApiKeyAuth: []
  29207. summary: 查询融资明细(合同)
  29208. tags:
  29209. - 大连千海金
  29210. /Qhj/QueryContractLog:
  29211. get:
  29212. parameters:
  29213. - description: scf合同id
  29214. in: query
  29215. name: scfcontractid
  29216. required: true
  29217. type: integer
  29218. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29219. in: query
  29220. name: amounttype
  29221. type: string
  29222. produces:
  29223. - application/json
  29224. responses:
  29225. "200":
  29226. description: OK
  29227. schema:
  29228. items:
  29229. $ref: '#/definitions/models.QhjContractLog'
  29230. type: array
  29231. "500":
  29232. description: Internal Server Error
  29233. schema:
  29234. $ref: '#/definitions/app.Response'
  29235. security:
  29236. - ApiKeyAuth: []
  29237. summary: 查询融资明细流水(融资明细详情页中的流水)
  29238. tags:
  29239. - 大连千海金
  29240. /Qhj/QueryCusBankSignBank:
  29241. get:
  29242. produces:
  29243. - application/json
  29244. responses:
  29245. "200":
  29246. description: OK
  29247. schema:
  29248. items:
  29249. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29250. type: array
  29251. "500":
  29252. description: Internal Server Error
  29253. schema:
  29254. $ref: '#/definitions/app.Response'
  29255. security:
  29256. - ApiKeyAuth: []
  29257. summary: 查询托管银行
  29258. tags:
  29259. - 大连千海金
  29260. /Qhj/QueryCustomerInfo:
  29261. get:
  29262. parameters:
  29263. - description: 用户ID
  29264. in: query
  29265. name: userid
  29266. required: true
  29267. type: integer
  29268. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29269. in: query
  29270. name: querytype
  29271. required: true
  29272. type: integer
  29273. - description: 客户类型 1-个人 2-企业
  29274. in: query
  29275. name: userinfotype
  29276. type: integer
  29277. - description: 客户名称(模糊匹配)
  29278. in: query
  29279. name: customername
  29280. type: string
  29281. - description: 昵称(模糊匹配)
  29282. in: query
  29283. name: nickname
  29284. type: string
  29285. - description: 是否包含子级 1-包含
  29286. in: query
  29287. name: includesub
  29288. type: integer
  29289. produces:
  29290. - application/json
  29291. responses:
  29292. "200":
  29293. description: OK
  29294. schema:
  29295. items:
  29296. $ref: '#/definitions/models.QhjCustomer'
  29297. type: array
  29298. "500":
  29299. description: Internal Server Error
  29300. schema:
  29301. $ref: '#/definitions/app.Response'
  29302. security:
  29303. - ApiKeyAuth: []
  29304. summary: 查询客户资料
  29305. tags:
  29306. - 大连千海金
  29307. /Qhj/QueryGoodsEx:
  29308. get:
  29309. parameters:
  29310. - description: 商品id
  29311. in: query
  29312. name: goodsid
  29313. type: integer
  29314. produces:
  29315. - application/json
  29316. responses:
  29317. "200":
  29318. description: OK
  29319. schema:
  29320. items:
  29321. $ref: '#/definitions/models.Qhjgoodsex'
  29322. type: array
  29323. "500":
  29324. description: Internal Server Error
  29325. schema:
  29326. $ref: '#/definitions/app.Response'
  29327. security:
  29328. - ApiKeyAuth: []
  29329. summary: 交易商品扩展表
  29330. tags:
  29331. - 大连千海金
  29332. /Qhj/QueryMyTeam:
  29333. get:
  29334. parameters:
  29335. - description: 用户ID
  29336. in: query
  29337. name: userid
  29338. required: true
  29339. type: integer
  29340. produces:
  29341. - application/json
  29342. responses:
  29343. "200":
  29344. description: OK
  29345. schema:
  29346. items:
  29347. $ref: '#/definitions/models.QhjMyTeamEx'
  29348. type: array
  29349. "500":
  29350. description: Internal Server Error
  29351. schema:
  29352. $ref: '#/definitions/app.Response'
  29353. security:
  29354. - ApiKeyAuth: []
  29355. summary: 查询我的团队
  29356. tags:
  29357. - 大连千海金
  29358. /Qhj/QueryMyTeamOrder:
  29359. get:
  29360. parameters:
  29361. - description: 页码
  29362. in: query
  29363. name: page
  29364. type: integer
  29365. - description: 每页条数
  29366. in: query
  29367. name: pagesize
  29368. type: integer
  29369. - description: 用户ID
  29370. in: query
  29371. name: userid
  29372. required: true
  29373. type: integer
  29374. - description: 交易模式
  29375. in: query
  29376. name: trademode
  29377. type: integer
  29378. - description: 名称(模糊搜索账户)
  29379. in: query
  29380. name: filtername
  29381. type: string
  29382. produces:
  29383. - application/json
  29384. responses:
  29385. "200":
  29386. description: OK
  29387. schema:
  29388. items:
  29389. $ref: '#/definitions/models.QhjTeamOrder'
  29390. type: array
  29391. "500":
  29392. description: Internal Server Error
  29393. schema:
  29394. $ref: '#/definitions/app.Response'
  29395. security:
  29396. - ApiKeyAuth: []
  29397. summary: 查询团队订单(我的团队/团队订单)
  29398. tags:
  29399. - 大连千海金
  29400. /Qhj/QueryParentAreaList:
  29401. get:
  29402. parameters:
  29403. - description: 用户ID
  29404. in: query
  29405. name: userid
  29406. required: true
  29407. type: integer
  29408. produces:
  29409. - application/json
  29410. responses:
  29411. "200":
  29412. description: OK
  29413. schema:
  29414. items:
  29415. $ref: '#/definitions/models.QhjParentAreaList'
  29416. type: array
  29417. "500":
  29418. description: Internal Server Error
  29419. schema:
  29420. $ref: '#/definitions/app.Response'
  29421. security:
  29422. - ApiKeyAuth: []
  29423. summary: 查询所属机构列表
  29424. tags:
  29425. - 大连千海金
  29426. /Qhj/QueryPayOrder:
  29427. get:
  29428. parameters:
  29429. - description: 资金账号id
  29430. in: query
  29431. name: accountid
  29432. required: true
  29433. type: integer
  29434. - description: 成交单号
  29435. in: query
  29436. name: tradeid
  29437. type: integer
  29438. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29439. in: query
  29440. name: payflag
  29441. type: string
  29442. produces:
  29443. - application/json
  29444. responses:
  29445. "200":
  29446. description: OK
  29447. schema:
  29448. items:
  29449. $ref: '#/definitions/models.QhjPayOrder'
  29450. type: array
  29451. "500":
  29452. description: Internal Server Error
  29453. schema:
  29454. $ref: '#/definitions/app.Response'
  29455. security:
  29456. - ApiKeyAuth: []
  29457. summary: 查询待付款单据
  29458. tags:
  29459. - 大连千海金
  29460. /Qhj/QueryPickArea:
  29461. get:
  29462. parameters:
  29463. - description: 用户ID
  29464. in: query
  29465. name: userid
  29466. type: integer
  29467. produces:
  29468. - application/json
  29469. responses:
  29470. "200":
  29471. description: OK
  29472. schema:
  29473. items:
  29474. $ref: '#/definitions/models.QhjPickArea'
  29475. type: array
  29476. "500":
  29477. description: Internal Server Error
  29478. schema:
  29479. $ref: '#/definitions/app.Response'
  29480. security:
  29481. - ApiKeyAuth: []
  29482. summary: 查询提货门店
  29483. tags:
  29484. - 大连千海金
  29485. /Qhj/QueryPickGoods:
  29486. get:
  29487. parameters:
  29488. - description: 交易商品id
  29489. in: query
  29490. name: goodsid
  29491. required: true
  29492. type: integer
  29493. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29494. in: query
  29495. name: status
  29496. type: string
  29497. produces:
  29498. - application/json
  29499. responses:
  29500. "200":
  29501. description: OK
  29502. schema:
  29503. items:
  29504. $ref: '#/definitions/models.QhjPickGoods'
  29505. type: array
  29506. "500":
  29507. description: Internal Server Error
  29508. schema:
  29509. $ref: '#/definitions/app.Response'
  29510. security:
  29511. - ApiKeyAuth: []
  29512. summary: 查询提货商品
  29513. tags:
  29514. - 大连千海金
  29515. /Qhj/QueryRSTriggerLog:
  29516. get:
  29517. parameters:
  29518. - description: 用户ID
  29519. in: query
  29520. name: userid
  29521. type: integer
  29522. - description: 定投策略id
  29523. in: query
  29524. name: regularlystrategyid
  29525. type: integer
  29526. - description: 商品id
  29527. in: query
  29528. name: goodsid
  29529. type: integer
  29530. - description: 开始交易日(yyyymmdd)
  29531. in: query
  29532. name: begindate
  29533. type: string
  29534. - description: 结束交易日(yyyymmdd)
  29535. in: query
  29536. name: enddate
  29537. type: string
  29538. - description: 名称(模糊搜索账户)
  29539. in: query
  29540. name: filtername
  29541. type: string
  29542. produces:
  29543. - application/json
  29544. responses:
  29545. "200":
  29546. description: OK
  29547. schema:
  29548. items:
  29549. $ref: '#/definitions/models.QhjRSTriggerLog'
  29550. type: array
  29551. "500":
  29552. description: Internal Server Error
  29553. schema:
  29554. $ref: '#/definitions/app.Response'
  29555. security:
  29556. - ApiKeyAuth: []
  29557. summary: 查询定投记录(定投管理/详情/定投记录)
  29558. tags:
  29559. - 大连千海金
  29560. /Qhj/QueryRStrategy:
  29561. get:
  29562. parameters:
  29563. - description: 用户ID
  29564. in: query
  29565. name: userid
  29566. type: integer
  29567. - description: 商品id
  29568. in: query
  29569. name: goodsid
  29570. type: integer
  29571. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  29572. in: query
  29573. name: status
  29574. type: string
  29575. - description: 名称(模糊搜索账户)
  29576. in: query
  29577. name: filtername
  29578. type: string
  29579. produces:
  29580. - application/json
  29581. responses:
  29582. "200":
  29583. description: OK
  29584. schema:
  29585. items:
  29586. $ref: '#/definitions/models.QhjRStrategy'
  29587. type: array
  29588. "500":
  29589. description: Internal Server Error
  29590. schema:
  29591. $ref: '#/definitions/app.Response'
  29592. security:
  29593. - ApiKeyAuth: []
  29594. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  29595. tags:
  29596. - 大连千海金
  29597. /Qhj/QueryReckonPriceLog:
  29598. get:
  29599. parameters:
  29600. - description: 商品ID
  29601. in: query
  29602. name: goodsid
  29603. type: integer
  29604. - description: 交易日 格式(yyyymmdd)
  29605. in: query
  29606. name: tradedate
  29607. type: string
  29608. produces:
  29609. - application/json
  29610. responses:
  29611. "200":
  29612. description: OK
  29613. schema:
  29614. items:
  29615. $ref: '#/definitions/models.QhjReckonPriceLog'
  29616. type: array
  29617. "500":
  29618. description: Internal Server Error
  29619. schema:
  29620. $ref: '#/definitions/app.Response'
  29621. security:
  29622. - ApiKeyAuth: []
  29623. summary: 查询定投价(结算价)
  29624. tags:
  29625. - 大连千海金
  29626. /Qhj/QueryScoreLog:
  29627. get:
  29628. parameters:
  29629. - description: 用户ID
  29630. in: query
  29631. name: userid
  29632. required: true
  29633. type: integer
  29634. - description: 开始交易日(yyyymmdd)
  29635. in: query
  29636. name: begindate
  29637. type: string
  29638. - description: 结束交易日(yyyymmdd)
  29639. in: query
  29640. name: enddate
  29641. type: string
  29642. - description: 最近多少条
  29643. in: query
  29644. name: lastnum
  29645. type: integer
  29646. produces:
  29647. - application/json
  29648. responses:
  29649. "200":
  29650. description: OK
  29651. schema:
  29652. items:
  29653. $ref: '#/definitions/models.QhjScoreLog'
  29654. type: array
  29655. "500":
  29656. description: Internal Server Error
  29657. schema:
  29658. $ref: '#/definitions/app.Response'
  29659. security:
  29660. - ApiKeyAuth: []
  29661. summary: 查询积分流水(我的积分)
  29662. tags:
  29663. - 大连千海金
  29664. /Qhj/QuerySiteColumnDetail:
  29665. get:
  29666. parameters:
  29667. - description: 用户ID
  29668. in: query
  29669. name: userid
  29670. required: true
  29671. type: integer
  29672. produces:
  29673. - application/json
  29674. responses:
  29675. "200":
  29676. description: OK
  29677. schema:
  29678. items:
  29679. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29680. type: array
  29681. "500":
  29682. description: Internal Server Error
  29683. schema:
  29684. $ref: '#/definitions/app.Response'
  29685. security:
  29686. - ApiKeyAuth: []
  29687. summary: 查询资讯
  29688. tags:
  29689. - 大连千海金
  29690. /Qhj/QueryTradeGoodsPickup:
  29691. get:
  29692. parameters:
  29693. - description: 用户ID
  29694. in: query
  29695. name: userid
  29696. required: true
  29697. type: integer
  29698. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29699. 7:已拒绝 8:已撤销
  29700. in: query
  29701. name: takeorderstatus
  29702. type: integer
  29703. produces:
  29704. - application/json
  29705. responses:
  29706. "200":
  29707. description: OK
  29708. schema:
  29709. items:
  29710. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29711. type: array
  29712. "500":
  29713. description: Internal Server Error
  29714. schema:
  29715. $ref: '#/definitions/app.Response'
  29716. security:
  29717. - ApiKeyAuth: []
  29718. summary: 查询提货
  29719. tags:
  29720. - 大连千海金
  29721. /Qhj/QueryUserCollectConfig:
  29722. get:
  29723. parameters:
  29724. - description: 用户ID
  29725. in: query
  29726. name: userid
  29727. required: true
  29728. type: integer
  29729. produces:
  29730. - application/json
  29731. responses:
  29732. "200":
  29733. description: OK
  29734. schema:
  29735. items:
  29736. $ref: '#/definitions/models.UserCollectConfig'
  29737. type: array
  29738. "500":
  29739. description: Internal Server Error
  29740. schema:
  29741. $ref: '#/definitions/app.Response'
  29742. security:
  29743. - ApiKeyAuth: []
  29744. summary: 查询提现账户设置
  29745. tags:
  29746. - 大连千海金
  29747. /Qhj/QueryUserReceiveInfo:
  29748. get:
  29749. parameters:
  29750. - description: 用户ID
  29751. in: query
  29752. name: userid
  29753. required: true
  29754. type: integer
  29755. produces:
  29756. - application/json
  29757. responses:
  29758. "200":
  29759. description: OK
  29760. schema:
  29761. items:
  29762. $ref: '#/definitions/models.UserReceiveInfo'
  29763. type: array
  29764. "500":
  29765. description: Internal Server Error
  29766. schema:
  29767. $ref: '#/definitions/app.Response'
  29768. security:
  29769. - ApiKeyAuth: []
  29770. summary: 查询收货地址信息
  29771. tags:
  29772. - 大连千海金
  29773. /QhjMgr/QueryAccountInOutApply:
  29774. get:
  29775. parameters:
  29776. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29777. in: query
  29778. name: querytype
  29779. required: true
  29780. type: integer
  29781. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29782. in: query
  29783. name: applystatus
  29784. type: integer
  29785. - description: 申请起始日期(格式yyyymmdd)
  29786. in: query
  29787. name: begindate
  29788. type: string
  29789. - description: 申请截止日期(格式yyyymmdd)
  29790. in: query
  29791. name: enddate
  29792. type: string
  29793. - description: 模糊搜索名称
  29794. in: query
  29795. name: likename
  29796. type: string
  29797. produces:
  29798. - application/json
  29799. responses:
  29800. "200":
  29801. description: OK
  29802. schema:
  29803. items:
  29804. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29805. type: array
  29806. "500":
  29807. description: Internal Server Error
  29808. schema:
  29809. $ref: '#/definitions/app.Response'
  29810. security:
  29811. - ApiKeyAuth: []
  29812. summary: 查询充值提现
  29813. tags:
  29814. - 大连千海金(PCWeb)
  29815. /QhjMgr/QueryBrokerApply:
  29816. get:
  29817. parameters:
  29818. - description: 所属机构ID
  29819. in: query
  29820. name: userid
  29821. type: integer
  29822. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29823. in: query
  29824. name: filterstatus
  29825. type: string
  29826. - description: 名称(模糊匹配)
  29827. in: query
  29828. name: filtername
  29829. type: string
  29830. - description: 是否包含子级 1-包含
  29831. in: query
  29832. name: includesub
  29833. type: integer
  29834. produces:
  29835. - application/json
  29836. responses:
  29837. "200":
  29838. description: OK
  29839. schema:
  29840. items:
  29841. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29842. type: array
  29843. "500":
  29844. description: Internal Server Error
  29845. schema:
  29846. $ref: '#/definitions/app.Response'
  29847. security:
  29848. - ApiKeyAuth: []
  29849. summary: 查询经纪人申请
  29850. tags:
  29851. - 大连千海金(PCWeb)
  29852. /QhjMgr/QueryBrokerRewardReport:
  29853. get:
  29854. parameters:
  29855. - description: 所属机构ID
  29856. in: query
  29857. name: userid
  29858. required: true
  29859. type: integer
  29860. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29861. in: query
  29862. name: cycletype
  29863. required: true
  29864. type: integer
  29865. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29866. in: query
  29867. name: cycletime
  29868. required: true
  29869. type: string
  29870. - description: 名称(模糊匹配)
  29871. in: query
  29872. name: filtername
  29873. type: string
  29874. - description: 是否包含子级 1-包含
  29875. in: query
  29876. name: includesub
  29877. type: integer
  29878. produces:
  29879. - application/json
  29880. responses:
  29881. "200":
  29882. description: OK
  29883. schema:
  29884. items:
  29885. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29886. type: array
  29887. "500":
  29888. description: Internal Server Error
  29889. schema:
  29890. $ref: '#/definitions/app.Response'
  29891. security:
  29892. - ApiKeyAuth: []
  29893. summary: 查询经纪人奖励报表(废弃)
  29894. tags:
  29895. - 大连千海金(PCWeb)
  29896. /QhjMgr/QueryContract:
  29897. get:
  29898. parameters:
  29899. - description: 用户ID
  29900. in: query
  29901. name: userid
  29902. type: integer
  29903. - description: 商品id
  29904. in: query
  29905. name: goodsid
  29906. type: integer
  29907. - description: 名称(模糊搜索账户)
  29908. in: query
  29909. name: filtername
  29910. type: string
  29911. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29912. in: query
  29913. name: risklevel
  29914. type: string
  29915. - description: 开始交易日(yyyymmdd)
  29916. in: query
  29917. name: begindate
  29918. type: string
  29919. - description: 结束交易日(yyyymmdd)
  29920. in: query
  29921. name: enddate
  29922. type: string
  29923. produces:
  29924. - application/json
  29925. responses:
  29926. "200":
  29927. description: OK
  29928. schema:
  29929. items:
  29930. $ref: '#/definitions/models.QhjMgrContract'
  29931. type: array
  29932. "500":
  29933. description: Internal Server Error
  29934. schema:
  29935. $ref: '#/definitions/app.Response'
  29936. security:
  29937. - ApiKeyAuth: []
  29938. summary: 查询融资信息(合同)
  29939. tags:
  29940. - 大连千海金(PCWeb)
  29941. /QhjMgr/QueryCustomerInfo:
  29942. get:
  29943. parameters:
  29944. - description: 用户ID
  29945. in: query
  29946. name: userid
  29947. required: true
  29948. type: integer
  29949. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29950. in: query
  29951. name: querytype
  29952. required: true
  29953. type: integer
  29954. - description: 客户类型 1-个人 2-企业
  29955. in: query
  29956. name: userinfotype
  29957. type: integer
  29958. - description: 客户名称(模糊匹配)
  29959. in: query
  29960. name: customername
  29961. type: string
  29962. - description: 昵称(模糊匹配)
  29963. in: query
  29964. name: nickname
  29965. type: string
  29966. - description: 所属客户经理(模糊匹配)
  29967. in: query
  29968. name: brokername
  29969. type: string
  29970. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29971. 如0503 -5月3日)
  29972. in: query
  29973. name: birthday
  29974. type: string
  29975. - description: 是否包含子级 1-包含
  29976. in: query
  29977. name: includesub
  29978. type: integer
  29979. produces:
  29980. - application/json
  29981. responses:
  29982. "200":
  29983. description: OK
  29984. schema:
  29985. items:
  29986. $ref: '#/definitions/models.QhjMgrCustomer'
  29987. type: array
  29988. "500":
  29989. description: Internal Server Error
  29990. schema:
  29991. $ref: '#/definitions/app.Response'
  29992. security:
  29993. - ApiKeyAuth: []
  29994. summary: 查询客户资料
  29995. tags:
  29996. - 大连千海金(PCWeb)
  29997. /QhjMgr/QueryPickGoods:
  29998. get:
  29999. parameters:
  30000. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30001. in: query
  30002. name: status
  30003. type: string
  30004. produces:
  30005. - application/json
  30006. responses:
  30007. "200":
  30008. description: OK
  30009. schema:
  30010. items:
  30011. $ref: '#/definitions/models.QhjMgrPickGoods'
  30012. type: array
  30013. "500":
  30014. description: Internal Server Error
  30015. schema:
  30016. $ref: '#/definitions/app.Response'
  30017. security:
  30018. - ApiKeyAuth: []
  30019. summary: 查询提货商品
  30020. tags:
  30021. - 大连千海金(PCWeb)
  30022. /QhjMgr/QuerySubArea:
  30023. get:
  30024. parameters:
  30025. - description: 用户ID
  30026. in: query
  30027. name: userid
  30028. required: true
  30029. type: integer
  30030. produces:
  30031. - application/json
  30032. responses:
  30033. "200":
  30034. description: OK
  30035. schema:
  30036. items:
  30037. $ref: '#/definitions/models.QhjMgrSubArea'
  30038. type: array
  30039. "500":
  30040. description: Internal Server Error
  30041. schema:
  30042. $ref: '#/definitions/app.Response'
  30043. security:
  30044. - ApiKeyAuth: []
  30045. summary: 查询子机构列表
  30046. tags:
  30047. - 大连千海金(PCWeb)
  30048. /QhjMgr/QueryTradeDetail:
  30049. get:
  30050. parameters:
  30051. - description: 用户ID
  30052. in: query
  30053. name: userid
  30054. required: true
  30055. type: integer
  30056. - description: 用户类型 1-个人 2-企业
  30057. in: query
  30058. name: userinfotype
  30059. type: integer
  30060. - description: 交易模式
  30061. in: query
  30062. name: trademode
  30063. type: integer
  30064. - description: 商品id
  30065. in: query
  30066. name: goodsid
  30067. type: integer
  30068. - description: 名称(模糊搜索账户)
  30069. in: query
  30070. name: filtername
  30071. type: string
  30072. - description: 开始交易日(yyyymmdd)
  30073. in: query
  30074. name: begindate
  30075. type: string
  30076. - description: 结束交易日(yyyymmdd)
  30077. in: query
  30078. name: enddate
  30079. type: string
  30080. - description: 是否包含子级 1-包含
  30081. in: query
  30082. name: includesub
  30083. type: integer
  30084. produces:
  30085. - application/json
  30086. responses:
  30087. "200":
  30088. description: OK
  30089. schema:
  30090. items:
  30091. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30092. type: array
  30093. "500":
  30094. description: Internal Server Error
  30095. schema:
  30096. $ref: '#/definitions/app.Response'
  30097. security:
  30098. - ApiKeyAuth: []
  30099. summary: 查询成交明细
  30100. tags:
  30101. - 大连千海金(PCWeb)
  30102. /QhjMgr/QueryTradeOrderDetail:
  30103. get:
  30104. parameters:
  30105. - description: 用户ID
  30106. in: query
  30107. name: userid
  30108. required: true
  30109. type: integer
  30110. - description: 用户类型 1-个人 2-企业
  30111. in: query
  30112. name: userinfotype
  30113. type: integer
  30114. - description: 交易模式
  30115. in: query
  30116. name: trademode
  30117. type: integer
  30118. - description: 商品id
  30119. in: query
  30120. name: goodsid
  30121. type: integer
  30122. - description: 名称(模糊搜索账户)
  30123. in: query
  30124. name: filtername
  30125. type: string
  30126. - description: 开始交易日(yyyymmdd)
  30127. in: query
  30128. name: begindate
  30129. type: string
  30130. - description: 结束交易日(yyyymmdd)
  30131. in: query
  30132. name: enddate
  30133. type: string
  30134. - description: 是否包含子级 1-包含
  30135. in: query
  30136. name: includesub
  30137. type: integer
  30138. produces:
  30139. - application/json
  30140. responses:
  30141. "200":
  30142. description: OK
  30143. schema:
  30144. items:
  30145. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30146. type: array
  30147. "500":
  30148. description: Internal Server Error
  30149. schema:
  30150. $ref: '#/definitions/app.Response'
  30151. security:
  30152. - ApiKeyAuth: []
  30153. summary: 查询委托明细
  30154. tags:
  30155. - 大连千海金(PCWeb)
  30156. /QhjMgr/QueryTradePayOrder:
  30157. get:
  30158. parameters:
  30159. - description: 用户ID
  30160. in: query
  30161. name: userid
  30162. required: true
  30163. type: integer
  30164. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30165. in: query
  30166. name: payflag
  30167. type: string
  30168. - description: 用户类型 1-个人 2-企业
  30169. in: query
  30170. name: userinfotype
  30171. type: integer
  30172. - description: 交易模式
  30173. in: query
  30174. name: trademode
  30175. type: integer
  30176. - description: 商品id
  30177. in: query
  30178. name: goodsid
  30179. type: integer
  30180. - description: 名称(模糊搜索账户)
  30181. in: query
  30182. name: filtername
  30183. type: string
  30184. - description: 开始交易日(yyyymmdd)
  30185. in: query
  30186. name: begindate
  30187. type: string
  30188. - description: 结束交易日(yyyymmdd)
  30189. in: query
  30190. name: enddate
  30191. type: string
  30192. - description: 是否包含子级 1-包含
  30193. in: query
  30194. name: includesub
  30195. type: integer
  30196. produces:
  30197. - application/json
  30198. responses:
  30199. "200":
  30200. description: OK
  30201. schema:
  30202. items:
  30203. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30204. type: array
  30205. "500":
  30206. description: Internal Server Error
  30207. schema:
  30208. $ref: '#/definitions/app.Response'
  30209. security:
  30210. - ApiKeyAuth: []
  30211. summary: 查询待付款单
  30212. tags:
  30213. - 大连千海金(PCWeb)
  30214. /QhjMgr/QueryTradePosition:
  30215. get:
  30216. parameters:
  30217. - description: 用户ID
  30218. in: query
  30219. name: userid
  30220. required: true
  30221. type: integer
  30222. - description: 用户类型 1-个人 2-企业
  30223. in: query
  30224. name: userinfotype
  30225. type: integer
  30226. - description: 交易模式
  30227. in: query
  30228. name: trademode
  30229. type: integer
  30230. - description: 商品id
  30231. in: query
  30232. name: goodsid
  30233. type: integer
  30234. - description: 名称(模糊搜索账户)
  30235. in: query
  30236. name: filtername
  30237. type: string
  30238. - description: 是否包含子级 1-包含
  30239. in: query
  30240. name: includesub
  30241. type: integer
  30242. produces:
  30243. - application/json
  30244. responses:
  30245. "200":
  30246. description: OK
  30247. schema:
  30248. items:
  30249. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30250. type: array
  30251. "500":
  30252. description: Internal Server Error
  30253. schema:
  30254. $ref: '#/definitions/app.Response'
  30255. security:
  30256. - ApiKeyAuth: []
  30257. summary: 查询持仓汇总
  30258. tags:
  30259. - 大连千海金(PCWeb)
  30260. /QhjSys/QueryAgreementChangeLog:
  30261. get:
  30262. parameters:
  30263. - description: 协议ID
  30264. in: query
  30265. name: agreementid
  30266. type: integer
  30267. - description: 协议版本号
  30268. in: query
  30269. name: agreementversion
  30270. type: integer
  30271. - description: 协议类型 - 1:注册 2:登录 3:交易
  30272. in: query
  30273. name: agreementtype
  30274. type: integer
  30275. - description: 协议编号(模糊匹配)
  30276. in: query
  30277. name: agreementno
  30278. type: string
  30279. - description: 协议名称(模糊匹配)
  30280. in: query
  30281. name: agreementname
  30282. type: string
  30283. produces:
  30284. - application/json
  30285. responses:
  30286. "200":
  30287. description: OK
  30288. schema:
  30289. items:
  30290. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30291. type: array
  30292. "500":
  30293. description: Internal Server Error
  30294. schema:
  30295. $ref: '#/definitions/app.Response'
  30296. security:
  30297. - ApiKeyAuth: []
  30298. summary: 查询协议配置变更流水
  30299. tags:
  30300. - 大连千海金(协议和签约信息)
  30301. /QhjSys/QueryAgreementConfig:
  30302. get:
  30303. parameters:
  30304. - description: 协议ID
  30305. in: query
  30306. name: agreementid
  30307. type: integer
  30308. - description: 协议版本号
  30309. in: query
  30310. name: agreementversion
  30311. type: integer
  30312. - description: 协议类型 - 1:注册 2:登录 3:交易
  30313. in: query
  30314. name: agreementtype
  30315. type: integer
  30316. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  30317. in: query
  30318. name: isvalid
  30319. type: integer
  30320. - description: 协议编号(模糊匹配)
  30321. in: query
  30322. name: agreementno
  30323. type: string
  30324. - description: 协议名称(模糊匹配)
  30325. in: query
  30326. name: agreementname
  30327. type: string
  30328. produces:
  30329. - application/json
  30330. responses:
  30331. "200":
  30332. description: OK
  30333. schema:
  30334. items:
  30335. $ref: '#/definitions/models.QhjAgreementConfig'
  30336. type: array
  30337. "500":
  30338. description: Internal Server Error
  30339. schema:
  30340. $ref: '#/definitions/app.Response'
  30341. security:
  30342. - ApiKeyAuth: []
  30343. summary: 查询协议配置
  30344. tags:
  30345. - 大连千海金(协议和签约信息)
  30346. /QhjSys/QueryCustomerSignStatus:
  30347. get:
  30348. parameters:
  30349. - description: 客户ID
  30350. in: query
  30351. name: userid
  30352. type: integer
  30353. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  30354. in: query
  30355. name: nodetype
  30356. type: integer
  30357. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30358. in: query
  30359. name: goodsid
  30360. type: integer
  30361. - description: 创建交易日(yyyyMMdd)
  30362. in: query
  30363. name: tradedate
  30364. type: string
  30365. - description: 用户名称(模糊匹配)
  30366. in: query
  30367. name: username
  30368. type: string
  30369. produces:
  30370. - application/json
  30371. responses:
  30372. "200":
  30373. description: OK
  30374. schema:
  30375. items:
  30376. $ref: '#/definitions/models.QhjCustomerSignStatus'
  30377. type: array
  30378. "500":
  30379. description: Internal Server Error
  30380. schema:
  30381. $ref: '#/definitions/app.Response'
  30382. security:
  30383. - ApiKeyAuth: []
  30384. summary: 查询客户协议签约状态
  30385. tags:
  30386. - 大连千海金(协议和签约信息)
  30387. /QhjSys/QueryNodeAgreementConfig:
  30388. get:
  30389. parameters:
  30390. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30391. in: query
  30392. name: configid
  30393. type: integer
  30394. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30395. in: query
  30396. name: nodetype
  30397. type: integer
  30398. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30399. in: query
  30400. name: goodsid
  30401. type: integer
  30402. - description: 协议ID
  30403. in: query
  30404. name: agreementid
  30405. type: integer
  30406. - description: 协议类型 - 1:注册 2:登录 3:交易
  30407. in: query
  30408. name: agreementtype
  30409. type: integer
  30410. - description: 协议版本号
  30411. in: query
  30412. name: agreementversion
  30413. type: integer
  30414. - description: 协议编号(模糊匹配)
  30415. in: query
  30416. name: agreementno
  30417. type: string
  30418. - description: 协议名称(模糊匹配)
  30419. in: query
  30420. name: agreementname
  30421. type: string
  30422. produces:
  30423. - application/json
  30424. responses:
  30425. "200":
  30426. description: OK
  30427. schema:
  30428. items:
  30429. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  30430. type: array
  30431. "500":
  30432. description: Internal Server Error
  30433. schema:
  30434. $ref: '#/definitions/app.Response'
  30435. security:
  30436. - ApiKeyAuth: []
  30437. summary: 查询协议节点配置
  30438. tags:
  30439. - 大连千海金(协议和签约信息)
  30440. /QhjSys/QueryQhjCustomerSignLog:
  30441. get:
  30442. parameters:
  30443. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  30444. in: query
  30445. name: logid
  30446. type: integer
  30447. - description: 客户ID
  30448. in: query
  30449. name: userid
  30450. type: integer
  30451. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30452. in: query
  30453. name: nodetype
  30454. type: integer
  30455. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30456. in: query
  30457. name: goodsid
  30458. type: integer
  30459. - description: 协议ID
  30460. in: query
  30461. name: agreementid
  30462. type: integer
  30463. - description: 用户名称(模糊匹配)
  30464. in: query
  30465. name: username
  30466. type: string
  30467. - description: 协议编号(模糊匹配)
  30468. in: query
  30469. name: agreementno
  30470. type: string
  30471. - description: 协议名称(模糊匹配)
  30472. in: query
  30473. name: agreementname
  30474. type: string
  30475. produces:
  30476. - application/json
  30477. responses:
  30478. "200":
  30479. description: OK
  30480. schema:
  30481. items:
  30482. $ref: '#/definitions/models.QhjCustomerSignLog'
  30483. type: array
  30484. "500":
  30485. description: Internal Server Error
  30486. schema:
  30487. $ref: '#/definitions/app.Response'
  30488. security:
  30489. - ApiKeyAuth: []
  30490. summary: 查询客户协议签约流水
  30491. tags:
  30492. - 大连千海金(协议和签约信息)
  30493. /QhjSys/QueryUserNodeCfgAndStatus:
  30494. get:
  30495. parameters:
  30496. - description: 客户ID
  30497. in: query
  30498. name: userid
  30499. type: integer
  30500. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30501. in: query
  30502. name: configid
  30503. type: integer
  30504. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30505. in: query
  30506. name: nodetype
  30507. type: string
  30508. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30509. in: query
  30510. name: goodsid
  30511. type: integer
  30512. - description: 协议ID
  30513. in: query
  30514. name: agreementid
  30515. type: integer
  30516. - description: 协议类型 - 1:注册 2:登录 3:交易
  30517. in: query
  30518. name: agreementtype
  30519. type: integer
  30520. - description: 协议版本号
  30521. in: query
  30522. name: agreementversion
  30523. type: integer
  30524. - description: 协议编号(模糊匹配)
  30525. in: query
  30526. name: agreementno
  30527. type: string
  30528. - description: 协议名称(模糊匹配)
  30529. in: query
  30530. name: agreementname
  30531. type: string
  30532. produces:
  30533. - application/json
  30534. responses:
  30535. "200":
  30536. description: OK
  30537. schema:
  30538. items:
  30539. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  30540. type: array
  30541. "500":
  30542. description: Internal Server Error
  30543. schema:
  30544. $ref: '#/definitions/app.Response'
  30545. security:
  30546. - ApiKeyAuth: []
  30547. summary: 查询用户协议节点配置和状态
  30548. tags:
  30549. - 大连千海金(协议和签约信息)
  30550. /Quote/QueryHistoryDatas:
  30551. get:
  30552. parameters:
  30553. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  30554. 日线 12:周线 13:月线 14:年线'
  30555. in: query
  30556. name: cycleType
  30557. required: true
  30558. type: integer
  30559. - description: 商品代码
  30560. in: query
  30561. name: goodsCode
  30562. required: true
  30563. type: string
  30564. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30565. in: query
  30566. name: startTime
  30567. type: string
  30568. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30569. in: query
  30570. name: endTime
  30571. type: string
  30572. - description: 条数
  30573. in: query
  30574. name: count
  30575. type: integer
  30576. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30577. in: query
  30578. name: isAsc
  30579. type: boolean
  30580. produces:
  30581. - application/json
  30582. responses:
  30583. "200":
  30584. description: OK
  30585. schema:
  30586. $ref: '#/definitions/quote.HistoryData'
  30587. "500":
  30588. description: Internal Server Error
  30589. schema:
  30590. $ref: '#/definitions/app.Response'
  30591. security:
  30592. - ApiKeyAuth: []
  30593. summary: 查询行情历史数据
  30594. tags:
  30595. - 行情服务
  30596. /Quote/QueryHistoryTikDatas:
  30597. get:
  30598. parameters:
  30599. - description: 商品代码
  30600. in: query
  30601. name: goodsCode
  30602. required: true
  30603. type: string
  30604. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30605. in: query
  30606. name: startTime
  30607. type: string
  30608. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30609. in: query
  30610. name: endTime
  30611. type: string
  30612. - description: 条数
  30613. in: query
  30614. name: count
  30615. type: integer
  30616. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30617. in: query
  30618. name: isAsc
  30619. type: boolean
  30620. produces:
  30621. - application/json
  30622. responses:
  30623. "200":
  30624. description: OK
  30625. schema:
  30626. $ref: '#/definitions/quote.HistoryTikData'
  30627. "500":
  30628. description: Internal Server Error
  30629. schema:
  30630. $ref: '#/definitions/app.Response'
  30631. security:
  30632. - ApiKeyAuth: []
  30633. summary: 查询行情Tik数据
  30634. tags:
  30635. - 行情服务
  30636. /Quote/QueryQuoteDay:
  30637. get:
  30638. parameters:
  30639. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  30640. in: query
  30641. name: goodsCodes
  30642. type: string
  30643. produces:
  30644. - application/json
  30645. responses:
  30646. "200":
  30647. description: OK
  30648. schema:
  30649. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30650. "500":
  30651. description: Internal Server Error
  30652. schema:
  30653. $ref: '#/definitions/app.Response'
  30654. security:
  30655. - ApiKeyAuth: []
  30656. summary: 获取商品盘面信息
  30657. tags:
  30658. - 行情服务
  30659. /Quote/QueryTSData:
  30660. get:
  30661. parameters:
  30662. - description: 商品代码
  30663. in: query
  30664. name: goodsCode
  30665. required: true
  30666. type: string
  30667. produces:
  30668. - application/json
  30669. responses:
  30670. "200":
  30671. description: OK
  30672. schema:
  30673. $ref: '#/definitions/quote.QueryTSDataRsp'
  30674. "500":
  30675. description: Internal Server Error
  30676. schema:
  30677. $ref: '#/definitions/app.Response'
  30678. security:
  30679. - ApiKeyAuth: []
  30680. summary: 分时图数据查询
  30681. tags:
  30682. - 行情服务
  30683. /SZDZ/QueryConvertConfig:
  30684. get:
  30685. parameters:
  30686. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30687. 6:交易转花生米(不设置)
  30688. in: query
  30689. name: convertType
  30690. type: integer
  30691. - description: 外部商品代码[JD\PD]
  30692. in: query
  30693. name: outerGoodsCode
  30694. type: string
  30695. - description: 内部商品ID列表[交易],格式:1,2,3
  30696. in: query
  30697. name: innerGoodsIDs
  30698. type: string
  30699. produces:
  30700. - application/json
  30701. responses:
  30702. "200":
  30703. description: OK
  30704. schema:
  30705. $ref: '#/definitions/models.Szdz3convertconfig'
  30706. "500":
  30707. description: Internal Server Error
  30708. schema:
  30709. $ref: '#/definitions/app.Response'
  30710. security:
  30711. - ApiKeyAuth: []
  30712. summary: 查询交易系统转换设置
  30713. tags:
  30714. - 定制【尚志大宗】
  30715. /SZDZ/QueryConvertLog:
  30716. get:
  30717. parameters:
  30718. - description: 资金账户 - 格式:1,2,3
  30719. in: query
  30720. name: accountID
  30721. required: true
  30722. type: string
  30723. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30724. in: query
  30725. name: startDate
  30726. type: string
  30727. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30728. in: query
  30729. name: endDate
  30730. type: string
  30731. produces:
  30732. - application/json
  30733. responses:
  30734. "200":
  30735. description: OK
  30736. schema:
  30737. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30738. "500":
  30739. description: Internal Server Error
  30740. schema:
  30741. $ref: '#/definitions/app.Response'
  30742. security:
  30743. - ApiKeyAuth: []
  30744. summary: 交易系统转换流水查询
  30745. tags:
  30746. - 定制【尚志大宗】
  30747. /SZDZ/QueryGoodsPickup:
  30748. get:
  30749. parameters:
  30750. - description: 资金账户 - 格式:1,2,3
  30751. in: query
  30752. name: accountID
  30753. required: true
  30754. type: string
  30755. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30756. in: query
  30757. name: takeOrderStatus
  30758. type: integer
  30759. produces:
  30760. - application/json
  30761. responses:
  30762. "200":
  30763. description: OK
  30764. schema:
  30765. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30766. "500":
  30767. description: Internal Server Error
  30768. schema:
  30769. $ref: '#/definitions/app.Response'
  30770. security:
  30771. - ApiKeyAuth: []
  30772. summary: 商品提货单查询
  30773. tags:
  30774. - 定制【尚志大宗】
  30775. /SZDZ/QueryRecieptOrder:
  30776. get:
  30777. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30778. parameters:
  30779. - description: 页码
  30780. in: query
  30781. name: page
  30782. type: integer
  30783. - description: 每页条数
  30784. in: query
  30785. name: pagesize
  30786. type: integer
  30787. - description: 商品ID
  30788. in: query
  30789. name: goodsID
  30790. required: true
  30791. type: integer
  30792. - description: 所属账户名称
  30793. in: query
  30794. name: accountName
  30795. type: string
  30796. - description: 市场ID
  30797. in: query
  30798. name: marketID
  30799. type: integer
  30800. - description: 方向 - 0:买 1:卖
  30801. in: query
  30802. name: buyorsell
  30803. required: true
  30804. type: integer
  30805. produces:
  30806. - application/json
  30807. responses:
  30808. "200":
  30809. description: OK
  30810. schema:
  30811. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30812. "500":
  30813. description: Internal Server Error
  30814. schema:
  30815. $ref: '#/definitions/app.Response'
  30816. security:
  30817. - ApiKeyAuth: []
  30818. summary: 点选挂牌委托单据查询(摘牌大厅)
  30819. tags:
  30820. - 定制【尚志大宗】
  30821. /SZDZ/QuerySZDZTradePosition:
  30822. get:
  30823. parameters:
  30824. - description: 资金账户
  30825. in: query
  30826. name: accountID
  30827. required: true
  30828. type: integer
  30829. produces:
  30830. - application/json
  30831. responses:
  30832. "200":
  30833. description: OK
  30834. schema:
  30835. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30836. "500":
  30837. description: Internal Server Error
  30838. schema:
  30839. $ref: '#/definitions/app.Response'
  30840. security:
  30841. - ApiKeyAuth: []
  30842. summary: 持仓汇总查询(尚志大宗)
  30843. tags:
  30844. - 定制【尚志大宗】
  30845. /SZDZ/SearchWhite:
  30846. get:
  30847. parameters:
  30848. - description: 用户ID
  30849. in: query
  30850. name: userID
  30851. required: true
  30852. type: integer
  30853. produces:
  30854. - application/json
  30855. responses:
  30856. "200":
  30857. description: OK
  30858. schema:
  30859. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30860. "500":
  30861. description: Internal Server Error
  30862. schema:
  30863. $ref: '#/definitions/app.Response'
  30864. security:
  30865. - ApiKeyAuth: []
  30866. summary: 搜索白名单
  30867. tags:
  30868. - 定制【尚志大宗】
  30869. /Search/SearchGoodses:
  30870. get:
  30871. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30872. parameters:
  30873. - description: 检索内容
  30874. in: query
  30875. name: content
  30876. required: true
  30877. type: string
  30878. - description: 交易模式,格式:1,2,3
  30879. in: query
  30880. name: tradeModes
  30881. type: string
  30882. produces:
  30883. - application/json
  30884. responses:
  30885. "200":
  30886. description: OK
  30887. schema:
  30888. $ref: '#/definitions/models.SearchGoods'
  30889. "500":
  30890. description: Internal Server Error
  30891. schema:
  30892. $ref: '#/definitions/app.Response'
  30893. summary: 检索商品信息
  30894. tags:
  30895. - 检索服务
  30896. /TaAccount/GetTaAccounts:
  30897. get:
  30898. parameters:
  30899. - description: 登录账户
  30900. in: query
  30901. name: loginID
  30902. required: true
  30903. type: integer
  30904. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30905. in: query
  30906. name: taAccountType
  30907. type: integer
  30908. produces:
  30909. - application/json
  30910. responses:
  30911. "200":
  30912. description: OK
  30913. schema:
  30914. $ref: '#/definitions/models.Taaccount'
  30915. "500":
  30916. description: Internal Server Error
  30917. schema:
  30918. $ref: '#/definitions/app.Response'
  30919. security:
  30920. - ApiKeyAuth: []
  30921. summary: 获取资金账户信息
  30922. tags:
  30923. - 资金账户
  30924. /TaAccount/QueryAmountLog:
  30925. get:
  30926. parameters:
  30927. - description: 页码
  30928. in: query
  30929. name: page
  30930. type: integer
  30931. - description: 每页条数
  30932. in: query
  30933. name: pagesize
  30934. type: integer
  30935. - description: 资金账户 - 格式:1,2,3
  30936. in: query
  30937. name: accountID
  30938. required: true
  30939. type: string
  30940. - description: 资金操作类型 - 格式:1,2,3
  30941. in: query
  30942. name: OperateType
  30943. type: string
  30944. produces:
  30945. - application/json
  30946. responses:
  30947. "200":
  30948. description: OK
  30949. schema:
  30950. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30951. "500":
  30952. description: Internal Server Error
  30953. schema:
  30954. $ref: '#/definitions/app.Response'
  30955. security:
  30956. - ApiKeyAuth: []
  30957. summary: 资金流水查询(当前)
  30958. tags:
  30959. - 资金账户
  30960. /TaAccount/QueryHisAmountLog:
  30961. get:
  30962. parameters:
  30963. - description: 页码
  30964. in: query
  30965. name: page
  30966. type: integer
  30967. - description: 每页条数
  30968. in: query
  30969. name: pagesize
  30970. type: integer
  30971. - description: 资金账户 - 格式:1,2,3
  30972. in: query
  30973. name: accountID
  30974. required: true
  30975. type: string
  30976. - description: 资金操作类型 - 格式:1,2,3
  30977. in: query
  30978. name: OperateType
  30979. type: string
  30980. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30981. in: query
  30982. name: startDate
  30983. type: string
  30984. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30985. in: query
  30986. name: endDate
  30987. type: string
  30988. produces:
  30989. - application/json
  30990. responses:
  30991. "200":
  30992. description: OK
  30993. schema:
  30994. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30995. "500":
  30996. description: Internal Server Error
  30997. schema:
  30998. $ref: '#/definitions/app.Response'
  30999. security:
  31000. - ApiKeyAuth: []
  31001. summary: 资金流水查询(历史)
  31002. tags:
  31003. - 资金账户
  31004. /TaAccount/QueryRelatedTaAccount:
  31005. get:
  31006. parameters:
  31007. - description: 关联UserID
  31008. in: query
  31009. name: relateduserid
  31010. required: true
  31011. type: integer
  31012. produces:
  31013. - application/json
  31014. responses:
  31015. "200":
  31016. description: OK
  31017. schema:
  31018. items:
  31019. $ref: '#/definitions/models.RelatedTaAccount'
  31020. type: array
  31021. "500":
  31022. description: Internal Server Error
  31023. schema:
  31024. $ref: '#/definitions/app.Response'
  31025. security:
  31026. - ApiKeyAuth: []
  31027. summary: 查询关联资金账户信息
  31028. tags:
  31029. - 资金账户
  31030. /Tjmd/QueryQuoteGoodsList:
  31031. get:
  31032. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31033. parameters:
  31034. - description: 用户类型
  31035. in: query
  31036. name: usertype
  31037. required: true
  31038. type: integer
  31039. - description: 市场id, 格式 1,2,3
  31040. in: query
  31041. name: marketids
  31042. type: string
  31043. - description: 商品组id
  31044. in: query
  31045. name: goodsgroupid
  31046. type: integer
  31047. - description: 商品id
  31048. in: query
  31049. name: goodsid
  31050. type: integer
  31051. produces:
  31052. - application/json
  31053. responses:
  31054. "200":
  31055. description: OK
  31056. schema:
  31057. items:
  31058. $ref: '#/definitions/models.TjmdQuoteGoods'
  31059. type: array
  31060. "500":
  31061. description: Internal Server Error
  31062. schema:
  31063. $ref: '#/definitions/app.Response'
  31064. security:
  31065. - ApiKeyAuth: []
  31066. summary: 查询掉期报价列表
  31067. tags:
  31068. - 天津麦顿
  31069. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31070. get:
  31071. parameters:
  31072. - description: 成交单号
  31073. in: query
  31074. name: tradeid
  31075. required: true
  31076. type: string
  31077. produces:
  31078. - application/json
  31079. responses:
  31080. "200":
  31081. description: OK
  31082. schema:
  31083. items:
  31084. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31085. type: array
  31086. "500":
  31087. description: Internal Server Error
  31088. schema:
  31089. $ref: '#/definitions/app.Response'
  31090. security:
  31091. - ApiKeyAuth: []
  31092. summary: 掉期商品订单详情(交易确认书)
  31093. tags:
  31094. - 天津麦顿
  31095. /Tjmd/QueryTjmdMarketSection:
  31096. get:
  31097. produces:
  31098. - application/json
  31099. responses:
  31100. "200":
  31101. description: OK
  31102. schema:
  31103. items:
  31104. $ref: '#/definitions/models.TjmdMarketSection'
  31105. type: array
  31106. "500":
  31107. description: Internal Server Error
  31108. schema:
  31109. $ref: '#/definitions/app.Response'
  31110. security:
  31111. - ApiKeyAuth: []
  31112. summary: 查询市场板块
  31113. tags:
  31114. - 天津麦顿
  31115. /Tjmd/QueryTjmdTodayAccountMargin:
  31116. get:
  31117. parameters:
  31118. - description: 市场id
  31119. in: query
  31120. name: marketid
  31121. type: string
  31122. - description: 商品id
  31123. in: query
  31124. name: goodsid
  31125. type: string
  31126. - description: 资金账号
  31127. in: query
  31128. name: accountid
  31129. type: string
  31130. produces:
  31131. - application/json
  31132. responses:
  31133. "200":
  31134. description: OK
  31135. schema:
  31136. items:
  31137. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31138. type: array
  31139. "500":
  31140. description: Internal Server Error
  31141. schema:
  31142. $ref: '#/definitions/app.Response'
  31143. security:
  31144. - ApiKeyAuth: []
  31145. summary: 查询今日账户保证金配置
  31146. tags:
  31147. - 天津麦顿
  31148. /Tjmd/QueryTjmdTradeOrderDetail:
  31149. get:
  31150. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31151. parameters:
  31152. - description: 页码
  31153. in: query
  31154. name: page
  31155. type: integer
  31156. - description: 每页条数
  31157. in: query
  31158. name: pagesize
  31159. type: integer
  31160. - description: 用户id
  31161. in: query
  31162. name: userid
  31163. required: true
  31164. type: integer
  31165. - description: 用户类型
  31166. in: query
  31167. name: usertype
  31168. required: true
  31169. type: integer
  31170. - description: 市场id, 格式 1,2,3
  31171. in: query
  31172. name: marketids
  31173. type: string
  31174. - description: 商品id
  31175. in: query
  31176. name: goodsid
  31177. required: true
  31178. type: integer
  31179. - description: 买卖方向 0-买 1-卖
  31180. in: query
  31181. name: buyorsell
  31182. required: true
  31183. type: integer
  31184. produces:
  31185. - application/json
  31186. responses:
  31187. "200":
  31188. description: OK
  31189. schema:
  31190. items:
  31191. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31192. type: array
  31193. "500":
  31194. description: Internal Server Error
  31195. schema:
  31196. $ref: '#/definitions/app.Response'
  31197. security:
  31198. - ApiKeyAuth: []
  31199. summary: 查询掉期买卖大厅
  31200. tags:
  31201. - 天津麦顿
  31202. /Tjmd/QueryTjmdTransferApply:
  31203. get:
  31204. parameters:
  31205. - description: 类型 1-我的申请 2-对方申请
  31206. in: query
  31207. name: applytype
  31208. required: true
  31209. type: integer
  31210. - description: 市场id, 格式 1,2,3
  31211. in: query
  31212. name: marketids
  31213. type: string
  31214. - description: 资金账号, 格式 25000000001,25000000003
  31215. in: query
  31216. name: accountids
  31217. type: string
  31218. - description: 开始交易日(yyyymmdd)
  31219. in: query
  31220. name: begindate
  31221. type: string
  31222. - description: 结束交易日(yyyymmdd)
  31223. in: query
  31224. name: enddate
  31225. type: string
  31226. produces:
  31227. - application/json
  31228. responses:
  31229. "200":
  31230. description: OK
  31231. schema:
  31232. items:
  31233. $ref: '#/definitions/models.TjmdTransferApply'
  31234. type: array
  31235. "500":
  31236. description: Internal Server Error
  31237. schema:
  31238. $ref: '#/definitions/app.Response'
  31239. security:
  31240. - ApiKeyAuth: []
  31241. summary: 查询掉期协议单
  31242. tags:
  31243. - 天津麦顿
  31244. /Trade/QueryRecieptOrder:
  31245. get:
  31246. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31247. parameters:
  31248. - description: 页码
  31249. in: query
  31250. name: page
  31251. type: integer
  31252. - description: 每页条数
  31253. in: query
  31254. name: pagesize
  31255. type: integer
  31256. - description: 商品ID
  31257. in: query
  31258. name: goodsID
  31259. required: true
  31260. type: integer
  31261. - description: 所属账户名称
  31262. in: query
  31263. name: accountName
  31264. type: string
  31265. - description: 市场ID
  31266. in: query
  31267. name: marketID
  31268. type: integer
  31269. - description: 方向 - 0:买 1:卖
  31270. in: query
  31271. name: buyorsell
  31272. required: true
  31273. type: integer
  31274. produces:
  31275. - application/json
  31276. responses:
  31277. "200":
  31278. description: OK
  31279. schema:
  31280. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31281. "500":
  31282. description: Internal Server Error
  31283. schema:
  31284. $ref: '#/definitions/app.Response'
  31285. security:
  31286. - ApiKeyAuth: []
  31287. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31288. tags:
  31289. - 通用交易
  31290. /User/AddMessageBoard:
  31291. post:
  31292. parameters:
  31293. - description: 用户ID
  31294. in: query
  31295. name: userID
  31296. required: true
  31297. type: integer
  31298. - description: 留言信息
  31299. in: query
  31300. name: message
  31301. required: true
  31302. type: string
  31303. - description: 联系电话
  31304. in: query
  31305. name: contactNum
  31306. required: true
  31307. type: string
  31308. produces:
  31309. - application/json
  31310. responses:
  31311. "200":
  31312. description: OK
  31313. schema:
  31314. $ref: '#/definitions/app.Response'
  31315. "500":
  31316. description: Internal Server Error
  31317. schema:
  31318. $ref: '#/definitions/app.Response'
  31319. security:
  31320. - ApiKeyAuth: []
  31321. summary: 添加用户留言板信息
  31322. tags:
  31323. - 用户信息
  31324. /User/AddUserFavoriteGoods:
  31325. post:
  31326. parameters:
  31327. - description: 用户ID
  31328. in: query
  31329. name: userID
  31330. required: true
  31331. type: integer
  31332. - description: 商品ID
  31333. in: query
  31334. name: goodsID
  31335. required: true
  31336. type: integer
  31337. produces:
  31338. - application/json
  31339. responses:
  31340. "200":
  31341. description: OK
  31342. schema:
  31343. $ref: '#/definitions/app.Response'
  31344. "500":
  31345. description: Internal Server Error
  31346. schema:
  31347. $ref: '#/definitions/app.Response'
  31348. security:
  31349. - ApiKeyAuth: []
  31350. summary: 添加用户商品收藏信息
  31351. tags:
  31352. - 用户信息
  31353. /User/GetLoginID:
  31354. get:
  31355. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  31356. parameters:
  31357. - description: 登录代码
  31358. in: query
  31359. name: username
  31360. required: true
  31361. type: string
  31362. produces:
  31363. - application/json
  31364. responses:
  31365. "200":
  31366. description: OK
  31367. schema:
  31368. $ref: '#/definitions/app.Response'
  31369. "500":
  31370. description: Internal Server Error
  31371. schema:
  31372. $ref: '#/definitions/app.Response'
  31373. summary: 获取登录ID
  31374. tags:
  31375. - 用户信息
  31376. /User/GetUserAccount:
  31377. get:
  31378. parameters:
  31379. - description: 用户ID
  31380. in: query
  31381. name: userID
  31382. required: true
  31383. type: integer
  31384. produces:
  31385. - application/json
  31386. responses:
  31387. "200":
  31388. description: OK
  31389. schema:
  31390. $ref: '#/definitions/models.Useraccount'
  31391. "500":
  31392. description: Internal Server Error
  31393. schema:
  31394. $ref: '#/definitions/app.Response'
  31395. security:
  31396. - ApiKeyAuth: []
  31397. summary: 获取用户账号信息
  31398. tags:
  31399. - 用户信息
  31400. /User/GetUserAuthStatus:
  31401. get:
  31402. parameters:
  31403. - description: 用户ID
  31404. in: query
  31405. name: userID
  31406. required: true
  31407. type: integer
  31408. produces:
  31409. - application/json
  31410. responses:
  31411. "200":
  31412. description: OK
  31413. schema:
  31414. $ref: '#/definitions/app.Response'
  31415. "500":
  31416. description: Internal Server Error
  31417. schema:
  31418. $ref: '#/definitions/app.Response'
  31419. security:
  31420. - ApiKeyAuth: []
  31421. summary: 获取用户实名认证状态
  31422. tags:
  31423. - 用户信息
  31424. /User/LoginQuery:
  31425. get:
  31426. parameters:
  31427. - description: 登录账号
  31428. in: query
  31429. name: loginID
  31430. required: true
  31431. type: integer
  31432. produces:
  31433. - application/json
  31434. responses:
  31435. "200":
  31436. description: OK
  31437. schema:
  31438. $ref: '#/definitions/user.LoginQueryRsp'
  31439. "500":
  31440. description: Internal Server Error
  31441. schema:
  31442. $ref: '#/definitions/app.Response'
  31443. security:
  31444. - ApiKeyAuth: []
  31445. summary: 账户登录后信息查询
  31446. tags:
  31447. - 用户信息
  31448. /User/QueryMessageBoard:
  31449. get:
  31450. parameters:
  31451. - description: 用户ID
  31452. in: query
  31453. name: userID
  31454. required: true
  31455. type: integer
  31456. produces:
  31457. - application/json
  31458. responses:
  31459. "200":
  31460. description: OK
  31461. schema:
  31462. $ref: '#/definitions/models.Messageboard'
  31463. "500":
  31464. description: Internal Server Error
  31465. schema:
  31466. $ref: '#/definitions/app.Response'
  31467. security:
  31468. - ApiKeyAuth: []
  31469. summary: 获取用户留言板信息
  31470. tags:
  31471. - 用户信息
  31472. /User/QueryUserFavoriteGoodses:
  31473. get:
  31474. parameters:
  31475. - description: 用户ID
  31476. in: query
  31477. name: userID
  31478. required: true
  31479. type: integer
  31480. produces:
  31481. - application/json
  31482. responses:
  31483. "200":
  31484. description: OK
  31485. schema:
  31486. $ref: '#/definitions/models.Userfavoritegoods'
  31487. "500":
  31488. description: Internal Server Error
  31489. schema:
  31490. $ref: '#/definitions/app.Response'
  31491. security:
  31492. - ApiKeyAuth: []
  31493. summary: 获取用户商品收藏信息
  31494. tags:
  31495. - 用户信息
  31496. /User/QueryUserInfo:
  31497. get:
  31498. parameters:
  31499. - description: 用户ID
  31500. in: query
  31501. name: userID
  31502. required: true
  31503. type: integer
  31504. - description: 是否解密
  31505. in: query
  31506. name: isDecrypt
  31507. type: boolean
  31508. produces:
  31509. - application/json
  31510. responses:
  31511. "200":
  31512. description: OK
  31513. schema:
  31514. $ref: '#/definitions/models.Userinfo'
  31515. "500":
  31516. description: Internal Server Error
  31517. schema:
  31518. $ref: '#/definitions/app.Response'
  31519. security:
  31520. - ApiKeyAuth: []
  31521. summary: 获取用户信息
  31522. tags:
  31523. - 用户信息
  31524. /User/QueryUserReferNum:
  31525. get:
  31526. parameters:
  31527. - description: 用户ID
  31528. in: query
  31529. name: userID
  31530. required: true
  31531. type: integer
  31532. produces:
  31533. - application/json
  31534. responses:
  31535. "200":
  31536. description: OK
  31537. schema:
  31538. $ref: '#/definitions/app.Response'
  31539. "500":
  31540. description: Internal Server Error
  31541. schema:
  31542. $ref: '#/definitions/app.Response'
  31543. summary: 获取用户邀请码
  31544. tags:
  31545. - 用户信息
  31546. /User/RemoveUserFavoriteGoods:
  31547. post:
  31548. parameters:
  31549. - description: 用户ID
  31550. in: query
  31551. name: userID
  31552. required: true
  31553. type: integer
  31554. - description: 商品ID
  31555. in: query
  31556. name: goodsID
  31557. required: true
  31558. type: integer
  31559. produces:
  31560. - application/json
  31561. responses:
  31562. "200":
  31563. description: OK
  31564. schema:
  31565. $ref: '#/definitions/app.Response'
  31566. "500":
  31567. description: Internal Server Error
  31568. schema:
  31569. $ref: '#/definitions/app.Response'
  31570. security:
  31571. - ApiKeyAuth: []
  31572. summary: 移除用户商品收藏信息
  31573. tags:
  31574. - 用户信息
  31575. /User/UpdateUserAccountStatus:
  31576. post:
  31577. parameters:
  31578. - description: 用户ID
  31579. in: query
  31580. name: userID
  31581. required: true
  31582. type: integer
  31583. - description: 账户状态 - 4:正常 6:注销(停用)
  31584. in: query
  31585. name: accountStatus
  31586. required: true
  31587. type: integer
  31588. produces:
  31589. - application/json
  31590. responses:
  31591. "200":
  31592. description: OK
  31593. schema:
  31594. $ref: '#/definitions/app.Response'
  31595. "500":
  31596. description: Internal Server Error
  31597. schema:
  31598. $ref: '#/definitions/app.Response'
  31599. security:
  31600. - ApiKeyAuth: []
  31601. summary: 更新用户状态
  31602. tags:
  31603. - 用户信息
  31604. /WRTrade/GetAllDeliveryGoods:
  31605. get:
  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. - 仓单贸易
  31623. /WrTrade2/InsertXhcpSellBackApply:
  31624. post:
  31625. parameters:
  31626. - description: 回收申请
  31627. in: body
  31628. name: jsonBody
  31629. required: true
  31630. schema:
  31631. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  31632. produces:
  31633. - application/json
  31634. responses:
  31635. "200":
  31636. description: OK
  31637. schema:
  31638. $ref: '#/definitions/app.Response'
  31639. "500":
  31640. description: Internal Server Error
  31641. schema:
  31642. $ref: '#/definitions/app.Response'
  31643. security:
  31644. - ApiKeyAuth: []
  31645. summary: 新增回收申请(新会陈皮)
  31646. tags:
  31647. - 仓单贸易v2
  31648. /WrTrade2/QueryDeliveryGoodsSection:
  31649. get:
  31650. produces:
  31651. - application/json
  31652. responses:
  31653. "200":
  31654. description: OK
  31655. schema:
  31656. items:
  31657. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  31658. type: array
  31659. "500":
  31660. description: Internal Server Error
  31661. schema:
  31662. $ref: '#/definitions/app.Response'
  31663. security:
  31664. - ApiKeyAuth: []
  31665. summary: 查询板块(分类)
  31666. tags:
  31667. - 仓单贸易v2
  31668. /WrTrade2/QueryFaProductDetail:
  31669. get:
  31670. description: 页面 买卖大厅 -> 选择融资方案
  31671. parameters:
  31672. - description: 仓单要素id
  31673. in: query
  31674. name: wrfactortypeid
  31675. required: true
  31676. type: integer
  31677. produces:
  31678. - application/json
  31679. responses:
  31680. "200":
  31681. description: OK
  31682. schema:
  31683. items:
  31684. $ref: '#/definitions/models.WrFAProductDetail'
  31685. type: array
  31686. "500":
  31687. description: Internal Server Error
  31688. schema:
  31689. $ref: '#/definitions/app.Response'
  31690. security:
  31691. - ApiKeyAuth: []
  31692. summary: 查询融资产品列表
  31693. tags:
  31694. - 仓单贸易v2
  31695. /WrTrade2/QueryFilterItem:
  31696. get:
  31697. parameters:
  31698. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31699. in: query
  31700. name: itype
  31701. required: true
  31702. type: string
  31703. produces:
  31704. - application/json
  31705. responses:
  31706. "200":
  31707. description: OK
  31708. schema:
  31709. items:
  31710. $ref: '#/definitions/models.WrFilterItem'
  31711. type: array
  31712. "500":
  31713. description: Internal Server Error
  31714. schema:
  31715. $ref: '#/definitions/app.Response'
  31716. security:
  31717. - ApiKeyAuth: []
  31718. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31719. tags:
  31720. - 仓单贸易v2
  31721. /WrTrade2/QueryFtDeliveryGoods:
  31722. get:
  31723. produces:
  31724. - application/json
  31725. responses:
  31726. "200":
  31727. description: OK
  31728. schema:
  31729. items:
  31730. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31731. type: array
  31732. "500":
  31733. description: Internal Server Error
  31734. schema:
  31735. $ref: '#/definitions/app.Response'
  31736. security:
  31737. - ApiKeyAuth: []
  31738. summary: 查询品种品类筛选框列表
  31739. tags:
  31740. - 仓单贸易v2
  31741. /WrTrade2/QueryHoldLB:
  31742. get:
  31743. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31744. parameters:
  31745. - description: 资金账号
  31746. in: query
  31747. name: accountid
  31748. required: true
  31749. type: integer
  31750. - description: 仓库id
  31751. in: query
  31752. name: warehouseid
  31753. type: integer
  31754. - description: 品种id
  31755. in: query
  31756. name: deliverygoodsid
  31757. type: integer
  31758. - description: 品类id
  31759. in: query
  31760. name: wrstandardid
  31761. type: integer
  31762. - description: 仓单要素id
  31763. in: query
  31764. name: wrfactortypeid
  31765. type: integer
  31766. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31767. in: query
  31768. name: dgitemname
  31769. type: string
  31770. produces:
  31771. - application/json
  31772. responses:
  31773. "200":
  31774. description: OK
  31775. schema:
  31776. items:
  31777. $ref: '#/definitions/models.WrHoldLB'
  31778. type: array
  31779. "500":
  31780. description: Internal Server Error
  31781. schema:
  31782. $ref: '#/definitions/app.Response'
  31783. security:
  31784. - ApiKeyAuth: []
  31785. summary: 查询仓单持有记录
  31786. tags:
  31787. - 仓单贸易v2
  31788. /WrTrade2/QueryOrderQuote:
  31789. get:
  31790. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31791. 唯一确定1条记录
  31792. parameters:
  31793. - description: 页码
  31794. in: query
  31795. name: page
  31796. type: integer
  31797. - description: 每页条数
  31798. in: query
  31799. name: pagesize
  31800. type: integer
  31801. - description: 仓单贸易市场id
  31802. in: query
  31803. name: marketid
  31804. type: integer
  31805. - description: 价格方式 - 1:固定价 2-浮动价
  31806. in: query
  31807. name: wrpricetype
  31808. required: true
  31809. type: integer
  31810. - description: 0:仓单预售 1:仓单贸易
  31811. in: query
  31812. name: haswr
  31813. type: integer
  31814. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31815. in: query
  31816. name: dgitemname
  31817. type: string
  31818. - description: 仓库id(筛选条件)
  31819. in: query
  31820. name: warehouseid
  31821. type: integer
  31822. - description: 品种id
  31823. in: query
  31824. name: deliverygoodsid
  31825. type: integer
  31826. - description: 品类id
  31827. in: query
  31828. name: wrstandardid
  31829. type: integer
  31830. - description: 品牌id(dgfactoryitemid)
  31831. in: query
  31832. name: brandid
  31833. type: integer
  31834. - description: 年份id(dgfactoryitemid)
  31835. in: query
  31836. name: yearsid
  31837. type: integer
  31838. - description: 仓单要素id
  31839. in: query
  31840. name: wrfactortypeid
  31841. type: integer
  31842. - description: 交收月(yyyy-mm) 仓单预售填写
  31843. in: query
  31844. name: deliverymonth
  31845. type: string
  31846. produces:
  31847. - application/json
  31848. responses:
  31849. "200":
  31850. description: OK
  31851. schema:
  31852. items:
  31853. $ref: '#/definitions/models.WrOrderQuote'
  31854. type: array
  31855. "500":
  31856. description: Internal Server Error
  31857. schema:
  31858. $ref: '#/definitions/app.Response'
  31859. security:
  31860. - ApiKeyAuth: []
  31861. summary: 查询大厅行情列表
  31862. tags:
  31863. - 仓单贸易v2
  31864. /WrTrade2/QueryOrderQuoteDetail:
  31865. get:
  31866. parameters:
  31867. - description: 页码
  31868. in: query
  31869. name: page
  31870. type: integer
  31871. - description: 每页条数
  31872. in: query
  31873. name: pagesize
  31874. type: integer
  31875. - description: 仓单贸易市场id
  31876. in: query
  31877. name: marketid
  31878. type: integer
  31879. - description: 价格方式 - 1:固定价 2-浮动价
  31880. in: query
  31881. name: wrpricetype
  31882. required: true
  31883. type: integer
  31884. - description: 0:仓单预售 1:仓单贸易
  31885. in: query
  31886. name: haswr
  31887. type: integer
  31888. - description: 仓单要素id
  31889. in: query
  31890. name: wrfactortypeid
  31891. required: true
  31892. type: integer
  31893. - description: 期货商品id(浮动价方式时填)
  31894. in: query
  31895. name: goodsid
  31896. type: integer
  31897. - description: 买卖方向 0-买 1-卖
  31898. in: query
  31899. name: buyorsell
  31900. required: true
  31901. type: integer
  31902. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31903. in: query
  31904. name: deliverymonth
  31905. type: string
  31906. produces:
  31907. - application/json
  31908. responses:
  31909. "200":
  31910. description: OK
  31911. schema:
  31912. items:
  31913. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31914. type: array
  31915. "500":
  31916. description: Internal Server Error
  31917. schema:
  31918. $ref: '#/definitions/app.Response'
  31919. security:
  31920. - ApiKeyAuth: []
  31921. summary: 查询买卖大厅
  31922. tags:
  31923. - 仓单贸易v2
  31924. /WrTrade2/QueryOrderQuoteMyq:
  31925. get:
  31926. parameters:
  31927. - description: 页码
  31928. in: query
  31929. name: page
  31930. type: integer
  31931. - description: 每页条数
  31932. in: query
  31933. name: pagesize
  31934. type: integer
  31935. - description: 用户id
  31936. in: query
  31937. name: userid
  31938. required: true
  31939. type: integer
  31940. - description: 仓单贸易市场id
  31941. in: query
  31942. name: marketid
  31943. type: integer
  31944. - description: 0:仓单预售 1:仓单贸易
  31945. in: query
  31946. name: haswr
  31947. type: integer
  31948. - description: 买卖方向 0-买 1-卖
  31949. in: query
  31950. name: buyorsell
  31951. required: true
  31952. type: integer
  31953. - description: 品种id
  31954. in: query
  31955. name: deliverygoodsid
  31956. type: integer
  31957. - description: 品类id
  31958. in: query
  31959. name: wrstandardid
  31960. type: integer
  31961. - description: 交收月(yyyy-mm) 仓单预售填写
  31962. in: query
  31963. name: deliverymonth
  31964. type: string
  31965. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31966. in: query
  31967. name: dgitemname
  31968. type: string
  31969. produces:
  31970. - application/json
  31971. responses:
  31972. "200":
  31973. description: OK
  31974. schema:
  31975. items:
  31976. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31977. type: array
  31978. "500":
  31979. description: Internal Server Error
  31980. schema:
  31981. $ref: '#/definitions/app.Response'
  31982. security:
  31983. - ApiKeyAuth: []
  31984. summary: 查询贸易圈挂牌大厅
  31985. tags:
  31986. - 仓单贸易v2
  31987. /WrTrade2/QueryPerformancePlan:
  31988. get:
  31989. parameters:
  31990. - description: 用户id
  31991. in: query
  31992. name: userid
  31993. required: true
  31994. type: integer
  31995. - description: 买卖方向 0-买 1-卖
  31996. in: query
  31997. name: buyorsell
  31998. required: true
  31999. type: integer
  32000. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  32001. 8:释放冻结失败 9:超时待处理 10:超时关闭
  32002. in: query
  32003. name: status
  32004. type: string
  32005. - description: 开始交易日(yyyymmdd)
  32006. in: query
  32007. name: begindate
  32008. type: string
  32009. - description: 结束交易日(yyyymmdd)
  32010. in: query
  32011. name: enddate
  32012. type: string
  32013. produces:
  32014. - application/json
  32015. responses:
  32016. "200":
  32017. description: OK
  32018. schema:
  32019. items:
  32020. $ref: '#/definitions/models.WrPerformancePlan'
  32021. type: array
  32022. "500":
  32023. description: Internal Server Error
  32024. schema:
  32025. $ref: '#/definitions/app.Response'
  32026. security:
  32027. - ApiKeyAuth: []
  32028. summary: 查询履约信息
  32029. tags:
  32030. - 仓单贸易v2
  32031. /WrTrade2/QueryPermancePlanTmp:
  32032. get:
  32033. description: |-
  32034. 返回指定用户的模板和公共模板(用户id为空)
  32035. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32036. parameters:
  32037. - description: 用户id
  32038. in: query
  32039. name: userid
  32040. type: integer
  32041. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32042. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32043. in: query
  32044. name: tmptype
  32045. type: string
  32046. - description: 是否包含公共模板(用户id为空的) 1-包含
  32047. in: query
  32048. name: includepub
  32049. type: integer
  32050. - description: 市场id(天津麦顿指定此参数,其它不用)
  32051. in: query
  32052. name: marketid
  32053. type: integer
  32054. produces:
  32055. - application/json
  32056. responses:
  32057. "200":
  32058. description: OK
  32059. schema:
  32060. items:
  32061. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32062. type: array
  32063. "500":
  32064. description: Internal Server Error
  32065. schema:
  32066. $ref: '#/definitions/app.Response'
  32067. security:
  32068. - ApiKeyAuth: []
  32069. summary: 查询履约模板
  32070. tags:
  32071. - 仓单贸易v2
  32072. /WrTrade2/QuerySiteColumnDetail:
  32073. get:
  32074. parameters:
  32075. - description: 页码
  32076. in: query
  32077. name: page
  32078. type: integer
  32079. - description: 每页条数
  32080. in: query
  32081. name: pagesize
  32082. type: integer
  32083. - description: 所属栏目id
  32084. in: query
  32085. name: columnid
  32086. type: integer
  32087. produces:
  32088. - application/json
  32089. responses:
  32090. "200":
  32091. description: OK
  32092. schema:
  32093. items:
  32094. $ref: '#/definitions/models.WrSiteColumnDetail'
  32095. type: array
  32096. "500":
  32097. description: Internal Server Error
  32098. schema:
  32099. $ref: '#/definitions/app.Response'
  32100. security:
  32101. - ApiKeyAuth: []
  32102. summary: 查询资讯
  32103. tags:
  32104. - 仓单贸易v2
  32105. /WrTrade2/QuerySpotGroupTradeSum:
  32106. get:
  32107. produces:
  32108. - application/json
  32109. responses:
  32110. "200":
  32111. description: OK
  32112. schema:
  32113. items:
  32114. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32115. type: array
  32116. "500":
  32117. description: Internal Server Error
  32118. schema:
  32119. $ref: '#/definitions/app.Response'
  32120. security:
  32121. - ApiKeyAuth: []
  32122. summary: 查询指数
  32123. tags:
  32124. - 仓单贸易v2
  32125. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32126. get:
  32127. description: 查询的结果将会按日期 从小到大 排序
  32128. parameters:
  32129. - description: 现货商品id
  32130. in: query
  32131. name: deliverygoodsid
  32132. required: true
  32133. type: integer
  32134. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32135. in: query
  32136. name: lastnum
  32137. type: integer
  32138. produces:
  32139. - application/json
  32140. responses:
  32141. "200":
  32142. description: OK
  32143. schema:
  32144. items:
  32145. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32146. type: array
  32147. "500":
  32148. description: Internal Server Error
  32149. schema:
  32150. $ref: '#/definitions/app.Response'
  32151. security:
  32152. - ApiKeyAuth: []
  32153. summary: 查询指数详细(价格走势图)
  32154. tags:
  32155. - 仓单贸易v2
  32156. /WrTrade2/QueryWrAverageTradePrice:
  32157. get:
  32158. parameters:
  32159. - description: 页码
  32160. in: query
  32161. name: page
  32162. type: integer
  32163. - description: 每页条数
  32164. in: query
  32165. name: pagesize
  32166. type: integer
  32167. - description: 0:仓单预售 1:仓单贸易
  32168. in: query
  32169. name: haswr
  32170. required: true
  32171. type: integer
  32172. - description: 仓单要素id
  32173. in: query
  32174. name: wrfactortypeid
  32175. required: true
  32176. type: integer
  32177. produces:
  32178. - application/json
  32179. responses:
  32180. "200":
  32181. description: OK
  32182. schema:
  32183. items:
  32184. $ref: '#/definitions/models.WrAverageTradePrice'
  32185. type: array
  32186. "500":
  32187. description: Internal Server Error
  32188. schema:
  32189. $ref: '#/definitions/app.Response'
  32190. security:
  32191. - ApiKeyAuth: []
  32192. summary: 查询成交价(历史走势)
  32193. tags:
  32194. - 仓单贸易v2
  32195. /WrTrade2/QueryWrBrandAndYears:
  32196. get:
  32197. produces:
  32198. - application/json
  32199. responses:
  32200. "200":
  32201. description: OK
  32202. schema:
  32203. items:
  32204. $ref: '#/definitions/models.WrBrandAndYears'
  32205. type: array
  32206. "500":
  32207. description: Internal Server Error
  32208. schema:
  32209. $ref: '#/definitions/app.Response'
  32210. security:
  32211. - ApiKeyAuth: []
  32212. summary: 查询品牌和年份
  32213. tags:
  32214. - 仓单贸易v2
  32215. /WrTrade2/QueryWrBsGoodsInfo:
  32216. get:
  32217. description: 合约交易/买卖大厅/详情
  32218. parameters:
  32219. - description: 商品id
  32220. in: query
  32221. name: goodsid
  32222. required: true
  32223. type: integer
  32224. produces:
  32225. - application/json
  32226. responses:
  32227. "200":
  32228. description: OK
  32229. schema:
  32230. items:
  32231. $ref: '#/definitions/models.WrBsGoodsInfo'
  32232. type: array
  32233. "500":
  32234. description: Internal Server Error
  32235. schema:
  32236. $ref: '#/definitions/app.Response'
  32237. security:
  32238. - ApiKeyAuth: []
  32239. summary: 查询合约交易买卖大厅详情
  32240. tags:
  32241. - 仓单贸易v2
  32242. /WrTrade2/QueryWrBuybackDetail:
  32243. get:
  32244. parameters:
  32245. - description: 融资合同id
  32246. in: query
  32247. name: scfcontractid
  32248. type: integer
  32249. produces:
  32250. - application/json
  32251. responses:
  32252. "200":
  32253. description: OK
  32254. schema:
  32255. items:
  32256. $ref: '#/definitions/models.WrBuybackDetail'
  32257. type: array
  32258. "500":
  32259. description: Internal Server Error
  32260. schema:
  32261. $ref: '#/definitions/app.Response'
  32262. security:
  32263. - ApiKeyAuth: []
  32264. summary: 查询仓单回购明细
  32265. tags:
  32266. - 仓单贸易v2
  32267. /WrTrade2/QueryWrClientAdSpaceConfig:
  32268. get:
  32269. produces:
  32270. - application/json
  32271. responses:
  32272. "200":
  32273. description: OK
  32274. schema:
  32275. items:
  32276. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  32277. type: array
  32278. "500":
  32279. description: Internal Server Error
  32280. schema:
  32281. $ref: '#/definitions/app.Response'
  32282. security:
  32283. - ApiKeyAuth: []
  32284. summary: 查询固定广告配置
  32285. tags:
  32286. - 仓单贸易v2
  32287. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  32288. get:
  32289. parameters:
  32290. - description: 资金账号
  32291. in: query
  32292. name: accountid
  32293. required: true
  32294. type: integer
  32295. - description: 商品id
  32296. in: query
  32297. name: goodsid
  32298. required: true
  32299. type: integer
  32300. produces:
  32301. - application/json
  32302. responses:
  32303. "200":
  32304. description: OK
  32305. schema:
  32306. items:
  32307. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  32308. type: array
  32309. "500":
  32310. description: Internal Server Error
  32311. schema:
  32312. $ref: '#/definitions/app.Response'
  32313. security:
  32314. - ApiKeyAuth: []
  32315. summary: 查询合约交收可点选仓单
  32316. tags:
  32317. - 仓单贸易v2
  32318. /WrTrade2/QueryWrDeliveryDetail:
  32319. get:
  32320. parameters:
  32321. - description: 用户id
  32322. in: query
  32323. name: userid
  32324. required: true
  32325. type: integer
  32326. - description: 资金账号id
  32327. in: query
  32328. name: accountid
  32329. type: integer
  32330. - description: 开始交易日(yyyymmdd)
  32331. in: query
  32332. name: begindate
  32333. type: string
  32334. - description: 结束交易日(yyyymmdd)
  32335. in: query
  32336. name: enddate
  32337. type: string
  32338. produces:
  32339. - application/json
  32340. responses:
  32341. "200":
  32342. description: OK
  32343. schema:
  32344. items:
  32345. $ref: '#/definitions/models.WrDeliveryDetail'
  32346. type: array
  32347. "500":
  32348. description: Internal Server Error
  32349. schema:
  32350. $ref: '#/definitions/app.Response'
  32351. security:
  32352. - ApiKeyAuth: []
  32353. summary: 查询交收
  32354. tags:
  32355. - 仓单贸易v2
  32356. /WrTrade2/QueryWrDraftUserInfo:
  32357. get:
  32358. parameters:
  32359. - description: 用户ID
  32360. in: query
  32361. name: userid
  32362. required: true
  32363. type: integer
  32364. - description: 用户状态 1:正常 2:注销
  32365. in: query
  32366. name: userstatus
  32367. type: integer
  32368. produces:
  32369. - application/json
  32370. responses:
  32371. "200":
  32372. description: OK
  32373. schema:
  32374. items:
  32375. $ref: '#/definitions/models.WrDraftUserInfo'
  32376. type: array
  32377. "500":
  32378. description: Internal Server Error
  32379. schema:
  32380. $ref: '#/definitions/app.Response'
  32381. security:
  32382. - ApiKeyAuth: []
  32383. summary: 查询实名认证信息
  32384. tags:
  32385. - 仓单贸易v2
  32386. /WrTrade2/QueryWrFactorTypeInfo:
  32387. get:
  32388. parameters:
  32389. - description: 仓单要素id
  32390. in: query
  32391. name: wrfactortypeid
  32392. required: true
  32393. type: integer
  32394. produces:
  32395. - application/json
  32396. responses:
  32397. "200":
  32398. description: OK
  32399. schema:
  32400. items:
  32401. $ref: '#/definitions/models.WrFactorTypeInfo'
  32402. type: array
  32403. "500":
  32404. description: Internal Server Error
  32405. schema:
  32406. $ref: '#/definitions/app.Response'
  32407. security:
  32408. - ApiKeyAuth: []
  32409. summary: 查询仓单要素详细信息
  32410. tags:
  32411. - 仓单贸易v2
  32412. /WrTrade2/QueryWrFactorTypeInfoEx:
  32413. get:
  32414. parameters:
  32415. - description: 仓单要素id
  32416. in: query
  32417. name: wrfactortypeid
  32418. required: true
  32419. type: integer
  32420. produces:
  32421. - application/json
  32422. responses:
  32423. "200":
  32424. description: OK
  32425. schema:
  32426. items:
  32427. $ref: '#/definitions/models.WrTypeItem'
  32428. type: array
  32429. "500":
  32430. description: Internal Server Error
  32431. schema:
  32432. $ref: '#/definitions/app.Response'
  32433. security:
  32434. - ApiKeyAuth: []
  32435. summary: 查询仓单要素详细信息列表项
  32436. tags:
  32437. - 仓单贸易v2
  32438. /WrTrade2/QueryWrFinanceBuyApply:
  32439. get:
  32440. description: 页面 融资信息+ / 申请单
  32441. parameters:
  32442. - description: 用户id
  32443. in: query
  32444. name: userid
  32445. required: true
  32446. type: integer
  32447. produces:
  32448. - application/json
  32449. responses:
  32450. "200":
  32451. description: OK
  32452. schema:
  32453. items:
  32454. $ref: '#/definitions/models.WrFinanceBuyApply'
  32455. type: array
  32456. "500":
  32457. description: Internal Server Error
  32458. schema:
  32459. $ref: '#/definitions/app.Response'
  32460. security:
  32461. - ApiKeyAuth: []
  32462. summary: 查询融资购买申请
  32463. tags:
  32464. - 仓单贸易v2
  32465. /WrTrade2/QueryWrFriendApply:
  32466. get:
  32467. parameters:
  32468. - description: 用户id
  32469. in: query
  32470. name: userid
  32471. required: true
  32472. type: integer
  32473. produces:
  32474. - application/json
  32475. responses:
  32476. "200":
  32477. description: OK
  32478. schema:
  32479. items:
  32480. $ref: '#/definitions/models.WrFriendApply'
  32481. type: array
  32482. "500":
  32483. description: Internal Server Error
  32484. schema:
  32485. $ref: '#/definitions/app.Response'
  32486. security:
  32487. - ApiKeyAuth: []
  32488. summary: 查询好友申请记录
  32489. tags:
  32490. - 仓单贸易v2
  32491. /WrTrade2/QueryWrGoodsInfo:
  32492. get:
  32493. parameters:
  32494. - description: 仓单贸易市场id
  32495. in: query
  32496. name: marketid
  32497. type: integer
  32498. - description: 0:仓单预售 1:仓单贸易
  32499. in: query
  32500. name: haswr
  32501. required: true
  32502. type: integer
  32503. - description: 仓单要素id
  32504. in: query
  32505. name: wrfactortypeid
  32506. required: true
  32507. type: integer
  32508. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  32509. in: query
  32510. name: tmplateid
  32511. type: integer
  32512. produces:
  32513. - application/json
  32514. responses:
  32515. "200":
  32516. description: OK
  32517. schema:
  32518. items:
  32519. $ref: '#/definitions/models.WrGoodsInfo'
  32520. type: array
  32521. "500":
  32522. description: Internal Server Error
  32523. schema:
  32524. $ref: '#/definitions/app.Response'
  32525. security:
  32526. - ApiKeyAuth: []
  32527. summary: 查询仓单商品信息
  32528. tags:
  32529. - 仓单贸易v2
  32530. /WrTrade2/QueryWrMarketTradeConfig:
  32531. get:
  32532. parameters:
  32533. - description: 市场id
  32534. in: query
  32535. name: marketid
  32536. type: integer
  32537. produces:
  32538. - application/json
  32539. responses:
  32540. "200":
  32541. description: OK
  32542. schema:
  32543. items:
  32544. $ref: '#/definitions/models.WrMarketTradeConfig'
  32545. type: array
  32546. "500":
  32547. description: Internal Server Error
  32548. schema:
  32549. $ref: '#/definitions/app.Response'
  32550. security:
  32551. - ApiKeyAuth: []
  32552. summary: 查询市场交易参数配置
  32553. tags:
  32554. - 仓单贸易v2
  32555. /WrTrade2/QueryWrOrderDetail:
  32556. get:
  32557. description: 页面 现货仓单 | 预售仓单 -> 委托单
  32558. parameters:
  32559. - description: 页码
  32560. in: query
  32561. name: page
  32562. type: integer
  32563. - description: 每页条数
  32564. in: query
  32565. name: pagesize
  32566. type: integer
  32567. - description: 用户id
  32568. in: query
  32569. name: userid
  32570. required: true
  32571. type: integer
  32572. - description: 仓单贸易市场id
  32573. in: query
  32574. name: marketid
  32575. type: integer
  32576. - description: 0:仓单预售 1:仓单贸易
  32577. in: query
  32578. name: haswr
  32579. required: true
  32580. type: integer
  32581. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  32582. in: query
  32583. name: bcancel
  32584. type: integer
  32585. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  32586. in: query
  32587. name: wrtradetype
  32588. type: integer
  32589. - description: 开始交易日(yyyymmdd)
  32590. in: query
  32591. name: begindate
  32592. type: string
  32593. - description: 结束交易日(yyyymmdd)
  32594. in: query
  32595. name: enddate
  32596. type: string
  32597. produces:
  32598. - application/json
  32599. responses:
  32600. "200":
  32601. description: OK
  32602. schema:
  32603. items:
  32604. $ref: '#/definitions/models.WrOrderDetail'
  32605. type: array
  32606. "500":
  32607. description: Internal Server Error
  32608. schema:
  32609. $ref: '#/definitions/app.Response'
  32610. security:
  32611. - ApiKeyAuth: []
  32612. summary: 查询仓单委托单
  32613. tags:
  32614. - 仓单贸易v2
  32615. /WrTrade2/QueryWrOutInApply:
  32616. get:
  32617. parameters:
  32618. - description: 页码
  32619. in: query
  32620. name: page
  32621. type: integer
  32622. - description: 每页条数
  32623. in: query
  32624. name: pagesize
  32625. type: integer
  32626. - description: 用户id
  32627. in: query
  32628. name: userid
  32629. required: true
  32630. type: integer
  32631. - description: 开始交易日(yyyymmdd)
  32632. in: query
  32633. name: begindate
  32634. type: string
  32635. - description: 结束交易日(yyyymmdd)
  32636. in: query
  32637. name: enddate
  32638. type: string
  32639. produces:
  32640. - application/json
  32641. responses:
  32642. "200":
  32643. description: OK
  32644. schema:
  32645. items:
  32646. $ref: '#/definitions/models.WrOutInApply'
  32647. type: array
  32648. "500":
  32649. description: Internal Server Error
  32650. schema:
  32651. $ref: '#/definitions/app.Response'
  32652. security:
  32653. - ApiKeyAuth: []
  32654. summary: 查询提货申请
  32655. tags:
  32656. - 仓单贸易v2
  32657. /WrTrade2/QueryWrPerformancePlanStep:
  32658. get:
  32659. parameters:
  32660. - description: 履约计划id(performanceplanid)
  32661. in: query
  32662. name: planid
  32663. required: true
  32664. type: integer
  32665. - description: 当前步骤id
  32666. in: query
  32667. name: curstepid
  32668. type: integer
  32669. produces:
  32670. - application/json
  32671. responses:
  32672. "200":
  32673. description: OK
  32674. schema:
  32675. items:
  32676. $ref: '#/definitions/models.WrPerformancePlanStep'
  32677. type: array
  32678. "500":
  32679. description: Internal Server Error
  32680. schema:
  32681. $ref: '#/definitions/app.Response'
  32682. security:
  32683. - ApiKeyAuth: []
  32684. summary: 查询履约信息详情
  32685. tags:
  32686. - 仓单贸易v2
  32687. /WrTrade2/QueryWrPerformanceStepType:
  32688. get:
  32689. produces:
  32690. - application/json
  32691. responses:
  32692. "200":
  32693. description: OK
  32694. schema:
  32695. items:
  32696. $ref: '#/definitions/models.WrPerformanceStepType'
  32697. type: array
  32698. "500":
  32699. description: Internal Server Error
  32700. schema:
  32701. $ref: '#/definitions/app.Response'
  32702. security:
  32703. - ApiKeyAuth: []
  32704. summary: 查询履约步骤枚举
  32705. tags:
  32706. - 仓单贸易v2
  32707. /WrTrade2/QueryWrPosition:
  32708. get:
  32709. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32710. parameters:
  32711. - description: 用户id
  32712. in: query
  32713. name: userid
  32714. required: true
  32715. type: integer
  32716. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32717. in: query
  32718. name: querytype
  32719. required: true
  32720. type: integer
  32721. - description: 0:仓单预售 1:仓单贸易
  32722. in: query
  32723. name: haswr
  32724. required: true
  32725. type: integer
  32726. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32727. in: query
  32728. name: dgitemname
  32729. type: string
  32730. - description: 仓库id(筛选条件)
  32731. in: query
  32732. name: warehouseid
  32733. type: integer
  32734. - description: 品种id
  32735. in: query
  32736. name: deliverygoodsid
  32737. type: integer
  32738. - description: 品类id
  32739. in: query
  32740. name: wrstandardid
  32741. type: integer
  32742. produces:
  32743. - application/json
  32744. responses:
  32745. "200":
  32746. description: OK
  32747. schema:
  32748. items:
  32749. $ref: '#/definitions/models.WrPosition'
  32750. type: array
  32751. "500":
  32752. description: Internal Server Error
  32753. schema:
  32754. $ref: '#/definitions/app.Response'
  32755. security:
  32756. - ApiKeyAuth: []
  32757. summary: 查询现货(预售)仓单持仓
  32758. tags:
  32759. - 仓单贸易v2
  32760. /WrTrade2/QueryWrPreSaleInfo:
  32761. get:
  32762. parameters:
  32763. - description: 市场id
  32764. in: query
  32765. name: marketid
  32766. type: integer
  32767. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32768. in: query
  32769. name: presalestatus
  32770. type: string
  32771. - description: 摇号标识 - 0:未摇号 1:已摇号
  32772. in: query
  32773. name: lotteryflag
  32774. type: integer
  32775. - description: 最近多少条记录(按创建时间倒序)
  32776. in: query
  32777. name: lastnum
  32778. type: integer
  32779. produces:
  32780. - application/json
  32781. responses:
  32782. "200":
  32783. description: OK
  32784. schema:
  32785. items:
  32786. $ref: '#/definitions/models.WrPreSaleInfo'
  32787. type: array
  32788. "500":
  32789. description: Internal Server Error
  32790. schema:
  32791. $ref: '#/definitions/app.Response'
  32792. security:
  32793. - ApiKeyAuth: []
  32794. summary: 查询新品发布
  32795. tags:
  32796. - 仓单贸易v2
  32797. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32798. get:
  32799. parameters:
  32800. - description: 市场id
  32801. in: query
  32802. name: marketid
  32803. required: true
  32804. type: integer
  32805. - description: 现货商品id
  32806. in: query
  32807. name: wrstandardid
  32808. required: true
  32809. type: integer
  32810. - description: 开始交易日(yyyymmdd)
  32811. in: query
  32812. name: begindate
  32813. type: string
  32814. - description: 结束交易日(yyyymmdd)
  32815. in: query
  32816. name: enddate
  32817. type: string
  32818. - description: 最近多少条记录(按交易日倒序)
  32819. in: query
  32820. name: lastnum
  32821. type: integer
  32822. - description: 是否今日
  32823. in: query
  32824. name: istoday
  32825. type: boolean
  32826. produces:
  32827. - application/json
  32828. responses:
  32829. "200":
  32830. description: OK
  32831. schema:
  32832. items:
  32833. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32834. type: array
  32835. "500":
  32836. description: Internal Server Error
  32837. schema:
  32838. $ref: '#/definitions/app.Response'
  32839. security:
  32840. - ApiKeyAuth: []
  32841. summary: 查询价格走势
  32842. tags:
  32843. - 仓单贸易v2
  32844. /WrTrade2/QueryWrScfContract:
  32845. get:
  32846. parameters:
  32847. - description: 用户id
  32848. in: query
  32849. name: userid
  32850. required: true
  32851. type: integer
  32852. - description: 融资合同id
  32853. in: query
  32854. name: scfcontractid
  32855. type: integer
  32856. produces:
  32857. - application/json
  32858. responses:
  32859. "200":
  32860. description: OK
  32861. schema:
  32862. items:
  32863. $ref: '#/definitions/models.WrScfContract'
  32864. type: array
  32865. "500":
  32866. description: Internal Server Error
  32867. schema:
  32868. $ref: '#/definitions/app.Response'
  32869. security:
  32870. - ApiKeyAuth: []
  32871. summary: 查询仓单贸易融资合同
  32872. tags:
  32873. - 仓单贸易v2
  32874. /WrTrade2/QueryWrScfContractInterest:
  32875. get:
  32876. parameters:
  32877. - description: 融资合同id
  32878. in: query
  32879. name: scfcontractid
  32880. type: integer
  32881. produces:
  32882. - application/json
  32883. responses:
  32884. "200":
  32885. description: OK
  32886. schema:
  32887. items:
  32888. $ref: '#/definitions/models.WrScfContractInterest'
  32889. type: array
  32890. "500":
  32891. description: Internal Server Error
  32892. schema:
  32893. $ref: '#/definitions/app.Response'
  32894. security:
  32895. - ApiKeyAuth: []
  32896. summary: 查询融资合同费用明细
  32897. tags:
  32898. - 仓单贸易v2
  32899. /WrTrade2/QueryWrSearchUser:
  32900. get:
  32901. parameters:
  32902. - description: 用户名称(模糊匹配)
  32903. in: query
  32904. name: username
  32905. required: true
  32906. type: string
  32907. produces:
  32908. - application/json
  32909. responses:
  32910. "200":
  32911. description: OK
  32912. schema:
  32913. items:
  32914. $ref: '#/definitions/models.WrSearchUser'
  32915. type: array
  32916. "500":
  32917. description: Internal Server Error
  32918. schema:
  32919. $ref: '#/definitions/app.Response'
  32920. security:
  32921. - ApiKeyAuth: []
  32922. summary: 查询用户
  32923. tags:
  32924. - 仓单贸易v2
  32925. /WrTrade2/QueryWrSpecialMatchOrder:
  32926. get:
  32927. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32928. parameters:
  32929. - description: 页码
  32930. in: query
  32931. name: page
  32932. type: integer
  32933. - description: 每页条数
  32934. in: query
  32935. name: pagesize
  32936. type: integer
  32937. - description: 用户id
  32938. in: query
  32939. name: userid
  32940. required: true
  32941. type: integer
  32942. - description: 仓单贸易市场id
  32943. in: query
  32944. name: marketid
  32945. type: integer
  32946. - description: 0:仓单预售 1:仓单贸易
  32947. in: query
  32948. name: haswr
  32949. required: true
  32950. type: integer
  32951. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32952. in: query
  32953. name: isspecified
  32954. type: integer
  32955. produces:
  32956. - application/json
  32957. responses:
  32958. "200":
  32959. description: OK
  32960. schema:
  32961. items:
  32962. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32963. type: array
  32964. "500":
  32965. description: Internal Server Error
  32966. schema:
  32967. $ref: '#/definitions/app.Response'
  32968. security:
  32969. - ApiKeyAuth: []
  32970. summary: 查询指定成交
  32971. tags:
  32972. - 仓单贸易v2
  32973. /WrTrade2/QueryWrStandardFactoryItem:
  32974. get:
  32975. parameters:
  32976. - description: 品类id
  32977. in: query
  32978. name: wrstandardid
  32979. required: true
  32980. type: integer
  32981. produces:
  32982. - application/json
  32983. responses:
  32984. "200":
  32985. description: OK
  32986. schema:
  32987. items:
  32988. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32989. type: array
  32990. "500":
  32991. description: Internal Server Error
  32992. schema:
  32993. $ref: '#/definitions/app.Response'
  32994. security:
  32995. - ApiKeyAuth: []
  32996. summary: 查询品类要素定义项
  32997. tags:
  32998. - 仓单贸易v2
  32999. /WrTrade2/QueryWrTradeBargainApply:
  33000. get:
  33001. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  33002. 议价->对方议价 填写matchuserid=登录用户id
  33003. parameters:
  33004. - description: 议价人id(摘牌方)
  33005. in: query
  33006. name: userid
  33007. type: integer
  33008. - description: 挂牌方id(查对方议价时,填写此项)
  33009. in: query
  33010. name: matchuserid
  33011. type: integer
  33012. - description: 关联委托单id
  33013. in: query
  33014. name: wrtradeorderid
  33015. type: integer
  33016. - description: 0:仓单预售 1:仓单贸易
  33017. in: query
  33018. name: haswr
  33019. required: true
  33020. type: integer
  33021. - description: 开始交易日(yyyymmdd)
  33022. in: query
  33023. name: begindate
  33024. type: string
  33025. - description: 结束交易日(yyyymmdd)
  33026. in: query
  33027. name: enddate
  33028. type: string
  33029. produces:
  33030. - application/json
  33031. responses:
  33032. "200":
  33033. description: OK
  33034. schema:
  33035. items:
  33036. $ref: '#/definitions/models.WRTradeBargainApply'
  33037. type: array
  33038. "500":
  33039. description: Internal Server Error
  33040. schema:
  33041. $ref: '#/definitions/app.Response'
  33042. security:
  33043. - ApiKeyAuth: []
  33044. summary: 查询议价单
  33045. tags:
  33046. - 仓单贸易v2
  33047. /WrTrade2/QueryWrTradeDetail:
  33048. get:
  33049. parameters:
  33050. - description: 页码
  33051. in: query
  33052. name: page
  33053. type: integer
  33054. - description: 每页条数
  33055. in: query
  33056. name: pagesize
  33057. type: integer
  33058. - description: 用户id
  33059. in: query
  33060. name: userid
  33061. required: true
  33062. type: integer
  33063. - description: 仓单贸易市场id
  33064. in: query
  33065. name: marketid
  33066. type: integer
  33067. - description: 0:仓单预售 1:仓单贸易
  33068. in: query
  33069. name: haswr
  33070. required: true
  33071. type: integer
  33072. - description: 开始交易日(yyyymmdd)
  33073. in: query
  33074. name: begindate
  33075. type: string
  33076. - description: 结束交易日(yyyymmdd)
  33077. in: query
  33078. name: enddate
  33079. type: string
  33080. produces:
  33081. - application/json
  33082. responses:
  33083. "200":
  33084. description: OK
  33085. schema:
  33086. items:
  33087. $ref: '#/definitions/models.WrTradeDetail'
  33088. type: array
  33089. "500":
  33090. description: Internal Server Error
  33091. schema:
  33092. $ref: '#/definitions/app.Response'
  33093. security:
  33094. - ApiKeyAuth: []
  33095. summary: 查询仓单成交明细
  33096. tags:
  33097. - 仓单贸易v2
  33098. /WrTrade2/QueryWrTradeOrderDetail:
  33099. get:
  33100. parameters:
  33101. - description: 页码
  33102. in: query
  33103. name: page
  33104. type: integer
  33105. - description: 每页条数
  33106. in: query
  33107. name: pagesize
  33108. type: integer
  33109. - description: 商品id
  33110. in: query
  33111. name: goodsid
  33112. required: true
  33113. type: integer
  33114. - description: 买卖方向 0-买 1-卖
  33115. in: query
  33116. name: buyorsell
  33117. required: true
  33118. type: integer
  33119. produces:
  33120. - application/json
  33121. responses:
  33122. "200":
  33123. description: OK
  33124. schema:
  33125. items:
  33126. $ref: '#/definitions/models.WrTradeOrderDetail'
  33127. type: array
  33128. "500":
  33129. description: Internal Server Error
  33130. schema:
  33131. $ref: '#/definitions/app.Response'
  33132. security:
  33133. - ApiKeyAuth: []
  33134. summary: 查询合约交易买卖大厅
  33135. tags:
  33136. - 仓单贸易v2
  33137. /WrTrade2/QueryWrTradeQuote:
  33138. get:
  33139. parameters:
  33140. - description: 现货商品id
  33141. in: query
  33142. name: wrstandardid
  33143. required: true
  33144. type: integer
  33145. - description: 开始日期(yyyymmdd)
  33146. in: query
  33147. name: begindate
  33148. required: true
  33149. type: string
  33150. - description: 结束日期(yyyymmdd)
  33151. in: query
  33152. name: enddate
  33153. required: true
  33154. type: string
  33155. - description: 市场id
  33156. in: query
  33157. name: marketid
  33158. type: integer
  33159. produces:
  33160. - application/json
  33161. responses:
  33162. "200":
  33163. description: OK
  33164. schema:
  33165. items:
  33166. $ref: '#/definitions/models.Wrtradetradequote'
  33167. type: array
  33168. "500":
  33169. description: Internal Server Error
  33170. schema:
  33171. $ref: '#/definitions/app.Response'
  33172. security:
  33173. - ApiKeyAuth: []
  33174. summary: 查询仓单贸易成交行情
  33175. tags:
  33176. - 仓单贸易v2
  33177. /WrTrade2/QueryWrUserFriend:
  33178. get:
  33179. parameters:
  33180. - description: 用户id
  33181. in: query
  33182. name: userid
  33183. required: true
  33184. type: integer
  33185. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33186. in: query
  33187. name: newuserid
  33188. type: integer
  33189. produces:
  33190. - application/json
  33191. responses:
  33192. "200":
  33193. description: OK
  33194. schema:
  33195. items:
  33196. $ref: '#/definitions/models.WrUserFriend'
  33197. type: array
  33198. "500":
  33199. description: Internal Server Error
  33200. schema:
  33201. $ref: '#/definitions/app.Response'
  33202. security:
  33203. - ApiKeyAuth: []
  33204. summary: 查询我的朋友
  33205. tags:
  33206. - 仓单贸易v2
  33207. /WrTrade2/QueryWrUserReceiptInfo:
  33208. get:
  33209. parameters:
  33210. - description: 用户id
  33211. in: query
  33212. name: userid
  33213. type: integer
  33214. - description: 发票类型 - 1:个人 2:企业
  33215. in: query
  33216. name: receipttype
  33217. type: integer
  33218. produces:
  33219. - application/json
  33220. responses:
  33221. "200":
  33222. description: OK
  33223. schema:
  33224. items:
  33225. $ref: '#/definitions/models.WrUserReceiptInfo'
  33226. type: array
  33227. "500":
  33228. description: Internal Server Error
  33229. schema:
  33230. $ref: '#/definitions/app.Response'
  33231. security:
  33232. - ApiKeyAuth: []
  33233. summary: 查询发票信息
  33234. tags:
  33235. - 仓单贸易v2
  33236. /WrTrade2/QueryXhcpSellBackApply:
  33237. get:
  33238. parameters:
  33239. - description: 用户ID
  33240. in: query
  33241. name: userid
  33242. required: true
  33243. type: integer
  33244. produces:
  33245. - application/json
  33246. responses:
  33247. "200":
  33248. description: OK
  33249. schema:
  33250. items:
  33251. $ref: '#/definitions/models.Xhcpsellbackapply'
  33252. type: array
  33253. "500":
  33254. description: Internal Server Error
  33255. schema:
  33256. $ref: '#/definitions/app.Response'
  33257. security:
  33258. - ApiKeyAuth: []
  33259. summary: 查询我的回收申请(新会陈皮)
  33260. tags:
  33261. - 仓单贸易v2
  33262. /ZJ/GetBankTip:
  33263. get:
  33264. produces:
  33265. - application/json
  33266. responses:
  33267. "200":
  33268. description: OK
  33269. schema:
  33270. type: string
  33271. "500":
  33272. description: Internal Server Error
  33273. schema:
  33274. $ref: '#/definitions/app.Response'
  33275. summary: 获取中江网银端出入金提示信息
  33276. tags:
  33277. - 中江
  33278. /ZJ/GetCusBankChannels:
  33279. get:
  33280. produces:
  33281. - application/json
  33282. responses:
  33283. "200":
  33284. description: OK
  33285. schema:
  33286. items:
  33287. type: string
  33288. type: array
  33289. "500":
  33290. description: Internal Server Error
  33291. schema:
  33292. $ref: '#/definitions/app.Response'
  33293. summary: 获取中江出入金渠道显示列表
  33294. tags:
  33295. - 中江
  33296. securityDefinitions:
  33297. ApiKeyAuth:
  33298. in: header
  33299. name: Authorization
  33300. type: apiKey
  33301. Group:
  33302. in: header
  33303. name: Group
  33304. type: apiKey
  33305. LoginID:
  33306. in: header
  33307. name: LoginID
  33308. type: apiKey
  33309. swagger: "2.0"