swagger.yaml 924 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291
  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. contactname:
  9877. description: 联系人
  9878. type: string
  9879. contactnum:
  9880. description: 联系电话
  9881. type: string
  9882. countryid:
  9883. description: 国家
  9884. type: integer
  9885. createtime:
  9886. description: 创建时间
  9887. type: string
  9888. districtid:
  9889. description: 区
  9890. type: integer
  9891. hasvideo:
  9892. description: 是否有视频 - 0:无 1:有
  9893. type: integer
  9894. provinceid:
  9895. description: 省
  9896. type: integer
  9897. remark:
  9898. description: 审核备注
  9899. type: string
  9900. videourl:
  9901. description: 视频地址
  9902. type: string
  9903. warehousecode:
  9904. description: 仓库代码
  9905. type: string
  9906. warehousename:
  9907. description: 仓库名称
  9908. type: string
  9909. warehousestatus:
  9910. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9911. type: integer
  9912. warehousetype:
  9913. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9914. type: integer
  9915. type: object
  9916. models.Goods:
  9917. properties:
  9918. agreeunit:
  9919. description: 合约单位
  9920. type: number
  9921. areauserid:
  9922. description: 所属机构
  9923. type: integer
  9924. auditaccountid:
  9925. description: 审核操作员账号
  9926. type: integer
  9927. audittime:
  9928. description: 审核时间
  9929. type: string
  9930. cancelaccountid:
  9931. description: 注销操作员账号
  9932. type: integer
  9933. canceltime:
  9934. description: 注销时间
  9935. type: string
  9936. closepricemode:
  9937. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  9938. type: integer
  9939. closepriceparam:
  9940. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  9941. type: number
  9942. createtime:
  9943. description: 创建时间
  9944. type: string
  9945. creatorid:
  9946. description: 创建人
  9947. type: integer
  9948. currencyid:
  9949. description: 报价货币ID
  9950. type: integer
  9951. cutmode:
  9952. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  9953. type: integer
  9954. decimalplace:
  9955. description: 报价小数位
  9956. type: integer
  9957. delistingdate:
  9958. description: 商品退市时间(状态:退市) -- 已作废
  9959. type: string
  9960. delistingmode:
  9961. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  9962. type: integer
  9963. deliveryflag:
  9964. description: 交割标志 - 0:不可交割 1:可交割
  9965. type: integer
  9966. forceclosemode:
  9967. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  9968. type: integer
  9969. forceclosevalue:
  9970. description: 定期强平参数 [收益权]
  9971. type: integer
  9972. goodscode:
  9973. description: 商品代码(内部)
  9974. type: string
  9975. goodscurrencyid:
  9976. description: 合约货币ID
  9977. type: integer
  9978. goodsgroupid:
  9979. description: 所属商品组ID
  9980. type: integer
  9981. goodsid:
  9982. description: 商品ID(自增ID SEQ_GOODS)
  9983. type: integer
  9984. goodsname:
  9985. description: 商品名称
  9986. type: string
  9987. goodsquotetype:
  9988. description: '合约报价类型: 1-直接报价 2-间接报价'
  9989. type: integer
  9990. goodsstatus:
  9991. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9992. type: integer
  9993. goodstradetype:
  9994. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  9995. type: integer
  9996. goodunitid:
  9997. description: 报价单位ID
  9998. type: integer
  9999. hasquoter:
  10000. description: 是否有报价商 - 0:无报价商 1:有报价商
  10001. type: integer
  10002. hqprotecttime:
  10003. description: 行情保护时间(秒)
  10004. type: integer
  10005. innerdealmode:
  10006. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10007. type: integer
  10008. isbuylimited:
  10009. description: 是否限制建仓量 - 0:不限制 1:限制
  10010. type: integer
  10011. isvisible:
  10012. description: 游客是否可见 - 0:不可见 1:可见
  10013. type: integer
  10014. lasttradedate:
  10015. description: 最后交易日期(状态:待退市)
  10016. type: string
  10017. listingdate:
  10018. description: 交易开始日期
  10019. type: string
  10020. marketid:
  10021. description: 所属市场ID
  10022. type: integer
  10023. modifierid:
  10024. description: 修改人
  10025. type: integer
  10026. modifystatus:
  10027. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10028. type: integer
  10029. modifytime:
  10030. description: 修改时间
  10031. type: string
  10032. outerdealmode:
  10033. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10034. type: integer
  10035. outgoodscode:
  10036. description: 商品代码(外部)
  10037. type: string
  10038. pictureurl:
  10039. description: 商品图片
  10040. type: string
  10041. qtydecimalplace:
  10042. description: 成交量小数位
  10043. type: integer
  10044. quotegear:
  10045. description: 行情档位(1-10)
  10046. type: integer
  10047. quoteminunit:
  10048. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10049. type: integer
  10050. quoteshowtype:
  10051. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10052. type: integer
  10053. quoteshowtypeinterval:
  10054. description: 行情报价间隔时间(秒)(成交价时为0)
  10055. type: integer
  10056. remark:
  10057. description: 备注
  10058. type: string
  10059. required:
  10060. - goodscode
  10061. - goodsid
  10062. - goodsname
  10063. - marketid
  10064. type: object
  10065. models.GoodsIDAndName:
  10066. properties:
  10067. goodscode:
  10068. description: 商品代码(内部)
  10069. type: string
  10070. goodsid:
  10071. description: 商品ID(自增ID SEQ_GOODS)
  10072. type: integer
  10073. goodsname:
  10074. description: 商品名称
  10075. type: string
  10076. marketid:
  10077. description: 所属市场ID
  10078. type: integer
  10079. required:
  10080. - goodscode
  10081. - goodsid
  10082. - goodsname
  10083. - marketid
  10084. type: object
  10085. models.Goodsgroup:
  10086. properties:
  10087. agreeunit:
  10088. description: 合约单位
  10089. type: number
  10090. canshort:
  10091. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10092. type: integer
  10093. closepricemode:
  10094. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10095. type: integer
  10096. closepriceparam:
  10097. description: 强平最新价浮动比例 - 方式为2时使用
  10098. type: number
  10099. createtime:
  10100. description: 创建时间
  10101. type: string
  10102. creatorid:
  10103. description: 创建人
  10104. type: integer
  10105. currencyid:
  10106. description: 报价货币ID
  10107. type: integer
  10108. decimalplace:
  10109. description: 报价小数位
  10110. type: integer
  10111. exercisetype:
  10112. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10113. type: integer
  10114. exexchangeid:
  10115. description: 外部交易所ID[通道交易]
  10116. type: integer
  10117. goodsgroupid:
  10118. description: 商品组ID(自增ID)
  10119. type: integer
  10120. goodsgroupname:
  10121. description: 商品组名称
  10122. type: string
  10123. goodsgroupstatus:
  10124. description: 商品组状态 - 1:正常 2:注销
  10125. type: integer
  10126. goodunitid:
  10127. description: 报价单位ID
  10128. type: integer
  10129. innerdealmode:
  10130. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10131. type: integer
  10132. isbuylimited:
  10133. description: 是否限制建仓量 - 0:不限制 1:限制
  10134. type: integer
  10135. marketid:
  10136. description: 所属市场ID
  10137. type: integer
  10138. modifierid:
  10139. description: 修改人
  10140. type: integer
  10141. modifytime:
  10142. description: 修改时间
  10143. type: string
  10144. outerdealmode:
  10145. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10146. type: integer
  10147. outergroupcode:
  10148. description: 外部商品组代码[通道交易]
  10149. type: string
  10150. premiumdecimalplace:
  10151. description: 权利金小数位[场外期权]
  10152. type: integer
  10153. premiumspreadalgorithm:
  10154. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10155. type: integer
  10156. premiumspreadvalue:
  10157. description: 权利金点差值[场外期权]
  10158. type: number
  10159. qtydecimalplace:
  10160. description: 成交量小数位
  10161. type: integer
  10162. quotegear:
  10163. description: 行情档位(1-10)
  10164. type: integer
  10165. quoteminunit:
  10166. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10167. type: integer
  10168. quoterid:
  10169. description: 报价商ID[场外期权]
  10170. type: integer
  10171. quotesourcegroupid:
  10172. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10173. type: integer
  10174. syncgoodsqty:
  10175. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10176. type: integer
  10177. required:
  10178. - goodsgroupid
  10179. - goodsgroupname
  10180. - goodsgroupstatus
  10181. - marketid
  10182. type: object
  10183. models.Goodssortbypreposition:
  10184. properties:
  10185. goodscode:
  10186. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10187. type: string
  10188. goodsgroupcode:
  10189. description: 品种代码
  10190. type: string
  10191. prepositionqty:
  10192. description: 昨持仓量
  10193. type: integer
  10194. sortindex:
  10195. description: 排序
  10196. type: integer
  10197. tradedate:
  10198. description: 交易日
  10199. type: string
  10200. updatetime:
  10201. description: 更新时间
  10202. type: string
  10203. required:
  10204. - goodscode
  10205. - tradedate
  10206. type: object
  10207. models.GzbsfworderM:
  10208. properties:
  10209. accountid:
  10210. description: 资金账户ID
  10211. type: integer
  10212. addresscn:
  10213. description: 地址(中文)
  10214. type: string
  10215. addressen:
  10216. description: 地址(英文)
  10217. type: string
  10218. advanceamount:
  10219. description: 总预付款
  10220. type: number
  10221. colorrange:
  10222. description: 颜色范围
  10223. type: string
  10224. companynamecn:
  10225. description: 收货人(中文)
  10226. type: string
  10227. companynameen:
  10228. description: 收货人(英文)
  10229. type: string
  10230. contactfax:
  10231. description: 收货人传真
  10232. type: string
  10233. contactname:
  10234. description: 收货人姓名
  10235. type: string
  10236. contactphoneno:
  10237. description: 收货人电话
  10238. type: string
  10239. contentrange:
  10240. description: 【内容】内容范围
  10241. type: string
  10242. createtime:
  10243. description: 创建时间
  10244. type: string
  10245. executestatus:
  10246. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10247. type: integer
  10248. gzbsdeliverytype:
  10249. description: 收货方式 - 枚举"GZBSDeliveryType"
  10250. type: integer
  10251. gzbsstatus:
  10252. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10253. type: integer
  10254. gzbsstatusdisplay:
  10255. description: 单据状态
  10256. type: string
  10257. handlestatus:
  10258. description: 处理状态
  10259. type: integer
  10260. orderdate:
  10261. description: 单据日期
  10262. type: string
  10263. orderid:
  10264. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10265. type: integer
  10266. orderno:
  10267. description: 单据编号 - GZDEBSFW+单据流水号
  10268. type: string
  10269. ordersn:
  10270. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10271. type: string
  10272. origincountry:
  10273. description: 原产国
  10274. type: string
  10275. otherlogistics:
  10276. description: 指定其它物流
  10277. type: string
  10278. priceper:
  10279. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10280. type: number
  10281. settleamount:
  10282. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10283. type: number
  10284. shaperange:
  10285. description: 形状范围
  10286. type: string
  10287. taxmargin:
  10288. description: 税费保证金 - 确认结算费用时退回
  10289. type: number
  10290. totalamount:
  10291. description: 总值(美元)
  10292. type: number
  10293. totalgrossweightgm:
  10294. description: 总毛重(克)
  10295. type: number
  10296. totalnetweightgm:
  10297. description: 总净重(克)
  10298. type: number
  10299. totalnetweigthct:
  10300. description: 总净重(克拉)
  10301. type: number
  10302. totalnumber:
  10303. description: 总粒数
  10304. type: integer
  10305. userid:
  10306. description: 用户ID
  10307. type: integer
  10308. weightrange:
  10309. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10310. type: string
  10311. required:
  10312. - userid
  10313. type: object
  10314. models.GzbsfworderdetailM:
  10315. properties:
  10316. colorinfo:
  10317. description: 彩钻信息
  10318. type: string
  10319. createtime:
  10320. description: 创建时间
  10321. type: string
  10322. grossweightgm:
  10323. description: 毛重(克)
  10324. type: number
  10325. gzcjshape:
  10326. description: 形状(字符)
  10327. type: string
  10328. netweigthct:
  10329. description: 净重(克拉)
  10330. type: number
  10331. netweigthgm:
  10332. description: 净重(克)
  10333. type: number
  10334. ordercontent:
  10335. description: 内容
  10336. type: string
  10337. orderdetailid:
  10338. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10339. type: integer
  10340. orderid:
  10341. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10342. type: integer
  10343. orderindex:
  10344. description: 顺序
  10345. type: integer
  10346. perprice:
  10347. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10348. type: number
  10349. remark:
  10350. description: 备注(其它)
  10351. type: string
  10352. totalamount:
  10353. description: 总值(美元)
  10354. type: number
  10355. type: object
  10356. models.Gzbsfworderoperate:
  10357. properties:
  10358. advanceproofaddr:
  10359. description: 预付款收款凭证(确认结算费用时)
  10360. type: string
  10361. bankfee:
  10362. description: 汇款银行手续费
  10363. type: number
  10364. bankproofaddr:
  10365. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10366. type: string
  10367. customsproofaddr:
  10368. description: 海关税费保证金收据(确认结算费用时)
  10369. type: string
  10370. gzbsstatus:
  10371. description: 操作后单据状态 - 枚举"GZBSStatus"
  10372. type: integer
  10373. logisticsfee:
  10374. description: 代缴物流保险费
  10375. type: number
  10376. logisticsproofaddr:
  10377. description: 代缴物流保险费凭证(确认结算费用时)
  10378. type: string
  10379. operatetime:
  10380. description: 操作时间
  10381. type: string
  10382. operatoraccount:
  10383. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10384. type: string
  10385. operatorid:
  10386. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10387. type: integer
  10388. operatorname:
  10389. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10390. type: string
  10391. operatorsrc:
  10392. description: 操作人来源 - 1:管理端 2:终端
  10393. type: integer
  10394. orderid:
  10395. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10396. type: integer
  10397. otherfee:
  10398. description: 其它费用
  10399. type: number
  10400. remark:
  10401. description: 操作备注
  10402. type: string
  10403. servicefee:
  10404. description: 综合服务费
  10405. type: number
  10406. taxmargin:
  10407. description: 税费保证金
  10408. type: number
  10409. totalfee:
  10410. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10411. type: number
  10412. required:
  10413. - orderid
  10414. type: object
  10415. models.Gzcertaddressconfig:
  10416. properties:
  10417. certregion:
  10418. description: 证书地域 - 1:国内 2:国际
  10419. type: integer
  10420. certtype:
  10421. description: 证书类型
  10422. type: string
  10423. orderindex:
  10424. description: 显示顺序
  10425. type: integer
  10426. orgcnname:
  10427. description: 机构名称(中文)
  10428. type: string
  10429. orgenname:
  10430. description: 机构名称(英文)
  10431. type: string
  10432. queryaddress:
  10433. description: 查询地址
  10434. type: string
  10435. remark:
  10436. description: 备注
  10437. type: string
  10438. updatetime:
  10439. description: 更新时间
  10440. type: string
  10441. type: object
  10442. models.Gzcertaddressparam:
  10443. properties:
  10444. certtype:
  10445. description: 证书类型
  10446. type: string
  10447. orderindex:
  10448. description: 参数顺序
  10449. type: integer
  10450. paramkey:
  10451. description: 参数Key
  10452. type: string
  10453. paramname:
  10454. description: 参数名称
  10455. type: string
  10456. updatetime:
  10457. description: 更新时间
  10458. type: string
  10459. type: object
  10460. models.GzcjbsorderfileM:
  10461. properties:
  10462. canmembervisit:
  10463. description: 会员是否可访问 - 1:可 2:不可
  10464. type: integer
  10465. fileaddress:
  10466. description: 文件地址
  10467. type: string
  10468. filegentype:
  10469. description: 文件生成类型 - 1:系统生成 2:手动上传
  10470. type: integer
  10471. filename:
  10472. description: 文件名称
  10473. type: string
  10474. operatetime:
  10475. description: 操作时间
  10476. type: string
  10477. operatoraccount:
  10478. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10479. type: string
  10480. operatorid:
  10481. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10482. type: integer
  10483. operatorsrc:
  10484. description: 操作人来源 - 1:管理端 2:终端
  10485. type: integer
  10486. orderfileid:
  10487. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10488. type: integer
  10489. orderid:
  10490. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10491. type: integer
  10492. required:
  10493. - orderid
  10494. type: object
  10495. models.GzcjjcorderM:
  10496. properties:
  10497. accountid:
  10498. description: 资金账户ID
  10499. type: integer
  10500. addresscn:
  10501. description: 地址(中文)
  10502. type: string
  10503. addressen:
  10504. description: 地址(英文)
  10505. type: string
  10506. advanceamount:
  10507. description: 总预付款
  10508. type: number
  10509. colorrange:
  10510. description: 颜色范围
  10511. type: string
  10512. companynamecn:
  10513. description: 公司名称(中文)
  10514. type: string
  10515. companynameen:
  10516. description: 公司名称(英文)
  10517. type: string
  10518. contactname:
  10519. description: 联系人姓名
  10520. type: string
  10521. contactphoneno:
  10522. description: 联系人电话
  10523. type: string
  10524. contactposition:
  10525. description: 联系人职位
  10526. type: string
  10527. createtime:
  10528. description: 创建时间
  10529. type: string
  10530. email:
  10531. description: 邮箱
  10532. type: string
  10533. executestatus:
  10534. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10535. type: integer
  10536. gzcjaccount:
  10537. description: 送检账户
  10538. type: string
  10539. gzcjaccounttype:
  10540. description: 检测账户类型 - 枚举"GZCJAccountType"
  10541. type: integer
  10542. gzcjcategorytype:
  10543. description: 货物品类 - 枚举"GZCJCategoryType"
  10544. type: integer
  10545. gzcjcategorytypedisplay:
  10546. description: 货物品类
  10547. type: string
  10548. gzcjdeliverytype:
  10549. description: 收货方式 - 枚举"GZCJDeliveryType"
  10550. type: integer
  10551. gzcjdeliverytypedisplay:
  10552. description: 收货方式
  10553. type: string
  10554. gzcjstatus:
  10555. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10556. type: integer
  10557. gzcjstatusdisplay:
  10558. description: 单据状态(出境检测)
  10559. type: string
  10560. handlestatus:
  10561. description: 处理状态
  10562. type: integer
  10563. invoiceremark:
  10564. description: 复核备注 - 发票装箱单使用
  10565. type: string
  10566. orderid:
  10567. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10568. type: integer
  10569. orderno:
  10570. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10571. type: string
  10572. ordersn:
  10573. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10574. type: string
  10575. origincountry:
  10576. description: 原产国
  10577. type: string
  10578. processingcountry:
  10579. description: 成品钻石加工国
  10580. type: string
  10581. realservicefee:
  10582. description: 应收综合服务费
  10583. type: number
  10584. servicefeesum:
  10585. description: 汇总综合服务费 - 明细上值汇总
  10586. type: number
  10587. settleamount:
  10588. description: 总结算费用
  10589. type: number
  10590. shaperange:
  10591. description: 形状范围
  10592. type: string
  10593. totalamount:
  10594. description: 总金额(美元)
  10595. type: number
  10596. totalgrossweight:
  10597. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10598. * 200
  10599. type: number
  10600. totalnumber:
  10601. description: 总粒数
  10602. type: integer
  10603. totalweight:
  10604. description: 总克拉数(保留3位小数)
  10605. type: number
  10606. totalweightgm:
  10607. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10608. type: number
  10609. userid:
  10610. description: 用户ID
  10611. type: integer
  10612. weightrange:
  10613. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10614. type: string
  10615. zsorigin:
  10616. description: 天然钻石毛坯原产地
  10617. type: string
  10618. required:
  10619. - userid
  10620. type: object
  10621. models.GzcjjcorderdetailM:
  10622. properties:
  10623. amount:
  10624. description: 参考货值(USD)
  10625. type: number
  10626. colorinfo:
  10627. description: 彩钻信息
  10628. type: string
  10629. createtime:
  10630. description: 创建时间
  10631. type: string
  10632. gzcjmarktype:
  10633. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10634. type: integer
  10635. gzcjpublishtype:
  10636. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10637. type: integer
  10638. gzcjpublishtypestring:
  10639. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10640. type: string
  10641. gzcjservicetype:
  10642. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10643. type: integer
  10644. gzcjservicetypestring:
  10645. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10646. type: string
  10647. gzcjshapetype:
  10648. description: 形状 - 枚举"GZCJShapeType"
  10649. type: integer
  10650. gzcjshapetypestring:
  10651. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10652. type: string
  10653. gzno:
  10654. description: 货物编号
  10655. type: string
  10656. orderdetailid:
  10657. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10658. type: integer
  10659. orderid:
  10660. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10661. type: integer
  10662. orderindex:
  10663. description: 顺序
  10664. type: integer
  10665. origincertno:
  10666. description: 原证书号【送检账户为“广钻账户”】
  10667. type: string
  10668. remark:
  10669. description: 备注(其它)
  10670. type: string
  10671. servicefee:
  10672. description: 综合服务费 - 根据市场配置计算
  10673. type: number
  10674. weight:
  10675. description: 重量(CT)
  10676. type: number
  10677. type: object
  10678. models.Gzrapaportprice:
  10679. properties:
  10680. dollar:
  10681. description: 美元
  10682. type: string
  10683. rmb:
  10684. description: 人民币
  10685. type: string
  10686. type: object
  10687. models.Hedgeinnerholderdetail:
  10688. properties:
  10689. accountid:
  10690. description: 账号ID
  10691. type: integer
  10692. buyorsell:
  10693. description: 方向 - 0:买 1:卖
  10694. type: integer
  10695. freezeqty:
  10696. description: 冻结数量 - 按单平使用
  10697. type: integer
  10698. goodsid:
  10699. description: 商品ID
  10700. type: integer
  10701. holderamount:
  10702. description: 持仓金额 [商品币种]
  10703. type: number
  10704. holderdays:
  10705. description: 剩余冻结天数
  10706. type: integer
  10707. holderprice:
  10708. description: 持仓价格
  10709. type: number
  10710. holderqty:
  10711. description: 持仓数量
  10712. type: integer
  10713. marketid:
  10714. description: 市场ID
  10715. type: integer
  10716. openprice:
  10717. description: 建仓价格
  10718. type: number
  10719. openqty:
  10720. description: 建仓数量
  10721. type: integer
  10722. parentaccountid:
  10723. description: 所属母账户
  10724. type: integer
  10725. releaseamount:
  10726. description: 释放持仓金额[商品币种]
  10727. type: number
  10728. tradeamount:
  10729. description: 成交金额[账户]
  10730. type: number
  10731. tradedate:
  10732. description: 交易日(yyyyMMdd)
  10733. type: string
  10734. tradeid:
  10735. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10736. type: string
  10737. tradetime:
  10738. description: 交易时间
  10739. type: string
  10740. required:
  10741. - buyorsell
  10742. - tradeid
  10743. type: object
  10744. models.Hedgemarketopenlog:
  10745. properties:
  10746. accountid:
  10747. description: 资金账号[外部母账户]
  10748. type: integer
  10749. fcname:
  10750. description: 期货公司名称
  10751. type: string
  10752. handlestatus:
  10753. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10754. type: integer
  10755. marketid:
  10756. description: 市场ID
  10757. type: integer
  10758. status:
  10759. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10760. type: integer
  10761. tradedate:
  10762. description: 交易日(yyyyMMdd)
  10763. type: string
  10764. updatetime:
  10765. description: 更新时间
  10766. type: string
  10767. required:
  10768. - accountid
  10769. type: object
  10770. models.InternalEnableTradeDetail:
  10771. properties:
  10772. agreeunit:
  10773. description: 合约乘数
  10774. type: number
  10775. areauserid:
  10776. description: 企业ID
  10777. type: integer
  10778. convertratio:
  10779. description: 品种系数
  10780. type: number
  10781. deliverygoodscode:
  10782. description: 现货品种代码
  10783. type: string
  10784. deliverygoodsid:
  10785. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10786. type: integer
  10787. deliverygoodsname:
  10788. description: 现货品种名称
  10789. type: string
  10790. futurehedgeqty:
  10791. description: '[已关联数量]期货持仓套期量'
  10792. type: number
  10793. goodsid:
  10794. description: 期货合约ID
  10795. type: integer
  10796. hedgeditemid:
  10797. description: 被套期项目ID
  10798. type: string
  10799. hedgeditemnum:
  10800. description: 项目编号
  10801. type: string
  10802. tradeuserid:
  10803. description: 交易用户ID
  10804. type: integer
  10805. unexehedgeqty:
  10806. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10807. type: number
  10808. unexespotqty:
  10809. description: 未执行现货量
  10810. type: number
  10811. wrstandardcode:
  10812. description: 现货品类代码
  10813. type: string
  10814. wrstandardid:
  10815. description: 现货品类ID(SEQ_WRSTANDARD)
  10816. type: integer
  10817. wrstandardname:
  10818. description: 现货品类名称
  10819. type: string
  10820. required:
  10821. - areauserid
  10822. - goodsid
  10823. - tradeuserid
  10824. type: object
  10825. models.InternalUncorrelatedTradeDetail:
  10826. properties:
  10827. accountid:
  10828. description: 账号ID
  10829. type: integer
  10830. accountname:
  10831. description: 套期主体
  10832. type: string
  10833. agreeunit:
  10834. description: 合约乘数
  10835. type: number
  10836. areauserid:
  10837. description: 所属机构
  10838. type: integer
  10839. bizsubjectid:
  10840. description: 归属业务部门ID - SubjectID
  10841. type: integer
  10842. buyorsell:
  10843. description: 方向 - 0:买 1:卖
  10844. type: integer
  10845. channelbuildtype:
  10846. description: 委托单据类型 0:无 1:建仓 2:平仓
  10847. type: integer
  10848. convertratio:
  10849. description: 品种系数
  10850. type: number
  10851. createtime:
  10852. description: 创建时间
  10853. type: string
  10854. creatorid:
  10855. description: 创建人ID
  10856. type: integer
  10857. creatorsrc:
  10858. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10859. type: integer
  10860. enableqty:
  10861. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10862. type: number
  10863. enumdicname:
  10864. description: 单位
  10865. type: string
  10866. goodscode:
  10867. description: 合约代码
  10868. type: string
  10869. goodsgroupid:
  10870. description: 对冲品种ID[期货合约商品组ID]
  10871. type: integer
  10872. goodsid:
  10873. description: 商品ID
  10874. type: integer
  10875. goodsname:
  10876. description: 合约名称
  10877. type: string
  10878. hedgeditemid:
  10879. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10880. type: integer
  10881. hedgeflag:
  10882. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10883. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10884. type: integer
  10885. linkdetailid:
  10886. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10887. type: string
  10888. linkstatus:
  10889. description: 关联状态 - 1:成功 2:失败 3:解绑
  10890. type: integer
  10891. middlegoodsid:
  10892. description: 套保品种ID
  10893. type: integer
  10894. middlegoodsqty:
  10895. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10896. type: number
  10897. relatedlot:
  10898. description: '[数量]关联手数'
  10899. type: number
  10900. relatedmode:
  10901. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10902. type: integer
  10903. relatedqty:
  10904. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10905. type: number
  10906. retcode:
  10907. description: 返回码
  10908. type: integer
  10909. saleuserid:
  10910. description: 业务员ID
  10911. type: integer
  10912. tradedate:
  10913. description: 关联交易日(yyyyMMdd)
  10914. type: string
  10915. tradeid:
  10916. description: 成交单号
  10917. type: string
  10918. tradelot:
  10919. description: 成交手数
  10920. type: integer
  10921. tradeprice:
  10922. description: 成交价
  10923. type: number
  10924. tradetime:
  10925. description: 成交时间
  10926. type: string
  10927. tradetradedate:
  10928. description: 成交交易日(yyyyMMdd)
  10929. type: string
  10930. tradeuserid:
  10931. description: 交易用户ID
  10932. type: integer
  10933. type: object
  10934. models.Loginaccount:
  10935. properties:
  10936. accountname:
  10937. description: 账户名称
  10938. type: string
  10939. canoutin:
  10940. description: 是否可出入金 - 0:不可 1:可
  10941. type: integer
  10942. clientroleid:
  10943. description: 终端角色ID
  10944. type: integer
  10945. haslogined:
  10946. description: 是否已登录 - 0:未登录 1:已登录
  10947. type: integer
  10948. hasupdatedpwd:
  10949. description: 是否已更改密码 - 0:未修改 1:已修改
  10950. type: integer
  10951. lastloginip:
  10952. description: 最新登录地址
  10953. type: string
  10954. lastloginmode:
  10955. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  10956. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10957. type: integer
  10958. lastloginremark:
  10959. description: 最新登录描述
  10960. type: string
  10961. lastlogintime:
  10962. description: 最新登录时间
  10963. type: string
  10964. logincode:
  10965. description: 登录代码
  10966. type: string
  10967. loginfailnum:
  10968. description: 连续登录失败次数(登录成功时清零)
  10969. type: integer
  10970. loginid:
  10971. description: 登陆账号
  10972. type: integer
  10973. loginport:
  10974. description: 最新登录端口
  10975. type: integer
  10976. loginstatus:
  10977. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  10978. type: integer
  10979. loginusertype:
  10980. description: 登录账号类型 - 1:投资者 2:机构交易员
  10981. type: integer
  10982. mobile:
  10983. description: 手机号码(加密存储)
  10984. type: string
  10985. modifierid:
  10986. description: 修改人
  10987. type: integer
  10988. modifysrc:
  10989. description: 审核来源 - 1:管理端 2:终端
  10990. type: integer
  10991. modifytime:
  10992. description: 修改时间
  10993. type: string
  10994. pwdwrongcount:
  10995. description: 密码错误次数
  10996. type: integer
  10997. relateduserid:
  10998. description: 关联用户ID(机构)
  10999. type: integer
  11000. taaccountrighttype:
  11001. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11002. type: integer
  11003. unfreezetime:
  11004. description: 账户解冻时间
  11005. type: string
  11006. userid:
  11007. description: 用户ID
  11008. type: integer
  11009. required:
  11010. - loginid
  11011. type: object
  11012. models.MainAccountInfo:
  11013. properties:
  11014. accountid:
  11015. description: 账号id
  11016. type: integer
  11017. accountname:
  11018. description: 账号名称(taaccount表中的名称)
  11019. type: string
  11020. appid:
  11021. description: AppID
  11022. type: string
  11023. authcode:
  11024. description: 授权码
  11025. type: string
  11026. brokerid:
  11027. description: 经纪商id
  11028. type: string
  11029. fcid:
  11030. description: 期货公司id
  11031. type: integer
  11032. fcname:
  11033. description: 期货公司代码
  11034. type: string
  11035. hedgeaccountcode:
  11036. description: 外部账号代码(主账号登录代码)
  11037. type: string
  11038. hedgeaccountpwd:
  11039. description: 密码
  11040. type: string
  11041. ismain:
  11042. description: 是否主账号
  11043. type: integer
  11044. relateduserid:
  11045. description: 关联用户id
  11046. type: integer
  11047. userid:
  11048. description: 关联用户id
  11049. type: integer
  11050. type: object
  11051. models.Market:
  11052. properties:
  11053. auctionwrtype:
  11054. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11055. type: integer
  11056. canacceptquote:
  11057. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11058. type: integer
  11059. cangoodsexercise:
  11060. description: '[期权]是否可现货行权- 0:否 1:是'
  11061. type: integer
  11062. cangoodsexercisetype:
  11063. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11064. type: integer
  11065. canmanualquotestrike:
  11066. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11067. type: integer
  11068. canmutistage:
  11069. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11070. type: integer
  11071. canpreexercise:
  11072. description: '[期权]是否可预申报- 0:否 1:是'
  11073. type: integer
  11074. clearinterval:
  11075. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11076. type: integer
  11077. contracttmp:
  11078. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11079. type: string
  11080. exchareaid:
  11081. description: 所属交易所,可以没有
  11082. type: integer
  11083. goodstype:
  11084. description: 商品类型 - 1:交易商品 2:仓单商品
  11085. type: integer
  11086. hasrebate:
  11087. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11088. type: integer
  11089. hastradecredit:
  11090. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11091. type: integer
  11092. haswr:
  11093. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11094. type: integer
  11095. isdeductmargin:
  11096. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11097. type: integer
  11098. isrecordsource:
  11099. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11100. type: integer
  11101. isreleasemargin:
  11102. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11103. type: integer
  11104. marginformula:
  11105. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11106. type: integer
  11107. marginformula2:
  11108. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11109. type: integer
  11110. marketid:
  11111. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11112. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11113. type: integer
  11114. marketname:
  11115. description: 市场名称
  11116. type: string
  11117. marketserviceid:
  11118. description: 市场服务ID
  11119. type: integer
  11120. marketstatus:
  11121. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11122. type: integer
  11123. markettype:
  11124. description: 市场类型- 1:非交易服务 2:交易服务
  11125. type: integer
  11126. matchermode:
  11127. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11128. type: integer
  11129. openmethod:
  11130. description: 开盘模式 - 0 自动 1手动
  11131. type: integer
  11132. otcuserid:
  11133. description: 场外期权做市商[场外期权]
  11134. type: integer
  11135. outersynctime:
  11136. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11137. type: string
  11138. pendingflag:
  11139. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11140. type: integer
  11141. pendingtime:
  11142. description: 待开市时间[通道交易-对冲](HH:mm)
  11143. type: string
  11144. performancetempid:
  11145. description: 履约计划模板ID - 作废
  11146. type: integer
  11147. premiumquotemode:
  11148. description: 权利金报价方式 - 1:自动 2:手动
  11149. type: integer
  11150. rebateratio:
  11151. description: 返利比率[竞价式]
  11152. type: number
  11153. reckonorder:
  11154. description: 结算顺序
  11155. type: integer
  11156. reckonpricealgorithm:
  11157. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11158. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11159. type: integer
  11160. reckonpriceparam:
  11161. description: 结算价参数
  11162. type: integer
  11163. reckontime:
  11164. description: 结算时间[通道交易-对冲](HH:mm)
  11165. type: string
  11166. roleprioritytype:
  11167. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11168. type: integer
  11169. selllistingauditflag:
  11170. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11171. type: integer
  11172. trademarkettype:
  11173. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11174. type: integer
  11175. trademode:
  11176. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11177. 21:竞拍-大宗式 22:受托竞价
  11178. type: integer
  11179. tradeproperty:
  11180. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11181. 8:场外期权
  11182. type: integer
  11183. tradetype:
  11184. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11185. type: integer
  11186. required:
  11187. - marketid
  11188. - marketstatus
  11189. - openmethod
  11190. - reckonpricealgorithm
  11191. - trademode
  11192. - tradeproperty
  11193. type: object
  11194. models.Marketcalendar:
  11195. properties:
  11196. holidaydate:
  11197. description: 节假日期(yyyy-MM-dd)
  11198. type: string
  11199. marketid:
  11200. description: 市场ID
  11201. type: integer
  11202. type: object
  11203. models.Marketrun:
  11204. properties:
  11205. afternexttradedate:
  11206. description: 下下交易日
  11207. type: string
  11208. clearquoteflag:
  11209. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11210. type: integer
  11211. lastreckondate:
  11212. description: 最新交易日(结算成功)
  11213. type: string
  11214. machinedate:
  11215. description: 机器时间
  11216. type: string
  11217. manualflag:
  11218. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11219. type: integer
  11220. marketid:
  11221. description: 市场ID
  11222. type: integer
  11223. nexttradedate:
  11224. description: 下一交易日
  11225. type: string
  11226. pretradedate:
  11227. description: 上一交易日
  11228. type: string
  11229. reckonflag:
  11230. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11231. type: integer
  11232. runstatus:
  11233. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11234. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11235. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11236. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11237. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11238. 62.今日免清算
  11239. type: integer
  11240. sectionid:
  11241. description: 时间段号[多时段时用]
  11242. type: integer
  11243. tradedate:
  11244. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11245. type: string
  11246. tradedate2:
  11247. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11248. type: string
  11249. updatetime:
  11250. description: 更新时间
  11251. type: string
  11252. required:
  11253. - marketid
  11254. - nexttradedate
  11255. - reckonflag
  11256. - runstatus
  11257. - tradedate
  11258. - tradedate2
  11259. type: object
  11260. models.Messageboard:
  11261. properties:
  11262. contactnum:
  11263. description: 联系电话
  11264. type: string
  11265. createtime:
  11266. description: 创建时间
  11267. type: string
  11268. message:
  11269. description: 留言信息
  11270. type: string
  11271. messageboardid:
  11272. description: 留言簿ID(SEQ_MessageBoard)
  11273. type: integer
  11274. userid:
  11275. description: 用户ID
  11276. type: integer
  11277. required:
  11278. - messageboardid
  11279. type: object
  11280. models.MyBargainApply:
  11281. properties:
  11282. accountid:
  11283. description: 摘牌资金账号
  11284. type: integer
  11285. applyprice:
  11286. description: 申请价格
  11287. type: string
  11288. applyremark:
  11289. description: 申请备注
  11290. type: string
  11291. applystatus:
  11292. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11293. type: integer
  11294. applytime:
  11295. description: 申请时间
  11296. type: string
  11297. buyorsell:
  11298. description: 买卖 - 0:买 1:卖
  11299. type: integer
  11300. confirmprice:
  11301. description: 可接受价格(拒绝时填写)-作废
  11302. type: number
  11303. confirmqty:
  11304. description: 可接受数量(拒绝时填写)-作废
  11305. type: integer
  11306. confirmremark:
  11307. description: 确认备注
  11308. type: string
  11309. confirmtime:
  11310. description: 确认时间
  11311. type: string
  11312. confirmuserid:
  11313. description: 确认人
  11314. type: integer
  11315. goodsno:
  11316. description: 商品编号
  11317. type: string
  11318. handlestatus:
  11319. description: 处理状态
  11320. type: integer
  11321. ladingbillid:
  11322. description: 摘牌方提单ID [卖]
  11323. type: integer
  11324. marketid:
  11325. description: 市场ID
  11326. type: integer
  11327. matchaccountid:
  11328. description: 挂牌方资金账号
  11329. type: integer
  11330. matchuserid:
  11331. description: 挂牌方用户ID
  11332. type: integer
  11333. performancetemplateid:
  11334. description: 履约计划模板ID
  11335. type: integer
  11336. price:
  11337. description: 价格
  11338. type: number
  11339. priceper:
  11340. description: 克拉单价 - 类型:1,2,3,5
  11341. type: string
  11342. qty:
  11343. description: 申请数量
  11344. type: number
  11345. refprice:
  11346. description: 参考价格
  11347. type: string
  11348. retcode:
  11349. description: 委托返回代码
  11350. type: integer
  11351. sellusername:
  11352. description: 卖方
  11353. type: string
  11354. sizedisplay:
  11355. description: 尺寸
  11356. type: string
  11357. subnum:
  11358. description: 摘牌方提单子单号 [卖]
  11359. type: integer
  11360. tradedate:
  11361. description: 交易日(yyyyMMdd)
  11362. type: string
  11363. userid:
  11364. description: 摘牌人用户ID
  11365. type: integer
  11366. warehousenamedisplay:
  11367. type: string
  11368. wrbargainid:
  11369. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11370. type: string
  11371. wrtradeorderid:
  11372. description: 关联委托单ID
  11373. type: string
  11374. zscerttypedisplay:
  11375. type: string
  11376. zsclaritytype1display:
  11377. type: string
  11378. zsclaritytype2display:
  11379. type: string
  11380. zscolortype1display:
  11381. type: string
  11382. zscolortype2display:
  11383. type: string
  11384. zscrystaltypedisplay:
  11385. type: string
  11386. zscurrencytypedisplay:
  11387. type: string
  11388. zscurrencytypedisplayunit:
  11389. type: string
  11390. zscuttype1display:
  11391. type: string
  11392. zscuttype2display:
  11393. type: string
  11394. zsczcolor1typedisplay:
  11395. type: string
  11396. zsczcolor2typedisplay:
  11397. type: string
  11398. zsczcolor3typedisplay:
  11399. type: string
  11400. zsfluorescencetype1display:
  11401. type: string
  11402. zsfluorescencetype2display:
  11403. type: string
  11404. zspolishtype1display:
  11405. type: string
  11406. zspolishtype2display:
  11407. type: string
  11408. zsshapetypedisplay:
  11409. type: string
  11410. zsstyletypedisplay:
  11411. type: string
  11412. zssymmetrytype1display:
  11413. type: string
  11414. zssymmetrytype2display:
  11415. type: string
  11416. required:
  11417. - userid
  11418. type: object
  11419. models.MyBuyOrder:
  11420. properties:
  11421. accountid:
  11422. description: 资金账户ID
  11423. type: integer
  11424. marketid:
  11425. description: 市场ID
  11426. type: integer
  11427. ordertime:
  11428. description: 委托时间
  11429. type: string
  11430. origin:
  11431. description: 原产地
  11432. type: string
  11433. performancetemplateid:
  11434. description: 履约计划模板ID
  11435. type: integer
  11436. remark:
  11437. description: 备注
  11438. type: string
  11439. userid:
  11440. description: 用户ID
  11441. type: integer
  11442. validtime:
  11443. description: 有效期限
  11444. type: string
  11445. warehouseids:
  11446. description: 仓库ID - 多个, 逗号分隔
  11447. type: string
  11448. warehouseinfosdisplay:
  11449. type: string
  11450. wrtradeorderid:
  11451. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11452. type: string
  11453. wrtradeorderstatus:
  11454. 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、
  11455. type: integer
  11456. zscategory:
  11457. description: 钻石分类 - 枚举”ZSCategory“
  11458. type: integer
  11459. zscategorydisplay:
  11460. type: string
  11461. zsclaritytype:
  11462. description: 净度 - 两个, 逗号分隔
  11463. type: string
  11464. zsclaritytypedisplay:
  11465. type: string
  11466. zscolortype:
  11467. description: 颜色 - 两个, 逗号分隔
  11468. type: string
  11469. zscolortypedisplay:
  11470. type: string
  11471. zscrystaltype:
  11472. description: 晶型 - 多个,逗号分隔
  11473. type: string
  11474. zscrystaltypedisplay:
  11475. type: string
  11476. zscurrencytype:
  11477. description: 货币类型 - 多个, 逗号分隔
  11478. type: string
  11479. zscurrencytypedisplay:
  11480. type: string
  11481. zscuttype:
  11482. description: 切工 - 两个, 逗号分隔
  11483. type: string
  11484. zscuttypedisplay:
  11485. type: string
  11486. zsczcolor1type:
  11487. description: 彩钻颜色1, 逗号分隔
  11488. type: string
  11489. zsczcolor1typedisplay:
  11490. type: string
  11491. zsczcolor2type:
  11492. description: 彩钻颜色2, 逗号分隔
  11493. type: string
  11494. zsczcolor2typedisplay:
  11495. type: string
  11496. zsczcolor3type:
  11497. description: 彩钻颜色3, 逗号分隔
  11498. type: string
  11499. zsczcolor3typedisplay:
  11500. type: string
  11501. zsfluorescencetype:
  11502. description: 荧光 - 多个, 逗号分隔
  11503. type: string
  11504. zsfluorescencetypedisplay:
  11505. type: string
  11506. zspolishtype:
  11507. description: 抛光度 - 两个, 逗号分隔
  11508. type: string
  11509. zspolishtypedisplay:
  11510. type: string
  11511. zsshapetype:
  11512. description: 形状 - 多个, 逗号分隔
  11513. type: string
  11514. zsshapetypedisplay:
  11515. type: string
  11516. zssize:
  11517. description: 尺寸 - 两个小数, 逗号分隔
  11518. type: string
  11519. zsstyletype:
  11520. description: 款式 - 多个, 逗号分隔
  11521. type: string
  11522. zsstyletypedisplay:
  11523. type: string
  11524. zssymmetrytype:
  11525. description: 对称度 - 两个, 逗号分隔
  11526. type: string
  11527. zssymmetrytypedisplay:
  11528. type: string
  11529. zstabledisplay:
  11530. description: 求购信息
  11531. type: string
  11532. required:
  11533. - userid
  11534. type: object
  11535. models.MyDeListing:
  11536. properties:
  11537. buyaccountid:
  11538. description: 买方账号ID
  11539. type: integer
  11540. buychargevalue:
  11541. description: 买方手续费
  11542. type: number
  11543. buyuserid:
  11544. description: 买方用户ID
  11545. type: integer
  11546. deliverygoodsid:
  11547. description: 现货品种ID
  11548. type: integer
  11549. exchangerate:
  11550. description: 汇率
  11551. type: number
  11552. goodsno:
  11553. description: 商品编号
  11554. type: string
  11555. marketid:
  11556. description: 市场ID
  11557. type: integer
  11558. matchusername:
  11559. description: 对手方
  11560. type: string
  11561. oritradeamount:
  11562. description: 成交金额[商品币种]
  11563. type: number
  11564. performanceplanid:
  11565. description: 履约计划ID/合同ID
  11566. type: string
  11567. price:
  11568. description: 价格
  11569. type: number
  11570. qty:
  11571. description: 成交重量
  11572. type: number
  11573. sellaccountid:
  11574. description: 卖方账号ID
  11575. type: integer
  11576. sellchargevalue:
  11577. description: 卖方手续费
  11578. type: number
  11579. selluserid:
  11580. description: 卖方用户ID
  11581. type: integer
  11582. sizedisplay:
  11583. description: 尺寸
  11584. type: string
  11585. tradeamount:
  11586. description: 成交金额
  11587. type: number
  11588. tradedate:
  11589. description: 交易日(yyyyMMdd)
  11590. type: string
  11591. tradeprice:
  11592. description: 成交价格
  11593. type: number
  11594. tradetime:
  11595. description: 成交时间
  11596. type: string
  11597. userid:
  11598. description: 用户ID
  11599. type: integer
  11600. warehousenamedisplay:
  11601. type: string
  11602. wrfactortypeid:
  11603. description: 仓单要素类型ID
  11604. type: integer
  11605. wrstandardid:
  11606. description: 现货商品ID
  11607. type: integer
  11608. wrtradedetailid:
  11609. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11610. type: string
  11611. zscategory:
  11612. description: 钻石分类 - 枚举”ZSCategory“
  11613. type: integer
  11614. zscategorydisplay:
  11615. type: string
  11616. zscerttypedisplay:
  11617. type: string
  11618. zsclaritytype1display:
  11619. type: string
  11620. zsclaritytype2display:
  11621. type: string
  11622. zscolortype1display:
  11623. type: string
  11624. zscolortype2display:
  11625. type: string
  11626. zscrystaltypedisplay:
  11627. type: string
  11628. zscurrencytype:
  11629. description: 货币类型 - 枚举“ZSCurrencyType”
  11630. type: integer
  11631. zscurrencytypedisplay:
  11632. type: string
  11633. zscurrencytypedisplayunit:
  11634. type: string
  11635. zscuttype1display:
  11636. type: string
  11637. zscuttype2display:
  11638. type: string
  11639. zsczcolor1typedisplay:
  11640. type: string
  11641. zsczcolor2typedisplay:
  11642. type: string
  11643. zsczcolor3typedisplay:
  11644. type: string
  11645. zsfluorescencetype1display:
  11646. type: string
  11647. zsfluorescencetype2display:
  11648. type: string
  11649. zspolishtype1display:
  11650. type: string
  11651. zspolishtype2display:
  11652. type: string
  11653. zsshapetypedisplay:
  11654. type: string
  11655. zsstyletypedisplay:
  11656. type: string
  11657. zssymmetrytype1display:
  11658. type: string
  11659. zssymmetrytype2display:
  11660. type: string
  11661. required:
  11662. - userid
  11663. type: object
  11664. models.MyDelistingApply:
  11665. properties:
  11666. applyprice:
  11667. description: 申请价格
  11668. type: number
  11669. applyqty:
  11670. description: 申请数量
  11671. type: number
  11672. applyremark:
  11673. description: 申请备注
  11674. type: string
  11675. applystatus:
  11676. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11677. type: integer
  11678. applytime:
  11679. description: 申请时间
  11680. type: string
  11681. auditremark:
  11682. description: 确认备注
  11683. type: string
  11684. audittime:
  11685. description: 确认时间
  11686. type: string
  11687. buyuserid:
  11688. description: 买方用户ID
  11689. type: integer
  11690. buyusername:
  11691. description: 买方
  11692. type: string
  11693. buywrtradeorderid:
  11694. description: 买委托单ID
  11695. type: string
  11696. goodsno:
  11697. description: 商品编号
  11698. type: string
  11699. ladingbillid:
  11700. description: 卖方提单ID
  11701. type: string
  11702. marketid:
  11703. description: 市场ID
  11704. type: integer
  11705. performancetemplateid:
  11706. description: 履约计划模板ID
  11707. type: integer
  11708. price:
  11709. description: 价格
  11710. type: number
  11711. sellaccountid:
  11712. description: 卖方账户ID
  11713. type: integer
  11714. selldelistingapplyid:
  11715. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11716. type: string
  11717. selltradeorderid:
  11718. description: 卖方委托ID(买方确认成交后更新)
  11719. type: string
  11720. selluserid:
  11721. description: 卖方用户ID
  11722. type: integer
  11723. sellusername:
  11724. description: 卖方
  11725. type: string
  11726. sizedisplay:
  11727. description: 尺寸
  11728. type: string
  11729. subnum:
  11730. description: 卖方提单子单号
  11731. type: integer
  11732. warehouseinfosdisplay:
  11733. type: string
  11734. weight:
  11735. description: 克拉重量
  11736. type: number
  11737. wrfactortypeid:
  11738. description: 仓单要素类型ID
  11739. type: string
  11740. wrstandardid:
  11741. description: 现货商品ID
  11742. type: integer
  11743. zsallproperties:
  11744. type: string
  11745. zscategorydisplay:
  11746. type: string
  11747. zsclaritytypedisplay:
  11748. type: string
  11749. zscolortypedisplay:
  11750. type: string
  11751. zscrystaltypedisplay:
  11752. type: string
  11753. zscurrencytypedisplay:
  11754. type: string
  11755. zscurrencytypedisplayunit:
  11756. description: 价格单位
  11757. type: string
  11758. zscuttypedisplay:
  11759. type: string
  11760. zsczcolor1typedisplay:
  11761. type: string
  11762. zsczcolor2typedisplay:
  11763. type: string
  11764. zsczcolor3typedisplay:
  11765. type: string
  11766. zsfluorescencetypedisplay:
  11767. type: string
  11768. zspolishtypedisplay:
  11769. type: string
  11770. zsshapetypedisplay:
  11771. type: string
  11772. zssizedisplay:
  11773. type: string
  11774. zsstyletypedisplay:
  11775. type: string
  11776. zssymmetrytypedisplay:
  11777. type: string
  11778. zstabledisplay:
  11779. type: string
  11780. required:
  11781. - selluserid
  11782. type: object
  11783. models.MyFavorite:
  11784. properties:
  11785. accountname:
  11786. description: 账户名称(机构名称)
  11787. type: string
  11788. buyorsell:
  11789. description: 买卖 - 0:买 1:卖
  11790. type: integer
  11791. favoritestatus:
  11792. description: 收藏状态 - 1:正常 2:失效
  11793. type: integer
  11794. goodsno:
  11795. description: 商品编号
  11796. type: string
  11797. marketid:
  11798. description: 市场ID
  11799. type: integer
  11800. price:
  11801. description: 价格
  11802. type: number
  11803. priceper:
  11804. description: 克拉单价
  11805. type: string
  11806. sizedisplay:
  11807. description: 尺寸
  11808. type: string
  11809. userid:
  11810. description: 用户ID
  11811. type: integer
  11812. warehousenamedisplay:
  11813. type: string
  11814. weight:
  11815. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11816. type: number
  11817. weightavg:
  11818. description: 平均单颗重量 - 类型:1,3
  11819. type: number
  11820. wrfactortypeid:
  11821. description: 仓单要素类型ID/商品ID(77)
  11822. type: string
  11823. wrstandardid:
  11824. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11825. type: integer
  11826. wrtradeorderid:
  11827. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11828. type: string
  11829. zscategory:
  11830. description: 钻石分类 - 枚举”ZSCategory“
  11831. type: integer
  11832. zscategorydisplay:
  11833. type: string
  11834. zscerttypedisplay:
  11835. type: string
  11836. zsclaritytype1display:
  11837. type: string
  11838. zsclaritytype2display:
  11839. type: string
  11840. zscolortype1display:
  11841. type: string
  11842. zscolortype2display:
  11843. type: string
  11844. zscrystaltypedisplay:
  11845. type: string
  11846. zscurrencytypedisplay:
  11847. type: string
  11848. zscurrencytypedisplayunit:
  11849. type: string
  11850. zscuttype1display:
  11851. type: string
  11852. zscuttype2display:
  11853. type: string
  11854. zsczcolor1typedisplay:
  11855. type: string
  11856. zsczcolor2typedisplay:
  11857. type: string
  11858. zsczcolor3typedisplay:
  11859. type: string
  11860. zsfluorescencetype1display:
  11861. type: string
  11862. zsfluorescencetype2display:
  11863. type: string
  11864. zspolishtype1display:
  11865. type: string
  11866. zspolishtype2display:
  11867. type: string
  11868. zsshapetypedisplay:
  11869. type: string
  11870. zsstyletypedisplay:
  11871. type: string
  11872. zssymmetrytype1display:
  11873. type: string
  11874. zssymmetrytype2display:
  11875. type: string
  11876. required:
  11877. - userid
  11878. type: object
  11879. models.MyPerformanc:
  11880. properties:
  11881. accountname:
  11882. description: '[对手方]账户名称(机构名称)'
  11883. type: string
  11884. amount:
  11885. description: 履约金额
  11886. type: number
  11887. buyaccountid:
  11888. description: 买方账号
  11889. type: integer
  11890. buyerfreezeamount:
  11891. description: 买方履约前冻结资金
  11892. type: number
  11893. buyerfreezeamountremain:
  11894. description: 买方履约前冻结资金剩余
  11895. type: number
  11896. buyerinfo:
  11897. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11898. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11899. type: string
  11900. buyorsell:
  11901. description: 方向 - 0:买 1:卖
  11902. type: integer
  11903. buypaidamount:
  11904. description: 买方已冻/已扣金额
  11905. type: number
  11906. buytodayamount:
  11907. description: 买方今日扣/冻金额 (待开市时清零)
  11908. type: number
  11909. curstepid:
  11910. description: 当前步骤ID
  11911. type: string
  11912. goodsno:
  11913. description: 商品编号
  11914. type: string
  11915. overshortamount:
  11916. description: 溢短金额
  11917. type: number
  11918. paymenttype:
  11919. description: 买方支付方式 - 1:冻结 2:扣款
  11920. type: integer
  11921. performanceplanid:
  11922. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11923. type: string
  11924. performancestatus:
  11925. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11926. 9:超时待处理 10:超时关闭
  11927. type: integer
  11928. price:
  11929. description: 价格
  11930. type: number
  11931. priceper:
  11932. description: 克拉单价
  11933. type: string
  11934. relatedorderid:
  11935. description: 关联单号(履约类型的关联单号)
  11936. type: string
  11937. remaindays:
  11938. description: 剩余天数
  11939. type: integer
  11940. sellerfreezeamount:
  11941. description: 卖方履约前冻结资金
  11942. type: number
  11943. sellerfreezeamountremain:
  11944. description: 卖方履约前冻结资金剩余
  11945. type: number
  11946. sellerinfo:
  11947. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11948. "xxxxxxxx"}'
  11949. type: string
  11950. sellreceivedamount:
  11951. description: 卖方已收金额
  11952. type: number
  11953. selltodayamount:
  11954. description: 卖方今日收取金额(待开市时清零)
  11955. type: number
  11956. sizedisplay:
  11957. description: 尺寸
  11958. type: string
  11959. steptypeid:
  11960. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11961. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11962. type: integer
  11963. warehousenamedisplay:
  11964. type: string
  11965. zscategorydisplay:
  11966. type: string
  11967. zscerttypedisplay:
  11968. type: string
  11969. zsclaritytype1display:
  11970. type: string
  11971. zsclaritytype2display:
  11972. type: string
  11973. zscolortype1display:
  11974. type: string
  11975. zscolortype2display:
  11976. type: string
  11977. zscrystaltypedisplay:
  11978. type: string
  11979. zscurrencytypedisplay:
  11980. type: string
  11981. zscurrencytypedisplayunit:
  11982. type: string
  11983. zscuttype1display:
  11984. type: string
  11985. zscuttype2display:
  11986. type: string
  11987. zsczcolor1typedisplay:
  11988. type: string
  11989. zsczcolor2typedisplay:
  11990. type: string
  11991. zsczcolor3typedisplay:
  11992. type: string
  11993. zsfluorescencetype1display:
  11994. type: string
  11995. zsfluorescencetype2display:
  11996. type: string
  11997. zspolishtype1display:
  11998. type: string
  11999. zspolishtype2display:
  12000. type: string
  12001. zsshapetypedisplay:
  12002. type: string
  12003. zsstyletypedisplay:
  12004. type: string
  12005. zssymmetrytype1display:
  12006. type: string
  12007. zssymmetrytype2display:
  12008. type: string
  12009. type: object
  12010. models.MySellOrder:
  12011. properties:
  12012. accountid:
  12013. description: 资金账号
  12014. type: integer
  12015. applyid:
  12016. description: 申请单ID
  12017. type: integer
  12018. attachment1:
  12019. description: 附件1
  12020. type: string
  12021. attachment2:
  12022. description: 附件2
  12023. type: string
  12024. buyorsell:
  12025. description: 买卖 - 0:买 1:卖
  12026. type: integer
  12027. canbargain:
  12028. description: 是否可议价 - 0:不可 1:可
  12029. type: integer
  12030. cancelqty:
  12031. description: 撤销数量
  12032. type: integer
  12033. canceltime:
  12034. description: 撤销时间
  12035. type: string
  12036. cerno:
  12037. type: string
  12038. chargealgorithm:
  12039. description: 手续费收取方式 1:比率 2:固定
  12040. type: integer
  12041. chargealgorithmvalue:
  12042. description: 手续费设置值(交易所部分)
  12043. type: number
  12044. chargealgorithmvalue2:
  12045. description: 手续费设置值(会员部分)
  12046. type: number
  12047. clientordertime:
  12048. description: 客户端委托时间
  12049. type: string
  12050. cpcertno:
  12051. type: string
  12052. exchangerate:
  12053. description: 汇率[67]
  12054. type: number
  12055. firstratio:
  12056. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12057. type: number
  12058. fixedprice:
  12059. description: '[克拉单价]固定价格 - [挂牌]'
  12060. type: number
  12061. freezecharge:
  12062. description: 冻结手续费
  12063. type: number
  12064. freezefirstamount:
  12065. description: 冻结首付金额 - [摘牌]
  12066. type: number
  12067. freezemargin:
  12068. description: 冻结保证金
  12069. type: number
  12070. goodsno:
  12071. description: 商品编号
  12072. type: string
  12073. imagepath:
  12074. type: string
  12075. isspecified:
  12076. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12077. type: integer
  12078. kppath:
  12079. type: string
  12080. kpweight:
  12081. type: string
  12082. marginalgorithm:
  12083. description: 保证金方式 - 1:比率 2:固定
  12084. type: integer
  12085. marginvalue:
  12086. description: 保证金设置值
  12087. type: number
  12088. marketid:
  12089. description: 市场ID
  12090. type: integer
  12091. marketprice:
  12092. type: string
  12093. orderamount:
  12094. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12095. type: number
  12096. ordertime:
  12097. description: 委托时间
  12098. type: string
  12099. performancetemplateid:
  12100. description: 履约计划模板ID
  12101. type: integer
  12102. price:
  12103. description: 价格
  12104. type: number
  12105. pricefactor:
  12106. description: 价格系数(浮动价时填写) - [挂牌]
  12107. type: number
  12108. pricemove:
  12109. description: 升贴水(浮动价时填写) - [挂牌]
  12110. type: number
  12111. priceper:
  12112. type: string
  12113. relatedwrtradeorderid:
  12114. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12115. type: integer
  12116. remark:
  12117. type: string
  12118. retcode:
  12119. description: 错误代码
  12120. type: integer
  12121. selledqty:
  12122. description: 成交重量
  12123. type: number
  12124. settingmaterial:
  12125. type: string
  12126. size1:
  12127. type: string
  12128. size2:
  12129. type: string
  12130. size3:
  12131. type: string
  12132. stonedesc:
  12133. type: string
  12134. totalqty:
  12135. description: 总重量
  12136. type: number
  12137. tradedate:
  12138. description: 交易日(yyyyMMdd)
  12139. type: string
  12140. tradeprice:
  12141. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12142. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12143. type: number
  12144. unfreezecharge:
  12145. description: 解冻手续费
  12146. type: number
  12147. unfreezefirstamount:
  12148. description: 解冻首付金额 - [摘牌]
  12149. type: number
  12150. unfreezemargin:
  12151. description: 解冻保证金
  12152. type: number
  12153. userid:
  12154. description: 用户ID
  12155. type: integer
  12156. uuid:
  12157. description: 发起端唯一id
  12158. type: string
  12159. validtime:
  12160. description: 有效期限
  12161. type: string
  12162. validtype:
  12163. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12164. type: integer
  12165. warehousenamedisplay:
  12166. type: string
  12167. wrbargainid:
  12168. description: 议价申请单ID
  12169. type: integer
  12170. wrfactortypeid:
  12171. description: 仓单要素类型ID/商品ID(77)
  12172. type: integer
  12173. wrpath:
  12174. type: string
  12175. wrpricetype:
  12176. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12177. type: integer
  12178. wrstandardid:
  12179. description: 现货商品ID
  12180. type: integer
  12181. wrtradeorderid:
  12182. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12183. type: string
  12184. wrtradeorderstatus:
  12185. 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:撤单解冻贷款失败
  12186. type: integer
  12187. wrtradetype:
  12188. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12189. type: integer
  12190. wrtransferuserid:
  12191. description: 仓单受让用户 - [摘牌]
  12192. type: integer
  12193. zscategory:
  12194. description: 钻石分类 - 枚举”ZSCategory“
  12195. type: integer
  12196. zscategorydisplay:
  12197. description: 钻石分类 - 描述
  12198. type: string
  12199. zscerttypedisplay:
  12200. type: string
  12201. zsclaritytype1display:
  12202. type: string
  12203. zsclaritytype2display:
  12204. type: string
  12205. zscolortype1display:
  12206. type: string
  12207. zscolortype2display:
  12208. type: string
  12209. zscrystaltype:
  12210. type: string
  12211. zscrystaltypedisplay:
  12212. type: string
  12213. zscurrencytype:
  12214. description: 货币类型 - 枚举“ZSCurrencyType”
  12215. type: integer
  12216. zscurrencytypedisplay:
  12217. type: string
  12218. zscurrencytypedisplayunit:
  12219. type: string
  12220. zscuttype1display:
  12221. type: string
  12222. zscuttype2display:
  12223. type: string
  12224. zsczcolor1typedisplay:
  12225. type: string
  12226. zsczcolor2typedisplay:
  12227. type: string
  12228. zsczcolor3typedisplay:
  12229. type: string
  12230. zsfluorescencetype1display:
  12231. type: string
  12232. zsfluorescencetype2display:
  12233. type: string
  12234. zspolishtype1display:
  12235. type: string
  12236. zspolishtype2display:
  12237. type: string
  12238. zsshapetypedisplay:
  12239. type: string
  12240. zsstyletypedisplay:
  12241. type: string
  12242. zssymmetrytype1display:
  12243. type: string
  12244. zssymmetrytype2display:
  12245. type: string
  12246. required:
  12247. - userid
  12248. type: object
  12249. models.MyWRPosition:
  12250. properties:
  12251. cerno:
  12252. description: 证书编号 - 类型:2,4,5
  12253. type: string
  12254. cpcertno:
  12255. description: 金伯利证书编号 - 类型:3
  12256. type: string
  12257. ffreezeqty:
  12258. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12259. type: number
  12260. ftotalqty:
  12261. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12262. type: number
  12263. goodsno:
  12264. description: 商品编号
  12265. type: string
  12266. imagepath:
  12267. description: 商品照片(相对地址)
  12268. type: string
  12269. isvalid:
  12270. description: 是否有效 - 0:无效 1:有效
  12271. type: integer
  12272. kppath:
  12273. description: 金伯利证书图片(相对地址) - 类型:3
  12274. type: string
  12275. kpweight:
  12276. description: 金伯利证书重量 - 类型:3
  12277. type: string
  12278. ladingbillid:
  12279. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12280. type: string
  12281. marketflag:
  12282. description: 是否上架,0-全部 1-是 2-否
  12283. type: integer
  12284. marketprice:
  12285. description: 市场价
  12286. type: string
  12287. origin:
  12288. description: 原产地 - 类型:3
  12289. type: string
  12290. price:
  12291. description: 总价(价格) - 类型:1,2,3,4,5
  12292. type: number
  12293. priceper:
  12294. description: 克拉单价 - 类型:1,2,3,5
  12295. type: string
  12296. remark:
  12297. description: 备注
  12298. type: string
  12299. sellmobile:
  12300. description: 手机号码(加密存储)
  12301. type: string
  12302. sellusername:
  12303. description: 账户名称(机构名称)
  12304. type: string
  12305. settingmaterial:
  12306. description: 镶嵌材料 - 类型:4
  12307. type: string
  12308. size1:
  12309. description: 尺寸1 - 类型:2,4,5
  12310. type: string
  12311. size2:
  12312. description: 尺寸2 - 类型:2,4,5
  12313. type: string
  12314. size3:
  12315. description: 尺寸3 - 类型:2,4,5
  12316. type: string
  12317. stonedesc:
  12318. description: 配石描述 - 类型:4
  12319. type: string
  12320. subnum:
  12321. description: 提单子单号
  12322. type: integer
  12323. userid:
  12324. description: 用户ID
  12325. type: integer
  12326. warehouseid:
  12327. description: 仓库ID
  12328. type: integer
  12329. warehousenamedisplay:
  12330. type: string
  12331. weight:
  12332. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12333. type: number
  12334. weightavg:
  12335. description: 平均单颗重量 - 类型:1,3
  12336. type: number
  12337. wrpath:
  12338. description: 仓单扫描件(相对地址)
  12339. type: string
  12340. wrstandardid:
  12341. description: 现货商品ID
  12342. type: integer
  12343. wrtradeorderid:
  12344. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12345. type: string
  12346. wruserid:
  12347. description: 登录用户ID
  12348. type: integer
  12349. zscategory:
  12350. description: 钻石分类 - 枚举”ZSCategory“
  12351. type: integer
  12352. zscategorydisplay:
  12353. type: string
  12354. zscerttype:
  12355. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12356. type: integer
  12357. zscerttypedisplay:
  12358. type: string
  12359. zsclaritytype1:
  12360. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12361. type: integer
  12362. zsclaritytype1display:
  12363. type: string
  12364. zsclaritytype2:
  12365. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12366. type: integer
  12367. zsclaritytype2display:
  12368. type: string
  12369. zscolortype1:
  12370. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12371. type: integer
  12372. zscolortype1display:
  12373. type: string
  12374. zscolortype2:
  12375. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12376. type: integer
  12377. zscolortype2display:
  12378. type: string
  12379. zscrystaltype:
  12380. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12381. type: string
  12382. zscrystaltypedisplay:
  12383. type: string
  12384. zscurrencytype:
  12385. description: 货币类型 - 枚举“ZSCurrencyType”
  12386. type: integer
  12387. zscurrencytypedisplay:
  12388. type: string
  12389. zscurrencytypedisplayunit:
  12390. type: string
  12391. zscuttype1:
  12392. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12393. type: integer
  12394. zscuttype1display:
  12395. type: string
  12396. zscuttype2:
  12397. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12398. type: integer
  12399. zscuttype2display:
  12400. type: string
  12401. zsczcolor1type:
  12402. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12403. type: integer
  12404. zsczcolor1typedisplay:
  12405. type: string
  12406. zsczcolor2type:
  12407. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12408. type: integer
  12409. zsczcolor2typedisplay:
  12410. type: string
  12411. zsczcolor3type:
  12412. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12413. type: integer
  12414. zsczcolor3typedisplay:
  12415. type: string
  12416. zsfluorescencetype1:
  12417. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12418. type: integer
  12419. zsfluorescencetype1display:
  12420. type: string
  12421. zsfluorescencetype2:
  12422. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12423. type: integer
  12424. zsfluorescencetype2display:
  12425. type: string
  12426. zspolishtype1:
  12427. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12428. type: integer
  12429. zspolishtype1display:
  12430. type: string
  12431. zspolishtype2:
  12432. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12433. type: integer
  12434. zspolishtype2display:
  12435. type: string
  12436. zsshapetype:
  12437. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12438. type: string
  12439. zsshapetypedisplay:
  12440. type: string
  12441. zsstyletype:
  12442. description: 款式 - 类型:4
  12443. type: integer
  12444. zsstyletypedisplay:
  12445. type: string
  12446. zssymmetrytype1:
  12447. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12448. type: integer
  12449. zssymmetrytype1display:
  12450. type: string
  12451. zssymmetrytype2:
  12452. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12453. type: integer
  12454. zssymmetrytype2display:
  12455. type: string
  12456. required:
  12457. - wruserid
  12458. type: object
  12459. models.NewFuncmenulist:
  12460. properties:
  12461. authtype:
  12462. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12463. type: integer
  12464. buttonname:
  12465. description: 按钮名称
  12466. type: string
  12467. buttontype:
  12468. description: 按钮类型 - 存按钮样式
  12469. type: string
  12470. component:
  12471. description: 组件名或组件地址
  12472. type: string
  12473. hidden:
  12474. description: 是否隐藏 - 0:显示 1:隐藏
  12475. type: integer
  12476. iconame:
  12477. description: 菜单图标
  12478. type: string
  12479. menutype:
  12480. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12481. type: integer
  12482. parentcode:
  12483. description: 上级资源代码
  12484. type: string
  12485. remark:
  12486. description: Remark
  12487. type: string
  12488. resourcecode:
  12489. description: 资源代码
  12490. type: string
  12491. resourcelevel:
  12492. description: 级别1-一级 2-二级 3-三级4-四级
  12493. type: integer
  12494. resourcename:
  12495. description: 资源名(Title)
  12496. type: string
  12497. sort:
  12498. description: 排序
  12499. type: integer
  12500. url:
  12501. description: Url
  12502. type: string
  12503. urltype:
  12504. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12505. type: integer
  12506. required:
  12507. - resourcecode
  12508. type: object
  12509. models.OperationPrimaryMenu:
  12510. properties:
  12511. Children:
  12512. description: 二级功能菜单
  12513. items:
  12514. $ref: '#/definitions/models.OperationSecondaryMenu'
  12515. type: array
  12516. Key:
  12517. description: 菜单KEY
  12518. type: string
  12519. Label:
  12520. description: 菜单标题
  12521. type: string
  12522. type: object
  12523. models.OperationSecondaryMenu:
  12524. properties:
  12525. Key:
  12526. description: 菜单KEY
  12527. type: string
  12528. Label:
  12529. description: 菜单标题
  12530. type: string
  12531. TabList:
  12532. description: 三级功能菜单
  12533. items:
  12534. $ref: '#/definitions/models.OperationTabMenu'
  12535. type: array
  12536. type: object
  12537. models.OperationTabMenu:
  12538. properties:
  12539. Key:
  12540. description: 菜单KEY
  12541. type: string
  12542. Label:
  12543. description: 菜单标题
  12544. type: string
  12545. type: object
  12546. models.Patradelinkdetail:
  12547. properties:
  12548. accountname:
  12549. description: 套期主体
  12550. type: string
  12551. agreeunit:
  12552. description: 合约乘数
  12553. type: number
  12554. amount:
  12555. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12556. type: number
  12557. areauserid:
  12558. description: 所属机构
  12559. type: integer
  12560. bizsubjectid:
  12561. description: 归属业务部门ID - SubjectID
  12562. type: integer
  12563. buyorsell:
  12564. description: 方向 - 0:买 1:卖
  12565. type: integer
  12566. convertratio:
  12567. description: 品种系数
  12568. type: number
  12569. convertratiochange:
  12570. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12571. type: number
  12572. createtime:
  12573. description: '[日期时间]创建时间'
  12574. type: string
  12575. creatorid:
  12576. description: 创建人ID
  12577. type: integer
  12578. creatorsrc:
  12579. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12580. type: integer
  12581. goodscode:
  12582. description: 商品代码(内部)
  12583. type: string
  12584. goodsgroupid:
  12585. description: 对冲品种ID[期货合约商品组ID]
  12586. type: integer
  12587. goodsid:
  12588. description: 商品ID
  12589. type: integer
  12590. hedgeditemid:
  12591. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12592. type: integer
  12593. hedgeflag:
  12594. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12595. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12596. type: integer
  12597. linkdetailid:
  12598. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12599. type: string
  12600. linkstatus:
  12601. description: 关联状态 - 1:成功 2:失败 3:解绑
  12602. type: integer
  12603. middlegoodsid:
  12604. description: 套保品种ID
  12605. type: integer
  12606. name:
  12607. description: 账户名/子账户
  12608. type: string
  12609. optioncode:
  12610. description: '[期货合约]期权代码 [期权]'
  12611. type: string
  12612. ordertype:
  12613. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12614. type: integer
  12615. relatedlot:
  12616. description: '[数量]关联手数'
  12617. type: number
  12618. relatedmode:
  12619. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12620. type: integer
  12621. relatedqty:
  12622. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12623. type: number
  12624. retcode:
  12625. description: 返回码
  12626. type: integer
  12627. saleuserid:
  12628. description: 业务员ID
  12629. type: integer
  12630. tradedate:
  12631. description: 关联交易日(yyyyMMdd)
  12632. type: string
  12633. tradeid:
  12634. description: '[成交单号]内部成交单ID'
  12635. type: string
  12636. tradelot:
  12637. description: 成交手数
  12638. type: integer
  12639. tradeprice:
  12640. description: '[价格]成交价格'
  12641. type: number
  12642. tradetradedate:
  12643. description: 成交交易日(yyyyMMdd)
  12644. type: string
  12645. type: object
  12646. models.QhjAccountOutInApply:
  12647. properties:
  12648. accountcode:
  12649. description: 资金账号
  12650. type: string
  12651. accountname:
  12652. description: 用户名称(名称)
  12653. type: string
  12654. accountpwd:
  12655. description: 资金密码
  12656. type: string
  12657. accountticket:
  12658. description: 最新账户服务流水号
  12659. type: string
  12660. amount:
  12661. description: 金额
  12662. type: number
  12663. applyremark:
  12664. description: 申请备注
  12665. type: string
  12666. applystatus:
  12667. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12668. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12669. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12670. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12671. type: integer
  12672. auditid:
  12673. description: 审核人
  12674. type: integer
  12675. audittime:
  12676. description: 审核时间
  12677. type: string
  12678. bank_apply_ticket:
  12679. description: 银行申请流水
  12680. type: string
  12681. bankaccountname:
  12682. description: 银行账户名
  12683. type: string
  12684. bankaccountno:
  12685. description: 银行卡号
  12686. type: string
  12687. bankid:
  12688. description: 银行编号
  12689. type: string
  12690. bankticket:
  12691. description: 银行流水
  12692. type: string
  12693. branchbankid:
  12694. description: 银行支行号
  12695. type: string
  12696. branchbankname:
  12697. description: 银行支行名称
  12698. type: string
  12699. capamountout:
  12700. description: 出金(劣后本金) - 外部子账户
  12701. type: number
  12702. certificatephotourl:
  12703. description: 凭证地址
  12704. type: string
  12705. charge:
  12706. description: 手续费
  12707. type: number
  12708. checkerrorflag:
  12709. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12710. type: integer
  12711. currency:
  12712. description: 币种
  12713. type: string
  12714. cusbankid:
  12715. description: 托管银行编号
  12716. type: string
  12717. cusbankname:
  12718. description: 托管银行名称
  12719. type: string
  12720. cusbankshortname:
  12721. description: 托管银行简称
  12722. type: string
  12723. exchticket:
  12724. description: 银行服务流水号
  12725. type: string
  12726. executetype:
  12727. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12728. 7:外部子账户:入金 8:外部子账户:出金'
  12729. type: integer
  12730. extendinfo:
  12731. description: 扩展信息
  12732. type: string
  12733. extoperateid:
  12734. description: 交易服务流水号
  12735. type: integer
  12736. infamount:
  12737. description: 劣后金额(自有)
  12738. type: number
  12739. logincode:
  12740. description: 登录账号(账号)
  12741. type: string
  12742. netaddr:
  12743. description: 调转网址
  12744. type: string
  12745. priamount:
  12746. description: 优先金额(授信)
  12747. type: number
  12748. reauditid:
  12749. description: 复审人
  12750. type: integer
  12751. reauditremark:
  12752. description: 复审备注
  12753. type: string
  12754. reaudittime:
  12755. description: 复审时间
  12756. type: string
  12757. relatedorderid:
  12758. description: 三方关联ID
  12759. type: string
  12760. remark:
  12761. description: 备注
  12762. type: string
  12763. remark2:
  12764. description: 备注(失败原因)
  12765. type: string
  12766. soucreamount:
  12767. description: 原始出入金金额
  12768. type: number
  12769. soucrecurrencyid:
  12770. description: 原始出入金币种
  12771. type: integer
  12772. tradedate:
  12773. description: 交易日(yyyyMMdd)
  12774. type: string
  12775. updatetime:
  12776. description: 更新时间(申请时间)
  12777. type: string
  12778. userid:
  12779. description: 用户id
  12780. type: integer
  12781. userinfotype:
  12782. description: 账户类型 1-个人 2-企业
  12783. type: integer
  12784. type: object
  12785. models.QhjAgreementChangeLog:
  12786. properties:
  12787. agreementcontent:
  12788. description: 协议内容
  12789. type: string
  12790. agreementfrequency:
  12791. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12792. type: integer
  12793. agreementid:
  12794. description: 协议ID
  12795. type: integer
  12796. agreementname:
  12797. description: 协议名称
  12798. type: string
  12799. agreementno:
  12800. description: 协议编号
  12801. type: string
  12802. agreementtype:
  12803. description: 协议类型 - 1:注册 2:登录 3:交易
  12804. type: integer
  12805. agreementversion:
  12806. description: 协议版本号
  12807. type: integer
  12808. logid:
  12809. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12810. type: integer
  12811. reviserid:
  12812. description: 修改人
  12813. type: integer
  12814. revisersrc:
  12815. description: 修改来源 - 1:管理端 2:终端
  12816. type: integer
  12817. updatetime:
  12818. description: 更新时间
  12819. type: string
  12820. type: object
  12821. models.QhjAgreementConfig:
  12822. properties:
  12823. agreementcontent:
  12824. description: 协议内容
  12825. type: string
  12826. agreementfrequency:
  12827. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12828. type: integer
  12829. agreementid:
  12830. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12831. type: integer
  12832. agreementname:
  12833. description: 协议名称
  12834. type: string
  12835. agreementno:
  12836. description: 协议编号
  12837. type: string
  12838. agreementtype:
  12839. description: 协议类型 - 1:注册 2:登录 3:交易
  12840. type: integer
  12841. agreementversion:
  12842. description: 协议版本号(从1开始每次修改加1)
  12843. type: integer
  12844. createtime:
  12845. description: 创建时间
  12846. type: string
  12847. creatorid:
  12848. description: 创建人
  12849. type: integer
  12850. creatorsrc:
  12851. description: 创建来源 - 1:管理端 2:终端
  12852. type: integer
  12853. isvalid:
  12854. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12855. type: integer
  12856. reviserid:
  12857. description: 修改人
  12858. type: integer
  12859. revisersrc:
  12860. description: 修改来源 - 1:管理端 2:终端
  12861. type: integer
  12862. updatetime:
  12863. description: 更新时间
  12864. type: string
  12865. type: object
  12866. models.QhjAreaFinanceConfig:
  12867. properties:
  12868. additionalratio:
  12869. description: 追加款比例
  12870. type: number
  12871. advanceratio:
  12872. description: 预付款比例
  12873. type: number
  12874. alarmratio:
  12875. description: 告警比例
  12876. type: number
  12877. consumptiondirectreward:
  12878. description: 消费直推奖励值
  12879. type: number
  12880. consumptionenabled:
  12881. description: 是否启用消费奖励 - 0:不启用 1:启用
  12882. type: integer
  12883. consumptionindirectreward:
  12884. description: 消费间推奖励值
  12885. type: number
  12886. consumptionmodel:
  12887. description: 消费奖励方式 - 1:比率 2:固定
  12888. type: integer
  12889. customerservicenum:
  12890. description: 客服电话
  12891. type: string
  12892. dayinterestrate:
  12893. description: 日利率
  12894. type: number
  12895. disableconsumptiontips:
  12896. description: 关闭消费奖励提示
  12897. type: string
  12898. modifierid:
  12899. description: 修改人ID
  12900. type: integer
  12901. modifysrc:
  12902. description: 审核来源 - 1:管理端 2:终端
  12903. type: integer
  12904. modifytime:
  12905. description: 修改时间
  12906. type: string
  12907. promotionvalue:
  12908. description: 推广奖励值(固定)
  12909. type: number
  12910. scoreconfigvalue1:
  12911. description: 提货积分配置1
  12912. type: integer
  12913. scoreconfigvalue2:
  12914. description: 提货积分配置2
  12915. type: integer
  12916. userid:
  12917. description: 机构用户ID其他做市关系,都设置为 1
  12918. type: integer
  12919. username:
  12920. description: 用户名称
  12921. type: string
  12922. type: object
  12923. models.QhjBankAccountSign:
  12924. properties:
  12925. accountcode:
  12926. description: 资金账号
  12927. type: string
  12928. accountname:
  12929. description: 资金账号对应的账号名(UserName)
  12930. type: string
  12931. accountname2:
  12932. description: 资金账号对应的账号名(UserName) - 密文
  12933. type: string
  12934. accounttype:
  12935. description: 账户类型(UserType)
  12936. type: integer
  12937. applicationtime:
  12938. description: 最后一次更新的时间
  12939. type: string
  12940. applyexchticket:
  12941. description: 申请流水
  12942. type: string
  12943. auditid:
  12944. description: 审核人
  12945. type: integer
  12946. audittime:
  12947. description: 审核时间
  12948. type: string
  12949. bankaccountname:
  12950. description: 签约银行卡账号名
  12951. type: string
  12952. bankaccountname2:
  12953. description: 签约银行卡账号名 - 密文
  12954. type: string
  12955. bankaccountno:
  12956. description: 银行卡号
  12957. type: string
  12958. bankaccountno2:
  12959. description: 银行卡号 - 密文
  12960. type: string
  12961. bankaccounttype:
  12962. description: 银行账户类型 - 1-对私; 2-对公
  12963. type: integer
  12964. bankcardtype:
  12965. description: 银行卡类型
  12966. type: integer
  12967. bankchildaccount:
  12968. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12969. type: string
  12970. bankcity:
  12971. description: 开户行城市
  12972. type: string
  12973. bankid:
  12974. description: 签约银行ID
  12975. type: string
  12976. bankname:
  12977. description: 签约银行名称
  12978. type: string
  12979. bankprovince:
  12980. description: 开户行省份
  12981. type: string
  12982. branchbankid:
  12983. description: 签约银行支行号
  12984. type: string
  12985. branchbankname:
  12986. description: 签约银行支行名称
  12987. type: string
  12988. cardno:
  12989. description: 证件号码
  12990. type: string
  12991. cardno2:
  12992. description: 证件号码 - 密文
  12993. type: string
  12994. cardtype:
  12995. description: 证件类型
  12996. type: string
  12997. currency:
  12998. description: 币种
  12999. type: string
  13000. cusbankid:
  13001. description: 托管银行编号
  13002. type: string
  13003. direct:
  13004. description: 方向(可以判断那方先发起的签约)
  13005. type: integer
  13006. exchticket:
  13007. description: 最后一次签约成功的流水号
  13008. type: string
  13009. extendinfo:
  13010. description: 扩展信息(JSON字符串)
  13011. type: string
  13012. mobilephone:
  13013. description: 手机号
  13014. type: string
  13015. mobilephone2:
  13016. description: 手机号 - 密文
  13017. type: string
  13018. netaddr:
  13019. description: 调转网址
  13020. type: string
  13021. relateduserid:
  13022. description: 关联使用者userid
  13023. type: integer
  13024. signstatus:
  13025. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13026. 10:审核拒绝 11:换签待审核
  13027. type: integer
  13028. updatetime:
  13029. description: 更新时间(签解约更新时间)
  13030. type: string
  13031. type: object
  13032. models.QhjBankInfo:
  13033. properties:
  13034. bankid:
  13035. description: 银行ID
  13036. type: string
  13037. bankname:
  13038. description: 银行名称
  13039. type: string
  13040. clearbankno:
  13041. description: 清算系统银行编号
  13042. type: string
  13043. orderindex:
  13044. description: 排序顺序
  13045. type: integer
  13046. status:
  13047. description: 状态 - 0:正常 1:注销
  13048. type: integer
  13049. type: object
  13050. models.QhjBrokerApply:
  13051. properties:
  13052. applicantid:
  13053. description: 申请人
  13054. type: integer
  13055. applysrc:
  13056. description: 申请来源 - 1:管理端 2:终端
  13057. type: integer
  13058. applystatus:
  13059. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13060. type: integer
  13061. applytime:
  13062. description: 申请时间
  13063. type: string
  13064. auditorid:
  13065. description: 审核人
  13066. type: integer
  13067. auditremark:
  13068. description: 审核备注
  13069. type: string
  13070. auditsrc:
  13071. description: 审核来源 - 1:管理端 2:终端
  13072. type: integer
  13073. audittime:
  13074. description: 审核时间
  13075. type: string
  13076. audittradedate:
  13077. description: 审核交易日(yyyyMMdd)
  13078. type: string
  13079. brokerapplyid:
  13080. description: 申请ID(SEQ_BROKERAPPLY)
  13081. type: integer
  13082. cardbackphotourl:
  13083. description: 证件背面图片地址
  13084. type: string
  13085. cardfrontphotourl:
  13086. description: 证件正面图片地址
  13087. type: string
  13088. cardnum:
  13089. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13090. type: string
  13091. customername:
  13092. description: 姓名
  13093. type: string
  13094. logincode:
  13095. description: 登录代码
  13096. type: string
  13097. mobile:
  13098. description: 手机号码
  13099. type: string
  13100. parentuserid:
  13101. description: 所属机构id
  13102. type: integer
  13103. parentusername:
  13104. description: 所属机构名称
  13105. type: string
  13106. refereeuserid:
  13107. description: 推荐人id(经纪人)
  13108. type: integer
  13109. refernum:
  13110. description: 推荐码
  13111. type: string
  13112. remark:
  13113. description: 备注
  13114. type: string
  13115. subarealevelpath:
  13116. description: 层级路径
  13117. type: string
  13118. tradedate:
  13119. description: 交易日(yyyyMMdd)
  13120. type: string
  13121. userid:
  13122. description: 申请人用户ID
  13123. type: integer
  13124. userinfotype:
  13125. description: 用户类型 1-个人 2-企业
  13126. type: integer
  13127. username:
  13128. description: 用户名称
  13129. type: string
  13130. type: object
  13131. models.QhjBrokerApplyEx:
  13132. properties:
  13133. applylist:
  13134. description: 经纪人申请记录(只返回最新一条)
  13135. items:
  13136. $ref: '#/definitions/models.QhjBrokerApply'
  13137. type: array
  13138. canrecommend:
  13139. description: 是否经纪人 0-不是 1-是
  13140. type: integer
  13141. refernum:
  13142. description: 推荐码
  13143. type: string
  13144. userid:
  13145. description: 用户id
  13146. type: integer
  13147. userinfotype:
  13148. description: 用户类型 1-个人 2-企业
  13149. type: integer
  13150. type: object
  13151. models.QhjBrokerRewardLog:
  13152. properties:
  13153. accountid:
  13154. description: 资金账号ID
  13155. type: integer
  13156. createtime:
  13157. description: 创建时间(时间)
  13158. type: string
  13159. handlestatus:
  13160. description: 处理状态
  13161. type: integer
  13162. logid:
  13163. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13164. type: string
  13165. marketid:
  13166. description: 市场ID
  13167. type: integer
  13168. mmaccountid:
  13169. description: 做市商资金账号ID
  13170. type: string
  13171. mmuserid:
  13172. description: 做市商用户ID
  13173. type: string
  13174. rewardamount:
  13175. description: 奖励金额
  13176. type: number
  13177. rewardmodel:
  13178. description: 消费奖励方式 - 1:比率 2:固定
  13179. type: integer
  13180. rewardtype:
  13181. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13182. type: integer
  13183. rewardvalue:
  13184. description: 配置奖励值
  13185. type: number
  13186. srcamount:
  13187. description: 成交金额 [消费奖励] (金额)
  13188. type: number
  13189. srcgoodsid:
  13190. description: 来源商品ID [消费奖励]
  13191. type: string
  13192. srctime:
  13193. description: 来源时间 (成交时间) [消费奖励]
  13194. type: string
  13195. srctradeid:
  13196. description: 来源成交单ID [消费奖励] - 排除提货成交
  13197. type: string
  13198. srcuserid:
  13199. description: 来源用户ID(推广账户)
  13200. type: string
  13201. srcusername:
  13202. description: 推广账户名称
  13203. type: string
  13204. tradedate:
  13205. description: 交易日(yyyyMMdd)
  13206. type: string
  13207. userid:
  13208. description: 经纪人用户ID
  13209. type: integer
  13210. type: object
  13211. models.QhjContract:
  13212. properties:
  13213. contractconfirmtime:
  13214. description: 合同确认时间(时间)
  13215. type: string
  13216. currisklevel:
  13217. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13218. type: integer
  13219. decimalplace:
  13220. description: 商品报价小数位
  13221. type: integer
  13222. enumdicname:
  13223. description: 单位名称
  13224. type: string
  13225. goodscode:
  13226. description: 商品代码
  13227. type: string
  13228. goodsid:
  13229. description: 商品ID [5:融资单]
  13230. type: integer
  13231. goodsname:
  13232. description: 商品名称
  13233. type: string
  13234. goodunitid:
  13235. description: 商品单位id
  13236. type: integer
  13237. initmargin:
  13238. description: 初始保证金(首付款)
  13239. type: number
  13240. lenderamount:
  13241. description: 贷款金额(总额|订单总额)
  13242. type: number
  13243. marginratio:
  13244. description: 保证金比率(首付比例)
  13245. type: number
  13246. payamount:
  13247. description: 已付(已付货款)
  13248. type: number
  13249. reckonrecovermargin:
  13250. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13251. type: number
  13252. recoveredmargin:
  13253. description: 已追缴保证金
  13254. type: number
  13255. remainamount:
  13256. description: 合同剩余金额(融资额)
  13257. type: number
  13258. scfcontractid:
  13259. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13260. type: string
  13261. scfcontractstatus:
  13262. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13263. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13264. type: integer
  13265. scfcontracttype:
  13266. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13267. type: integer
  13268. totalinterest:
  13269. description: 已计总利息(利息)
  13270. type: number
  13271. tradeprice:
  13272. description: 成交价格(成本价格)
  13273. type: number
  13274. userid:
  13275. description: 用户ID
  13276. type: integer
  13277. username:
  13278. description: 用户名称
  13279. type: string
  13280. wrqty:
  13281. description: 仓单数量(数量)
  13282. type: number
  13283. type: object
  13284. models.QhjContractLog:
  13285. properties:
  13286. amount:
  13287. description: 支付金额
  13288. type: number
  13289. amounttype:
  13290. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13291. type: integer
  13292. logid:
  13293. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13294. type: string
  13295. remainamount:
  13296. description: 剩余货款
  13297. type: number
  13298. scfcontractid:
  13299. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13300. type: integer
  13301. updatetime:
  13302. description: 更新时间
  13303. type: string
  13304. type: object
  13305. models.QhjCusBankSignBankEx:
  13306. properties:
  13307. banklst:
  13308. description: 银行列表
  13309. items:
  13310. $ref: '#/definitions/models.QhjBankInfo'
  13311. type: array
  13312. canallot:
  13313. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13314. type: integer
  13315. canallotquery:
  13316. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13317. type: integer
  13318. canbindcard:
  13319. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13320. type: integer
  13321. caninamount:
  13322. description: 是否可入金 - 0:不可 1:可以
  13323. type: integer
  13324. caninamount2:
  13325. description: 是否可入金(网银端) - 0:不可 1:可以
  13326. type: integer
  13327. canmodifybankcard:
  13328. description: 是否可修改银行卡号 - 0:不可 1:可以
  13329. type: integer
  13330. canmodifyphone:
  13331. description: 是否可修改手机号 - 0:不可 1:可以
  13332. type: integer
  13333. canmodifysigninfo:
  13334. description: 是否可修改签约信息 - 0:不可 1:可以
  13335. type: integer
  13336. canoutamount:
  13337. description: 是否可出金 - 0:不可 1:可以
  13338. type: integer
  13339. canoutamount2:
  13340. description: 是否可出金(网银端) - 0:不可 1:可以
  13341. type: integer
  13342. canrelease:
  13343. description: 是否可解约 - 0:不可 1:可以
  13344. type: integer
  13345. canrelease2:
  13346. description: 是否可解约(网银端) - 0:不可 1:可以
  13347. type: integer
  13348. cansign:
  13349. description: 是否可签约 - 0:不可 1:可以
  13350. type: integer
  13351. cansign2:
  13352. description: 是否可签约(网银端) - 0:不可 1:可以
  13353. type: integer
  13354. currency:
  13355. description: 币种
  13356. type: string
  13357. cusbankid:
  13358. description: 托管银行编号(对应清算中心TRAN_NO)
  13359. type: string
  13360. cusbankname:
  13361. description: 银行业务名称
  13362. type: string
  13363. cusbankshortname:
  13364. description: 银行业务简称
  13365. type: string
  13366. exchbankid:
  13367. description: 交易所开户银行ID
  13368. type: string
  13369. exchpaybankaccname:
  13370. description: 交易所支出结算账户户名
  13371. type: string
  13372. exchpaybankaccno:
  13373. description: 交易所支出结算账户
  13374. type: string
  13375. isneedcheck:
  13376. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13377. type: integer
  13378. isneedclear:
  13379. description: 是否需要清算 - 0:不需要 1:需要
  13380. type: integer
  13381. lastcheckstatus:
  13382. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13383. type: integer
  13384. lastchecktime:
  13385. description: 最后对账时间
  13386. type: string
  13387. lastclearstatus:
  13388. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13389. type: integer
  13390. lastcleartime:
  13391. description: 最后清算时间
  13392. type: string
  13393. lastsignintime:
  13394. description: 最后签到时间
  13395. type: string
  13396. lastsignouttime:
  13397. description: 最后签退时间
  13398. type: string
  13399. riskinfo:
  13400. description: 签约风险提示书
  13401. type: string
  13402. signstatus:
  13403. description: 当前签到/签退状态 - 1:签到 2:签退
  13404. type: integer
  13405. tradedate:
  13406. description: 交易日(yyyyMMdd)
  13407. type: string
  13408. updatetime:
  13409. description: 当前签到/签退更新时间
  13410. type: string
  13411. type: object
  13412. models.QhjCustomer:
  13413. properties:
  13414. address:
  13415. description: 通讯地址
  13416. type: string
  13417. attachment1:
  13418. description: 附件1
  13419. type: string
  13420. attachment2:
  13421. description: 附件2
  13422. type: string
  13423. audittime:
  13424. description: 审核时间
  13425. type: string
  13426. cardbackphotourl:
  13427. description: 证件反面图片地址
  13428. type: string
  13429. cardfrontphotourl:
  13430. description: 证件正面图片地址
  13431. type: string
  13432. cardnum:
  13433. description: 证件号码
  13434. type: string
  13435. cardtype:
  13436. description: 证件类型
  13437. type: integer
  13438. cardtypename:
  13439. description: 证件类型名称
  13440. type: string
  13441. cityid:
  13442. description: 市
  13443. type: integer
  13444. cityname:
  13445. description: 城市名称
  13446. type: string
  13447. contactname:
  13448. description: 联系人
  13449. type: string
  13450. countryid:
  13451. description: 国家
  13452. type: integer
  13453. countryname:
  13454. description: 国家名称
  13455. type: string
  13456. createtime:
  13457. description: 创建时间
  13458. type: string
  13459. customername:
  13460. description: 客户名称
  13461. type: string
  13462. districtid:
  13463. description: 区域
  13464. type: integer
  13465. districtname:
  13466. description: 地区名称
  13467. type: string
  13468. email:
  13469. description: 邮件
  13470. type: string
  13471. legalpersonname:
  13472. description: 法人姓名(企业)
  13473. type: string
  13474. logincode:
  13475. description: 登录账号(代码)
  13476. type: string
  13477. memberuserid:
  13478. description: 所属机构ID(所属会员)
  13479. type: integer
  13480. memberusername:
  13481. description: 所属会员名称
  13482. type: string
  13483. mobile:
  13484. description: 手机号码
  13485. type: string
  13486. modifytime:
  13487. description: 修改时间
  13488. type: string
  13489. nickname:
  13490. description: 昵称
  13491. type: string
  13492. parentuserid:
  13493. description: 上级机构(所属机构)
  13494. type: integer
  13495. parentusername:
  13496. description: 所属机构名称
  13497. type: string
  13498. provinceid:
  13499. description: 省
  13500. type: integer
  13501. provincename:
  13502. description: 省名称
  13503. type: string
  13504. proxystatementurl:
  13505. description: 授权委托书
  13506. type: string
  13507. remark:
  13508. description: 备注
  13509. type: string
  13510. status:
  13511. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13512. type: integer
  13513. statusdesc:
  13514. description: 账户状态中文描述
  13515. type: string
  13516. taxpayernum:
  13517. description: 纳税人识别号
  13518. type: string
  13519. telphone:
  13520. description: 联系电话
  13521. type: string
  13522. userid:
  13523. description: 用户ID
  13524. type: integer
  13525. userinfotype:
  13526. description: 客户类型 1-个人 2-企业
  13527. type: integer
  13528. username:
  13529. description: 用户名称
  13530. type: string
  13531. type: object
  13532. models.QhjCustomerSignLog:
  13533. properties:
  13534. agreementcontent:
  13535. description: 协议内容
  13536. type: string
  13537. agreementid:
  13538. description: 协议ID
  13539. type: integer
  13540. agreementname:
  13541. description: 协议名称
  13542. type: string
  13543. agreementno:
  13544. description: 协议编号
  13545. type: string
  13546. agreementtype:
  13547. description: 协议类型 - 1:注册 2:登录 3:交易
  13548. type: integer
  13549. agreementversion:
  13550. description: 协议版本号
  13551. type: integer
  13552. createtime:
  13553. description: 创建时间
  13554. type: string
  13555. goodscode:
  13556. description: 商品代码
  13557. type: string
  13558. goodsid:
  13559. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13560. type: integer
  13561. goodsname:
  13562. description: 商品名称
  13563. type: string
  13564. logid:
  13565. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13566. type: integer
  13567. nodetype:
  13568. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13569. type: integer
  13570. signadressurl:
  13571. description: 签约文件地址
  13572. type: string
  13573. signtimestamp:
  13574. description: 签约状态时间戳
  13575. type: string
  13576. userid:
  13577. description: 客户ID
  13578. type: integer
  13579. username:
  13580. description: 客户名称
  13581. type: string
  13582. type: object
  13583. models.QhjCustomerSignStatus:
  13584. properties:
  13585. createtime:
  13586. description: 创建时间
  13587. type: string
  13588. goodscode:
  13589. description: 商品代码
  13590. type: string
  13591. goodsid:
  13592. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13593. type: integer
  13594. goodsname:
  13595. description: 商品名称
  13596. type: string
  13597. nodetype:
  13598. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13599. type: integer
  13600. signtimestamp:
  13601. description: 签约状态时间戳
  13602. type: string
  13603. tradedate:
  13604. description: 创建交易日(yyyyMMdd)
  13605. type: string
  13606. updatetime:
  13607. description: 更新时间
  13608. type: string
  13609. userid:
  13610. description: 客户ID
  13611. type: integer
  13612. username:
  13613. description: 客户名称
  13614. type: string
  13615. type: object
  13616. models.QhjMgrAccountOutInApply:
  13617. properties:
  13618. accountcode:
  13619. description: 资金账号
  13620. type: string
  13621. accountname:
  13622. description: 用户名称(名称)
  13623. type: string
  13624. accountpwd:
  13625. description: 资金密码
  13626. type: string
  13627. accountticket:
  13628. description: 最新账户服务流水号
  13629. type: string
  13630. amount:
  13631. description: 金额
  13632. type: number
  13633. applyremark:
  13634. description: 申请备注
  13635. type: string
  13636. applystatus:
  13637. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13638. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13639. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13640. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13641. type: integer
  13642. auditid:
  13643. description: 审核人
  13644. type: integer
  13645. audittime:
  13646. description: 审核时间
  13647. type: string
  13648. bank_apply_ticket:
  13649. description: 银行申请流水
  13650. type: string
  13651. bankaccountname:
  13652. description: 银行账户名
  13653. type: string
  13654. bankaccountno:
  13655. description: 银行卡号
  13656. type: string
  13657. bankid:
  13658. description: 银行编号
  13659. type: string
  13660. bankname:
  13661. description: 银行名称
  13662. type: string
  13663. bankticket:
  13664. description: 银行流水
  13665. type: string
  13666. branchbankid:
  13667. description: 银行支行号
  13668. type: string
  13669. branchbankname:
  13670. description: 银行支行名称
  13671. type: string
  13672. capamountout:
  13673. description: 出金(劣后本金) - 外部子账户
  13674. type: number
  13675. certificatephotourl:
  13676. description: 凭证地址
  13677. type: string
  13678. charge:
  13679. description: 手续费
  13680. type: number
  13681. checkerrorflag:
  13682. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13683. type: integer
  13684. currency:
  13685. description: 币种
  13686. type: string
  13687. cusbankid:
  13688. description: 托管银行编号
  13689. type: string
  13690. exchticket:
  13691. description: 银行服务流水号
  13692. type: string
  13693. executetype:
  13694. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13695. 7:外部子账户:入金 8:外部子账户:出金'
  13696. type: integer
  13697. extendinfo:
  13698. description: 扩展信息
  13699. type: string
  13700. extoperateid:
  13701. description: 交易服务流水号
  13702. type: integer
  13703. infamount:
  13704. description: 劣后金额(自有)
  13705. type: number
  13706. logincode:
  13707. description: 登录账号(账号)
  13708. type: string
  13709. netaddr:
  13710. description: 调转网址
  13711. type: string
  13712. priamount:
  13713. description: 优先金额(授信)
  13714. type: number
  13715. reauditid:
  13716. description: 复审人
  13717. type: integer
  13718. reauditremark:
  13719. description: 复审备注
  13720. type: string
  13721. reaudittime:
  13722. description: 复审时间
  13723. type: string
  13724. relatedorderid:
  13725. description: 三方关联ID
  13726. type: string
  13727. remark:
  13728. description: 备注
  13729. type: string
  13730. remark2:
  13731. description: 备注(失败原因)
  13732. type: string
  13733. soucreamount:
  13734. description: 原始出入金金额
  13735. type: number
  13736. soucrecurrencyid:
  13737. description: 原始出入金币种
  13738. type: integer
  13739. tradedate:
  13740. description: 交易日(yyyyMMdd)
  13741. type: string
  13742. updatetime:
  13743. description: 更新时间(申请时间)
  13744. type: string
  13745. userid:
  13746. description: 用户id
  13747. type: integer
  13748. userinfotype:
  13749. description: 账户类型 1-个人 2-企业
  13750. type: integer
  13751. type: object
  13752. models.QhjMgrBrokerApply:
  13753. properties:
  13754. applicantid:
  13755. description: 申请人
  13756. type: integer
  13757. applysrc:
  13758. description: 申请来源 - 1:管理端 2:终端
  13759. type: integer
  13760. applystatus:
  13761. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13762. type: integer
  13763. applytime:
  13764. description: 申请时间
  13765. type: string
  13766. auditorid:
  13767. description: 审核人
  13768. type: integer
  13769. auditremark:
  13770. description: 审核备注
  13771. type: string
  13772. auditsrc:
  13773. description: 审核来源 - 1:管理端 2:终端
  13774. type: integer
  13775. audittime:
  13776. description: 审核时间
  13777. type: string
  13778. audittradedate:
  13779. description: 审核交易日(yyyyMMdd)
  13780. type: string
  13781. brokerapplyid:
  13782. description: 申请ID(SEQ_BROKERAPPLY)
  13783. type: integer
  13784. cardbackphotourl:
  13785. description: 证件背面图片地址
  13786. type: string
  13787. cardfrontphotourl:
  13788. description: 证件正面图片地址
  13789. type: string
  13790. cardnum:
  13791. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13792. type: string
  13793. customername:
  13794. description: 姓名
  13795. type: string
  13796. filterstatus:
  13797. description: 筛选条件
  13798. type: string
  13799. logincode:
  13800. description: 登录代码
  13801. type: string
  13802. mobile:
  13803. description: 手机号码
  13804. type: string
  13805. parentuserid:
  13806. description: 所属机构id
  13807. type: integer
  13808. parentusername:
  13809. description: 所属机构名称
  13810. type: string
  13811. refereeuserid:
  13812. description: 推荐人id(经纪人)
  13813. type: integer
  13814. refernum:
  13815. description: 推荐码
  13816. type: string
  13817. remark:
  13818. description: 备注
  13819. type: string
  13820. subarealevelpath:
  13821. description: 层级路径
  13822. type: string
  13823. tradedate:
  13824. description: 交易日(yyyyMMdd)
  13825. type: string
  13826. userid:
  13827. description: 申请人用户ID
  13828. type: integer
  13829. userinfotype:
  13830. description: 用户类型 1-个人 2-企业
  13831. type: integer
  13832. username:
  13833. description: 用户名称
  13834. type: string
  13835. type: object
  13836. models.QhjMgrBrokerRewardReport:
  13837. properties:
  13838. createtime:
  13839. description: 创建时间(注册时间)
  13840. type: string
  13841. cycletime:
  13842. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13843. type: string
  13844. cycletype:
  13845. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13846. type: integer
  13847. directtotalnum:
  13848. description: 直推总人数【期末】
  13849. type: integer
  13850. indirecttotalnum:
  13851. description: 间推总人数【期末】
  13852. type: integer
  13853. mobile:
  13854. description: 电话号码
  13855. type: string
  13856. refereeuserid:
  13857. description: 推荐人id(经纪人id)
  13858. type: integer
  13859. refereeusername:
  13860. description: 推荐人名称(经纪人) 上级经纪人名称
  13861. type: string
  13862. refernum:
  13863. description: 推荐码
  13864. type: string
  13865. subarealevelpath:
  13866. description: 用户层级路径
  13867. type: string
  13868. todayrewardamount:
  13869. description: 奖励总金额【汇总】
  13870. type: number
  13871. updatetime:
  13872. description: 更新时间
  13873. type: string
  13874. userid:
  13875. description: 经纪人用户ID
  13876. type: integer
  13877. userinfotype:
  13878. description: 用户类型 1-个人 2-企业
  13879. type: integer
  13880. username:
  13881. description: 用户名称
  13882. type: string
  13883. type: object
  13884. models.QhjMgrContract:
  13885. properties:
  13886. contractconfirmtime:
  13887. description: 合同确认时间(时间)
  13888. type: string
  13889. currisklevel:
  13890. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13891. type: integer
  13892. decimalplace:
  13893. description: 商品报价小数位
  13894. type: integer
  13895. enumdicname:
  13896. description: 单位名称
  13897. type: string
  13898. goodscode:
  13899. description: 商品代码
  13900. type: string
  13901. goodsid:
  13902. description: 商品ID [5:融资单]
  13903. type: integer
  13904. goodsname:
  13905. description: 商品名称
  13906. type: string
  13907. goodunitid:
  13908. description: 商品单位id
  13909. type: integer
  13910. initmargin:
  13911. description: 初始保证金(首付款)
  13912. type: number
  13913. lenderamount:
  13914. description: 贷款金额(总额|订单总额)
  13915. type: number
  13916. logincode:
  13917. description: 账号(登录代码)
  13918. type: string
  13919. marginratio:
  13920. description: 保证金比率(首付比例)
  13921. type: number
  13922. mobile:
  13923. description: 电话号码(用户资料里的电话)
  13924. type: string
  13925. payamount:
  13926. description: 已付(已付货款)
  13927. type: number
  13928. reckonrecovermargin:
  13929. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13930. type: number
  13931. recoveredmargin:
  13932. description: 已追缴保证金
  13933. type: number
  13934. remainamount:
  13935. description: 合同剩余金额(融资额)
  13936. type: number
  13937. scfcontractid:
  13938. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13939. type: string
  13940. scfcontractstatus:
  13941. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13942. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13943. type: integer
  13944. scfcontracttype:
  13945. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13946. type: integer
  13947. totalinterest:
  13948. description: 已计总利息(利息)
  13949. type: number
  13950. tradedate:
  13951. description: 交易日
  13952. type: string
  13953. tradeprice:
  13954. description: 成交价格(成本价格)
  13955. type: number
  13956. userid:
  13957. description: 用户ID
  13958. type: integer
  13959. userinfotype:
  13960. description: 用户类型 1-个人 2-企业
  13961. type: integer
  13962. username:
  13963. description: 用户名称
  13964. type: string
  13965. wrqty:
  13966. description: 仓单数量(数量)
  13967. type: number
  13968. type: object
  13969. models.QhjMgrCustomer:
  13970. properties:
  13971. address:
  13972. description: 通讯地址
  13973. type: string
  13974. attachment1:
  13975. description: 附件1
  13976. type: string
  13977. audittime:
  13978. description: 审核时间
  13979. type: string
  13980. birthday:
  13981. description: 生日
  13982. type: string
  13983. brokerid:
  13984. description: 所属客户经理id
  13985. type: integer
  13986. brokername:
  13987. description: 所属客户经理名称
  13988. type: string
  13989. cardbackphotourl:
  13990. description: 证件反面图片地址
  13991. type: string
  13992. cardfrontphotourl:
  13993. description: 证件正面图片地址
  13994. type: string
  13995. cardnum:
  13996. description: 证件号码
  13997. type: string
  13998. cardtype:
  13999. description: 证件类型
  14000. type: integer
  14001. cardtypename:
  14002. description: 证件类型名称
  14003. type: string
  14004. cityid:
  14005. description: 市
  14006. type: integer
  14007. cityname:
  14008. description: 城市名称
  14009. type: string
  14010. contactname:
  14011. description: 联系人
  14012. type: string
  14013. countryid:
  14014. description: 国家
  14015. type: integer
  14016. countryname:
  14017. description: 国家名称
  14018. type: string
  14019. createtime:
  14020. description: 创建时间
  14021. type: string
  14022. customername:
  14023. description: 客户名称
  14024. type: string
  14025. districtid:
  14026. description: 区域
  14027. type: integer
  14028. districtname:
  14029. description: 地区名称
  14030. type: string
  14031. email:
  14032. description: 邮件
  14033. type: string
  14034. legalpersonname:
  14035. description: 法人姓名(企业)
  14036. type: string
  14037. logincode:
  14038. description: 登录账号(代码)
  14039. type: string
  14040. memberuserid:
  14041. description: 所属机构ID(所属会员)
  14042. type: integer
  14043. memberusername:
  14044. description: 所属会员名称
  14045. type: string
  14046. mobile:
  14047. description: 手机号码
  14048. type: string
  14049. modifytime:
  14050. description: 修改时间
  14051. type: string
  14052. nickname:
  14053. description: 昵称
  14054. type: string
  14055. parentuserid:
  14056. description: 上级机构(所属机构)
  14057. type: integer
  14058. parentusername:
  14059. description: 所属机构名称
  14060. type: string
  14061. provinceid:
  14062. description: 省
  14063. type: integer
  14064. provincename:
  14065. description: 省名称
  14066. type: string
  14067. proxystatementurl:
  14068. description: 授权委托书
  14069. type: string
  14070. querytype:
  14071. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14072. type: integer
  14073. remark:
  14074. description: 备注
  14075. type: string
  14076. sex:
  14077. description: 性别 0-女 1-男
  14078. type: integer
  14079. status:
  14080. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14081. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14082. type: integer
  14083. statusdesc:
  14084. description: 账户状态中文描述
  14085. type: string
  14086. taxpayernum:
  14087. description: 纳税人识别号
  14088. type: string
  14089. telphone:
  14090. description: 联系电话
  14091. type: string
  14092. userid:
  14093. description: 用户ID
  14094. type: integer
  14095. userinfotype:
  14096. description: 客户类型 1-个人 2-企业
  14097. type: integer
  14098. username:
  14099. description: 用户名称
  14100. type: string
  14101. type: object
  14102. models.QhjMgrPickGoods:
  14103. properties:
  14104. enumdicname:
  14105. description: 单位名称(提货商品)
  14106. type: string
  14107. goodsid:
  14108. description: 商品id
  14109. type: integer
  14110. imageaddress:
  14111. description: 图片
  14112. type: string
  14113. modifierid:
  14114. description: 修改人
  14115. type: integer
  14116. modifiername:
  14117. description: 修改人名称
  14118. type: string
  14119. modifysrc:
  14120. description: 修改来源 - 1:管理端 2:终端
  14121. type: integer
  14122. pickupgoodsagreeunit:
  14123. description: 合约乘数
  14124. type: number
  14125. pickupgoodsdesc:
  14126. description: 描述
  14127. type: string
  14128. pickupgoodsid:
  14129. description: 提货商品ID
  14130. type: string
  14131. pickupgoodsname:
  14132. description: 提货商品名称
  14133. type: string
  14134. pickupgoodsstatus:
  14135. description: 状态 - 1:正常 2:停用 3:注销
  14136. type: integer
  14137. pickupgoodsunitid:
  14138. description: 单位ID
  14139. type: integer
  14140. pickupratio:
  14141. description: 提货系数
  14142. type: number
  14143. preparedays:
  14144. description: 备货期(天)
  14145. type: integer
  14146. remark:
  14147. description: 备注
  14148. type: string
  14149. updatetime:
  14150. description: 更新时间
  14151. type: string
  14152. type: object
  14153. models.QhjMgrPositionRsp:
  14154. properties:
  14155. accountid:
  14156. description: 账号Id
  14157. type: integer
  14158. accountname:
  14159. description: 用户名称
  14160. type: string
  14161. agreeunit:
  14162. description: 合约乘数
  14163. type: number
  14164. averageprice:
  14165. description: 均价
  14166. type: number
  14167. avialqty:
  14168. description: 可用数量
  14169. type: number
  14170. decimalplace:
  14171. description: 报价小数位
  14172. type: integer
  14173. enumdicname:
  14174. description: 单位名称(商品)
  14175. type: string
  14176. frozenqty:
  14177. description: 冻结数量
  14178. type: number
  14179. goodscode:
  14180. description: 商品代码(内部)
  14181. type: string
  14182. goodsid:
  14183. description: 商品Id
  14184. type: integer
  14185. goodsname:
  14186. description: 商品名称
  14187. type: string
  14188. goodunitid:
  14189. description: 报价单位ID
  14190. type: integer
  14191. holderamount:
  14192. description: 金额
  14193. type: number
  14194. holderqty:
  14195. description: 持有数量
  14196. type: number
  14197. holdertype:
  14198. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14199. type: integer
  14200. logincode:
  14201. description: 登录代码(账户)
  14202. type: string
  14203. marketid:
  14204. description: 市场id
  14205. type: integer
  14206. qtydecimalplace:
  14207. description: 成交量小数位
  14208. type: integer
  14209. trademode:
  14210. description: 交易模式
  14211. type: integer
  14212. userid:
  14213. description: 用户id
  14214. type: integer
  14215. userinfotype:
  14216. description: 账户类型 1-个人 2-企业
  14217. type: integer
  14218. type: object
  14219. models.QhjMgrSubArea:
  14220. properties:
  14221. accountname:
  14222. description: 账户名称(机构名称)
  14223. type: string
  14224. memberuserid:
  14225. description: 所属会员ID
  14226. type: integer
  14227. parenttopuser:
  14228. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14229. type: string
  14230. parentuserid:
  14231. description: 所属机构ID
  14232. type: integer
  14233. rootuserid:
  14234. description: 根用户ID
  14235. type: string
  14236. subaccountlevel:
  14237. description: 子账户层数
  14238. type: integer
  14239. subarealevelpath:
  14240. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14241. type: string
  14242. userid:
  14243. description: 用户ID
  14244. type: integer
  14245. usertype:
  14246. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14247. type: integer
  14248. type: object
  14249. models.QhjMgrTradeDetailRsp:
  14250. properties:
  14251. accountid:
  14252. description: 资金账号
  14253. type: integer
  14254. accountname:
  14255. description: 用户名称
  14256. type: string
  14257. agreeunit:
  14258. description: 合约乘数
  14259. type: number
  14260. buyorsell:
  14261. description: 成交类型(方向) 0:买 1:卖
  14262. type: integer
  14263. decimalplace:
  14264. description: 报价小数位
  14265. type: integer
  14266. enumdicname:
  14267. description: 单位名称(商品)
  14268. type: string
  14269. goodscode:
  14270. description: 商品代码(内部)
  14271. type: string
  14272. goodsid:
  14273. description: 商品id
  14274. type: integer
  14275. goodsname:
  14276. description: 商品名称
  14277. type: string
  14278. goodunitid:
  14279. description: 报价单位ID
  14280. type: integer
  14281. logincode:
  14282. description: 登录代码(账户)
  14283. type: string
  14284. marketid:
  14285. description: 市场id
  14286. type: integer
  14287. orderid:
  14288. description: 关联委托单号
  14289. type: string
  14290. qtydecimalplace:
  14291. description: 成交量小数位
  14292. type: integer
  14293. tradeamount:
  14294. description: 金额
  14295. type: number
  14296. tradedate:
  14297. description: 交易日
  14298. type: string
  14299. tradeid:
  14300. description: 成交单号
  14301. type: string
  14302. trademode:
  14303. description: 交易模式
  14304. type: integer
  14305. tradeprice:
  14306. description: 价格
  14307. type: number
  14308. tradeqty:
  14309. description: 数量
  14310. type: number
  14311. tradetime:
  14312. description: 成交时间
  14313. type: string
  14314. userid:
  14315. description: 用户id
  14316. type: integer
  14317. userinfotype:
  14318. description: 账户类型 1-个人 2-企业
  14319. type: integer
  14320. type: object
  14321. models.QhjMgrTradeOrderDetailRsp:
  14322. properties:
  14323. accountid:
  14324. description: 资金账号
  14325. type: integer
  14326. accountname:
  14327. description: 用户名称
  14328. type: string
  14329. agreeunit:
  14330. description: 合约乘数
  14331. type: number
  14332. amount:
  14333. description: 金额
  14334. type: number
  14335. decimalplace:
  14336. description: 报价小数位
  14337. type: integer
  14338. enumdicname:
  14339. description: 单位名称(商品)
  14340. type: string
  14341. goodscode:
  14342. description: 商品代码(内部)
  14343. type: string
  14344. goodsid:
  14345. description: 商品id
  14346. type: integer
  14347. goodsname:
  14348. description: 商品名称
  14349. type: string
  14350. goodunitid:
  14351. description: 报价单位ID
  14352. type: integer
  14353. logincode:
  14354. description: 登录代码(账户)
  14355. type: string
  14356. marketid:
  14357. description: 市场id
  14358. type: integer
  14359. orderid:
  14360. description: 关联委托单号
  14361. type: string
  14362. orderprice:
  14363. description: 价格
  14364. type: number
  14365. orderqty:
  14366. description: 数量
  14367. type: number
  14368. orderstatus:
  14369. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14370. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14371. 16:成交失败违约(荷兰式竞拍专用)
  14372. type: integer
  14373. ordertime:
  14374. description: 委托时间
  14375. type: string
  14376. qtydecimalplace:
  14377. description: 成交量小数位
  14378. type: integer
  14379. tradedate:
  14380. description: 交易日
  14381. type: string
  14382. trademode:
  14383. description: 交易模式
  14384. type: integer
  14385. userid:
  14386. description: 用户id
  14387. type: integer
  14388. userinfotype:
  14389. description: 账户类型 1-个人 2-企业
  14390. type: integer
  14391. type: object
  14392. models.QhjMgrTradePayOrder:
  14393. properties:
  14394. accountname:
  14395. description: 用户名称
  14396. type: string
  14397. advanceratio:
  14398. description: 首付比率
  14399. type: number
  14400. agreeunit:
  14401. description: 合约乘数
  14402. type: number
  14403. buyaccountid:
  14404. description: 买方账号ID[报价币种]
  14405. type: integer
  14406. buyorderid:
  14407. description: 买方委托单号(关联单号)
  14408. type: string
  14409. createtime:
  14410. description: 创建时间
  14411. type: string
  14412. decimalplace:
  14413. description: 报价小数位
  14414. type: integer
  14415. enumdicname:
  14416. description: 单位名称(商品)
  14417. type: string
  14418. goodscode:
  14419. description: 商品代码(内部)
  14420. type: string
  14421. goodsid:
  14422. description: 商品ID
  14423. type: integer
  14424. goodsname:
  14425. description: 商品名称
  14426. type: string
  14427. goodunitid:
  14428. description: 报价单位ID
  14429. type: integer
  14430. logincode:
  14431. description: 登录代码(账户)
  14432. type: string
  14433. marketid:
  14434. description: 市场id
  14435. type: integer
  14436. offamount:
  14437. description: 优惠金额
  14438. type: number
  14439. operatetype:
  14440. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14441. type: integer
  14442. payamount:
  14443. description: 支付金额(金额)
  14444. type: number
  14445. payflag:
  14446. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14447. type: integer
  14448. paylimitedtime:
  14449. description: 支付期限
  14450. type: string
  14451. paytime:
  14452. description: 付款时间
  14453. type: string
  14454. qtydecimalplace:
  14455. description: 成交量小数位
  14456. type: integer
  14457. sellaccountid:
  14458. description: 卖方账号ID[报价币种]
  14459. type: integer
  14460. sellorderid:
  14461. description: 卖方委托单号
  14462. type: string
  14463. tradeamount:
  14464. description: 成交金额(优惠后金额)
  14465. type: number
  14466. tradecharge:
  14467. description: 成交手续费(买方)
  14468. type: number
  14469. tradedate:
  14470. description: 交易日(yyyyMMdd)
  14471. type: string
  14472. tradeid:
  14473. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14474. type: string
  14475. trademode:
  14476. description: 交易模式
  14477. type: integer
  14478. tradeprice:
  14479. description: 成交价格(价格)
  14480. type: number
  14481. tradeqty:
  14482. description: 成交数量(数量)
  14483. type: number
  14484. tradetime:
  14485. description: 成交时间
  14486. type: string
  14487. userid:
  14488. description: 用户id
  14489. type: integer
  14490. userinfotype:
  14491. description: 账户类型 1-个人 2-企业
  14492. type: integer
  14493. type: object
  14494. models.QhjMyTeamEx:
  14495. properties:
  14496. accountname:
  14497. description: 用户名称
  14498. type: string
  14499. accountstatus:
  14500. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14501. type: integer
  14502. createtime:
  14503. description: 创建时间
  14504. type: string
  14505. mobile:
  14506. description: 手机号码
  14507. type: string
  14508. refereeuserid:
  14509. description: 推荐人id
  14510. type: integer
  14511. refernum:
  14512. description: 推荐码
  14513. type: string
  14514. subList:
  14515. items:
  14516. $ref: '#/definitions/models.QhjMyTeamEx'
  14517. type: array
  14518. userid:
  14519. description: 用户id
  14520. type: integer
  14521. userinfotype:
  14522. description: 用户类型 1-个人 2-企业
  14523. type: integer
  14524. type: object
  14525. models.QhjNodeAgreementConfig:
  14526. properties:
  14527. agreementcontent:
  14528. description: 协议内容
  14529. type: string
  14530. agreementid:
  14531. description: 协议ID
  14532. type: integer
  14533. agreementname:
  14534. description: 协议名称
  14535. type: string
  14536. agreementno:
  14537. description: 协议编号
  14538. type: string
  14539. agreementtype:
  14540. description: 协议类型 - 1:注册 2:登录 3:交易
  14541. type: integer
  14542. agreementversion:
  14543. description: 协议版本号
  14544. type: integer
  14545. configid:
  14546. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14547. type: integer
  14548. createtime:
  14549. description: 创建时间
  14550. type: string
  14551. goodsid:
  14552. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14553. type: integer
  14554. nodetype:
  14555. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14556. type: integer
  14557. type: object
  14558. models.QhjParentAreaList:
  14559. properties:
  14560. accountname:
  14561. description: 账户名称(机构名称)
  14562. type: string
  14563. userid:
  14564. description: 用户ID
  14565. type: integer
  14566. usertype:
  14567. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14568. type: integer
  14569. type: object
  14570. models.QhjPayOrder:
  14571. properties:
  14572. advanceratio:
  14573. description: 首付比率
  14574. type: number
  14575. buyaccountid:
  14576. description: 买方账号ID[报价币种]
  14577. type: integer
  14578. buyorderid:
  14579. description: 买方委托单号
  14580. type: string
  14581. createtime:
  14582. description: 创建时间
  14583. type: string
  14584. decimalplace:
  14585. description: 商品报价小数位
  14586. type: integer
  14587. enumdicname:
  14588. description: 单位名称
  14589. type: string
  14590. goodscode:
  14591. description: 商品代码
  14592. type: string
  14593. goodsid:
  14594. description: 商品ID
  14595. type: integer
  14596. goodsname:
  14597. description: 商品名称
  14598. type: string
  14599. goodunitid:
  14600. description: 商品单位id
  14601. type: integer
  14602. marketid:
  14603. description: 市场ID
  14604. type: integer
  14605. offamount:
  14606. description: 优惠金额
  14607. type: number
  14608. operatetype:
  14609. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14610. type: integer
  14611. payamount:
  14612. description: 支付金额
  14613. type: number
  14614. payflag:
  14615. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14616. type: integer
  14617. paylimitedtime:
  14618. description: 支付期限
  14619. type: string
  14620. paytime:
  14621. description: 付款时间
  14622. type: string
  14623. qtydecimalplace:
  14624. description: 成交量小数位
  14625. type: integer
  14626. sellaccountid:
  14627. description: 卖方账号ID[报价币种]
  14628. type: integer
  14629. sellorderid:
  14630. description: 卖方委托单号
  14631. type: string
  14632. tradeamount:
  14633. description: 成交金额(优惠后金额)
  14634. type: number
  14635. tradecharge:
  14636. description: 成交手续费(买方)
  14637. type: number
  14638. tradedate:
  14639. description: 交易日(yyyyMMdd)
  14640. type: string
  14641. tradeid:
  14642. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14643. type: string
  14644. tradeprice:
  14645. description: 成交价格
  14646. type: number
  14647. tradeqty:
  14648. description: 成交数量
  14649. type: number
  14650. type: object
  14651. models.QhjPickArea:
  14652. properties:
  14653. address:
  14654. description: 详细地址
  14655. type: string
  14656. cityid:
  14657. description: 市
  14658. type: integer
  14659. cityname:
  14660. description: 城市名称
  14661. type: string
  14662. countryid:
  14663. description: 国家
  14664. type: integer
  14665. countryname:
  14666. description: 国家名称
  14667. type: string
  14668. districtid:
  14669. description: 地区
  14670. type: integer
  14671. districtname:
  14672. description: 地区名称
  14673. type: string
  14674. fromuserid:
  14675. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14676. type: integer
  14677. fromusername:
  14678. description: 所属机构名称
  14679. type: string
  14680. provinceid:
  14681. description: 省
  14682. type: integer
  14683. provincename:
  14684. description: 省名称
  14685. type: string
  14686. suborgtype:
  14687. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14688. type: integer
  14689. userid:
  14690. description: 机构用户ID 其他做市关系,都设置为 1
  14691. type: integer
  14692. username:
  14693. description: 机构用户名称(门店门称)
  14694. type: string
  14695. type: object
  14696. models.QhjPickGoods:
  14697. properties:
  14698. enumdicname:
  14699. description: 单位名称(提货商品)
  14700. type: string
  14701. goodsid:
  14702. description: 商品id
  14703. type: integer
  14704. imageaddress:
  14705. description: 图片
  14706. type: string
  14707. modifierid:
  14708. description: 修改人
  14709. type: integer
  14710. modifiername:
  14711. description: 修改人名称
  14712. type: string
  14713. modifysrc:
  14714. description: 修改来源 - 1:管理端 2:终端
  14715. type: integer
  14716. pickupgoodsagreeunit:
  14717. description: 合约乘数
  14718. type: number
  14719. pickupgoodsdesc:
  14720. description: 描述
  14721. type: string
  14722. pickupgoodsid:
  14723. description: 提货商品ID
  14724. type: string
  14725. pickupgoodsname:
  14726. description: 提货商品名称
  14727. type: string
  14728. pickupgoodsstatus:
  14729. description: 状态 - 1:正常 2:停用 3:注销
  14730. type: integer
  14731. pickupgoodsunitid:
  14732. description: 单位ID
  14733. type: integer
  14734. pickupratio:
  14735. description: 提货系数
  14736. type: number
  14737. preparedays:
  14738. description: 备货期(天)
  14739. type: integer
  14740. remark:
  14741. description: 备注
  14742. type: string
  14743. updatetime:
  14744. description: 更新时间
  14745. type: string
  14746. type: object
  14747. models.QhjRSTriggerLog:
  14748. properties:
  14749. accountid:
  14750. description: 用户资金账户
  14751. type: integer
  14752. accountname:
  14753. description: 账号名称(ACCOUNTID对应的名称)
  14754. type: string
  14755. currencyid:
  14756. description: 币种id
  14757. type: integer
  14758. currencyname:
  14759. description: 币种名称
  14760. type: string
  14761. decimalplace:
  14762. description: 商品报价小数位
  14763. type: integer
  14764. enumdicname:
  14765. description: 单位名称
  14766. type: string
  14767. goodscode:
  14768. description: 定投商品代码
  14769. type: string
  14770. goodsid:
  14771. description: 定投商品ID
  14772. type: integer
  14773. goodsname:
  14774. description: 定投商品名称
  14775. type: string
  14776. goodunitid:
  14777. description: 定投商品单位id
  14778. type: integer
  14779. logid:
  14780. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14781. type: string
  14782. logincode:
  14783. description: 账号(登录代码)
  14784. type: string
  14785. qtydecimalplace:
  14786. description: 成交量小数位
  14787. type: integer
  14788. regularlycycle:
  14789. description: 定投频率 - 1:每周 2:每月
  14790. type: integer
  14791. regularlycyclevalue:
  14792. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14793. type: string
  14794. regularlymode:
  14795. description: 定投方式 - 1:按数量 2:按金额
  14796. type: integer
  14797. regularlymodevalue:
  14798. description: 定投方式值 - 数量或金额
  14799. type: number
  14800. regularlystrategyid:
  14801. description: 定投策略ID
  14802. type: integer
  14803. retcode:
  14804. description: 错误码
  14805. type: string
  14806. tradeid:
  14807. description: 成交单ID
  14808. type: string
  14809. triggeramount:
  14810. description: 触发金额
  14811. type: number
  14812. triggerqty:
  14813. description: 触发数量
  14814. type: number
  14815. triggerstatus:
  14816. description: 触发状态 - 1:成功 2:失败
  14817. type: integer
  14818. triggertime:
  14819. description: 触发时间
  14820. type: string
  14821. triggertradedate:
  14822. description: 触发交易日
  14823. type: string
  14824. userid:
  14825. description: 所属用户ID
  14826. type: integer
  14827. userinfotype:
  14828. description: 用户类型 1-个人 2-企业
  14829. type: integer
  14830. username:
  14831. description: 用户名称(userid对应的名称)
  14832. type: string
  14833. type: object
  14834. models.QhjRStrategy:
  14835. properties:
  14836. accountid:
  14837. description: 用户资金账户
  14838. type: integer
  14839. accountname:
  14840. description: 账号名称(ACCOUNTID对应的名称)
  14841. type: string
  14842. currencyid:
  14843. description: 币种id
  14844. type: integer
  14845. currencyname:
  14846. description: 币种名称
  14847. type: string
  14848. decimalplace:
  14849. description: 商品报价小数位
  14850. type: integer
  14851. enumdicname:
  14852. description: 单位名称
  14853. type: string
  14854. goodscode:
  14855. description: 定投商品代码
  14856. type: string
  14857. goodsid:
  14858. description: 定投商品ID
  14859. type: integer
  14860. goodsname:
  14861. description: 定投商品名称
  14862. type: string
  14863. goodunitid:
  14864. description: 定投商品单位id
  14865. type: integer
  14866. lasteffecttradedate:
  14867. description: 最新生效交易日
  14868. type: string
  14869. laststoptradedate:
  14870. description: 最新暂停交易日
  14871. type: string
  14872. lasttriggertradedate:
  14873. description: 最新触发交易日
  14874. type: string
  14875. logincode:
  14876. description: 账号(登录代码)
  14877. type: string
  14878. nexttriggeramount:
  14879. description: 下次触发金额
  14880. type: number
  14881. nexttriggerdate:
  14882. description: 下次触发日期
  14883. type: string
  14884. nexttriggerqty:
  14885. description: 下次触发数量 [按小数位放大值]
  14886. type: number
  14887. qtydecimalplace:
  14888. description: 成交量小数位
  14889. type: integer
  14890. regularlycycle:
  14891. description: 定投频率 - 1:每周 2:每月
  14892. type: integer
  14893. regularlycyclevalue:
  14894. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14895. type: string
  14896. regularlymode:
  14897. description: 定投方式 - 1:按数量 2:按金额
  14898. type: integer
  14899. regularlymodevalue:
  14900. description: 定投方式值 - 数量或金额
  14901. type: number
  14902. regularlystrategyid:
  14903. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14904. type: integer
  14905. regularlystrategystatus:
  14906. description: 策略状态 - 1:正常 2:暂停 3:终止
  14907. type: integer
  14908. remark:
  14909. description: 备注
  14910. type: string
  14911. triggersuccesstimes:
  14912. description: 累计定投成功次数
  14913. type: string
  14914. triggertotalamount:
  14915. description: 累计定投金额(成功)
  14916. type: number
  14917. triggertotalqty:
  14918. description: 累计定投数量(成功) [按小数位放大值]
  14919. type: number
  14920. triggertotaltimes:
  14921. description: 累计定投总次数
  14922. type: string
  14923. updatesrc:
  14924. description: 更新来源 - 1:管理端 2:终端
  14925. type: integer
  14926. updatetime:
  14927. description: 更新时间
  14928. type: string
  14929. updatorid:
  14930. description: 更新人
  14931. type: string
  14932. userid:
  14933. description: 所属用户ID
  14934. type: integer
  14935. userinfotype:
  14936. description: 用户类型 1-个人 2-企业
  14937. type: integer
  14938. username:
  14939. description: 用户名称(userid对应的名称)
  14940. type: string
  14941. type: object
  14942. models.QhjReckonPriceLog:
  14943. properties:
  14944. decimalplace:
  14945. description: 商品报价小数位
  14946. type: integer
  14947. goodscode:
  14948. description: 商品代码
  14949. type: string
  14950. goodsid:
  14951. description: 商品ID
  14952. type: integer
  14953. goodsname:
  14954. description: 商品名称
  14955. type: string
  14956. lastreckonprice:
  14957. description: 上日结算价
  14958. type: number
  14959. nextdnlimitprice:
  14960. description: 下个交易日跌停价
  14961. type: number
  14962. nexttrade:
  14963. description: 下个交易日
  14964. type: string
  14965. nextuplimitprice:
  14966. description: 下个交易日涨停价
  14967. type: number
  14968. reckonprice:
  14969. description: 今日结算价(定投价)
  14970. type: number
  14971. reckontime:
  14972. description: 结算时间
  14973. type: string
  14974. totalholderqty:
  14975. description: 总持仓数
  14976. type: integer
  14977. totalstock:
  14978. description: 总库存
  14979. type: integer
  14980. tradedate:
  14981. description: 交易日
  14982. type: string
  14983. updowncount:
  14984. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14985. type: integer
  14986. updownflag:
  14987. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14988. type: integer
  14989. updownrate:
  14990. description: 今日涨跌幅
  14991. type: number
  14992. updownrate_2d:
  14993. description: 连续两日涨跌幅
  14994. type: number
  14995. updownrate_3d:
  14996. description: 连续三日涨跌幅
  14997. type: number
  14998. type: object
  14999. models.QhjScoreLog:
  15000. properties:
  15001. accountid:
  15002. description: 账户ID
  15003. type: integer
  15004. createtime:
  15005. description: 创建时间(时间)
  15006. type: string
  15007. goodsid:
  15008. description: 商品ID
  15009. type: integer
  15010. hasuploaded:
  15011. description: 是否已同步(千海金) 0:未同步 1;已同步
  15012. type: integer
  15013. logid:
  15014. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15015. type: string
  15016. marketid:
  15017. description: 市场ID
  15018. type: integer
  15019. relatedamount:
  15020. description: 关联金额
  15021. type: number
  15022. relatedorderid:
  15023. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15024. type: string
  15025. scoreconfigvalue1:
  15026. description: 积分配置1
  15027. type: integer
  15028. scoreconfigvalue2:
  15029. description: 积分配置1
  15030. type: integer
  15031. scoretype:
  15032. description: 积分类型 - 1:提货积分
  15033. type: integer
  15034. scorevalue:
  15035. description: 积分
  15036. type: number
  15037. tradedate:
  15038. description: 交易日(yyyyMMdd)
  15039. type: string
  15040. uploadedtime:
  15041. description: 同步时间
  15042. type: string
  15043. userid:
  15044. description: 用户ID
  15045. type: integer
  15046. type: object
  15047. models.QhjSiteColumnDetail:
  15048. properties:
  15049. author:
  15050. description: 作者
  15051. type: string
  15052. brief:
  15053. description: 简介
  15054. type: string
  15055. columnid:
  15056. description: 所属栏目
  15057. type: integer
  15058. context:
  15059. description: 内容
  15060. type: string
  15061. coverimage:
  15062. description: 封面图片
  15063. type: string
  15064. creaedate:
  15065. description: 创建时间
  15066. type: string
  15067. creatorid:
  15068. description: 创建人
  15069. type: integer
  15070. hits:
  15071. description: 点击数
  15072. type: integer
  15073. id:
  15074. description: ID(SEQ_SITE_COLUMNDETAIL)
  15075. type: integer
  15076. isshow:
  15077. description: 是否展示 - 0:不展示 1:展示
  15078. type: integer
  15079. istop:
  15080. description: 是否置顶 - 0:不置 1:置顶
  15081. type: integer
  15082. modifierid:
  15083. description: 操作人
  15084. type: integer
  15085. publishdate:
  15086. description: 发布日期
  15087. type: string
  15088. status:
  15089. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15090. type: integer
  15091. title:
  15092. description: 标题
  15093. type: string
  15094. updatedate:
  15095. description: 修改时间
  15096. type: string
  15097. userid:
  15098. description: 用户ID(默认为0, 核心为为机构用户ID)
  15099. type: integer
  15100. username:
  15101. description: 用户名称
  15102. type: string
  15103. type: object
  15104. models.QhjTeamOrder:
  15105. properties:
  15106. accountid:
  15107. description: 账户ID[报价币种]
  15108. type: integer
  15109. accountname:
  15110. description: 账户名称
  15111. type: string
  15112. agreeunit:
  15113. description: 合约乘数
  15114. type: number
  15115. buyorsell:
  15116. description: 方向 - 0:买 1:卖
  15117. type: integer
  15118. decimalplace:
  15119. description: 报价小数位
  15120. type: integer
  15121. enumdicname:
  15122. description: 单位名称
  15123. type: string
  15124. goodscode:
  15125. description: 商品代码(内部)
  15126. type: string
  15127. goodsid:
  15128. description: 商品ID
  15129. type: integer
  15130. goodsname:
  15131. description: 商品名称
  15132. type: string
  15133. goodunitid:
  15134. description: 报价单位ID
  15135. type: integer
  15136. marketid:
  15137. description: 市场ID
  15138. type: integer
  15139. marketname:
  15140. description: 市场名称
  15141. type: string
  15142. qtydecimalplace:
  15143. description: 成交量小数位
  15144. type: integer
  15145. refereeuserid:
  15146. description: 推荐人ID
  15147. type: integer
  15148. tradeamount:
  15149. description: 成交金额[账户币种,用于所有权]
  15150. type: number
  15151. tradedate:
  15152. description: 交易日(yyyyMMdd)
  15153. type: string
  15154. trademode:
  15155. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15156. 21:竞拍-大宗式 22:受托竞价
  15157. type: integer
  15158. tradeprice:
  15159. description: 成交价格
  15160. type: number
  15161. tradeqty:
  15162. description: 成交数量
  15163. type: number
  15164. tradetime:
  15165. description: 成交时间
  15166. type: string
  15167. userid:
  15168. description: 用户ID
  15169. type: integer
  15170. type: object
  15171. models.QhjTradeGoodsPickup:
  15172. properties:
  15173. accountid:
  15174. description: 账户ID
  15175. type: integer
  15176. address:
  15177. description: 提货人详细地址
  15178. type: string
  15179. amount:
  15180. description: 提货金额
  15181. type: number
  15182. artradedate:
  15183. description: 自动收货交易日(yyyyMMdd)
  15184. type: string
  15185. auditer:
  15186. description: 审核人
  15187. type: integer
  15188. auditsrc:
  15189. description: 更新来源 - 1:管理端 2:终端
  15190. type: integer
  15191. audittime:
  15192. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15193. type: string
  15194. audittradedate:
  15195. description: 审核交易日(yyyyMMdd)
  15196. type: string
  15197. cardnum:
  15198. description: 提货人证件号码
  15199. type: string
  15200. cardtypeid:
  15201. description: 提货人证件类型
  15202. type: integer
  15203. checkremark:
  15204. description: 审核备注
  15205. type: string
  15206. cityid:
  15207. description: 市
  15208. type: integer
  15209. cityname:
  15210. description: 城市名称
  15211. type: string
  15212. confirmtime:
  15213. description: 取货时间 或 收货时间
  15214. type: string
  15215. countryid:
  15216. description: 国家
  15217. type: integer
  15218. countryname:
  15219. description: 国家名称
  15220. type: string
  15221. decimalplace:
  15222. description: 商品报价小数位
  15223. type: integer
  15224. districtid:
  15225. description: 地区
  15226. type: integer
  15227. districtname:
  15228. description: 地区名称
  15229. type: string
  15230. enumdicname:
  15231. description: 单位名称(提货商品)
  15232. type: string
  15233. expresscompany:
  15234. description: 物流公司
  15235. type: string
  15236. expressnum:
  15237. description: 物流单号
  15238. type: string
  15239. goodsagreeunit:
  15240. description: 交易商品乘数
  15241. type: number
  15242. goodscode:
  15243. description: 商品代码
  15244. type: string
  15245. goodsid:
  15246. description: 商品ID
  15247. type: integer
  15248. goodsname:
  15249. description: 商品名称
  15250. type: string
  15251. goodsqty:
  15252. description: 交易商品手数(69模式按成交量小数位放大取整)
  15253. type: number
  15254. handlestatus:
  15255. description: 处理状态
  15256. type: integer
  15257. logincode:
  15258. description: 账号(登录代码, 有可能为空)
  15259. type: string
  15260. marketid:
  15261. description: 市场ID
  15262. type: integer
  15263. phonenum:
  15264. description: 提货人联系方式
  15265. type: string
  15266. pickupgoodsagreeunit:
  15267. description: 提货商品合约乘数
  15268. type: number
  15269. pickupgoodsid:
  15270. description: 提货商品ID
  15271. type: string
  15272. pickupgoodsname:
  15273. description: 提货商品名称
  15274. type: string
  15275. pickupgoodsqty:
  15276. description: 提货商品手数(数量)
  15277. type: number
  15278. pickupgoodsunitid:
  15279. description: 单位ID(提货商品)
  15280. type: integer
  15281. pickupratio:
  15282. description: 提货系数
  15283. type: number
  15284. preparedays:
  15285. description: 备货期(天)-提货单明细表
  15286. type: integer
  15287. provinceid:
  15288. description: 省
  15289. type: integer
  15290. provincename:
  15291. description: 省名称
  15292. type: string
  15293. qty:
  15294. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15295. type: number
  15296. qtydecimalplace:
  15297. description: 商品数量小数位
  15298. type: integer
  15299. recivername:
  15300. description: 提货人姓名
  15301. type: string
  15302. reqtime:
  15303. description: 提货申请时间
  15304. type: string
  15305. storeuserid:
  15306. description: 门店用户ID (千海金)
  15307. type: integer
  15308. storeusername:
  15309. description: 门店用户名称
  15310. type: string
  15311. takemode:
  15312. description: 提货方式 - 2:自提 3:配送(邮寄)
  15313. type: integer
  15314. takeorderid:
  15315. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15316. type: string
  15317. takeorderstatus:
  15318. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15319. 7:已拒绝 8:已撤销
  15320. type: integer
  15321. takeremark:
  15322. description: 提货备注
  15323. type: string
  15324. tradedate:
  15325. description: 交易日(yyyyMMdd)
  15326. type: string
  15327. updatetime:
  15328. description: 更新时间
  15329. type: string
  15330. userid:
  15331. description: 用户ID
  15332. type: integer
  15333. userinfotype:
  15334. description: 客户类型 1-个人 2-企业
  15335. type: integer
  15336. username:
  15337. description: 用户名称
  15338. type: string
  15339. type: object
  15340. models.QhjUserNodeCfgAndStatus:
  15341. properties:
  15342. agreementcontent:
  15343. description: 协议内容
  15344. type: string
  15345. agreementid:
  15346. description: 协议ID
  15347. type: integer
  15348. agreementname:
  15349. description: 协议名称
  15350. type: string
  15351. agreementno:
  15352. description: 协议编号
  15353. type: string
  15354. agreementtype:
  15355. description: 协议类型 - 1:注册 2:登录 3:交易
  15356. type: integer
  15357. agreementversion:
  15358. description: 协议版本号
  15359. type: integer
  15360. configid:
  15361. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15362. type: integer
  15363. createtime:
  15364. description: 创建时间
  15365. type: string
  15366. goodsid:
  15367. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15368. type: integer
  15369. nodetype:
  15370. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15371. type: integer
  15372. signtimestamp:
  15373. description: 签约状态时间戳(最近一次)
  15374. type: string
  15375. tradedate:
  15376. description: 签约交易日(yyyyMMdd)
  15377. type: string
  15378. userid:
  15379. description: 客户ID
  15380. type: integer
  15381. type: object
  15382. models.Qhjgoodsex:
  15383. properties:
  15384. canfinance:
  15385. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15386. type: integer
  15387. canregularlybuy:
  15388. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15389. type: integer
  15390. defaulttradeuserid:
  15391. description: 默认交易用户ID
  15392. type: integer
  15393. deliverygoodsid:
  15394. description: 现货品种ID
  15395. type: integer
  15396. goodsid:
  15397. description: 商品ID(自增ID SEQ_GOODS)
  15398. type: integer
  15399. minamount:
  15400. description: 最小购买金额
  15401. type: number
  15402. regularlybuyminamount:
  15403. description: 定投最小金额
  15404. type: number
  15405. regularlybuyminqty:
  15406. description: 定投最小数量
  15407. type: number
  15408. spotgoodsbrandid:
  15409. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15410. type: integer
  15411. visibilityforenterprise:
  15412. description: 企业客户是否可见 - 0:不可见 1:可见
  15413. type: integer
  15414. visibilityforpersonal:
  15415. description: 个人客户是否可见 - 0:不可见 1:可见
  15416. type: integer
  15417. wrstandardid:
  15418. description: 现货商品ID
  15419. type: integer
  15420. type: object
  15421. models.QueryErrorInfosRsp:
  15422. properties:
  15423. description:
  15424. description: 异常描述
  15425. type: string
  15426. errorcode:
  15427. description: 异常代码
  15428. type: string
  15429. errorid:
  15430. description: 异常ID
  15431. type: integer
  15432. modulecode:
  15433. description: 所属模块
  15434. type: string
  15435. operatecode:
  15436. description: 所属操作
  15437. type: string
  15438. rownumber:
  15439. description: 行号
  15440. type: string
  15441. required:
  15442. - errorid
  15443. type: object
  15444. models.QueryHedgeOrderDetailRsp:
  15445. properties:
  15446. accountid:
  15447. description: 账户ID
  15448. type: integer
  15449. buyorsell:
  15450. description: 买卖 - 0:买 1:卖
  15451. type: integer
  15452. cancellogincode:
  15453. description: 撤单人
  15454. type: string
  15455. channelbuildtype:
  15456. description: 开平标志 - 0:无 1:建仓 2:平仓
  15457. type: integer
  15458. channelinnerorderstatus:
  15459. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15460. 9:全部成交
  15461. type: integer
  15462. channeloperatetype:
  15463. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15464. type: integer
  15465. closetype:
  15466. description: 平仓方式 - 0:无 1:平今 2:平昨
  15467. type: integer
  15468. curexchangerate:
  15469. description: 当前汇率
  15470. type: number
  15471. decimalplace:
  15472. description: 商品报价小数位
  15473. type: integer
  15474. exchangefullname:
  15475. description: 外部交易所全称
  15476. type: string
  15477. goodscode:
  15478. description: 商品代码(内部)
  15479. type: string
  15480. goodsid:
  15481. description: 商品ID
  15482. type: integer
  15483. goodsname:
  15484. description: 商品名称
  15485. type: string
  15486. marketid:
  15487. description: 市场ID
  15488. type: integer
  15489. openfreezemargin:
  15490. description: 冻结保证金(冻结交易金额)
  15491. type: number
  15492. orderid:
  15493. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15494. type: string
  15495. orderlogincode:
  15496. description: 委托人
  15497. type: string
  15498. orderprice:
  15499. description: 委托价格(账户)
  15500. type: number
  15501. orderqty:
  15502. description: 委托数量
  15503. type: integer
  15504. ordertime:
  15505. description: 委托时间
  15506. type: string
  15507. pricemode:
  15508. description: '取价方式 - 1:市价 2: 限价'
  15509. type: integer
  15510. tradedate:
  15511. description: 交易日(yyyyMMdd)
  15512. type: string
  15513. tradeqty:
  15514. description: 成交数量
  15515. type: integer
  15516. type: object
  15517. models.QueryHedgeTradeDetailRsp:
  15518. properties:
  15519. accountid:
  15520. description: 账号ID
  15521. type: integer
  15522. buyorsell:
  15523. description: 方向 - 0:买 1:卖
  15524. type: integer
  15525. channelbuildtype:
  15526. description: 委托单据类型 0:无 1:建仓 2:平仓
  15527. type: integer
  15528. closecharge:
  15529. description: 平仓手续费(账户)
  15530. type: number
  15531. closecharge2:
  15532. description: 平仓手续费(商品)
  15533. type: number
  15534. closepl:
  15535. description: 平仓盈亏(账户)
  15536. type: number
  15537. closepl2:
  15538. description: 平仓盈亏(商品)
  15539. type: number
  15540. closepl3:
  15541. description: 平仓盈亏(账户)(逐笔)
  15542. type: number
  15543. closepl4:
  15544. description: 平仓盈亏(商品)(逐笔)
  15545. type: number
  15546. closetype:
  15547. description: 平仓方式 - 0:无 1:平今 2:平昨
  15548. type: integer
  15549. curexchangerate:
  15550. description: 当前汇率
  15551. type: number
  15552. decimalplace:
  15553. description: 商品报价小数位
  15554. type: integer
  15555. exchangefullname:
  15556. description: 外部交易所全称
  15557. type: string
  15558. goodscode:
  15559. description: 商品代码(内部)
  15560. type: string
  15561. goodsid:
  15562. description: 商品ID
  15563. type: integer
  15564. goodsname:
  15565. description: 商品名称
  15566. type: string
  15567. marketid:
  15568. description: 市场ID
  15569. type: integer
  15570. opencharge:
  15571. description: 建仓手续费(账户)
  15572. type: number
  15573. opencharge2:
  15574. description: 建仓手续费(商品)
  15575. type: number
  15576. orderid:
  15577. description: 委托单号
  15578. type: string
  15579. orderlogincode:
  15580. description: 委托人
  15581. type: string
  15582. tradeamount:
  15583. description: 成交金额(账户)
  15584. type: number
  15585. tradedate:
  15586. description: 交易日(yyyyMMdd)
  15587. type: string
  15588. tradeid:
  15589. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15590. type: string
  15591. tradeprice:
  15592. description: 成交价格
  15593. type: number
  15594. tradeqty:
  15595. description: 成交数量
  15596. type: integer
  15597. tradetime:
  15598. description: 成交时间
  15599. type: string
  15600. tradetype:
  15601. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15602. type: integer
  15603. type: object
  15604. models.QuotePrimaryMenu:
  15605. properties:
  15606. Index:
  15607. description: 序号
  15608. type: integer
  15609. Key:
  15610. description: 键名
  15611. type: string
  15612. Name:
  15613. description: 菜单名称
  15614. type: string
  15615. SubMenus:
  15616. description: 子菜单
  15617. items:
  15618. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15619. type: array
  15620. SubTitleType:
  15621. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15622. type: integer
  15623. TradeModes:
  15624. description: 包含市场交易类型
  15625. type: string
  15626. type: object
  15627. models.QuoteSecondaryMenu:
  15628. properties:
  15629. ExExchangeCode:
  15630. description: 外部交易所代码
  15631. type: string
  15632. ExExchangeID:
  15633. description: 外部交易所ID
  15634. type: integer
  15635. GoodsGroupIDs:
  15636. description: 商品组ID列表
  15637. items:
  15638. type: integer
  15639. type: array
  15640. Index:
  15641. description: 序号
  15642. type: integer
  15643. MarketID:
  15644. description: 市场ID
  15645. type: integer
  15646. MenuTitle:
  15647. description: 菜单标题(市场名称或外部交易所名称)
  15648. type: string
  15649. TradeMode:
  15650. description: 交易模式
  15651. type: integer
  15652. type: object
  15653. models.RelatedTaAccount:
  15654. properties:
  15655. accountid:
  15656. description: 资金账户ID
  15657. type: integer
  15658. type: object
  15659. models.RoleMenu:
  15660. properties:
  15661. hasright:
  15662. description: 是否有权限 0-没有权限 1-有权限
  15663. type: integer
  15664. iconame:
  15665. description: 菜单图标
  15666. type: string
  15667. menutype:
  15668. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15669. type: integer
  15670. parentcode:
  15671. description: 上级资源代码
  15672. type: string
  15673. remark:
  15674. description: 菜单备注
  15675. type: string
  15676. resourcecode:
  15677. description: 菜单代码
  15678. type: string
  15679. resourcelevel:
  15680. description: 级别
  15681. type: integer
  15682. resourcename:
  15683. description: 菜单名称
  15684. type: string
  15685. roleid:
  15686. description: 角色id
  15687. type: integer
  15688. sort:
  15689. description: 排序
  15690. type: integer
  15691. subMenu:
  15692. description: 子级菜单(结构同上层一样, swag解析不出来)
  15693. items:
  15694. $ref: '#/definitions/models.RoleMenu'
  15695. type: array
  15696. url:
  15697. description: URL
  15698. type: string
  15699. userid:
  15700. description: 用户id
  15701. type: integer
  15702. type: object
  15703. models.SearchGoods:
  15704. properties:
  15705. goodscode:
  15706. description: 商品代码(内部)
  15707. type: string
  15708. goodsid:
  15709. description: 商品ID(自增ID SEQ_GOODS)
  15710. type: integer
  15711. goodsname:
  15712. description: 商品名称
  15713. type: string
  15714. marketid:
  15715. description: 所属市场ID
  15716. type: integer
  15717. marketname:
  15718. description: 市场名称
  15719. type: string
  15720. trademode:
  15721. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15722. 21:竞拍-大宗式 22:受托竞价
  15723. type: integer
  15724. required:
  15725. - goodscode
  15726. - goodsid
  15727. - goodsname
  15728. - marketid
  15729. - trademode
  15730. type: object
  15731. models.SellOrder:
  15732. properties:
  15733. accountid:
  15734. description: 资金账号
  15735. type: integer
  15736. applyid:
  15737. description: 申请单ID
  15738. type: integer
  15739. attachment1:
  15740. description: 附件1
  15741. type: string
  15742. attachment2:
  15743. description: 附件2
  15744. type: string
  15745. buyorsell:
  15746. description: 买卖 - 0:买 1:卖
  15747. type: integer
  15748. canbargain:
  15749. description: 是否可议价 - 0:不可 1:可
  15750. type: integer
  15751. cancelqty:
  15752. description: 撤销数量
  15753. type: integer
  15754. canceltime:
  15755. description: 撤销时间
  15756. type: string
  15757. cerno:
  15758. type: string
  15759. chargealgorithm:
  15760. description: 手续费收取方式 1:比率 2:固定
  15761. type: integer
  15762. chargealgorithmvalue:
  15763. description: 手续费设置值(交易所部分)
  15764. type: number
  15765. chargealgorithmvalue2:
  15766. description: 手续费设置值(会员部分)
  15767. type: number
  15768. clientordertime:
  15769. description: 客户端委托时间
  15770. type: string
  15771. cpcertno:
  15772. type: string
  15773. exchangerate:
  15774. description: 汇率[67]
  15775. type: number
  15776. firstratio:
  15777. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15778. type: number
  15779. fixedprice:
  15780. description: '[克拉单价]固定价格 - [挂牌]'
  15781. type: number
  15782. freezecharge:
  15783. description: 冻结手续费
  15784. type: number
  15785. freezefirstamount:
  15786. description: 冻结首付金额 - [摘牌]
  15787. type: number
  15788. freezemargin:
  15789. description: 冻结保证金
  15790. type: number
  15791. goodsno:
  15792. description: 商品编号
  15793. type: string
  15794. imagepath:
  15795. type: string
  15796. isQueryDiamond:
  15797. description: 是否钻石查询
  15798. type: boolean
  15799. isspecified:
  15800. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15801. type: integer
  15802. kppath:
  15803. type: string
  15804. kpweight:
  15805. type: string
  15806. marginalgorithm:
  15807. description: 保证金方式 - 1:比率 2:固定
  15808. type: integer
  15809. marginvalue:
  15810. description: 保证金设置值
  15811. type: number
  15812. marketid:
  15813. description: 市场ID
  15814. type: integer
  15815. marketprice:
  15816. type: string
  15817. orderamount:
  15818. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15819. type: number
  15820. ordertime:
  15821. description: 委托时间
  15822. type: string
  15823. performancetemplateid:
  15824. description: 履约计划模板ID
  15825. type: integer
  15826. price:
  15827. description: 价格
  15828. type: number
  15829. pricefactor:
  15830. description: 价格系数(浮动价时填写) - [挂牌]
  15831. type: number
  15832. pricemove:
  15833. description: 升贴水(浮动价时填写) - [挂牌]
  15834. type: number
  15835. priceper:
  15836. type: string
  15837. relatedwrtradeorderid:
  15838. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15839. type: integer
  15840. remainqty:
  15841. description: 剩余重量
  15842. type: number
  15843. remark:
  15844. type: string
  15845. retcode:
  15846. description: 错误代码
  15847. type: integer
  15848. sellusername:
  15849. description: 卖方(查询字段-模糊查询)
  15850. type: string
  15851. settingmaterial:
  15852. description: 镶嵌材料
  15853. type: string
  15854. size1:
  15855. type: string
  15856. size2:
  15857. type: string
  15858. size3:
  15859. type: string
  15860. sizedisplay:
  15861. description: 尺寸
  15862. type: string
  15863. stonedesc:
  15864. description: 配石描述
  15865. type: string
  15866. totalqty:
  15867. description: 总重量
  15868. type: number
  15869. tradedate:
  15870. description: 交易日(yyyyMMdd)
  15871. type: string
  15872. tradeprice:
  15873. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15874. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15875. type: number
  15876. unfreezecharge:
  15877. description: 解冻手续费
  15878. type: number
  15879. unfreezefirstamount:
  15880. description: 解冻首付金额 - [摘牌]
  15881. type: number
  15882. unfreezemargin:
  15883. description: 解冻保证金
  15884. type: number
  15885. userid:
  15886. description: 用户ID
  15887. type: integer
  15888. uuid:
  15889. description: 发起端唯一id
  15890. type: string
  15891. validtime:
  15892. description: 有效期限
  15893. type: string
  15894. validtype:
  15895. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15896. type: integer
  15897. warehousenamedisplay:
  15898. type: string
  15899. wrbargainid:
  15900. description: 议价申请单ID
  15901. type: integer
  15902. wrfactortypeid:
  15903. description: 仓单要素类型ID/商品ID(77)
  15904. type: integer
  15905. wrpath:
  15906. type: string
  15907. wrpricetype:
  15908. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15909. type: integer
  15910. wrstandardid:
  15911. description: 现货商品ID
  15912. type: integer
  15913. wrtradeorderid:
  15914. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15915. type: string
  15916. wrtradeorderstatus:
  15917. 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:撤单解冻贷款失败
  15918. type: integer
  15919. wrtradetype:
  15920. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15921. type: integer
  15922. wrtransferuserid:
  15923. description: 仓单受让用户 - [摘牌]
  15924. type: integer
  15925. zscategory:
  15926. description: 钻石分类 - 枚举”ZSCategory“
  15927. type: integer
  15928. zscategorydisplay:
  15929. description: 钻石分类 - 描述
  15930. type: string
  15931. zscerttypedisplay:
  15932. type: string
  15933. zsclaritytype1display:
  15934. type: string
  15935. zsclaritytype2display:
  15936. type: string
  15937. zscolortype1display:
  15938. type: string
  15939. zscolortype2display:
  15940. type: string
  15941. zscrystaltype:
  15942. type: string
  15943. zscrystaltypedisplay:
  15944. type: string
  15945. zscurrencytype:
  15946. description: 货币类型 - 枚举“ZSCurrencyType”
  15947. type: integer
  15948. zscurrencytypedisplay:
  15949. type: string
  15950. zscurrencytypedisplayunit:
  15951. type: string
  15952. zscuttype1display:
  15953. type: string
  15954. zscuttype2display:
  15955. type: string
  15956. zsczcolor1typedisplay:
  15957. type: string
  15958. zsczcolor2typedisplay:
  15959. type: string
  15960. zsczcolor3typedisplay:
  15961. type: string
  15962. zsfluorescencetype1display:
  15963. type: string
  15964. zsfluorescencetype2display:
  15965. type: string
  15966. zspolishtype1display:
  15967. type: string
  15968. zspolishtype2display:
  15969. type: string
  15970. zsshapetypedisplay:
  15971. type: string
  15972. zsstyletypedisplay:
  15973. type: string
  15974. zssymmetrytype1display:
  15975. type: string
  15976. zssymmetrytype2display:
  15977. type: string
  15978. type: object
  15979. models.SellOrderQueryReq:
  15980. properties:
  15981. origin:
  15982. description: 原产地
  15983. type: string
  15984. page:
  15985. description: 页码
  15986. type: integer
  15987. pagesize:
  15988. description: 每页大小
  15989. type: integer
  15990. total:
  15991. description: 总条数
  15992. type: integer
  15993. warehouseid:
  15994. description: 仓库ID
  15995. type: integer
  15996. weight1:
  15997. description: 总重量(克拉重量)-从
  15998. type: number
  15999. weight2:
  16000. description: 总重量(克拉重量)-至
  16001. type: number
  16002. weightavg1:
  16003. description: 平均单颗重量-从
  16004. type: number
  16005. weightavg2:
  16006. description: 平均单颗重量-至
  16007. type: number
  16008. zscategory:
  16009. description: 钻石分类 - 枚举”ZSCategory“
  16010. type: integer
  16011. zscerttype:
  16012. description: 证书类型
  16013. items:
  16014. type: string
  16015. type: array
  16016. zsclaritytype:
  16017. description: 净度
  16018. items:
  16019. type: integer
  16020. type: array
  16021. zscolortype:
  16022. description: 颜色
  16023. items:
  16024. type: integer
  16025. type: array
  16026. zscurrencytype:
  16027. description: 货币类型 - 枚举“ZSCurrencyType”
  16028. items:
  16029. type: string
  16030. type: array
  16031. zscuttype:
  16032. description: 切工
  16033. items:
  16034. type: integer
  16035. type: array
  16036. zsczcolor1type:
  16037. description: 彩钻颜色1
  16038. items:
  16039. type: string
  16040. type: array
  16041. zsfluorescencetype:
  16042. description: 荧光
  16043. items:
  16044. type: integer
  16045. type: array
  16046. zspolishtype:
  16047. description: 抛光度
  16048. items:
  16049. type: integer
  16050. type: array
  16051. zsshapetype:
  16052. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16053. items:
  16054. type: string
  16055. type: array
  16056. zsstyletype:
  16057. description: 款式
  16058. items:
  16059. type: string
  16060. type: array
  16061. zssymmetrytype:
  16062. description: 对称度
  16063. items:
  16064. type: integer
  16065. type: array
  16066. required:
  16067. - zscategory
  16068. type: object
  16069. models.Systemparam:
  16070. properties:
  16071. loginid:
  16072. description: 更新用户账号,登录账号
  16073. type: string
  16074. modifyflag:
  16075. description: 修改标志0 不允许修改 1 允许修改
  16076. type: integer
  16077. paramcode:
  16078. description: 参数代码
  16079. type: string
  16080. paramname:
  16081. description: 参数名
  16082. type: string
  16083. paramtype:
  16084. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16085. type: integer
  16086. paramvalue:
  16087. description: 参数值
  16088. type: string
  16089. paramvalue2:
  16090. description: 参数值(CLOB)
  16091. type: string
  16092. regexpress:
  16093. description: 正则表达式
  16094. type: string
  16095. remark:
  16096. description: 备注
  16097. type: string
  16098. serverip:
  16099. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16100. type: string
  16101. showflag:
  16102. description: 是否显示0 不显示 1 显示
  16103. type: integer
  16104. updatetime:
  16105. description: 更新时间
  16106. type: string
  16107. userid:
  16108. description: 更新用户ID
  16109. type: integer
  16110. required:
  16111. - paramcode
  16112. type: object
  16113. models.Szdz3convertconfig:
  16114. properties:
  16115. canin:
  16116. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16117. type: integer
  16118. canout:
  16119. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16120. type: integer
  16121. converttype:
  16122. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16123. 6:交易转花生米(不设置)
  16124. type: integer
  16125. createtime:
  16126. description: 创建时间
  16127. type: string
  16128. creatorid:
  16129. description: 创建人
  16130. type: integer
  16131. daymaxvalue:
  16132. description: 当日最大转入限制
  16133. type: number
  16134. freezedays:
  16135. description: 冻结天数 [5:花生米转交易]
  16136. type: integer
  16137. innergoodsid:
  16138. description: 内部商品ID[交易]
  16139. type: integer
  16140. inratio:
  16141. description: 目标值
  16142. type: integer
  16143. modifierid:
  16144. description: 修改人
  16145. type: integer
  16146. modifytime:
  16147. description: 修改时间
  16148. type: string
  16149. outergoodscode:
  16150. description: 外部商品代码[JD\PD]
  16151. type: string
  16152. outratio:
  16153. description: 源值
  16154. type: integer
  16155. pddecimalplace:
  16156. description: PD小数位
  16157. type: integer
  16158. timemaxvalue:
  16159. description: 单次最大转入限制
  16160. type: number
  16161. timeminvalue:
  16162. description: 单次最小转入限制
  16163. type: number
  16164. required:
  16165. - converttype
  16166. - innergoodsid
  16167. - outergoodscode
  16168. type: object
  16169. models.Szdz3searchwhitelist:
  16170. properties:
  16171. createtime:
  16172. description: 创建时间
  16173. type: string
  16174. creatorid:
  16175. description: 创建人
  16176. type: integer
  16177. modifierid:
  16178. description: 修改人
  16179. type: integer
  16180. modifytime:
  16181. description: 修改时间
  16182. type: string
  16183. userid:
  16184. description: 用户ID
  16185. type: integer
  16186. required:
  16187. - userid
  16188. type: object
  16189. models.TBGoods:
  16190. properties:
  16191. agreeunit:
  16192. description: 合约乘数
  16193. type: number
  16194. enumdicname:
  16195. description: 单位名称
  16196. type: string
  16197. goodscode:
  16198. description: 商品代码(内部)
  16199. type: string
  16200. goodsid:
  16201. description: 商品ID(自增ID SEQ_GOODS)
  16202. type: integer
  16203. goodsname:
  16204. description: 商品名称
  16205. type: string
  16206. type: object
  16207. models.TBGoodsGroup:
  16208. properties:
  16209. GDLST:
  16210. description: 商品列表
  16211. items:
  16212. $ref: '#/definitions/models.TBGoods'
  16213. type: array
  16214. convertratio:
  16215. description: 折算系数
  16216. type: number
  16217. enumdicname:
  16218. description: 单位名称
  16219. type: string
  16220. exexchangecode:
  16221. description: 交易所代码
  16222. type: string
  16223. exexchangename:
  16224. description: 交易所名称
  16225. type: string
  16226. goodsgroupid:
  16227. description: 商品组ID(自增ID)
  16228. type: integer
  16229. goodsgroupname:
  16230. description: 商品组名称
  16231. type: string
  16232. goodunitid:
  16233. description: 报价单位ID
  16234. type: integer
  16235. type: object
  16236. models.TBMiddleGoods:
  16237. properties:
  16238. GPLST:
  16239. description: 期货品种列表
  16240. items:
  16241. $ref: '#/definitions/models.TBGoodsGroup'
  16242. type: array
  16243. WDLST:
  16244. description: 商品信息列表(现货品类)
  16245. items:
  16246. $ref: '#/definitions/models.TBWrstandard'
  16247. type: array
  16248. areauserid:
  16249. description: 机构用户ID
  16250. type: integer
  16251. enumdicname:
  16252. description: 单位名称
  16253. type: string
  16254. goodsunitid:
  16255. description: 套保品种单位id
  16256. type: integer
  16257. middlegoodscode:
  16258. description: 套保品种代码
  16259. type: string
  16260. middlegoodsid:
  16261. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16262. type: integer
  16263. middlegoodsname:
  16264. description: 套保品种名称
  16265. type: string
  16266. needarbitrageratio:
  16267. description: 套利比率
  16268. type: number
  16269. needhedgeratio:
  16270. description: 套保比率
  16271. type: number
  16272. type: object
  16273. models.TBWrstandard:
  16274. properties:
  16275. convertratio:
  16276. description: 折算系数
  16277. type: number
  16278. deliverygoodsname:
  16279. description: 品种名称
  16280. type: string
  16281. enumdicname:
  16282. description: 单位名称
  16283. type: string
  16284. vatrate:
  16285. description: 增值税率
  16286. type: number
  16287. wrstandardcode:
  16288. description: 现货商品代码
  16289. type: string
  16290. wrstandardid:
  16291. description: 现货商品ID(SEQ_WRSTANDARD)
  16292. type: integer
  16293. wrstandardname:
  16294. description: 现货商品名称
  16295. type: string
  16296. type: object
  16297. models.Taaccount:
  16298. properties:
  16299. accountflag:
  16300. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16301. type: integer
  16302. accountid:
  16303. description: 资金账户ID
  16304. type: integer
  16305. accountname:
  16306. description: 账户名称
  16307. type: string
  16308. balance:
  16309. description: 期初余额
  16310. type: number
  16311. capitalbalance:
  16312. description: 本金余额[外部子账户实际出入金余额]
  16313. type: number
  16314. changeflag:
  16315. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16316. type: integer
  16317. changetime:
  16318. description: 账户状态变更时间
  16319. type: string
  16320. closepl:
  16321. description: 今日平仓盈亏
  16322. type: number
  16323. creditdecrease:
  16324. description: 今日授信减少
  16325. type: number
  16326. creditincrease:
  16327. description: 今日授信增加
  16328. type: number
  16329. curamount:
  16330. description: 总市值(从持仓中统计)
  16331. type: number
  16332. currencyid:
  16333. description: 货币ID
  16334. type: integer
  16335. currentbalance:
  16336. description: 期末余额
  16337. type: number
  16338. freezecharge:
  16339. description: 手续费冻结
  16340. type: number
  16341. freezemargin:
  16342. description: 冻结保证金
  16343. type: number
  16344. fromaccountid:
  16345. description: 所属上级账户
  16346. type: integer
  16347. inamount:
  16348. description: 今日入金金额(包括三方入金)
  16349. type: number
  16350. ismain:
  16351. description: 是否母账号 0:不是母账户 1:是母账户
  16352. type: integer
  16353. ismarketaccount:
  16354. description: 是否机构接单账号 0:不是 1:是
  16355. type: integer
  16356. isreckonaccount:
  16357. description: 是否机构分润账号 0:不是 1:是
  16358. type: integer
  16359. mortgagecredit:
  16360. description: 授信金额
  16361. type: number
  16362. orifreezecharge:
  16363. description: 期初手续费冻结
  16364. type: number
  16365. orifreezemargin:
  16366. description: 期初冻结保证金
  16367. type: number
  16368. orimortgagecredit:
  16369. description: 期初授信金额
  16370. type: number
  16371. oriothercredit:
  16372. description: 期初其它授信金额
  16373. type: number
  16374. oriotherfreezemargin:
  16375. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16376. type: number
  16377. orioutamountfreeze:
  16378. description: 期初出金冻结
  16379. type: number
  16380. oriusedmargin:
  16381. description: 期初占用保证金
  16382. type: number
  16383. othercredit:
  16384. description: 其它授信金额
  16385. type: number
  16386. othercreditdecrease:
  16387. description: 今日其它授信减少
  16388. type: number
  16389. othercreditincrease:
  16390. description: 今日其它授信增加
  16391. type: number
  16392. otherfreezemargin:
  16393. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16394. type: number
  16395. otherincome:
  16396. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16397. type: number
  16398. otherpay:
  16399. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16400. type: number
  16401. outamount:
  16402. description: 今日出金金额(包括三方出金)
  16403. type: number
  16404. outamountfreeze:
  16405. description: 出金冻结
  16406. type: number
  16407. outthreshold:
  16408. description: 出金阈值
  16409. type: number
  16410. parentaccountid:
  16411. description: 所属根账号
  16412. type: integer
  16413. paycharge:
  16414. description: 今日手续费支出
  16415. type: number
  16416. relatedaccountstatus:
  16417. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16418. type: integer
  16419. relateduserid:
  16420. description: 关联用户
  16421. type: integer
  16422. remainamount:
  16423. description: 融资额(从融资合同中统计)
  16424. type: number
  16425. serivcegroup:
  16426. description: 服务分组
  16427. type: integer
  16428. signstatus:
  16429. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16430. type: integer
  16431. sublevelpath:
  16432. description: 账号层级路径(逗号分隔,首尾加逗号)
  16433. type: string
  16434. taaccounttype:
  16435. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16436. type: integer
  16437. thirdinamount:
  16438. description: 今日三方入金
  16439. type: number
  16440. thirdoutamount:
  16441. description: 今日三方出金
  16442. type: number
  16443. tradestatus:
  16444. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16445. type: integer
  16446. tradestatuschangetime:
  16447. description: 激活时间
  16448. type: string
  16449. transferamount:
  16450. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16451. type: number
  16452. usedmargin:
  16453. description: 占用保证金
  16454. type: number
  16455. userid:
  16456. description: 用户ID
  16457. type: integer
  16458. required:
  16459. - accountid
  16460. - userid
  16461. type: object
  16462. models.Tablecolumnconfig:
  16463. properties:
  16464. aligntype:
  16465. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16466. type: integer
  16467. autoid:
  16468. description: AutoID
  16469. type: integer
  16470. columnfield:
  16471. description: 列字段
  16472. type: string
  16473. columntitle:
  16474. description: 列Title
  16475. type: string
  16476. columnwidth:
  16477. description: 列宽
  16478. type: string
  16479. fixed:
  16480. description: 固定类型 - 空 | left | right
  16481. type: string
  16482. formatterstring:
  16483. description: 格式化字符
  16484. type: string
  16485. formattertype:
  16486. description: 格式化类型
  16487. type: string
  16488. groupname:
  16489. description: 表头分组名称
  16490. type: string
  16491. ismerge:
  16492. description: 是否合并显示 - 0:不合并 1:合并
  16493. type: integer
  16494. isshow:
  16495. description: 是否显示 - 0:不显示 1:显示
  16496. type: integer
  16497. needsummary:
  16498. description: 是否需要汇总 - 0:不需要 1:需要
  16499. type: integer
  16500. orderindex:
  16501. description: 顺序
  16502. type: integer
  16503. remark:
  16504. description: 备注
  16505. type: string
  16506. summarytype:
  16507. description: 汇总类型 - 1:加总 2:最后一个
  16508. type: integer
  16509. tablekey:
  16510. description: 列表Key
  16511. type: string
  16512. required:
  16513. - autoid
  16514. type: object
  16515. models.TjmdHolderDetailTradeInfo:
  16516. properties:
  16517. agreeunit:
  16518. description: 合约乘数
  16519. type: number
  16520. buyaccountid:
  16521. description: 买方账户
  16522. type: string
  16523. buyusername:
  16524. description: 买方
  16525. type: string
  16526. delistingdate:
  16527. description: 最后结算日
  16528. type: string
  16529. expiredate:
  16530. description: 到期结算价定价日
  16531. type: string
  16532. exprieprice:
  16533. description: 到期清算价格
  16534. type: string
  16535. goodscode:
  16536. description: 商品代码
  16537. type: string
  16538. goodsid:
  16539. description: 商品ID
  16540. type: integer
  16541. goodsname:
  16542. description: 商品名称(交易标的)
  16543. type: string
  16544. lasttradedate:
  16545. description: 最后交易日
  16546. type: string
  16547. listingdate:
  16548. description: 开始交易日
  16549. type: string
  16550. openprice:
  16551. description: 成交价
  16552. type: number
  16553. openqty:
  16554. description: 交易数量
  16555. type: integer
  16556. sellaccountid:
  16557. description: 卖方账户
  16558. type: string
  16559. sellusername:
  16560. description: 卖方
  16561. type: string
  16562. tradeamount:
  16563. description: 初始名义价值
  16564. type: number
  16565. tradedate:
  16566. description: 成交日期
  16567. type: string
  16568. tradeid:
  16569. description: 成交编号
  16570. type: string
  16571. type: object
  16572. models.TjmdMarketSection:
  16573. properties:
  16574. marketsectionid:
  16575. description: 市场版块ID(SEQ_MARKETSECTION)
  16576. type: integer
  16577. marketsectionname:
  16578. description: 市场版块名称
  16579. type: string
  16580. mlist:
  16581. description: 市场列表(板块下面有多少个市场)
  16582. items:
  16583. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16584. type: array
  16585. orderindex:
  16586. description: 排序
  16587. type: integer
  16588. pictureurl:
  16589. description: 图片url, 规格(90*90)
  16590. type: string
  16591. remark:
  16592. description: 备注
  16593. type: string
  16594. type: object
  16595. models.TjmdMarketSectionConfig:
  16596. properties:
  16597. auctionwrtype:
  16598. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16599. type: integer
  16600. canacceptquote:
  16601. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16602. type: integer
  16603. cangoodsexercise:
  16604. description: '[期权]是否可现货行权- 0:否 1:是'
  16605. type: integer
  16606. cangoodsexercisetype:
  16607. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16608. type: integer
  16609. canmanualquotestrike:
  16610. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16611. type: integer
  16612. canmutistage:
  16613. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16614. type: integer
  16615. canpreexercise:
  16616. description: '[期权]是否可预申报- 0:否 1:是'
  16617. type: integer
  16618. clearinterval:
  16619. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16620. type: integer
  16621. contracttmp:
  16622. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16623. type: string
  16624. exchareaid:
  16625. description: 所属交易所,可以没有
  16626. type: integer
  16627. financemarketid:
  16628. description: 融资回购市场ID [仓单贸易]
  16629. type: integer
  16630. goodstype:
  16631. description: 商品类型 - 1:交易商品 2:仓单商品
  16632. type: integer
  16633. hasrebate:
  16634. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16635. type: integer
  16636. hastradecredit:
  16637. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16638. type: integer
  16639. haswr:
  16640. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16641. type: integer
  16642. isdeductmargin:
  16643. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16644. type: integer
  16645. isrecordsource:
  16646. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16647. type: integer
  16648. isreleasemargin:
  16649. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16650. type: integer
  16651. isupdatereckonprice:
  16652. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16653. type: integer
  16654. listingmode:
  16655. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16656. type: integer
  16657. marginformula:
  16658. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16659. type: integer
  16660. marginformula2:
  16661. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16662. type: integer
  16663. marketid:
  16664. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16665. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16666. type: integer
  16667. marketname:
  16668. description: 市场名称
  16669. type: string
  16670. marketsectionid:
  16671. description: 市场版块ID(SEQ_MARKETSECTION)
  16672. type: integer
  16673. marketserviceid:
  16674. description: 市场服务ID
  16675. type: integer
  16676. marketstatus:
  16677. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16678. type: integer
  16679. markettype:
  16680. description: 市场类型- 1:非交易服务 2:交易服务
  16681. type: integer
  16682. matchermode:
  16683. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16684. type: integer
  16685. nowrquotaflag:
  16686. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16687. type: integer
  16688. openmethod:
  16689. description: 开盘模式 - 0 自动 1手动
  16690. type: integer
  16691. orderindex:
  16692. description: 排序
  16693. type: integer
  16694. otcuserid:
  16695. description: 场外期权做市商[场外期权]
  16696. type: integer
  16697. outersynctime:
  16698. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16699. type: string
  16700. paylaterflag:
  16701. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16702. type: integer
  16703. pendingflag:
  16704. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16705. type: integer
  16706. pendingtime:
  16707. description: 待开市时间[通道交易-对冲](HH:mm)
  16708. type: string
  16709. performancetempid:
  16710. description: 履约计划模板ID - 作废
  16711. type: integer
  16712. premiumquotemode:
  16713. description: 权利金报价方式 - 1:自动 2:手动
  16714. type: integer
  16715. rebateratio:
  16716. description: 返利比率[竞价式]
  16717. type: number
  16718. reckonorder:
  16719. description: 结算顺序
  16720. type: integer
  16721. reckonpricealgorithm:
  16722. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16723. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16724. type: integer
  16725. reckonpriceparam:
  16726. description: 结算价参数
  16727. type: integer
  16728. reckontime:
  16729. description: 结算时间[通道交易-对冲](HH:mm)
  16730. type: string
  16731. roleprioritytype:
  16732. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16733. type: integer
  16734. selllistingauditflag:
  16735. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16736. type: integer
  16737. trademarkettype:
  16738. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16739. type: integer
  16740. trademode:
  16741. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16742. 21:竞拍-大宗式 22:受托竞价
  16743. type: integer
  16744. tradeproperty:
  16745. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16746. 8:场外期权
  16747. type: integer
  16748. tradetype:
  16749. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16750. type: integer
  16751. updatereckonpriceinterval:
  16752. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16753. type: integer
  16754. type: object
  16755. models.TjmdQuoteGoods:
  16756. properties:
  16757. buyqty:
  16758. description: 买量(暂不做, 无值, 保留字段)
  16759. type: number
  16760. decimalplace:
  16761. description: 报价小数位
  16762. type: integer
  16763. goodscode:
  16764. description: 合约代码
  16765. type: string
  16766. goodsgroupid:
  16767. description: 商品组ID(自增ID)
  16768. type: integer
  16769. goodsgroupname:
  16770. description: 商品组名称
  16771. type: string
  16772. goodsid:
  16773. description: 合约id
  16774. type: integer
  16775. goodsname:
  16776. description: 合约名称
  16777. type: string
  16778. refgoodscode:
  16779. description: 标的合约代码
  16780. type: string
  16781. refgoodsid:
  16782. description: 标的合约id
  16783. type: integer
  16784. refgoodsname:
  16785. description: 标的合约名称
  16786. type: string
  16787. sellqty:
  16788. description: 卖量(暂不做, 无值, 保留字段)
  16789. type: number
  16790. type: object
  16791. models.TjmdTodayAccountMargin:
  16792. properties:
  16793. accountid:
  16794. description: 账号ID
  16795. type: integer
  16796. goodsid:
  16797. description: 商品ID
  16798. type: integer
  16799. infoc:
  16800. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16801. description: 配置参数
  16802. marketid:
  16803. description: 市场ID
  16804. type: integer
  16805. type: object
  16806. models.TjmdTradeOrderDetail:
  16807. properties:
  16808. buyorsell:
  16809. description: 买卖方向 0-买 1-卖
  16810. type: integer
  16811. goodsid:
  16812. description: 商品id
  16813. type: integer
  16814. marketmaxsub:
  16815. description: 市价最大偏移范围 [浮动价 - 点差]
  16816. type: number
  16817. orderid:
  16818. description: 委托单号
  16819. type: string
  16820. orderprice:
  16821. description: 期初均价
  16822. type: number
  16823. orderqty:
  16824. description: 委托数量
  16825. type: integer
  16826. pricemode:
  16827. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16828. type: integer
  16829. userid:
  16830. description: 用户id
  16831. type: integer
  16832. username:
  16833. description: 用户名称(已脱敏)
  16834. type: string
  16835. type: object
  16836. models.TjmdTransferApply:
  16837. properties:
  16838. applyid:
  16839. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16840. type: integer
  16841. applystatus:
  16842. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16843. type: integer
  16844. applytime:
  16845. description: 申请时间(时间)
  16846. type: string
  16847. auditremark:
  16848. description: 审核备注(拒绝原因?)
  16849. type: string
  16850. begindate:
  16851. description: 开始交易日(yyyymmdd)
  16852. type: string
  16853. buyorsell:
  16854. description: 买卖 - 0:买 1:卖
  16855. type: integer
  16856. enddate:
  16857. description: 结束交易日(yyyymmdd)
  16858. type: string
  16859. goodscode:
  16860. description: 商品代码
  16861. type: string
  16862. goodsid:
  16863. description: 商品ID
  16864. type: integer
  16865. goodsname:
  16866. description: 商品名称
  16867. type: string
  16868. marketid:
  16869. description: 市场ID
  16870. type: integer
  16871. qty:
  16872. description: 期初均价
  16873. type: number
  16874. tradeid:
  16875. description: 成交单号(关联持仓)
  16876. type: string
  16877. transferamount:
  16878. description: 转让总金额(金额)
  16879. type: number
  16880. transferprice:
  16881. description: 转让价格(协议价格)
  16882. type: number
  16883. type: object
  16884. models.TradeHolderDetail:
  16885. properties:
  16886. accountid:
  16887. description: 账号ID
  16888. type: integer
  16889. agreeunit:
  16890. description: 合约乘数
  16891. type: number
  16892. buyorsell:
  16893. description: 方向 - 0:买 1:卖
  16894. type: integer
  16895. currencyid:
  16896. description: 商品币种id
  16897. type: integer
  16898. currencyname:
  16899. description: 币种名称
  16900. type: string
  16901. decimalplace:
  16902. description: 商品价格小数位
  16903. type: integer
  16904. enumdicname:
  16905. description: 商品单位名称
  16906. type: string
  16907. expirecycle:
  16908. description: 行权周期(天) - 1:滚动行权时填写
  16909. type: integer
  16910. expiredate:
  16911. description: 行权日(yyyyMMdd) - 到期日
  16912. type: string
  16913. expiretype:
  16914. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16915. type: integer
  16916. freezeqty:
  16917. description: 期初均价
  16918. type: number
  16919. goodscode:
  16920. description: 商品代码
  16921. type: string
  16922. goodsid:
  16923. description: 商品ID
  16924. type: integer
  16925. goodsname:
  16926. description: 商品名称
  16927. type: string
  16928. goodunitid:
  16929. description: 商品单位id
  16930. type: integer
  16931. holderamount:
  16932. description: 持仓金额
  16933. type: number
  16934. holdercredit:
  16935. description: 持仓授信金额
  16936. type: number
  16937. holderdays:
  16938. description: 剩余冻结天数
  16939. type: integer
  16940. holderprice:
  16941. description: 持仓价格
  16942. type: number
  16943. holderqty:
  16944. description: 期初均价
  16945. type: number
  16946. isconfirmexercise:
  16947. description: 是否确认行权- 0:否 1:是
  16948. type: integer
  16949. ispreexercise:
  16950. description: 是否预申报- 0:否 1:是 2:不可行权
  16951. type: integer
  16952. marketid:
  16953. description: 市场id
  16954. type: integer
  16955. marketname:
  16956. description: 市场名称
  16957. type: string
  16958. openprice:
  16959. description: 建仓价格
  16960. type: number
  16961. openqty:
  16962. description: 期初均价
  16963. type: number
  16964. optiontype:
  16965. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16966. type: integer
  16967. preexerciseprice:
  16968. description: 预申报价格
  16969. type: number
  16970. premium:
  16971. description: 权利金
  16972. type: number
  16973. qtydecimalplace:
  16974. description: 商品成交量小数位
  16975. type: integer
  16976. refgoodscode:
  16977. description: 标的合约代码
  16978. type: string
  16979. refgoodsid:
  16980. description: 标的合约id
  16981. type: integer
  16982. releaseamount:
  16983. description: 释放持仓金额
  16984. type: number
  16985. releaseholdercredit:
  16986. description: 释放持仓授信金额
  16987. type: number
  16988. taname:
  16989. description: 资金账号名称
  16990. type: string
  16991. tradeamount:
  16992. description: 成交金额
  16993. type: number
  16994. tradedate:
  16995. description: 交易日(yyyyMMdd)
  16996. type: string
  16997. tradeid:
  16998. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16999. type: string
  17000. trademode:
  17001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17002. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17003. type: integer
  17004. tradeproperty:
  17005. description: 交易属性
  17006. type: integer
  17007. tradetime:
  17008. description: 交易时间
  17009. type: string
  17010. userid:
  17011. description: 用户id
  17012. type: integer
  17013. username:
  17014. description: 用户名称
  17015. type: string
  17016. type: object
  17017. models.Unlinkermcphedgeplan:
  17018. properties:
  17019. accountid:
  17020. description: 期货账户ID - 作废
  17021. type: integer
  17022. accountname:
  17023. description: 交易用户
  17024. type: string
  17025. applyid:
  17026. description: 申请人
  17027. type: integer
  17028. applysrc:
  17029. description: 申请来源 - 1:管理端 2:终端
  17030. type: integer
  17031. applytime:
  17032. description: 申请时间
  17033. type: string
  17034. areauserid:
  17035. description: '[企业ID]机构ID'
  17036. type: integer
  17037. auditid:
  17038. description: 审核人
  17039. type: integer
  17040. auditremark:
  17041. description: 审核备注
  17042. type: string
  17043. auditsrc:
  17044. description: 审核来源 - 1:管理端 2:终端
  17045. type: integer
  17046. audittime:
  17047. description: 审核时间
  17048. type: string
  17049. audittradedate:
  17050. description: 审核交易日(yyyyMMdd)
  17051. type: string
  17052. biztype:
  17053. description: 业务类型 - 1:套保
  17054. type: integer
  17055. contracttype:
  17056. description: 计划类型 - 1:采购 -1:销售
  17057. type: integer
  17058. convertfactor:
  17059. description: 标仓系数 - 作废
  17060. type: number
  17061. createtime:
  17062. description: 创建时间
  17063. type: string
  17064. currencyid:
  17065. description: 结算币种ID - 作废
  17066. type: integer
  17067. deliverygoodsid:
  17068. description: 现货品种ID
  17069. type: integer
  17070. enumdicname:
  17071. description: 结算币种
  17072. type: string
  17073. hedgeplanid:
  17074. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17075. type: string
  17076. hedgeplanno:
  17077. description: '[计划编号]套保计划编号,模糊查询'
  17078. type: string
  17079. hedgeplanstatus:
  17080. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17081. type: integer
  17082. isrelated:
  17083. description: 是否已关联计划项目 - 0:否 1:是
  17084. type: integer
  17085. planqty:
  17086. description: '[计划量]计划数量'
  17087. type: number
  17088. plantime:
  17089. description: 计划时间
  17090. type: string
  17091. producttype:
  17092. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17093. type: integer
  17094. remark:
  17095. description: 备注
  17096. type: string
  17097. spotgoodsdesc:
  17098. description: 商品型号
  17099. type: string
  17100. tradedate:
  17101. description: 交易日(yyyyMMdd)
  17102. type: string
  17103. tradeuserid:
  17104. description: 交易用户ID
  17105. type: integer
  17106. updatetime:
  17107. description: 更新时间
  17108. type: string
  17109. wrstandardid:
  17110. description: 现货商品ID
  17111. type: integer
  17112. wrstandardname:
  17113. description: 现货商品,模糊查询
  17114. type: string
  17115. required:
  17116. - areauserid
  17117. type: object
  17118. models.UserCollectConfig:
  17119. properties:
  17120. accountstatus:
  17121. description: 账户状态 - 1:正常 2:停用 3:注销
  17122. type: integer
  17123. collectaccountname:
  17124. description: 收款人账户名称
  17125. type: string
  17126. collectaccountno:
  17127. description: 收款人账户
  17128. type: string
  17129. collectbankname:
  17130. description: 收款人开户行
  17131. type: string
  17132. collectbranchbankname:
  17133. description: 收款人开户支行
  17134. type: string
  17135. collectconfigid:
  17136. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17137. type: string
  17138. remark:
  17139. description: 备注
  17140. type: string
  17141. userid:
  17142. description: 收款人用户ID
  17143. type: integer
  17144. type: object
  17145. models.UserReceiveInfo:
  17146. properties:
  17147. address:
  17148. description: 提货人详细地址
  17149. type: string
  17150. autoid:
  17151. description: AutoID
  17152. type: integer
  17153. cardnum:
  17154. description: 证件号码(加密存储)
  17155. type: string
  17156. cardtypeid:
  17157. description: 证件类型
  17158. type: integer
  17159. cityid:
  17160. description: 市
  17161. type: integer
  17162. cityname:
  17163. description: 城市名称
  17164. type: string
  17165. countryid:
  17166. description: 国家
  17167. type: integer
  17168. countryname:
  17169. description: 国家名称
  17170. type: string
  17171. districtid:
  17172. description: 地区
  17173. type: integer
  17174. districtname:
  17175. description: 地区名称
  17176. type: string
  17177. hasencrypt:
  17178. description: 数据是否已加密 - 0:未加密 1:已加密
  17179. type: integer
  17180. isdefault:
  17181. description: 是否默认地址 - 0:否 1:是
  17182. type: integer
  17183. phonenum:
  17184. description: 提货人联系方式(加密存储)
  17185. type: string
  17186. provinceid:
  17187. description: 省
  17188. type: integer
  17189. provincename:
  17190. description: 省名称
  17191. type: string
  17192. receivername:
  17193. description: 提货人姓名
  17194. type: string
  17195. takeremark:
  17196. description: 提货备注
  17197. type: string
  17198. userid:
  17199. description: 用户ID
  17200. type: integer
  17201. type: object
  17202. models.Useraccount:
  17203. properties:
  17204. accountname:
  17205. description: 账户名称(机构名称)
  17206. type: string
  17207. accountstatus:
  17208. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17209. type: integer
  17210. applysrc:
  17211. description: 申请来源 - 1:管理端 2:终端
  17212. type: integer
  17213. auditremark:
  17214. description: 审核备注
  17215. type: string
  17216. auditsrc:
  17217. description: 审核来源 - 1:管理端 2:终端
  17218. type: integer
  17219. audittime:
  17220. description: 审核时间
  17221. type: string
  17222. audituserid:
  17223. description: 审核人
  17224. type: integer
  17225. broker:
  17226. description: 所属经纪人ID
  17227. type: integer
  17228. canceltime:
  17229. description: 销户时间
  17230. type: string
  17231. canceluserid:
  17232. description: 销户人
  17233. type: integer
  17234. canrecommend:
  17235. description: 是否可推荐 - 0:不可 1;可
  17236. type: integer
  17237. createtime:
  17238. description: 创建时间
  17239. type: string
  17240. creatorid:
  17241. description: 创建人
  17242. type: integer
  17243. hasauth:
  17244. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17245. type: integer
  17246. isanonymous:
  17247. description: 是否匿名下单 - 0:否 1:是
  17248. type: integer
  17249. maxinvestornum:
  17250. description: 最大用户数(经纪会员下投资者个数)
  17251. type: integer
  17252. memberuserid:
  17253. description: 所属会员ID
  17254. type: integer
  17255. modifierid:
  17256. description: 修改人
  17257. type: integer
  17258. modifyremark:
  17259. description: 变更备注
  17260. type: string
  17261. modifystatus:
  17262. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17263. type: integer
  17264. modifytime:
  17265. description: 修改时间
  17266. type: string
  17267. parenttopuser:
  17268. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17269. type: string
  17270. parentuserid:
  17271. description: 所属机构ID
  17272. type: integer
  17273. reckonaccountid:
  17274. description: 默认结算资金账号ID(机构分润使用) 作废
  17275. type: integer
  17276. refercount:
  17277. description: 推荐总人数
  17278. type: integer
  17279. refereeuserid:
  17280. description: 推荐人ID
  17281. type: integer
  17282. refernum:
  17283. description: 推荐码
  17284. type: string
  17285. rootuserid:
  17286. description: 根用户ID
  17287. type: integer
  17288. subaccountlevel:
  17289. description: 子账户层数
  17290. type: integer
  17291. subarealevelpath:
  17292. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17293. type: string
  17294. userid:
  17295. description: 用户ID
  17296. type: integer
  17297. usertype:
  17298. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17299. type: integer
  17300. required:
  17301. - userid
  17302. type: object
  17303. models.Userfavoritegoods:
  17304. properties:
  17305. goodsid:
  17306. description: 商品ID
  17307. type: integer
  17308. required:
  17309. - goodsid
  17310. type: object
  17311. models.Userinfo:
  17312. properties:
  17313. address:
  17314. description: 地址
  17315. type: string
  17316. attachment1:
  17317. description: 附件1
  17318. type: string
  17319. attachment2:
  17320. description: 附件2
  17321. type: string
  17322. bankaccount:
  17323. description: 银行帐号 (加密存储)
  17324. type: string
  17325. bankaccountname:
  17326. description: 收款人名称
  17327. type: string
  17328. bankcardfrontphotourl:
  17329. description: 银行卡正面照地址
  17330. type: string
  17331. bankid:
  17332. description: 银行编码
  17333. type: string
  17334. bankname:
  17335. description: 银行名称
  17336. type: string
  17337. biznature:
  17338. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17339. type: integer
  17340. bizscope:
  17341. description: 企业经营范围(企业)
  17342. type: string
  17343. cardbackphotourl:
  17344. description: 证件背面图片地址
  17345. type: string
  17346. cardfrontphotourl:
  17347. description: 证件正面图片地址
  17348. type: string
  17349. cardnum:
  17350. description: 证件号码(加密存储)
  17351. type: string
  17352. cardtypeid:
  17353. description: 证件类型ID
  17354. type: integer
  17355. cityid:
  17356. description: 市
  17357. type: integer
  17358. company:
  17359. description: 公司(个人)
  17360. type: string
  17361. contactname:
  17362. description: 联系人
  17363. type: string
  17364. countryid:
  17365. description: 国家
  17366. type: integer
  17367. createtime:
  17368. description: 创建时间
  17369. type: string
  17370. creatorid:
  17371. description: 创建人
  17372. type: integer
  17373. customername:
  17374. description: 客户名称(企业名称)
  17375. type: string
  17376. districtid:
  17377. description: 地区
  17378. type: integer
  17379. email:
  17380. description: 邮件(加密存储)
  17381. type: string
  17382. fax:
  17383. description: 传真(加密存储)
  17384. type: string
  17385. halfbodyphotourl:
  17386. description: 半身照地址
  17387. type: string
  17388. hasencrypt:
  17389. description: 数据是否已加密 - 0:未加密 1:已加密
  17390. type: integer
  17391. headurl:
  17392. description: 头像地址
  17393. type: string
  17394. legalcardbackphotourl:
  17395. description: 法人身份证背面照地址
  17396. type: string
  17397. legalcardfrontphotourl:
  17398. description: 法人身份证正面照地址
  17399. type: string
  17400. legalpersonname:
  17401. description: 法人姓名(企业)
  17402. type: string
  17403. mobile:
  17404. description: 手机号码(加密存储)
  17405. type: string
  17406. mobile2:
  17407. description: 手机号码[明文-尚志]
  17408. type: string
  17409. modifierid:
  17410. description: 修改人
  17411. type: integer
  17412. modifiertime:
  17413. description: 修改时间
  17414. type: string
  17415. needinvoice:
  17416. description: 是否需要发票 - 0:不需要 1:需要
  17417. type: integer
  17418. nickname:
  17419. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17420. type: string
  17421. openmode:
  17422. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17423. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17424. type: integer
  17425. otherurl:
  17426. description: 其它图片地址[使用分号分隔]
  17427. type: string
  17428. postalcode:
  17429. description: 邮政编码
  17430. type: string
  17431. provinceid:
  17432. description: 省
  17433. type: integer
  17434. qq:
  17435. description: QQ(加密存储
  17436. type: string
  17437. remark:
  17438. description: 备注
  17439. type: string
  17440. sex:
  17441. description: '用户性别 0: 女 1: 男'
  17442. type: integer
  17443. signpdfurl:
  17444. description: 签约pdf文件
  17445. type: string
  17446. telphone:
  17447. description: 联系电话(加密存储)
  17448. type: string
  17449. userid:
  17450. description: 用户ID
  17451. type: integer
  17452. userinfotype:
  17453. description: 用户信息类型 - 1:个人 2:企业
  17454. type: integer
  17455. userstatus:
  17456. description: 用户状态 - 1:正常 2:注销
  17457. type: integer
  17458. usertype:
  17459. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17460. type: integer
  17461. wechat:
  17462. description: 微信(加密存储)
  17463. type: string
  17464. wskhinfo:
  17465. description: 开户申请信息(JSON)
  17466. type: string
  17467. required:
  17468. - userid
  17469. type: object
  17470. models.WRSConverTDetail:
  17471. properties:
  17472. convertratio:
  17473. description: 套保系数
  17474. type: number
  17475. deliverygoodscode:
  17476. description: 现货商品代码
  17477. type: string
  17478. deliverygoodsid:
  17479. description: 现货品种ID
  17480. type: integer
  17481. deliverygoodsname:
  17482. description: 现货商品名称
  17483. type: string
  17484. enumdicname:
  17485. description: 单位名称
  17486. type: string
  17487. goodsunitid:
  17488. description: 套保品种单位id
  17489. type: integer
  17490. middlegoodscode:
  17491. description: 套保品种代码
  17492. type: string
  17493. middlegoodsid:
  17494. description: 套保品种ID
  17495. type: integer
  17496. middlegoodsname:
  17497. description: 套保品种名称
  17498. type: string
  17499. modifytime:
  17500. description: 修改时间
  17501. type: string
  17502. wrstandardid:
  17503. description: 品类ID
  17504. type: integer
  17505. type: object
  17506. models.WRStandardInfo:
  17507. properties:
  17508. areauserid:
  17509. description: 所属机构
  17510. type: integer
  17511. convertfactor:
  17512. description: 标仓系数
  17513. type: number
  17514. createtime:
  17515. description: 创建时间
  17516. type: string
  17517. creatorid:
  17518. description: 创建人
  17519. type: integer
  17520. deliverygoodsid:
  17521. description: 品种ID
  17522. type: integer
  17523. deliverygoodsname:
  17524. description: 交割商品名称
  17525. type: string
  17526. factoryitemjson:
  17527. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17528. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17529. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17530. 逗号分隔'
  17531. type: string
  17532. isvalid:
  17533. description: 是否有效 - 0:无效 1:有效
  17534. type: integer
  17535. minivalue:
  17536. description: 最小变动值
  17537. type: integer
  17538. minivaluedp:
  17539. description: 最小变动值小数位
  17540. type: integer
  17541. realminivalue:
  17542. description: 实际最小变动值
  17543. type: integer
  17544. realminivaluedp:
  17545. description: 实际最小变动值小数位
  17546. type: integer
  17547. remark:
  17548. description: 备注
  17549. type: string
  17550. unitid:
  17551. description: 单位ID
  17552. type: integer
  17553. unitname:
  17554. description: 单位
  17555. type: string
  17556. updatetime:
  17557. description: 更新时间
  17558. type: string
  17559. updatorid:
  17560. description: 更新人
  17561. type: integer
  17562. wrsstatus:
  17563. description: 状态 - 作废 - 0:未激活 1:正常
  17564. type: integer
  17565. wrstandardcode:
  17566. description: 现货品类代码
  17567. type: string
  17568. wrstandardid:
  17569. description: 现货品类ID(SEQ_WRSTANDARD)
  17570. type: integer
  17571. wrstandardname:
  17572. description: 现货品类名称
  17573. type: string
  17574. required:
  17575. - wrstandardid
  17576. type: object
  17577. models.WRTradeBargainApply:
  17578. properties:
  17579. accountid:
  17580. description: 摘牌资金账号
  17581. type: integer
  17582. applyprice:
  17583. description: 申请价格(议价价格)
  17584. type: string
  17585. applyqty:
  17586. description: 摘牌数量(议价数量)
  17587. type: number
  17588. applyremark:
  17589. description: 申请备注
  17590. type: string
  17591. applystatus:
  17592. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17593. type: integer
  17594. applytime:
  17595. description: 申请时间(议价时间)
  17596. type: string
  17597. begindate:
  17598. description: 开始交易日(yyyymmdd)
  17599. type: string
  17600. buyorsell:
  17601. description: 买卖(挂牌类型) - 0:买 1:卖
  17602. type: integer
  17603. confirmremark:
  17604. description: 确认备注
  17605. type: string
  17606. confirmtime:
  17607. description: 确认时间
  17608. type: string
  17609. confirmuserid:
  17610. description: 确认人
  17611. type: integer
  17612. deliverygoodscode:
  17613. description: 品种代码
  17614. type: string
  17615. deliverygoodsid:
  17616. description: 品种ID
  17617. type: integer
  17618. deliverygoodsname:
  17619. description: 品种名称
  17620. type: string
  17621. deliverymonth:
  17622. description: 交收月
  17623. type: string
  17624. enddate:
  17625. description: 结束交易日(yyyymmdd)
  17626. type: string
  17627. enumdicname:
  17628. description: 单位名称
  17629. type: string
  17630. fixedprice:
  17631. description: 期初均价
  17632. type: number
  17633. handlestatus:
  17634. description: 处理状态
  17635. type: integer
  17636. marginvalue:
  17637. description: 期初均价
  17638. type: number
  17639. marketid:
  17640. description: 市场ID
  17641. type: integer
  17642. matchaccountid:
  17643. description: 挂牌方资金账号
  17644. type: integer
  17645. matchuserid:
  17646. description: 挂牌方用户id
  17647. type: integer
  17648. matchusername:
  17649. description: 挂牌方用户名称(已脱敏)
  17650. type: string
  17651. minivalue:
  17652. description: 现货商品最小变动值
  17653. type: integer
  17654. optioncompare:
  17655. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17656. type: string
  17657. orderqty:
  17658. description: 挂牌数量
  17659. type: integer
  17660. refprice:
  17661. description: 参考价格
  17662. type: string
  17663. retcode:
  17664. description: 委托返回代码
  17665. type: integer
  17666. templatename:
  17667. description: 履约方式(履约模板名称)
  17668. type: string
  17669. tradedate:
  17670. description: 交易日(yyyyMMdd)
  17671. type: string
  17672. userid:
  17673. description: 摘牌人用户ID(议价人ID)
  17674. type: integer
  17675. username:
  17676. description: 议价人名字(已脱敏)
  17677. type: string
  17678. validtime:
  17679. description: 有效期限
  17680. type: string
  17681. warehouseid:
  17682. description: 仓库ID
  17683. type: integer
  17684. warehousename:
  17685. description: 仓库名称
  17686. type: string
  17687. wrbargainid:
  17688. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17689. type: string
  17690. wrfactortypeid:
  17691. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17692. type: string
  17693. wrfactortypename:
  17694. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17695. type: string
  17696. wrstandardcode:
  17697. description: 现货商品代码
  17698. type: string
  17699. wrstandardid:
  17700. description: 现货商品ID
  17701. type: integer
  17702. wrstandardname:
  17703. description: 商品名称
  17704. type: string
  17705. wrtradeorderid:
  17706. description: 关联委托单ID
  17707. type: string
  17708. wrtypename:
  17709. description: 商品
  17710. type: string
  17711. type: object
  17712. models.Warehouseinfo:
  17713. properties:
  17714. address:
  17715. description: 详细地址
  17716. type: string
  17717. areauserid:
  17718. description: 所属机构
  17719. type: integer
  17720. autoid:
  17721. description: 自增ID
  17722. type: integer
  17723. cityid:
  17724. description: 市
  17725. type: integer
  17726. contactname:
  17727. description: 联系人
  17728. type: string
  17729. contactnum:
  17730. description: 联系电话
  17731. type: string
  17732. countryid:
  17733. description: 国家
  17734. type: integer
  17735. createtime:
  17736. description: 创建时间
  17737. type: string
  17738. districtid:
  17739. description: 区
  17740. type: integer
  17741. hasvideo:
  17742. description: 是否有视频 - 0:无 1:有
  17743. type: integer
  17744. provinceid:
  17745. description: 省
  17746. type: integer
  17747. remark:
  17748. description: 审核备注
  17749. type: string
  17750. videourl:
  17751. description: 视频地址
  17752. type: string
  17753. warehousecode:
  17754. description: 仓库代码
  17755. type: string
  17756. warehousename:
  17757. description: 仓库名称
  17758. type: string
  17759. warehousestatus:
  17760. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17761. type: integer
  17762. warehousetype:
  17763. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17764. type: integer
  17765. required:
  17766. - autoid
  17767. - warehousecode
  17768. type: object
  17769. models.WrAverageTradePrice:
  17770. properties:
  17771. averageprice:
  17772. description: 期初均价
  17773. type: number
  17774. tradedate:
  17775. description: 交易日yyyymm
  17776. type: string
  17777. type: object
  17778. models.WrBrandAndYears:
  17779. properties:
  17780. brandlst:
  17781. description: 品牌列表
  17782. items:
  17783. $ref: '#/definitions/models.DgFactoryItem'
  17784. type: array
  17785. yearslst:
  17786. description: 年份列表
  17787. items:
  17788. $ref: '#/definitions/models.DgFactoryItem'
  17789. type: array
  17790. type: object
  17791. models.WrBsGoodsInfo:
  17792. properties:
  17793. buyorsell:
  17794. description: 买卖方向 0-买 1-卖
  17795. type: integer
  17796. goodsid:
  17797. description: 交易合约ID
  17798. type: integer
  17799. lstitem:
  17800. description: 商品信息项
  17801. items:
  17802. $ref: '#/definitions/models.WrTypeItem'
  17803. type: array
  17804. lststep:
  17805. description: 履约规则
  17806. items:
  17807. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17808. type: array
  17809. type: object
  17810. models.WrBuybackDetail:
  17811. properties:
  17812. buybackamount:
  17813. description: 回购金额
  17814. type: number
  17815. buybackqty:
  17816. description: 回购数量
  17817. type: number
  17818. buybackreleasemargin:
  17819. description: 回购释放保证金
  17820. type: number
  17821. buybacktime:
  17822. description: 回购时间
  17823. type: string
  17824. errordesc:
  17825. description: 错误描述
  17826. type: string
  17827. handlestatus:
  17828. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17829. type: integer
  17830. relatedwrid:
  17831. description: 关联仓单ID
  17832. type: integer
  17833. scfcontractid:
  17834. description: SCF合同ID
  17835. type: string
  17836. scfwrbuybackid:
  17837. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17838. type: integer
  17839. tradedate:
  17840. description: 交易日(yyyyMMdd)
  17841. type: string
  17842. type: object
  17843. models.WrClientAdSpaceConfig:
  17844. properties:
  17845. adspaceid:
  17846. description: 广告位ID
  17847. type: integer
  17848. adspacename:
  17849. description: 广告位名称
  17850. type: string
  17851. adspacetype:
  17852. description: 广告位类型 - 1:固定广告位
  17853. type: integer
  17854. areauserid:
  17855. description: 所属机构ID
  17856. type: integer
  17857. createdate:
  17858. description: 创建时间
  17859. type: string
  17860. imagepath:
  17861. description: 图片
  17862. type: string
  17863. modifierid:
  17864. description: 操作人
  17865. type: integer
  17866. recsize:
  17867. description: 推荐尺寸
  17868. type: string
  17869. title:
  17870. description: 标题
  17871. type: string
  17872. updatedate:
  17873. description: 更新时间
  17874. type: string
  17875. urlcontent:
  17876. description: 链接(地址\商品ID\功能菜单Key\appid)
  17877. type: string
  17878. urltype:
  17879. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17880. type: integer
  17881. type: object
  17882. models.WrDeliveryAvalidHoldLB:
  17883. properties:
  17884. accountid:
  17885. description: 资金账号
  17886. type: integer
  17887. avalidqty:
  17888. description: 数量(可点选数量)
  17889. type: number
  17890. deliverygoodsid:
  17891. description: 品种id
  17892. type: integer
  17893. enumdicname:
  17894. description: 单位名称
  17895. type: string
  17896. goodsid:
  17897. description: x合约商品id
  17898. type: integer
  17899. ladingbillid:
  17900. description: 提单id
  17901. type: string
  17902. pgoodscode:
  17903. description: p商品代码(点价合约)
  17904. type: string
  17905. pgoodsid:
  17906. description: p商品id(点价合约)
  17907. type: integer
  17908. pgoodsname:
  17909. description: p商品名称(点价合约)
  17910. type: string
  17911. pricemove:
  17912. description: 升贴水
  17913. type: number
  17914. subnum:
  17915. description: 提单子id
  17916. type: integer
  17917. userid:
  17918. description: 用户id
  17919. type: integer
  17920. username:
  17921. description: 仓单持有人
  17922. type: string
  17923. warehousecode:
  17924. description: 仓库代码
  17925. type: string
  17926. warehouseid:
  17927. description: 仓库id
  17928. type: integer
  17929. warehousename:
  17930. description: 仓库名称
  17931. type: string
  17932. wrfactortypeid:
  17933. description: 仓单要素id
  17934. type: string
  17935. wrstandardcode:
  17936. description: 品代码
  17937. type: string
  17938. wrstandardid:
  17939. description: 品类d
  17940. type: integer
  17941. wrstandardname:
  17942. description: 品类名称
  17943. type: string
  17944. wrtypename:
  17945. description: 商品
  17946. type: string
  17947. xgoodscode:
  17948. description: x合约代码
  17949. type: string
  17950. xgoodsname:
  17951. description: x合约名称
  17952. type: string
  17953. type: object
  17954. models.WrDeliveryDetail:
  17955. properties:
  17956. accountid:
  17957. description: 账号ID
  17958. type: integer
  17959. averageprice:
  17960. description: 期初均价
  17961. type: number
  17962. begindate:
  17963. description: 开始交易日(yyyymmdd)
  17964. type: string
  17965. buyorsell:
  17966. description: 方向 - 0:买 1:卖
  17967. type: integer
  17968. deliveryamount:
  17969. description: 货款金额(X总货款+P总货款)
  17970. type: number
  17971. deliveryid:
  17972. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17973. type: string
  17974. deliveryorderid:
  17975. description: 申报单号
  17976. type: string
  17977. deliverypricemove:
  17978. description: 升贴水(升贴水总额)
  17979. type: number
  17980. deliveryqty:
  17981. description: 交收数量(点选数量)
  17982. type: number
  17983. deliverystatus:
  17984. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17985. type: integer
  17986. deliverytime:
  17987. description: 交割时间
  17988. type: string
  17989. deliverytotalamount:
  17990. description: 交收金额
  17991. type: number
  17992. enddate:
  17993. description: 结束交易日(yyyymmdd)
  17994. type: string
  17995. enumdicname:
  17996. description: 单位名称
  17997. type: string
  17998. matchaccountid:
  17999. description: 对手账号ID
  18000. type: integer
  18001. matchusername:
  18002. description: 对手方名称(仓单持有人)
  18003. type: string
  18004. p1goodsremainamount:
  18005. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18006. type: number
  18007. pdeliverycloseqty:
  18008. description: p合约平仓数量
  18009. type: number
  18010. pdeliveryprice:
  18011. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18012. type: number
  18013. pgoodscode:
  18014. description: 商品代码
  18015. type: string
  18016. pgoodsid:
  18017. description: p点选合约id
  18018. type: integer
  18019. pgoodsname:
  18020. description: 商品名称
  18021. type: string
  18022. ppricemode:
  18023. description: 点价价格方式 - 1:商品价 2:固定值
  18024. type: integer
  18025. tradedate:
  18026. description: 交易日(yyyymmdd)
  18027. type: string
  18028. userid:
  18029. description: 用户id
  18030. type: integer
  18031. username:
  18032. description: 用户名称
  18033. type: string
  18034. warehousename:
  18035. description: 仓库名称
  18036. type: string
  18037. wrfactortypeid:
  18038. description: 仓单要素类型ID
  18039. type: string
  18040. wrtypename:
  18041. description: 商品
  18042. type: string
  18043. xdeliverycloseqty:
  18044. description: 合约数量
  18045. type: number
  18046. xgoodsamount:
  18047. description: 期初均价
  18048. type: number
  18049. xgoodscode:
  18050. description: 商品代码
  18051. type: string
  18052. xgoodsid:
  18053. description: x交易合约ID
  18054. type: integer
  18055. xgoodsname:
  18056. description: 商品名称
  18057. type: string
  18058. type: object
  18059. models.WrDeliveryGoodsSection:
  18060. properties:
  18061. dglst:
  18062. description: 板块商品列表
  18063. items:
  18064. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18065. type: array
  18066. imagepath:
  18067. description: 图片地址
  18068. type: string
  18069. orderindex:
  18070. description: 排序
  18071. type: integer
  18072. sectionid:
  18073. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18074. = 1的版块1 - 云融指数
  18075. type: integer
  18076. sectionname:
  18077. description: 版块名称
  18078. type: string
  18079. sectiontype:
  18080. description: 版块类型 - 1:指数版块 2:普通版块
  18081. type: integer
  18082. type: object
  18083. models.WrDeliveryGoodsSectionConfig:
  18084. properties:
  18085. deliverygoodscode:
  18086. description: 现货商品代码
  18087. type: string
  18088. deliverygoodsid:
  18089. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18090. type: integer
  18091. deliverygoodsname:
  18092. description: 现货商品名称
  18093. type: string
  18094. orderindex:
  18095. description: 排序
  18096. type: integer
  18097. type: object
  18098. models.WrDraftUserInfo:
  18099. properties:
  18100. address:
  18101. description: 地址
  18102. type: string
  18103. attachment1:
  18104. description: 附件1
  18105. type: string
  18106. attachment2:
  18107. description: 附件2
  18108. type: string
  18109. attachment3:
  18110. description: 附件3
  18111. type: string
  18112. attachment4:
  18113. description: 附件4
  18114. type: string
  18115. attachment5:
  18116. description: 附件5
  18117. type: string
  18118. bankaccount:
  18119. description: 银行帐号 (加密存储)
  18120. type: string
  18121. bankaccountname:
  18122. description: 收款人名称
  18123. type: string
  18124. bankcardfrontphotourl:
  18125. description: 银行卡正面照地址
  18126. type: string
  18127. bankid:
  18128. description: 银行编码
  18129. type: string
  18130. bankname:
  18131. description: 银行名称
  18132. type: string
  18133. birthday:
  18134. description: 生日(个人:年月日)
  18135. type: string
  18136. biznature:
  18137. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18138. type: integer
  18139. bizscope:
  18140. description: 企业经营范围(企业)
  18141. type: string
  18142. biztype:
  18143. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18144. type: integer
  18145. cardbackphotourl:
  18146. description: 证件背面图片地址
  18147. type: string
  18148. cardfrontphotourl:
  18149. description: 证件正面图片地址
  18150. type: string
  18151. cardnum:
  18152. description: 证件号码(加密存储)
  18153. type: string
  18154. cardtypeid:
  18155. description: 证件类型ID
  18156. type: integer
  18157. cityid:
  18158. description: 市
  18159. type: integer
  18160. company:
  18161. description: 公司(个人)
  18162. type: string
  18163. contactcardbackphotourl:
  18164. description: 联系人证件背面图片地址
  18165. type: string
  18166. contactcardfrontphotourl:
  18167. description: 联系人证件正面图片地址
  18168. type: string
  18169. contactname:
  18170. description: 联系人
  18171. type: string
  18172. countryid:
  18173. description: 国家
  18174. type: integer
  18175. createtime:
  18176. description: 创建时间
  18177. type: string
  18178. creatorid:
  18179. description: 创建人
  18180. type: integer
  18181. creditquota:
  18182. description: 授信额度(金瑞)
  18183. type: number
  18184. customername:
  18185. description: 客户名称(企业名称)
  18186. type: string
  18187. districtid:
  18188. description: 地区
  18189. type: integer
  18190. email:
  18191. description: 邮件(加密存储)
  18192. type: string
  18193. fax:
  18194. description: 传真(加密存储)
  18195. type: string
  18196. halfbodyphotourl:
  18197. description: 半身照地址
  18198. type: string
  18199. hasencrypt:
  18200. description: 数据是否已加密 - 0:未加密 1:已加密
  18201. type: integer
  18202. headurl:
  18203. description: 头像地址
  18204. type: string
  18205. legalcardbackphotourl:
  18206. description: 法人身份证背面照地址
  18207. type: string
  18208. legalcardfrontphotourl:
  18209. description: 法人身份证正面照地址
  18210. type: string
  18211. legalpersonname:
  18212. description: 法人姓名(企业)
  18213. type: string
  18214. mobile:
  18215. description: 手机号码(加密存储)
  18216. type: string
  18217. mobile2:
  18218. description: 手机号码[明文-尚志]
  18219. type: string
  18220. modifierid:
  18221. description: 修改人
  18222. type: integer
  18223. modifiertime:
  18224. description: 修改时间
  18225. type: string
  18226. needinvoice:
  18227. description: 是否需要发票 - 0:不需要 1:需要
  18228. type: integer
  18229. nickname:
  18230. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18231. type: string
  18232. openmode:
  18233. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18234. 6:苹果手机端注册 7:PC交易端注册"
  18235. type: integer
  18236. otherurl:
  18237. description: 其它图片地址[使用分号分隔]
  18238. type: string
  18239. postalcode:
  18240. description: 邮政编码
  18241. type: string
  18242. provinceid:
  18243. description: 省
  18244. type: integer
  18245. proxystatementurl:
  18246. description: 授权委托书
  18247. type: string
  18248. qq:
  18249. description: QQ(加密存储
  18250. type: string
  18251. remark:
  18252. description: 备注
  18253. type: string
  18254. sex:
  18255. description: '用户性别 0: 女 1: 男'
  18256. type: integer
  18257. signpdfurl:
  18258. description: 签约pdf文件
  18259. type: string
  18260. taxpayernum:
  18261. description: 纳税人识别号
  18262. type: string
  18263. telphone:
  18264. description: 联系电话(加密存储)
  18265. type: string
  18266. userid:
  18267. description: 用户ID
  18268. type: integer
  18269. userinfotype:
  18270. description: 用户信息类型 - 1:个人 2:企业
  18271. type: integer
  18272. userstatus:
  18273. description: 用户状态 - 1:正常 2:注销
  18274. type: integer
  18275. usertype:
  18276. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18277. type: integer
  18278. wechat:
  18279. description: 微信(加密存储)
  18280. type: string
  18281. wskhinfo:
  18282. description: 开户申请信息(JSON)
  18283. type: string
  18284. type: object
  18285. models.WrFAProductDetail:
  18286. properties:
  18287. accountid:
  18288. description: 资金账号
  18289. type: integer
  18290. areauserid:
  18291. description: 金融机构ID
  18292. type: integer
  18293. financingdays:
  18294. description: 天数(天)
  18295. type: integer
  18296. interestminlen:
  18297. description: 最小起息天数
  18298. type: integer
  18299. interestrate:
  18300. description: 利率
  18301. type: number
  18302. interestratemode:
  18303. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18304. type: integer
  18305. interestsettlemode:
  18306. description: 结息方式 - 1:按日结息 3:按月结息
  18307. type: integer
  18308. interestsettlevalue:
  18309. description: 结息方式值
  18310. type: integer
  18311. isautoloan:
  18312. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18313. type: integer
  18314. loantag:
  18315. description: '放款标识: "放款快" 或者为空'
  18316. type: string
  18317. marginratio:
  18318. description: 保证金比率质押率 - [仓单质押]
  18319. type: number
  18320. productdetailid:
  18321. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18322. type: integer
  18323. productid:
  18324. description: 金融产品ID
  18325. type: integer
  18326. productname:
  18327. description: 产品名称
  18328. type: string
  18329. updatetime:
  18330. description: 更新时间
  18331. type: string
  18332. username:
  18333. description: 融出方
  18334. type: string
  18335. type: object
  18336. models.WrFactorTypeInfo:
  18337. properties:
  18338. deliverygoodscode:
  18339. description: 品种代码
  18340. type: string
  18341. deliverygoodsname:
  18342. description: 品种名称
  18343. type: string
  18344. dgfactoryitemid:
  18345. description: 选择项id
  18346. type: integer
  18347. dgfactoryitemtypeid:
  18348. description: 要素选择项ID (1-仓库 2-品牌)
  18349. type: integer
  18350. dgfactoryitemvalue:
  18351. description: 要素项值
  18352. type: string
  18353. itemtypename:
  18354. description: 要素项名称
  18355. type: string
  18356. optioncompare:
  18357. description: 选择比较串
  18358. type: string
  18359. warehouseid:
  18360. description: 仓库id
  18361. type: integer
  18362. wrfactortypeid:
  18363. description: 仓单要素ID
  18364. type: string
  18365. wrfactortypename:
  18366. description: 要素名称
  18367. type: string
  18368. wrfactortypename2:
  18369. description: 要素名称(不含仓库)
  18370. type: string
  18371. wrstandardcode:
  18372. description: 品类代码
  18373. type: string
  18374. wrstandardid:
  18375. description: 品类id
  18376. type: integer
  18377. wrstandardname:
  18378. description: 品类名称
  18379. type: string
  18380. type: object
  18381. models.WrFilterItem:
  18382. properties:
  18383. itemcode:
  18384. description: 代码
  18385. type: string
  18386. itemid:
  18387. description: 项id
  18388. type: integer
  18389. itemname:
  18390. description: 名称
  18391. type: string
  18392. itemtype:
  18393. description: 类型 1-品种 2-品类(商品) 3-仓库
  18394. type: integer
  18395. type: object
  18396. models.WrFinanceBuyApply:
  18397. properties:
  18398. applydate:
  18399. description: 申请时间
  18400. type: string
  18401. applystatus:
  18402. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18403. type: integer
  18404. applyuserid:
  18405. description: 申请人
  18406. type: integer
  18407. auditdate:
  18408. description: 审核时间
  18409. type: string
  18410. auditremark:
  18411. description: 审核备注
  18412. type: string
  18413. audituserid:
  18414. description: 审核人
  18415. type: integer
  18416. buyaccountid:
  18417. description: 买方资金账号
  18418. type: integer
  18419. buyorsell:
  18420. description: 买卖 - 0:买 1:卖
  18421. type: integer
  18422. buyuserid:
  18423. description: 买方用户ID
  18424. type: integer
  18425. buyusername:
  18426. description: 买方名称
  18427. type: string
  18428. buywrtradeorderid:
  18429. description: 融资方买委托单ID
  18430. type: string
  18431. deliverygoodscode:
  18432. description: 品种代码
  18433. type: string
  18434. deliverygoodsid:
  18435. description: 品种ID
  18436. type: integer
  18437. deliverygoodsname:
  18438. description: 品种名称
  18439. type: string
  18440. deliverymonth:
  18441. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18442. type: string
  18443. enumdicname:
  18444. description: 单位名称
  18445. type: string
  18446. financeaccountid:
  18447. description: 融资方资金帐户ID
  18448. type: integer
  18449. financeapplyid:
  18450. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18451. type: string
  18452. financeareauserid:
  18453. description: 融资方用户ID
  18454. type: string
  18455. financename:
  18456. description: 融出方名称
  18457. type: string
  18458. financetype:
  18459. description: 融资类型 1-融资回购
  18460. type: integer
  18461. financingdays:
  18462. description: 天数(天)
  18463. type: integer
  18464. freezebuymargin:
  18465. description: 冻结融资保证金(买方)
  18466. type: number
  18467. handleremark:
  18468. description: 处理备注
  18469. type: string
  18470. handlestatus:
  18471. description: 处理状态
  18472. type: integer
  18473. interestminlen:
  18474. description: 最小起息天数
  18475. type: integer
  18476. interestrate:
  18477. description: 利率
  18478. type: number
  18479. interestratemode:
  18480. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18481. type: integer
  18482. interestsettlemode:
  18483. description: 结息方式 - 1:按日结息 3:按月结息
  18484. type: integer
  18485. interestsettlevalue:
  18486. description: 结息方式值
  18487. type: integer
  18488. isautoloan:
  18489. description: 是否自动放款 - 0:手动 1:自动
  18490. type: integer
  18491. marginratio:
  18492. description: 保证金比率质押率 - [仓单质押]
  18493. type: number
  18494. marketid:
  18495. description: 市场ID
  18496. type: integer
  18497. minivalue:
  18498. description: 现货商品最小变动值
  18499. type: integer
  18500. optioncompare:
  18501. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18502. type: string
  18503. orderqty:
  18504. description: 委托数量(商品数量)
  18505. type: number
  18506. productdetailid:
  18507. description: 产品组合ID
  18508. type: integer
  18509. productid:
  18510. description: 金融产品ID
  18511. type: integer
  18512. productname:
  18513. description: 产品名称
  18514. type: string
  18515. remark:
  18516. description: 备注
  18517. type: string
  18518. scfcontractid:
  18519. description: 仓单回购合同ID
  18520. type: string
  18521. sellaccountid:
  18522. description: 卖方资金账号
  18523. type: integer
  18524. selluserid:
  18525. description: 卖方用户ID
  18526. type: integer
  18527. sellwrtradeorderid:
  18528. description: 卖方委托单ID
  18529. type: string
  18530. tradeamount:
  18531. description: 成交金额(借款金额)
  18532. type: number
  18533. tradedate:
  18534. description: 交易日(yyyyMMdd)
  18535. type: string
  18536. tradeprice:
  18537. description: 成交价格
  18538. type: number
  18539. warehouseid:
  18540. description: 仓库ID
  18541. type: integer
  18542. warehousename:
  18543. description: 仓库名称
  18544. type: string
  18545. wrfactortypeid:
  18546. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18547. type: string
  18548. wrfactortypename:
  18549. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18550. type: string
  18551. wrpricetype:
  18552. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18553. type: integer
  18554. wrstandardcode:
  18555. description: 现货商品代码
  18556. type: string
  18557. wrstandardid:
  18558. description: 现货商品ID
  18559. type: integer
  18560. wrstandardname:
  18561. description: 商品名称
  18562. type: string
  18563. wrtypename:
  18564. description: 商品
  18565. type: string
  18566. type: object
  18567. models.WrFriendApply:
  18568. properties:
  18569. applicantid:
  18570. description: 申请人
  18571. type: integer
  18572. applyname:
  18573. description: 申请人名称
  18574. type: string
  18575. applysrc:
  18576. description: 申请来源 - 1:管理端 2:终端
  18577. type: integer
  18578. applystatus:
  18579. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18580. type: integer
  18581. applytime:
  18582. description: 申请时间
  18583. type: string
  18584. auditname:
  18585. description: 审核人名称
  18586. type: string
  18587. auditorid:
  18588. description: 审核人
  18589. type: integer
  18590. auditremark:
  18591. description: 审核备注
  18592. type: string
  18593. auditsrc:
  18594. description: 审核来源 - 1:管理端 2:终端
  18595. type: integer
  18596. audittime:
  18597. description: 审核时间
  18598. type: string
  18599. friendapplyid:
  18600. description: 申请ID(SEQ_FRIENDAPPLY)
  18601. type: string
  18602. friendname:
  18603. description: 好友名字(已脱敏)
  18604. type: string
  18605. frienduserid:
  18606. description: 好友用户ID
  18607. type: string
  18608. remark:
  18609. description: 备注
  18610. type: string
  18611. userid:
  18612. description: 申请人用户ID
  18613. type: integer
  18614. type: object
  18615. models.WrFtDeliveryGoods:
  18616. properties:
  18617. deliverygoodscode:
  18618. description: 品种代码
  18619. type: string
  18620. deliverygoodsid:
  18621. description: 品种ID
  18622. type: integer
  18623. deliverygoodsname:
  18624. description: 品种名称
  18625. type: string
  18626. wdlst:
  18627. description: 商品列表
  18628. items:
  18629. $ref: '#/definitions/models.WrFtWrstandard'
  18630. type: array
  18631. type: object
  18632. models.WrFtWrstandard:
  18633. properties:
  18634. enumdicname:
  18635. description: 单位名称
  18636. type: string
  18637. minivalue:
  18638. description: 最小变动值
  18639. type: integer
  18640. wrstandardcode:
  18641. description: 现货商品代码
  18642. type: string
  18643. wrstandardid:
  18644. description: 现货商品ID
  18645. type: integer
  18646. wrstandardname:
  18647. description: 商品名称
  18648. type: string
  18649. type: object
  18650. models.WrGoodsInfo:
  18651. properties:
  18652. haswr:
  18653. description: 0:仓单预售 1:仓单贸易
  18654. type: integer
  18655. lstitem:
  18656. description: 商品信息项
  18657. items:
  18658. $ref: '#/definitions/models.WrTypeItem'
  18659. type: array
  18660. lststep:
  18661. description: 履约规则
  18662. items:
  18663. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18664. type: array
  18665. marketid:
  18666. description: 市场id
  18667. type: integer
  18668. type: object
  18669. models.WrGoodsPerformanceStep:
  18670. properties:
  18671. autoid:
  18672. description: AutoID
  18673. type: integer
  18674. isauto:
  18675. description: 是否自动 - 0:不自动 1:自动
  18676. type: integer
  18677. remark:
  18678. description: 备注
  18679. type: string
  18680. stepdate:
  18681. description: 天数信息(T+N)
  18682. type: string
  18683. stepdays:
  18684. description: 距离上一步天数
  18685. type: integer
  18686. stepindex:
  18687. description: 步骤序号
  18688. type: integer
  18689. stepinfo:
  18690. description: 步骤信息(步骤名称+步骤值)
  18691. type: string
  18692. steptypeid:
  18693. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18694. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18695. type: integer
  18696. steptypename:
  18697. description: 步骤名称
  18698. type: string
  18699. stepvalue:
  18700. description: 期初均价
  18701. type: number
  18702. templateid:
  18703. description: 履约计划模板ID
  18704. type: integer
  18705. type: object
  18706. models.WrHoldLB:
  18707. properties:
  18708. accountid:
  18709. description: 持有人帐户ID
  18710. type: integer
  18711. bannerpicurl:
  18712. description: Banner图
  18713. type: string
  18714. createtime:
  18715. description: 创建时间(过户时间)
  18716. type: string
  18717. deliverygoodscode:
  18718. description: 品种代码
  18719. type: string
  18720. deliverygoodsid:
  18721. description: 品种ID
  18722. type: integer
  18723. deliverygoodsname:
  18724. description: 品种名称
  18725. type: string
  18726. enableqty:
  18727. description: 可用数量
  18728. type: number
  18729. enumdicname:
  18730. description: 单位名称
  18731. type: string
  18732. freezerqty:
  18733. description: 冻结数量
  18734. type: number
  18735. ladingbillid:
  18736. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18737. type: string
  18738. minivalue:
  18739. description: 现货商品最小变动值
  18740. type: integer
  18741. optioncompare:
  18742. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18743. type: string
  18744. parentsubnum:
  18745. description: 拆分父子单号
  18746. type: integer
  18747. pledgeqty:
  18748. description: 质押数量
  18749. type: number
  18750. qty:
  18751. description: 数量
  18752. type: number
  18753. subnum:
  18754. description: 提单子单号
  18755. type: integer
  18756. thumurls:
  18757. description: 缩略图
  18758. type: string
  18759. tradedate:
  18760. description: 交易日(yyyyMMdd)
  18761. type: string
  18762. userid:
  18763. description: 持有人ID
  18764. type: integer
  18765. warehouseid:
  18766. description: 仓库ID
  18767. type: integer
  18768. warehousename:
  18769. description: 仓库名称
  18770. type: string
  18771. wrfactortypeid:
  18772. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18773. type: string
  18774. wrfactortypename:
  18775. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18776. type: string
  18777. wrholdeno:
  18778. description: 仓单编号
  18779. type: string
  18780. wrid:
  18781. description: 仓单变更ID
  18782. type: string
  18783. wrstandardcode:
  18784. description: 现货商品代码
  18785. type: string
  18786. wrstandardid:
  18787. description: 现货商品ID
  18788. type: integer
  18789. wrstandardname:
  18790. description: 商品名称
  18791. type: string
  18792. wrtypename:
  18793. description: 商品
  18794. type: string
  18795. type: object
  18796. models.WrMarketTradeConfig:
  18797. properties:
  18798. basisdownratio:
  18799. description: 浮动价基差下限比例(仓单贸易)
  18800. type: number
  18801. basisupratio:
  18802. description: 浮动价基差上限比例(仓单贸易)
  18803. type: number
  18804. buychargealgorithm:
  18805. description: 买方手续费收取方式 1:比率 2:固定
  18806. type: integer
  18807. buychargealgorithm2:
  18808. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18809. type: integer
  18810. buychargealgorithmvalue:
  18811. description: 买方手续费设置值(交易所部分)
  18812. type: number
  18813. buychargealgorithmvalue2:
  18814. description: 买方手续费设置值(会员部分)
  18815. type: number
  18816. buychargealgorithmvalue3:
  18817. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18818. type: number
  18819. buychargealgorithmvalue4:
  18820. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18821. type: number
  18822. buyfirstmarginalgorithm:
  18823. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18824. type: integer
  18825. buyfirstmarginvalue:
  18826. description: 买方出价保证金设置值 - [竞拍]
  18827. type: number
  18828. buymarginalgorithm:
  18829. description: 买方保证金方式 - 1:比率 2:固定
  18830. type: integer
  18831. buymarginvalue:
  18832. description: 买方保证金设置值
  18833. type: number
  18834. buyreleaseratio:
  18835. description: 买方释放比率[2:分步履约]
  18836. type: number
  18837. executemode:
  18838. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18839. type: integer
  18840. executeside:
  18841. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18842. type: integer
  18843. failedchargealgorithm:
  18844. description: 流拍手续费收取方式 1:比率 2:固定
  18845. type: integer
  18846. failedchargevalue:
  18847. description: 流拍手续费设置值
  18848. type: number
  18849. failedchargevalue2:
  18850. description: 流拍卖方手续费设置值
  18851. type: number
  18852. holddays:
  18853. description: 合同期限[2:分步履约]
  18854. type: integer
  18855. listingmode:
  18856. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18857. type: integer
  18858. marketid:
  18859. description: 市场ID-仓单贸易、竞拍、预售
  18860. type: integer
  18861. minqty:
  18862. description: 最小执行量[2:分步履约]
  18863. type: number
  18864. modifierid:
  18865. description: 修改人
  18866. type: integer
  18867. nowrquotaflag:
  18868. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18869. type: integer
  18870. performancetempid:
  18871. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18872. 立即执行(-1)
  18873. type: integer
  18874. performancetempid2:
  18875. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18876. 立即执行
  18877. type: integer
  18878. performancetempid2s:
  18879. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18880. - 履约方式: 立即执行
  18881. type: string
  18882. performancetempids:
  18883. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18884. - 履约方式: 立即执行(-1)
  18885. type: string
  18886. performanceway:
  18887. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18888. type: integer
  18889. sellchargealgorithm:
  18890. description: 卖方手续费收取方式 1:比率 2:固定
  18891. type: integer
  18892. sellchargealgorithm2:
  18893. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18894. type: integer
  18895. sellchargealgorithmvalue:
  18896. description: 卖方手续费设置值(交易所部分)
  18897. type: number
  18898. sellchargealgorithmvalue2:
  18899. description: 卖方手续费设置值(会员部分)
  18900. type: number
  18901. sellchargealgorithmvalue3:
  18902. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18903. type: number
  18904. sellchargealgorithmvalue4:
  18905. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18906. type: number
  18907. sellmarginalgorithm:
  18908. description: 卖方保证金方式 - 1:比率 2:固定
  18909. type: integer
  18910. sellmarginvalue:
  18911. description: 卖方保证金设置值
  18912. type: number
  18913. sellmarginvalue2:
  18914. description: 卖方保证金设置值(无仓单)
  18915. type: number
  18916. sellreleaseratio:
  18917. description: 卖方释放比率[2:分步履约]
  18918. type: number
  18919. updatetime:
  18920. description: 更新时间
  18921. type: string
  18922. type: object
  18923. models.WrOrderDetail:
  18924. properties:
  18925. accountid:
  18926. description: 交易账号(资金账号)
  18927. type: integer
  18928. allfriendsflag:
  18929. description: 是否全好友可见 - 0:否 1:是
  18930. type: integer
  18931. amount:
  18932. description: 期初均价
  18933. type: number
  18934. bannerpicurl:
  18935. description: Banner图
  18936. type: string
  18937. begindate:
  18938. description: 开始交易日(yyyymmdd)
  18939. type: string
  18940. buyorsell:
  18941. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18942. type: integer
  18943. canbargain:
  18944. description: 是否可议价 - 0:不可 1:可
  18945. type: integer
  18946. cancelqty:
  18947. description: 撤销数量
  18948. type: number
  18949. canpart:
  18950. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18951. type: integer
  18952. delistminqty:
  18953. description: 起摘数量
  18954. type: integer
  18955. deliverygoodscode:
  18956. description: 品种代码
  18957. type: string
  18958. deliverygoodsid:
  18959. description: 品种ID
  18960. type: integer
  18961. deliverygoodsname:
  18962. description: 品种名称
  18963. type: string
  18964. deliverymonth:
  18965. description: 交收月
  18966. type: string
  18967. enddate:
  18968. description: 结束交易日(yyyymmdd)
  18969. type: string
  18970. enumdicname:
  18971. description: 单位名称
  18972. type: string
  18973. fixedprice:
  18974. description: 固定价格 - [挂牌]
  18975. type: number
  18976. freezecharge:
  18977. description: 期初均价
  18978. type: number
  18979. freezemargin:
  18980. description: 期初均价
  18981. type: number
  18982. futupricemove:
  18983. description: 期货升贴水
  18984. type: number
  18985. futushow:
  18986. description: 期货合约/升贴水
  18987. type: string
  18988. goodscode:
  18989. description: 期货合约
  18990. type: string
  18991. goodsid:
  18992. description: 期货商品id
  18993. type: integer
  18994. goodsname:
  18995. description: 商品名称
  18996. type: string
  18997. haswr:
  18998. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18999. type: integer
  19000. isspecified:
  19001. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19002. type: integer
  19003. ladingbillid:
  19004. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19005. type: string
  19006. marginvalue:
  19007. description: 期初均价
  19008. type: number
  19009. marketid:
  19010. description: 市场ID
  19011. type: integer
  19012. matchusername:
  19013. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19014. type: string
  19015. minivalue:
  19016. description: 现货商品最小变动值
  19017. type: integer
  19018. optioncompare:
  19019. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19020. type: string
  19021. orderqty:
  19022. description: 委托数量
  19023. type: number
  19024. ordertime:
  19025. description: 委托时间(挂牌时间)
  19026. type: string
  19027. performancetemplateid:
  19028. description: 履约模板id
  19029. type: integer
  19030. pricemove:
  19031. description: 升贴水(浮动价时填写) - [挂牌]
  19032. type: number
  19033. taname:
  19034. description: 交易用户名称(资金账号名称)
  19035. type: string
  19036. thumurls:
  19037. description: 缩略图
  19038. type: string
  19039. tradedate:
  19040. description: 交易日(yyyyMMdd)
  19041. type: string
  19042. tradeprice:
  19043. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19044. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19045. type: number
  19046. tradeqty:
  19047. description: 成交数量
  19048. type: number
  19049. userid:
  19050. description: 用户ID
  19051. type: integer
  19052. validtime:
  19053. description: 挂牌有效期
  19054. type: string
  19055. validtype:
  19056. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19057. type: integer
  19058. warehouseid:
  19059. description: 仓库ID
  19060. type: integer
  19061. warehousename:
  19062. description: 仓库名称
  19063. type: string
  19064. wrfactortypeid:
  19065. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19066. type: string
  19067. wrfactortypename:
  19068. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19069. type: string
  19070. wrpricetype:
  19071. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19072. type: integer
  19073. wrstandardcode:
  19074. description: 现货商品代码
  19075. type: string
  19076. wrstandardid:
  19077. description: 现货商品ID
  19078. type: integer
  19079. wrstandardname:
  19080. description: 商品名称
  19081. type: string
  19082. wrtradeorderid:
  19083. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19084. type: string
  19085. wrtradeorderstatus:
  19086. 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:撤单解冻贷款失败
  19087. type: integer
  19088. wrtradetype:
  19089. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19090. type: integer
  19091. wrtypename:
  19092. description: 商品
  19093. type: string
  19094. type: object
  19095. models.WrOrderQuote:
  19096. properties:
  19097. bannerpicurl:
  19098. description: Banner图
  19099. type: string
  19100. buyprice:
  19101. description: 买价
  19102. type: number
  19103. buypricemove:
  19104. description: 买升贴水(基差)
  19105. type: number
  19106. buyqty:
  19107. description: 买量
  19108. type: number
  19109. deliverygoodscode:
  19110. description: 品种代码
  19111. type: string
  19112. deliverygoodsid:
  19113. description: 品种id
  19114. type: integer
  19115. deliverygoodsname:
  19116. description: 品种名称
  19117. type: string
  19118. deliverymonth:
  19119. description: 交收月
  19120. type: string
  19121. enumdicname:
  19122. description: 单位名称
  19123. type: string
  19124. goodscode:
  19125. description: 商品合约(浮动价列表才有)
  19126. type: string
  19127. goodsid:
  19128. description: 商品id(浮动价列表才有)
  19129. type: integer
  19130. minivalue:
  19131. description: 现货商品最小变动值
  19132. type: integer
  19133. pictureurls:
  19134. description: 详情图片(逗号分隔)
  19135. type: string
  19136. sellprice:
  19137. description: 卖价
  19138. type: number
  19139. sellpricemove:
  19140. description: 卖升贴水(基差)
  19141. type: number
  19142. sellqty:
  19143. description: 卖量
  19144. type: number
  19145. thumurls:
  19146. description: 缩略图片(1:1)(逗号分隔)
  19147. type: string
  19148. warehousecode:
  19149. description: 仓库代码
  19150. type: string
  19151. warehouseid:
  19152. description: 仓库id
  19153. type: integer
  19154. warehousename:
  19155. description: 仓库名称
  19156. type: string
  19157. wrfactortypeid:
  19158. description: 仓单要素id
  19159. type: string
  19160. wrfactortypename:
  19161. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19162. type: string
  19163. wrgoodsname:
  19164. description: 商品(商品名称+仓库要素名称 拼接)
  19165. type: string
  19166. wrstandardcode:
  19167. description: 商品代码
  19168. type: string
  19169. wrstandardid:
  19170. description: 商品id
  19171. type: integer
  19172. wrstandardname:
  19173. description: 商品名称
  19174. type: string
  19175. type: object
  19176. models.WrOrderQuoteDetail:
  19177. properties:
  19178. buyorsell:
  19179. description: 买卖 - 0:买 1:卖
  19180. type: integer
  19181. delistminqty:
  19182. description: 期初均价
  19183. type: number
  19184. deliverymonth:
  19185. description: 交收月
  19186. type: string
  19187. enumdicname:
  19188. description: 单位名称
  19189. type: string
  19190. fixedprice:
  19191. description: 买(卖)价
  19192. type: number
  19193. marketid:
  19194. description: 市场id
  19195. type: integer
  19196. minivalue:
  19197. description: 现货商品最小变动值
  19198. type: integer
  19199. orderqty:
  19200. description: 买(卖)量(=委托量-成交量)
  19201. type: number
  19202. ordertime:
  19203. description: 委托时间
  19204. type: string
  19205. pricemove:
  19206. description: 买(卖)升贴水- 基差
  19207. type: number
  19208. userid:
  19209. description: 购买方(销售方)用户ID
  19210. type: integer
  19211. username:
  19212. description: 购买方(销售方)
  19213. type: string
  19214. wrtradeorderid:
  19215. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19216. type: string
  19217. type: object
  19218. models.WrOutInApply:
  19219. properties:
  19220. applyid:
  19221. description: 申请单id
  19222. type: string
  19223. applystatus:
  19224. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19225. 8:已撤销
  19226. type: integer
  19227. applytime:
  19228. description: 申请时间
  19229. type: string
  19230. applytype:
  19231. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19232. type: integer
  19233. bannerpicurl:
  19234. description: Banner图
  19235. type: string
  19236. begindate:
  19237. description: 开始交易日(yyyymmdd)
  19238. type: string
  19239. deliverygoodscode:
  19240. description: 品种代码
  19241. type: string
  19242. deliverygoodsid:
  19243. description: 品种ID
  19244. type: integer
  19245. deliverygoodsname:
  19246. description: 品种名称
  19247. type: string
  19248. enddate:
  19249. description: 结束交易日(yyyymmdd)
  19250. type: string
  19251. enumdicname:
  19252. description: 单位名称
  19253. type: string
  19254. expresscompany:
  19255. description: 物流公司
  19256. type: string
  19257. expressnum:
  19258. description: 物流单号
  19259. type: string
  19260. minivalue:
  19261. description: 现货商品最小变动值
  19262. type: integer
  19263. optioncompare:
  19264. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19265. type: string
  19266. qty:
  19267. description: 数量
  19268. type: integer
  19269. userid:
  19270. description: 用户id
  19271. type: integer
  19272. warehouseid:
  19273. description: 仓库ID
  19274. type: integer
  19275. warehousename:
  19276. description: 仓库名称
  19277. type: string
  19278. wrfactortypeid:
  19279. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19280. type: string
  19281. wrfactortypename:
  19282. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19283. type: string
  19284. wrstandardcode:
  19285. description: 现货商品代码
  19286. type: string
  19287. wrstandardid:
  19288. description: 现货商品ID
  19289. type: integer
  19290. wrstandardname:
  19291. description: 商品名称
  19292. type: string
  19293. wrtypename:
  19294. description: 商品
  19295. type: string
  19296. type: object
  19297. models.WrPerformancePlan:
  19298. properties:
  19299. activatemonth:
  19300. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19301. type: string
  19302. amount:
  19303. description: 履约金额(总金额)
  19304. type: number
  19305. begindate:
  19306. description: 开始交易日(yyyymmdd)
  19307. type: string
  19308. buyaccountid:
  19309. description: 买方账号
  19310. type: integer
  19311. buyerfreezeamount:
  19312. description: 履约冻结(买履约)
  19313. type: number
  19314. buyerfreezeamountremain:
  19315. description: 履约冻结剩余(买履约)
  19316. type: number
  19317. buyorsell:
  19318. description: 买卖方向 0-买 1-卖
  19319. type: integer
  19320. buypaidamount:
  19321. description: 买方已冻/已扣金额 (已付金额)
  19322. type: number
  19323. buyusername:
  19324. description: 买方名字
  19325. type: string
  19326. contractid:
  19327. description: 合同ID
  19328. type: integer
  19329. createtime:
  19330. description: 创建时间
  19331. type: string
  19332. creatorid:
  19333. description: 创建人
  19334. type: integer
  19335. curstepdeadline:
  19336. description: 当前步骤到期时间
  19337. type: string
  19338. curstepid:
  19339. description: 当前步骤ID
  19340. type: string
  19341. curstepname:
  19342. description: 当前步骤名称
  19343. type: string
  19344. deliverygoodscode:
  19345. description: 品种代码
  19346. type: string
  19347. deliverygoodsid:
  19348. description: 品种ID
  19349. type: integer
  19350. deliverygoodsname:
  19351. description: 品种名称
  19352. type: string
  19353. enddate:
  19354. description: 结束交易日(yyyymmdd)
  19355. type: string
  19356. enumdicname:
  19357. description: 单位名称
  19358. type: string
  19359. expressfee:
  19360. description: 运费
  19361. type: number
  19362. expressfeeconfirmed:
  19363. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19364. type: integer
  19365. hasovershort:
  19366. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19367. type: integer
  19368. haswr:
  19369. description: 类型 0-仓单预售 1-仓单贸易
  19370. type: integer
  19371. marketid:
  19372. description: 市场ID
  19373. type: integer
  19374. middleaccountid:
  19375. description: 中间商资金账号ID
  19376. type: integer
  19377. middleuserid:
  19378. description: 中间商用户ID
  19379. type: integer
  19380. minivalue:
  19381. description: 现货商品最小变动值
  19382. type: integer
  19383. optioncompare:
  19384. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19385. type: string
  19386. overshortamount:
  19387. description: 溢短金额
  19388. type: number
  19389. overshortqty:
  19390. description: 溢短数量
  19391. type: number
  19392. paymenttype:
  19393. description: 付款方式 - 1:冻结 2:扣款
  19394. type: integer
  19395. performanceplanid:
  19396. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19397. type: string
  19398. performancestatus:
  19399. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19400. 9:超时待处理 10:超时关闭
  19401. type: integer
  19402. performancetype:
  19403. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19404. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19405. type: integer
  19406. qty:
  19407. description: 履约数量
  19408. type: number
  19409. relatedorderid:
  19410. description: 关联单号(履约类型的关联单号)
  19411. type: string
  19412. remark:
  19413. description: 备注
  19414. type: string
  19415. sellaccountid:
  19416. description: 卖方账号
  19417. type: integer
  19418. sellerfreezeamount:
  19419. description: 履约冻结(卖履约)
  19420. type: number
  19421. sellerfreezeamountremain:
  19422. description: 履约冻结剩余(卖履约)
  19423. type: number
  19424. sellreceivedamount:
  19425. description: 卖方已收金额
  19426. type: number
  19427. sellusername:
  19428. description: 卖方名字
  19429. type: string
  19430. shipremark:
  19431. description: 发货备注[物流单号]
  19432. type: string
  19433. starttime:
  19434. description: 开始时间
  19435. type: string
  19436. steptypeid:
  19437. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19438. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19439. type: integer
  19440. typename:
  19441. description: 履约类型 名称
  19442. type: string
  19443. unpaidamount:
  19444. description: 期初均价
  19445. type: number
  19446. userid:
  19447. description: 用户id
  19448. type: integer
  19449. warehouseid:
  19450. description: 仓库ID
  19451. type: integer
  19452. warehousename:
  19453. description: 仓库名称
  19454. type: string
  19455. wrfactortypeid:
  19456. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19457. type: string
  19458. wrfactortypename:
  19459. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19460. type: string
  19461. wrstandardcode:
  19462. description: 现货商品代码
  19463. type: string
  19464. wrstandardid:
  19465. description: 现货商品ID
  19466. type: integer
  19467. wrstandardname:
  19468. description: 商品名称
  19469. type: string
  19470. wrtransferuserid:
  19471. description: 仓单受让用户
  19472. type: integer
  19473. wrtypename:
  19474. description: 商品
  19475. type: string
  19476. required:
  19477. - userid
  19478. type: object
  19479. models.WrPerformancePlanStep:
  19480. properties:
  19481. delaydays:
  19482. description: 延期申请天数
  19483. type: integer
  19484. deliverygoodscode:
  19485. description: 品种代码
  19486. type: string
  19487. deliverygoodsid:
  19488. description: 品种ID
  19489. type: integer
  19490. deliverygoodsname:
  19491. description: 品种名称
  19492. type: string
  19493. endtime:
  19494. description: 结束日期
  19495. type: string
  19496. enumdicname:
  19497. description: 单位名称
  19498. type: string
  19499. executeside:
  19500. description: 步骤执行方 - 1:买方 2:卖方
  19501. type: integer
  19502. handlestatus:
  19503. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19504. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19505. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19506. type: integer
  19507. isauto:
  19508. description: 是否自动 - 0:不自动 1:自动
  19509. type: integer
  19510. islastreceivestep:
  19511. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19512. type: integer
  19513. minivalue:
  19514. description: 现货商品最小变动值
  19515. type: integer
  19516. optioncompare:
  19517. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19518. type: string
  19519. overdays:
  19520. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19521. type: integer
  19522. performancestepid:
  19523. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19524. type: string
  19525. planid:
  19526. description: 所属履约计划ID
  19527. type: string
  19528. realamount:
  19529. description: 实际完成金额
  19530. type: number
  19531. relatedorderid:
  19532. description: 关联单号
  19533. type: string
  19534. remaindays:
  19535. description: 剩余天数
  19536. type: integer
  19537. remark:
  19538. description: 错误备注
  19539. type: string
  19540. starttime:
  19541. description: 开始日期
  19542. type: string
  19543. stepamount:
  19544. description: 步骤金额
  19545. type: number
  19546. stepdays:
  19547. description: 距离上一步天数(分钟)
  19548. type: integer
  19549. stepindex:
  19550. description: 步骤序号
  19551. type: integer
  19552. steplanchtype:
  19553. description: 步骤启动类型 - 1:系统自动 2:手动
  19554. type: integer
  19555. stepremark:
  19556. description: 步骤备注
  19557. type: string
  19558. stepstatus:
  19559. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19560. type: integer
  19561. steptypeid:
  19562. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19563. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19564. type: integer
  19565. steptypename:
  19566. description: 步骤名称
  19567. type: string
  19568. stepvalue:
  19569. description: 步骤值
  19570. type: number
  19571. warehouseid:
  19572. description: 仓库ID
  19573. type: integer
  19574. warehousename:
  19575. description: 仓库名称
  19576. type: string
  19577. wrfactortypeid:
  19578. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19579. type: string
  19580. wrfactortypename:
  19581. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19582. type: string
  19583. wrstandardcode:
  19584. description: 现货商品代码
  19585. type: string
  19586. wrstandardid:
  19587. description: 现货商品ID
  19588. type: integer
  19589. wrstandardname:
  19590. description: 商品名称
  19591. type: string
  19592. wrtypename:
  19593. description: 商品
  19594. type: string
  19595. type: object
  19596. models.WrPerformanceStepType:
  19597. properties:
  19598. canauto:
  19599. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19600. type: integer
  19601. steptypeid:
  19602. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19603. type: integer
  19604. steptypename:
  19605. description: 步骤类型名称
  19606. type: string
  19607. type: object
  19608. models.WrPerformanceTemplateEx:
  19609. properties:
  19610. autoid:
  19611. description: AutoID 模板id
  19612. type: integer
  19613. createtime:
  19614. description: 创建时间
  19615. type: string
  19616. creatorid:
  19617. description: 创建人
  19618. type: integer
  19619. lstStep:
  19620. description: 步骤信息列表
  19621. items:
  19622. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19623. type: array
  19624. paymenttype:
  19625. description: 支付方式 - 1:冻结 2:扣款
  19626. type: integer
  19627. takemode:
  19628. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19629. type: integer
  19630. templatename:
  19631. description: 模板名称
  19632. type: string
  19633. templatetype:
  19634. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19635. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19636. type: integer
  19637. userid:
  19638. description: 所属用户
  19639. type: integer
  19640. type: object
  19641. models.WrPosition:
  19642. properties:
  19643. accountid:
  19644. description: 帐户ID
  19645. type: integer
  19646. buyexcuteqty:
  19647. description: 采购履约中数量
  19648. type: number
  19649. creditcurqty:
  19650. description: 授信当前数量(预售仓单:预售当前量)
  19651. type: number
  19652. creditenableqty:
  19653. description: '授信可用数量(预售仓单: 可用数量)'
  19654. type: number
  19655. creditfreezeqty:
  19656. description: '授信冻结数量(预售仓单: 当前数量)'
  19657. type: number
  19658. credittotalqty:
  19659. description: 授信总数量(预售仓单:预售总量)
  19660. type: number
  19661. credittradeqty:
  19662. description: 授信成交数量(预售仓单:成交总量)
  19663. type: number
  19664. deliverygoodscode:
  19665. description: 品种代码
  19666. type: string
  19667. deliverygoodsid:
  19668. description: 品种ID
  19669. type: integer
  19670. deliverygoodsname:
  19671. description: 品种名称
  19672. type: string
  19673. enalbeqty:
  19674. description: 可用数量
  19675. type: number
  19676. enumdicname:
  19677. description: 单位名称
  19678. type: string
  19679. freezeqty:
  19680. description: 总冻结数量
  19681. type: number
  19682. haswr:
  19683. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19684. type: integer
  19685. minivalue:
  19686. description: 现货商品最小变动值
  19687. type: integer
  19688. modifytime:
  19689. description: 修改时间(过户时间)
  19690. type: string
  19691. optioncompare:
  19692. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19693. type: string
  19694. pledgeqty:
  19695. description: 质押数量
  19696. type: number
  19697. querytype:
  19698. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19699. type: integer
  19700. sellexcuteqty:
  19701. description: 销售履约中数量
  19702. type: number
  19703. totalqty:
  19704. description: 总数量(库存数量)
  19705. type: number
  19706. warehouseid:
  19707. description: 仓库ID
  19708. type: integer
  19709. warehousename:
  19710. description: 仓库名称
  19711. type: string
  19712. wrfactortypeid:
  19713. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19714. type: string
  19715. wrfactortypename:
  19716. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19717. type: string
  19718. wrpositionid:
  19719. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19720. type: string
  19721. wrpositionno:
  19722. description: 仓单编号
  19723. type: string
  19724. wrstandardcode:
  19725. description: 现货商品代码
  19726. type: string
  19727. wrstandardid:
  19728. description: 现货商品ID
  19729. type: integer
  19730. wrstandardname:
  19731. description: 商品名称
  19732. type: string
  19733. wrtypename:
  19734. description: 商品
  19735. type: string
  19736. wruserid:
  19737. description: 持有人ID
  19738. type: integer
  19739. type: object
  19740. models.WrPreSaleInfo:
  19741. properties:
  19742. bannerpicurl:
  19743. description: Banner图
  19744. type: string
  19745. baseqty:
  19746. description: 中签基数
  19747. type: number
  19748. createtime:
  19749. description: 创建时间
  19750. type: string
  19751. deliverygoodsid:
  19752. description: 现货品种ID
  19753. type: integer
  19754. enddate:
  19755. description: 预售结束日期
  19756. type: string
  19757. enumdicname:
  19758. description: 单位名称
  19759. type: string
  19760. lotteryflag:
  19761. description: 摇号标识 - 0:未摇号 1:已摇号
  19762. type: integer
  19763. lotteryqty:
  19764. description: 摇号总量
  19765. type: number
  19766. luckyqty:
  19767. description: 已中签量
  19768. type: number
  19769. marketid:
  19770. description: 市场ID
  19771. type: integer
  19772. maxbuyqty:
  19773. description: 单人最大申购量
  19774. type: number
  19775. maxluckyqty:
  19776. description: 单人最大中签量
  19777. type: number
  19778. pictureurls:
  19779. description: 详情图片(逗号分隔)
  19780. type: string
  19781. placeqty:
  19782. description: 已配售量
  19783. type: number
  19784. presaleapplyid:
  19785. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19786. example: "0"
  19787. type: string
  19788. presaleqty:
  19789. description: 预售总量
  19790. type: number
  19791. presalestatus:
  19792. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19793. type: integer
  19794. sellaccountid:
  19795. description: 发行方资金账户ID
  19796. type: integer
  19797. selluserid:
  19798. description: 发行方用户ID
  19799. type: integer
  19800. sellwrtradeorderid:
  19801. description: 发行方卖委托单ID
  19802. type: string
  19803. startdate:
  19804. description: 预售开始日期
  19805. type: string
  19806. takestartdate:
  19807. description: 提货开始日期
  19808. type: string
  19809. thumurls:
  19810. description: 缩略图片(1:1)(逗号分隔)
  19811. type: string
  19812. tradedate:
  19813. description: 交易日
  19814. type: string
  19815. unitid:
  19816. description: 单位ID
  19817. type: integer
  19818. unitprice:
  19819. description: 商品单价
  19820. type: number
  19821. username:
  19822. description: 发行方用户名称
  19823. type: string
  19824. warehousecode:
  19825. description: 仓库代码(仓库简称)
  19826. type: string
  19827. warehouseid:
  19828. description: 仓库ID
  19829. type: integer
  19830. warehousename:
  19831. description: 仓库名称
  19832. type: string
  19833. wrfactortypeid:
  19834. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19835. example: "0"
  19836. type: string
  19837. wrstandardid:
  19838. description: 现货商品ID
  19839. type: integer
  19840. wrstandardname:
  19841. description: 现货商品名称
  19842. type: string
  19843. type: object
  19844. models.WrQuoteOrderMyq:
  19845. properties:
  19846. buyorsell:
  19847. description: 买卖 - 0:买 1:卖
  19848. type: integer
  19849. canbargain:
  19850. description: 是否可议价 - 0:不可 1:可
  19851. type: integer
  19852. canpart:
  19853. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19854. type: integer
  19855. delistminqty:
  19856. description: 期初均价
  19857. type: number
  19858. deliverygoodscode:
  19859. description: 品种代码
  19860. type: string
  19861. deliverygoodsid:
  19862. description: 品种ID
  19863. type: integer
  19864. deliverygoodsname:
  19865. description: 品种名称
  19866. type: string
  19867. deliverymonth:
  19868. description: 交收月
  19869. type: string
  19870. enumdicname:
  19871. description: 单位名称
  19872. type: string
  19873. fixedprice:
  19874. description: 买(卖)价
  19875. type: number
  19876. goodscode:
  19877. description: 商品合约代码
  19878. type: string
  19879. marginflag:
  19880. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19881. type: integer
  19882. marginvalue:
  19883. description: 保证金设置值
  19884. type: number
  19885. minivalue:
  19886. description: 现货商品最小变动值
  19887. type: integer
  19888. orderqty:
  19889. description: 买(卖)量(=委托量-成交量)
  19890. type: number
  19891. ordertime:
  19892. description: 委托时间
  19893. type: string
  19894. performancetemplateid:
  19895. description: 履约模板id
  19896. type: integer
  19897. pricemove:
  19898. description: 买(卖)升贴水- 基差
  19899. type: number
  19900. templatename:
  19901. description: 履约模板名称
  19902. type: string
  19903. userid:
  19904. description: 购买方(销售方)用户ID
  19905. type: integer
  19906. username:
  19907. description: 购买方(销售方)
  19908. type: string
  19909. validtime:
  19910. description: 有效期限
  19911. type: string
  19912. validtype:
  19913. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19914. type: integer
  19915. warehousename:
  19916. description: 仓库名称
  19917. type: string
  19918. wrfactortypeid:
  19919. description: 仓单要素id
  19920. type: string
  19921. wrstandardcode:
  19922. description: 现货商品代码
  19923. type: string
  19924. wrstandardid:
  19925. description: 现货商品ID
  19926. type: integer
  19927. wrstandardname:
  19928. description: 商品名称
  19929. type: string
  19930. wrtradeorderid:
  19931. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19932. type: string
  19933. wrtypename:
  19934. description: 商品
  19935. type: string
  19936. type: object
  19937. models.WrReckonSpotGoodsTradeSum:
  19938. properties:
  19939. begindate:
  19940. description: 开始日期(结果含开始日期) yyyymmdd
  19941. type: string
  19942. enddate:
  19943. description: 结束日期(结果含结束日期) yyyymmdd
  19944. type: string
  19945. istoday:
  19946. description: 是否当日
  19947. type: boolean
  19948. marketid:
  19949. description: 市场ID
  19950. type: integer
  19951. price:
  19952. description: 价格 = 日成交金额 / 日成交数量
  19953. type: string
  19954. reckondate:
  19955. description: 日期 格式 yyyymmdd
  19956. type: string
  19957. tradeamount:
  19958. description: 期初均价
  19959. type: number
  19960. tradeqty:
  19961. description: 期初均价
  19962. type: number
  19963. wrstandardid:
  19964. description: 现货商品ID
  19965. type: integer
  19966. type: object
  19967. models.WrScfContract:
  19968. properties:
  19969. borroweruserid:
  19970. description: 借款用户ID
  19971. type: integer
  19972. buybackwrpositionqty:
  19973. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19974. type: number
  19975. closeinterest:
  19976. description: 已结利息 -> 已结费用
  19977. type: number
  19978. currisklevel:
  19979. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19980. type: integer
  19981. deadline:
  19982. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19983. type: string
  19984. deliverygoodscode:
  19985. description: 品种代码
  19986. type: string
  19987. deliverygoodsid:
  19988. description: 品种ID
  19989. type: integer
  19990. deliverygoodsname:
  19991. description: 品种名称
  19992. type: string
  19993. enumdicname:
  19994. description: 单位名称
  19995. type: string
  19996. financingdays:
  19997. description: 天数(天)
  19998. type: integer
  19999. initmargin:
  20000. description: 保证金 - [仓单回购]
  20001. type: number
  20002. interestamount:
  20003. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20004. type: number
  20005. interestdebt:
  20006. description: 利息欠款(记录负数) -> 费用欠款
  20007. type: number
  20008. interestminlen:
  20009. description: 最小起息天数
  20010. type: integer
  20011. interestrate:
  20012. description: 利率
  20013. type: number
  20014. interestratemode:
  20015. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20016. type: integer
  20017. interestsettlemode:
  20018. description: 结息方式 - 1:按日结息 3:按月结息
  20019. type: integer
  20020. interestsettlevalue:
  20021. description: 结息方式值
  20022. type: integer
  20023. isautoloan:
  20024. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20025. type: integer
  20026. lastcloseinterestday:
  20027. description: 最近结息日(yyyyMMdd)
  20028. type: string
  20029. lenderamount:
  20030. description: 贷款金额 -> 借款金额
  20031. type: number
  20032. lenderuserid:
  20033. description: 贷款方用户ID -> 融出方用户ID
  20034. type: integer
  20035. lenderusername:
  20036. description: 融出方
  20037. type: string
  20038. marginratio:
  20039. description: 保证金比率质押率 - [仓单质押]
  20040. type: number
  20041. marketid:
  20042. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20043. type: integer
  20044. minivalue:
  20045. description: 现货商品最小变动值
  20046. type: integer
  20047. optioncompare:
  20048. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20049. type: string
  20050. pricemove:
  20051. description: 估值升贴水值
  20052. type: number
  20053. productdetailid:
  20054. description: 产品组合ID
  20055. type: integer
  20056. productid:
  20057. description: 金融产品ID
  20058. type: integer
  20059. productname:
  20060. description: 产品名称
  20061. type: string
  20062. remainamount:
  20063. description: 合同剩余金额 -> 剩余金额
  20064. type: number
  20065. remainwrpositionqty:
  20066. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20067. type: number
  20068. remark:
  20069. description: 备注
  20070. type: string
  20071. scfcontractid:
  20072. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20073. type: string
  20074. scfcontractstatus:
  20075. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20076. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20077. type: integer
  20078. scfcontracttype:
  20079. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20080. type: integer
  20081. startinterestday:
  20082. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20083. type: string
  20084. totalinterest:
  20085. description: 已计利息 -> 已计费用
  20086. type: number
  20087. unpaidinterest:
  20088. description: 期初均价
  20089. type: number
  20090. updatetime:
  20091. description: 更新时间
  20092. type: string
  20093. warehouseid:
  20094. description: 仓库ID
  20095. type: integer
  20096. warehousename:
  20097. description: 仓库名称
  20098. type: string
  20099. wrfactortypeid:
  20100. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20101. type: string
  20102. wrfactortypename:
  20103. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20104. type: string
  20105. wrqty:
  20106. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20107. type: number
  20108. wrstandardcode:
  20109. description: 现货商品代码
  20110. type: string
  20111. wrstandardid:
  20112. description: 现货商品ID
  20113. type: integer
  20114. wrstandardname:
  20115. description: 商品名称
  20116. type: string
  20117. wrtypename:
  20118. description: 商品
  20119. type: string
  20120. type: object
  20121. models.WrScfContractInterest:
  20122. properties:
  20123. closeinterest:
  20124. description: 已结利息
  20125. type: number
  20126. closeintereststatus:
  20127. description: 结息状态 - 1:未结 2:已结
  20128. type: integer
  20129. closetime:
  20130. description: 结息时间
  20131. type: string
  20132. closetradedate:
  20133. description: 结息交易日
  20134. type: string
  20135. creatorid:
  20136. description: 操作人ID
  20137. type: integer
  20138. dayrate:
  20139. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20140. type: number
  20141. interest:
  20142. description: 利息
  20143. type: number
  20144. interestamount:
  20145. description: 计息金额
  20146. type: number
  20147. interestday:
  20148. description: 计息日(yyyyMMdd)
  20149. type: string
  20150. scfcontractid:
  20151. description: SCF合同ID
  20152. type: string
  20153. scfcontractinterestid:
  20154. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20155. type: integer
  20156. updatetime:
  20157. description: 更新时间
  20158. type: string
  20159. type: object
  20160. models.WrSearchUser:
  20161. properties:
  20162. userid:
  20163. description: 用户ID
  20164. type: integer
  20165. username:
  20166. description: 用户名称(已脱敏)
  20167. type: string
  20168. username2:
  20169. description: 用户名称(未脱敏)
  20170. type: string
  20171. usertype:
  20172. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20173. type: integer
  20174. required:
  20175. - username
  20176. type: object
  20177. models.WrSiteColumnDetail:
  20178. properties:
  20179. brief:
  20180. description: 简介
  20181. type: string
  20182. context:
  20183. description: 内容
  20184. type: string
  20185. coverimage:
  20186. description: 封面图片
  20187. type: string
  20188. creaedate:
  20189. description: 创建时间
  20190. type: string
  20191. id:
  20192. description: ID(SEQ_SITE_COLUMNDETAIL)
  20193. type: integer
  20194. istop:
  20195. description: 是否置顶 - 0:不置 1:置顶
  20196. type: integer
  20197. publishdate:
  20198. description: 发布日期
  20199. type: string
  20200. title:
  20201. description: 标题
  20202. type: string
  20203. updatedate:
  20204. description: 修改时间
  20205. type: string
  20206. type: object
  20207. models.WrSpecialMatchOrder:
  20208. properties:
  20209. amount:
  20210. description: 金额 = 数量 * 价格
  20211. type: number
  20212. buyorsell:
  20213. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20214. type: integer
  20215. cancelqty:
  20216. description: 撤销数量
  20217. type: number
  20218. deliverygoodscode:
  20219. description: 品种代码
  20220. type: string
  20221. deliverygoodsid:
  20222. description: 品种ID
  20223. type: integer
  20224. deliverygoodsname:
  20225. description: 品种名称
  20226. type: string
  20227. enumdicname:
  20228. description: 单位名称
  20229. type: string
  20230. fixedprice:
  20231. description: 固定价格(价格)
  20232. type: number
  20233. haswr:
  20234. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20235. type: integer
  20236. isspecified:
  20237. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20238. type: integer
  20239. marketid:
  20240. description: 市场ID
  20241. type: integer
  20242. matchuserid:
  20243. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20244. type: integer
  20245. matchusername:
  20246. description: 指定方
  20247. type: string
  20248. minivalue:
  20249. description: 现货商品最小变动值
  20250. type: integer
  20251. optioncompare:
  20252. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20253. type: string
  20254. orderqty:
  20255. description: 委托数量
  20256. type: number
  20257. ordertime:
  20258. description: 委托时间
  20259. type: string
  20260. pricemove:
  20261. description: 升贴水(浮动价时填写) - [挂牌]
  20262. type: number
  20263. tradedate:
  20264. description: 交易日(yyyyMMdd)
  20265. type: string
  20266. tradeprice:
  20267. description: 成交价格
  20268. type: number
  20269. tradeqty:
  20270. description: 成交数量
  20271. type: number
  20272. userid:
  20273. description: 用户ID
  20274. type: integer
  20275. username:
  20276. description: 发起方
  20277. type: string
  20278. warehouseid:
  20279. description: 仓库ID
  20280. type: integer
  20281. warehousename:
  20282. description: 仓库名称
  20283. type: string
  20284. wrfactortypeid:
  20285. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20286. type: string
  20287. wrfactortypename:
  20288. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20289. type: string
  20290. wrpricetype:
  20291. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20292. type: integer
  20293. wrstandardcode:
  20294. description: 现货商品代码
  20295. type: string
  20296. wrstandardid:
  20297. description: 现货商品ID
  20298. type: integer
  20299. wrstandardname:
  20300. description: 商品名称
  20301. type: string
  20302. wrtradeorderid:
  20303. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20304. type: string
  20305. wrtradeorderstatus:
  20306. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20307. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20308. type: integer
  20309. wrtradetype:
  20310. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20311. type: integer
  20312. wrtypename:
  20313. description: 商品
  20314. type: string
  20315. type: object
  20316. models.WrSpotGroupTradeSum:
  20317. properties:
  20318. deliverygoodscode:
  20319. description: 现货品种代码
  20320. type: string
  20321. deliverygoodsid:
  20322. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20323. type: integer
  20324. deliverygoodsname:
  20325. description: 现货品种名称
  20326. type: string
  20327. lastavgprice:
  20328. description: 上上个交易日价格(前2天价格)
  20329. type: string
  20330. lastreckondate:
  20331. description: 上上个交易日(前2天交易日)
  20332. type: string
  20333. reckondate:
  20334. description: 上个交易日(前1天交易日)
  20335. type: string
  20336. todayavgprice:
  20337. description: 上个交易日价格(前1天价格)
  20338. type: string
  20339. updown:
  20340. description: 涨跌
  20341. type: string
  20342. updownratio:
  20343. description: 涨幅(已格式化, 直接显示即可)
  20344. type: string
  20345. type: object
  20346. models.WrSpotGroupTradeSumDetail:
  20347. properties:
  20348. deliverygoodsid:
  20349. description: 现货商品id
  20350. type: integer
  20351. price:
  20352. description: 价格
  20353. type: number
  20354. reckondate:
  20355. description: 日期(yyymmdd, 如:20211031)
  20356. type: string
  20357. type: object
  20358. models.WrSpotGroupTradeSumEx:
  20359. properties:
  20360. lst:
  20361. description: 指数列表
  20362. items:
  20363. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20364. type: array
  20365. prereckondate:
  20366. description: 上上个交易日(yyymmdd)
  20367. type: string
  20368. reckondate:
  20369. description: 上个交易日(yyyymmdd)
  20370. type: string
  20371. type: object
  20372. models.WrStandardFactoryItem:
  20373. properties:
  20374. dgfactoryitemid:
  20375. description: 选择项id
  20376. type: integer
  20377. dgfactoryitemvalue:
  20378. description: 要素项值
  20379. type: string
  20380. warehouseid:
  20381. description: 仓库id
  20382. type: integer
  20383. type: object
  20384. models.WrStandardFactoryItemEx:
  20385. properties:
  20386. dgfactoryitemtypeid:
  20387. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20388. type: integer
  20389. itemlst:
  20390. description: 要素项列表
  20391. items:
  20392. $ref: '#/definitions/models.WrStandardFactoryItem'
  20393. type: array
  20394. itemtypename:
  20395. description: 要素项类型名称
  20396. type: string
  20397. wrstandardid:
  20398. description: 品类
  20399. type: integer
  20400. type: object
  20401. models.WrTradeDetail:
  20402. properties:
  20403. accountid:
  20404. description: 资金账号
  20405. type: integer
  20406. bannerpicurl:
  20407. description: Banner图
  20408. type: string
  20409. begindate:
  20410. description: 开始交易日(yyyymmdd)
  20411. type: string
  20412. buyorsell:
  20413. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20414. type: integer
  20415. chargevalue:
  20416. description: 手续费
  20417. type: number
  20418. deliverygoodscode:
  20419. description: 品种代码
  20420. type: string
  20421. deliverygoodsid:
  20422. description: 品种ID
  20423. type: integer
  20424. deliverygoodsname:
  20425. description: 品种名称
  20426. type: string
  20427. deliverymonth:
  20428. description: 交收月
  20429. type: string
  20430. enddate:
  20431. description: 结束交易日(yyyymmdd)
  20432. type: string
  20433. enumdicname:
  20434. description: 单位名称
  20435. type: string
  20436. haswr:
  20437. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20438. type: integer
  20439. marketid:
  20440. description: 市场ID
  20441. type: integer
  20442. matchaccountid:
  20443. description: 对手账号
  20444. type: integer
  20445. matchusername:
  20446. description: 对手方
  20447. type: string
  20448. minivalue:
  20449. description: 现货商品最小变动值
  20450. type: integer
  20451. optioncompare:
  20452. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20453. type: string
  20454. thumurls:
  20455. description: 缩略图
  20456. type: string
  20457. tradedate:
  20458. description: 交易日(yyyyMMdd)
  20459. type: string
  20460. tradeprice:
  20461. description: 成交价格
  20462. type: number
  20463. tradeqty:
  20464. description: 成交数量
  20465. type: number
  20466. tradetime:
  20467. description: 成交时间
  20468. type: string
  20469. userid:
  20470. description: 用户ID
  20471. type: integer
  20472. warehouseid:
  20473. description: 仓库ID
  20474. type: integer
  20475. warehousename:
  20476. description: 仓库名称
  20477. type: string
  20478. wrfactortypeid:
  20479. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20480. type: string
  20481. wrfactortypename:
  20482. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20483. type: string
  20484. wrstandardcode:
  20485. description: 现货商品代码
  20486. type: string
  20487. wrstandardid:
  20488. description: 现货商品ID
  20489. type: integer
  20490. wrstandardname:
  20491. description: 商品名称
  20492. type: string
  20493. wrtradedetailid:
  20494. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20495. type: string
  20496. wrtradetype:
  20497. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20498. type: integer
  20499. wrtypename:
  20500. description: 商品
  20501. type: string
  20502. type: object
  20503. models.WrTradeOrderDetail:
  20504. properties:
  20505. buyorsell:
  20506. description: 买卖方向 0-买 1-卖
  20507. type: integer
  20508. goodsid:
  20509. description: 商品id
  20510. type: integer
  20511. orderid:
  20512. description: 委托单号
  20513. type: string
  20514. orderprice:
  20515. description: 期初均价
  20516. type: number
  20517. orderqty:
  20518. description: 委托数量
  20519. type: integer
  20520. userid:
  20521. description: 用户id
  20522. type: integer
  20523. username:
  20524. description: 用户名称(已脱敏)
  20525. type: string
  20526. type: object
  20527. models.WrTypeItem:
  20528. properties:
  20529. name:
  20530. description: 名称
  20531. type: string
  20532. value:
  20533. description: 值
  20534. type: string
  20535. type: object
  20536. models.WrUserFriend:
  20537. properties:
  20538. friendname:
  20539. description: 朋友名称(已脱敏)
  20540. type: string
  20541. frienduserid:
  20542. description: 朋友id
  20543. type: integer
  20544. isfriend:
  20545. description: 是否好友 0-不是 1-是
  20546. type: integer
  20547. userid:
  20548. description: 用户id
  20549. type: integer
  20550. type: object
  20551. models.WrUserReceiptInfo:
  20552. properties:
  20553. address:
  20554. description: 地址[发票类型:企业]
  20555. type: string
  20556. autoid:
  20557. description: AutoID
  20558. type: integer
  20559. contactinfo:
  20560. description: 联系方式
  20561. type: string
  20562. idnum:
  20563. description: 身份证号码[发票类型:个人]
  20564. type: string
  20565. isdefault:
  20566. description: 是否默认地址 - 0:否 1:是
  20567. type: integer
  20568. receiptaccount:
  20569. description: 发票帐号[发票类型:企业]
  20570. type: string
  20571. receiptbank:
  20572. description: 发票开户行[发票类型:企业]
  20573. type: string
  20574. receipttype:
  20575. description: 发票类型 - 1:个人 2:企业
  20576. type: integer
  20577. taxpayerid:
  20578. description: 纳税人识别号
  20579. type: string
  20580. userid:
  20581. description: 用户ID
  20582. type: integer
  20583. username:
  20584. description: 户名(个人姓名或企业名称)
  20585. type: string
  20586. type: object
  20587. models.Wrtradetradequote:
  20588. properties:
  20589. buyaccountid:
  20590. description: 买方账号ID
  20591. type: integer
  20592. buychargevalue:
  20593. description: 买方手续费
  20594. type: number
  20595. buyuserid:
  20596. description: 买方用户ID
  20597. type: integer
  20598. deliverygoodsid:
  20599. description: 现货品种ID
  20600. type: integer
  20601. exchangerate:
  20602. description: 汇率
  20603. type: number
  20604. marketid:
  20605. description: 市场ID
  20606. type: integer
  20607. oritradeamount:
  20608. description: 成交金额[商品币种]
  20609. type: number
  20610. performanceplanid:
  20611. description: 履约计划ID/合同ID
  20612. type: integer
  20613. sellaccountid:
  20614. description: 卖方账号ID
  20615. type: integer
  20616. sellchargevalue:
  20617. description: 卖方手续费
  20618. type: number
  20619. selluserid:
  20620. description: 卖方用户ID
  20621. type: integer
  20622. tradeamount:
  20623. description: 成交金额
  20624. type: number
  20625. tradedate:
  20626. description: 交易日(yyyyMMdd)
  20627. type: string
  20628. tradeprice:
  20629. description: 成交价格
  20630. type: number
  20631. tradeqty:
  20632. description: 成交数量
  20633. type: integer
  20634. tradetime:
  20635. description: 成交时间
  20636. type: string
  20637. wrfactortypeid:
  20638. description: 仓单要素类型ID
  20639. type: integer
  20640. wrstandardid:
  20641. description: 现货商品ID
  20642. type: integer
  20643. wrtradedetailid:
  20644. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20645. type: integer
  20646. type: object
  20647. models.XHBRAND:
  20648. properties:
  20649. brandid:
  20650. description: 品牌id
  20651. type: integer
  20652. brandname:
  20653. description: 品牌名称
  20654. type: string
  20655. isvalid:
  20656. description: 是否有效 0-无效 1-有效
  20657. type: integer
  20658. type: object
  20659. models.XHDeliveryGoods:
  20660. properties:
  20661. areauserid:
  20662. description: 所属机构
  20663. type: integer
  20664. bdlst:
  20665. description: 品牌列表
  20666. items:
  20667. $ref: '#/definitions/models.XHBRAND'
  20668. type: array
  20669. deliverygoodscode:
  20670. description: 现货品种代码
  20671. type: string
  20672. deliverygoodsid:
  20673. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20674. type: integer
  20675. deliverygoodsname:
  20676. description: 现货品种名称
  20677. type: string
  20678. dgstatus:
  20679. description: 品种状态 - 作废 - 0:未激活 1:正常
  20680. type: integer
  20681. filterSubEmpty:
  20682. description: 过滤下级为空的
  20683. type: integer
  20684. isvalid:
  20685. description: 是否有效 - 0:无效 1:有效
  20686. type: integer
  20687. remark:
  20688. description: 备注
  20689. type: string
  20690. unitid:
  20691. description: 单位id(目前看,数据库中是空值)
  20692. type: integer
  20693. wdlst:
  20694. description: 品类(现货商品)列表
  20695. items:
  20696. $ref: '#/definitions/models.XHWrstandard'
  20697. type: array
  20698. type: object
  20699. models.XHMiddleGoods:
  20700. properties:
  20701. GPLST:
  20702. description: 期货品种列表
  20703. items:
  20704. $ref: '#/definitions/models.TBGoodsGroup'
  20705. type: array
  20706. convertratio:
  20707. description: 拆算系数
  20708. type: number
  20709. costratio:
  20710. description: 成本权重
  20711. type: number
  20712. deliverygoodsid:
  20713. description: 现货商品id
  20714. type: integer
  20715. enumdicname:
  20716. description: 单位名称
  20717. type: string
  20718. middlegoodscode:
  20719. description: 套保品种代码
  20720. type: string
  20721. middlegoodsid:
  20722. description: 套保品种id
  20723. type: integer
  20724. middlegoodsname:
  20725. description: 套保品种名称
  20726. type: string
  20727. unitid:
  20728. description: 单位id
  20729. type: integer
  20730. type: object
  20731. models.XHWrstandard:
  20732. properties:
  20733. bannerpicurl:
  20734. description: banner图
  20735. type: string
  20736. deliverygoodsid:
  20737. description: 品种ID
  20738. type: integer
  20739. enumdicname:
  20740. description: 单位名称
  20741. type: string
  20742. mglst:
  20743. description: 套保品列表
  20744. items:
  20745. $ref: '#/definitions/models.XHMiddleGoods'
  20746. type: array
  20747. pictureurls:
  20748. description: 详情图片(逗号分隔)
  20749. type: string
  20750. thumurls:
  20751. description: 缩略图片(1:1)(逗号分隔)
  20752. type: string
  20753. unitid:
  20754. description: 单位id
  20755. type: integer
  20756. vatrate:
  20757. description: 增值税率
  20758. type: number
  20759. wrstandardcode:
  20760. description: 现货商品代码
  20761. type: string
  20762. wrstandardid:
  20763. description: 现货商品ID(SEQ_WRSTANDARD)
  20764. type: integer
  20765. wrstandardname:
  20766. description: 现货商品名称
  20767. type: string
  20768. type: object
  20769. models.XhcpSellBackApplyEx:
  20770. properties:
  20771. applyremark:
  20772. description: 申请备注
  20773. type: string
  20774. expirytype:
  20775. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20776. type: integer
  20777. goodsspec:
  20778. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20779. type: integer
  20780. holeflag:
  20781. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20782. type: integer
  20783. isunopened:
  20784. description: 是否原封 - 1:否 2:是
  20785. type: integer
  20786. mpflag:
  20787. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20788. type: integer
  20789. openflag:
  20790. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20791. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20792. type: integer
  20793. phonenum:
  20794. description: 联系电话
  20795. type: string
  20796. userid:
  20797. description: 所属用户ID
  20798. type: integer
  20799. zpflag:
  20800. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20801. type: integer
  20802. required:
  20803. - userid
  20804. type: object
  20805. models.Xhcpsellbackapply:
  20806. properties:
  20807. applyid:
  20808. description: 申请人
  20809. type: integer
  20810. applyremark:
  20811. description: 申请备注
  20812. type: string
  20813. applysrc:
  20814. description: 申请来源 - 1:管理端 2:终端
  20815. type: integer
  20816. applystatus:
  20817. description: 申请状态 - 1:待确认 2:已处理
  20818. type: integer
  20819. applytime:
  20820. description: 申请时间
  20821. type: string
  20822. auditremark:
  20823. description: 审核备注
  20824. type: string
  20825. auditsrc:
  20826. description: 审核来源 - 1:管理端 2:终端
  20827. type: integer
  20828. expirytype:
  20829. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20830. type: integer
  20831. goodsspec:
  20832. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20833. type: integer
  20834. holeflag:
  20835. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20836. type: integer
  20837. isunopened:
  20838. description: 是否原封 - 1:否 2:是
  20839. type: integer
  20840. mpflag:
  20841. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20842. type: integer
  20843. openflag:
  20844. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20845. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20846. type: integer
  20847. phonenum:
  20848. description: 联系电话
  20849. type: string
  20850. sellbackapplyid:
  20851. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20852. type: string
  20853. userid:
  20854. description: 所属用户ID
  20855. type: integer
  20856. zpflag:
  20857. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20858. type: integer
  20859. required:
  20860. - userid
  20861. type: object
  20862. order.QueryHisTradeDetailRsp:
  20863. properties:
  20864. accountid:
  20865. description: 账户ID[报价币种]
  20866. type: integer
  20867. advanceratio:
  20868. description: 首付比率
  20869. type: number
  20870. buildtype:
  20871. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20872. type: integer
  20873. buyorsell:
  20874. description: 方向 - 0:买 1:卖
  20875. type: integer
  20876. charge:
  20877. description: 手续费
  20878. type: number
  20879. closecharge:
  20880. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20881. type: number
  20882. closeexchagechargevalue:
  20883. description: 平仓交易所手续费设置值
  20884. type: number
  20885. closefeealgorithm:
  20886. description: 平仓手续费收取方式 1:比率 2:固定
  20887. type: integer
  20888. closememberchargevalue:
  20889. description: 平仓会员手续费设置值
  20890. type: number
  20891. closepl:
  20892. description: 平仓盈亏
  20893. type: number
  20894. closepl2:
  20895. description: 平仓盈亏[逐笔]
  20896. type: number
  20897. closeqty:
  20898. description: 平仓数量(先建后平操作 需要记录)
  20899. type: number
  20900. creditamount:
  20901. description: 授信金额
  20902. type: number
  20903. decimalplace:
  20904. description: 商品报价小数位
  20905. type: integer
  20906. enumdicname:
  20907. description: 单位名称
  20908. type: string
  20909. gcaccountid:
  20910. description: 账户ID[合约币种]
  20911. type: integer
  20912. goodscode:
  20913. description: 商品代码
  20914. type: string
  20915. goodsid:
  20916. description: 商品ID
  20917. type: integer
  20918. goodsname:
  20919. description: 商品名称
  20920. type: string
  20921. goodunitid:
  20922. description: 商品单位id
  20923. type: integer
  20924. histradedate:
  20925. description: 历史交易日
  20926. type: string
  20927. intclosepl:
  20928. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20929. type: integer
  20930. isconfirmexercise:
  20931. description: 是否确认行权- 0:否 1:是
  20932. type: integer
  20933. ismain:
  20934. description: 是否主单 - 0:不是 1:是
  20935. type: integer
  20936. ispreexercise:
  20937. description: 是否预申报- 0:否 1:是
  20938. type: integer
  20939. isreckoned:
  20940. description: 是否结算 - 0:未结算 1:已结算
  20941. type: integer
  20942. isvaliddata:
  20943. description: 是否有效 - 0:无效 1:有效
  20944. type: integer
  20945. listingselecttype:
  20946. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20947. type: integer
  20948. marketid:
  20949. description: 市场ID
  20950. type: integer
  20951. marketname:
  20952. description: 市场名称
  20953. type: string
  20954. matchaccountid:
  20955. description: 对手账号id
  20956. type: integer
  20957. memberuserid:
  20958. description: 会员id 个人投资者 需要填写
  20959. type: integer
  20960. opencharge:
  20961. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20962. type: number
  20963. openexchagechargevalue:
  20964. description: 建仓交易所手续费设置值
  20965. type: number
  20966. openfeealgorithm:
  20967. description: 建仓手续费收取方式 1:比率 2:固定
  20968. type: integer
  20969. openmemberchargevalue:
  20970. description: 建仓会员手续费设置值
  20971. type: number
  20972. openqty:
  20973. description: 开仓数量(先建后平操作 需要记录)
  20974. type: number
  20975. optiontype:
  20976. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20977. type: integer
  20978. orderid:
  20979. description: 委托单号
  20980. type: string
  20981. payamount:
  20982. description: 支付金额(付款金额)
  20983. type: number
  20984. performanceplanid:
  20985. description: 履约计划ID[期权]
  20986. type: integer
  20987. performancestatus:
  20988. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20989. type: integer
  20990. preexerciseprice:
  20991. description: 预申报价格
  20992. type: number
  20993. premium:
  20994. description: 权利金 - [持仓单的权利金]
  20995. type: number
  20996. qtydecimalplace:
  20997. description: 商品报价小数位
  20998. type: integer
  20999. recvamount:
  21000. description: 到账金额 = 成交金额 - 手续费
  21001. type: number
  21002. relatedouttradeid:
  21003. description: 关联外部成交单ID
  21004. type: integer
  21005. status:
  21006. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21007. type: integer
  21008. totalamount:
  21009. description: 订单总额 = 成交金额 + 手续费
  21010. type: number
  21011. tradeamount:
  21012. description: 成交金额[账户币种,用于所有权]
  21013. type: number
  21014. tradedate:
  21015. description: 交易日(yyyyMMdd)
  21016. type: string
  21017. tradeid:
  21018. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21019. type: string
  21020. trademode:
  21021. description: 交易模式
  21022. type: integer
  21023. tradeprice:
  21024. description: 成交价格
  21025. type: number
  21026. tradeproperty:
  21027. description: 交易属性
  21028. type: integer
  21029. tradeqty:
  21030. description: 成交数量
  21031. type: number
  21032. tradetime:
  21033. description: 成交时间
  21034. type: string
  21035. tradetype:
  21036. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21037. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21038. type: integer
  21039. required:
  21040. - accountid
  21041. - buyorsell
  21042. - goodsid
  21043. - histradedate
  21044. - marketid
  21045. - memberuserid
  21046. - orderid
  21047. - tradeamount
  21048. - tradedate
  21049. - tradeid
  21050. - tradeprice
  21051. - tradeqty
  21052. - tradetime
  21053. type: object
  21054. order.QueryHisTradeOrderDetailRsp:
  21055. properties:
  21056. accountid:
  21057. description: 账户ID[报价币种]
  21058. type: integer
  21059. buildtype:
  21060. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21061. type: integer
  21062. buyorsell:
  21063. description: 买卖 - 0:买 1:卖
  21064. type: integer
  21065. cancelorderid:
  21066. description: 撤单单号(撤单时填写)
  21067. type: string
  21068. cancelqty:
  21069. description: 撤单数量
  21070. type: number
  21071. clientordertime:
  21072. description: 客户端委托时间
  21073. type: string
  21074. clientticket:
  21075. description: 客户端流水号
  21076. type: string
  21077. clienttype:
  21078. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21079. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21080. type: integer
  21081. closeexchagechargevalue:
  21082. description: 平仓交易所手续费设置值
  21083. type: number
  21084. closefeealgorithm:
  21085. description: 平仓手续费收取方式 1:比率 2:固定
  21086. type: integer
  21087. closefreezecharge:
  21088. description: 平仓冻结手续费(先建后平操作,需要记录)
  21089. type: number
  21090. closememberchargevalue:
  21091. description: 平仓会员手续费设置值
  21092. type: number
  21093. closeqty:
  21094. description: 平仓数量(先建后平操作 需要记录)
  21095. type: number
  21096. closetradeqty:
  21097. description: 平仓成交数量(先建后平操作,需要记录)
  21098. type: number
  21099. closeunfreezecharge:
  21100. description: 平仓解冻手续费(先建后平操作,需要记录)
  21101. type: number
  21102. decimalplace:
  21103. description: 商品报价小数位
  21104. type: integer
  21105. delistingtype:
  21106. description: 摘牌类型 - 1:价格最优 2:点选成交
  21107. type: integer
  21108. enumdicname:
  21109. description: 单位名称
  21110. type: string
  21111. freezecharge:
  21112. description: 冻结手续费
  21113. type: number
  21114. freezemargin:
  21115. description: 冻结保证金(冻结交易金额)
  21116. type: number
  21117. gcaccountid:
  21118. description: 账户ID[合约币种]
  21119. type: integer
  21120. goodscode:
  21121. description: 商品代码
  21122. type: string
  21123. goodsid:
  21124. description: 商品ID
  21125. type: integer
  21126. goodsname:
  21127. description: 商品名称
  21128. type: string
  21129. goodunitid:
  21130. description: 商品单位id
  21131. type: integer
  21132. histradedate:
  21133. description: 历史交易日
  21134. type: string
  21135. isconfirmexercise:
  21136. description: 是否确认行权- 0:否 1:是
  21137. type: integer
  21138. ispreexercise:
  21139. description: 是否预申报- 0:否 1:是
  21140. type: integer
  21141. isvaliddata:
  21142. description: 是否有效 - 0:无效 1:有效
  21143. type: integer
  21144. listingselecttype:
  21145. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21146. type: integer
  21147. marginalgorithm:
  21148. description: 保证金收取方式 1:比率 2:固定
  21149. type: integer
  21150. marginvalue:
  21151. description: 即市保证金设置值
  21152. type: number
  21153. marketid:
  21154. description: 市场ID
  21155. type: integer
  21156. marketmaxsub:
  21157. description: 市价最大偏移范围
  21158. type: number
  21159. marketname:
  21160. description: 市场名称
  21161. type: string
  21162. memberuserid:
  21163. description: 所属会员UserID
  21164. type: integer
  21165. openexchagechargevalue:
  21166. description: 建仓交易所手续费设置值
  21167. type: number
  21168. openfeealgorithm:
  21169. description: 建仓手续费收取方式 1:比率 2:固定
  21170. type: integer
  21171. openfreezecharge:
  21172. description: 开仓冻结手续费(先建后平操作,需要记录)
  21173. type: number
  21174. openmemberchargevalue:
  21175. description: 建仓会员手续费设置值
  21176. type: number
  21177. openqty:
  21178. description: 开仓数量(先建后平操作,需要记录)
  21179. type: number
  21180. opentradeqty:
  21181. description: 开仓成交数量(先建后平操作,需要记录)
  21182. type: number
  21183. openunfreezecharge:
  21184. description: 开仓解冻手续费(先建后平操作,需要记录)
  21185. type: number
  21186. operatetype:
  21187. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21188. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21189. 15:管理端协议转让
  21190. type: integer
  21191. operatorid:
  21192. description: 登录账号(LoginID)
  21193. type: integer
  21194. optiontype:
  21195. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21196. type: integer
  21197. orderid:
  21198. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21199. type: string
  21200. orderprice:
  21201. description: 委托价格
  21202. type: number
  21203. orderqty:
  21204. description: 委托数量
  21205. type: number
  21206. ordersrc:
  21207. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21208. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21209. type: integer
  21210. orderstatus:
  21211. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21212. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21213. 16:成交失败违约(荷兰式竞拍专用)
  21214. type: integer
  21215. ordertime:
  21216. description: 委托时间
  21217. type: string
  21218. preexerciseprice:
  21219. description: 预申报价格
  21220. type: number
  21221. premium:
  21222. description: 权利金
  21223. type: number
  21224. preorderid:
  21225. description: 关联预埋单号(止盈止损单时填写)
  21226. type: string
  21227. pricemode:
  21228. description: '取价方式 - 1:市价 2: 限价'
  21229. type: integer
  21230. qtydecimalplace:
  21231. description: 成交量小数位
  21232. type: integer
  21233. quoteid:
  21234. description: 报价单ID
  21235. type: integer
  21236. relatedid:
  21237. description: 关联单号(交割单)
  21238. type: string
  21239. retcode:
  21240. description: 错误代码
  21241. type: integer
  21242. sessionid:
  21243. description: 会话ID
  21244. type: integer
  21245. tradedate:
  21246. description: 交易日(yyyyMMdd)
  21247. type: string
  21248. trademode:
  21249. description: 交易模式
  21250. type: integer
  21251. tradeproperty:
  21252. description: 交易属性
  21253. type: integer
  21254. tradeqty:
  21255. description: 成交数量
  21256. type: number
  21257. unfreezecharge:
  21258. description: 解冻手续费
  21259. type: number
  21260. unfreezemargin:
  21261. description: 解冻保证金
  21262. type: number
  21263. updatetime:
  21264. description: 更新时间
  21265. type: string
  21266. uuid:
  21267. description: 发起端唯一id
  21268. type: string
  21269. validtime:
  21270. description: 有效期限
  21271. type: string
  21272. validtype:
  21273. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21274. type: integer
  21275. volumetype:
  21276. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21277. type: integer
  21278. required:
  21279. - accountid
  21280. - buildtype
  21281. - buyorsell
  21282. - goodsid
  21283. - histradedate
  21284. - marketid
  21285. - memberuserid
  21286. - operatetype
  21287. - orderid
  21288. - orderqty
  21289. - ordertime
  21290. - pricemode
  21291. - tradedate
  21292. - validtype
  21293. type: object
  21294. order.QueryTradeDetailRsp:
  21295. properties:
  21296. accountid:
  21297. description: 账户ID[报价币种]
  21298. type: integer
  21299. advanceratio:
  21300. description: 首付比率
  21301. type: number
  21302. buildtype:
  21303. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21304. type: integer
  21305. buyorsell:
  21306. description: 方向 - 0:买 1:卖
  21307. type: integer
  21308. charge:
  21309. description: 手续费
  21310. type: number
  21311. closecharge:
  21312. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21313. type: number
  21314. closeexchagechargevalue:
  21315. description: 平仓交易所手续费设置值
  21316. type: number
  21317. closefeealgorithm:
  21318. description: 平仓手续费收取方式 1:比率 2:固定
  21319. type: integer
  21320. closememberchargevalue:
  21321. description: 平仓会员手续费设置值
  21322. type: number
  21323. closepl:
  21324. description: 平仓盈亏
  21325. type: number
  21326. closepl2:
  21327. description: 平仓盈亏[逐笔]
  21328. type: number
  21329. closeqty:
  21330. description: 平仓数量(先建后平操作 需要记录)
  21331. type: number
  21332. creditamount:
  21333. description: 授信金额
  21334. type: number
  21335. decimalplace:
  21336. description: 商品报价小数位
  21337. type: integer
  21338. enumdicname:
  21339. description: 单位名称
  21340. type: string
  21341. gcaccountid:
  21342. description: 账户ID[合约币种]
  21343. type: integer
  21344. goodscode:
  21345. description: 商品代码
  21346. type: string
  21347. goodsid:
  21348. description: 商品ID
  21349. type: integer
  21350. goodsname:
  21351. description: 商品名称
  21352. type: string
  21353. goodunitid:
  21354. description: 商品单位id
  21355. type: integer
  21356. intclosepl:
  21357. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21358. type: integer
  21359. isconfirmexercise:
  21360. description: 是否确认行权- 0:否 1:是
  21361. type: integer
  21362. ismain:
  21363. description: 是否主单 - 0:不是 1:是
  21364. type: integer
  21365. ispreexercise:
  21366. description: 是否预申报- 0:否 1:是
  21367. type: integer
  21368. isreckoned:
  21369. description: 是否结算 - 0:未结算 1:已结算
  21370. type: integer
  21371. listingselecttype:
  21372. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21373. type: integer
  21374. marketid:
  21375. description: 市场ID
  21376. type: integer
  21377. marketname:
  21378. description: 市场名称
  21379. type: string
  21380. matchaccountid:
  21381. description: 对手账号id
  21382. type: integer
  21383. memberuserid:
  21384. description: 会员id 个人投资者 需要填写
  21385. type: integer
  21386. opencharge:
  21387. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21388. type: number
  21389. openexchagechargevalue:
  21390. description: 建仓交易所手续费设置值
  21391. type: number
  21392. openfeealgorithm:
  21393. description: 建仓手续费收取方式 1:比率 2:固定
  21394. type: integer
  21395. openmemberchargevalue:
  21396. description: 建仓会员手续费设置值
  21397. type: number
  21398. openqty:
  21399. description: 开仓数量(先建后平操作 需要记录)
  21400. type: number
  21401. optiontype:
  21402. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21403. type: integer
  21404. orderid:
  21405. description: 委托单号
  21406. type: string
  21407. payamount:
  21408. description: 支付金额(付款金额)
  21409. type: number
  21410. performanceplanid:
  21411. description: 履约计划ID[期权]
  21412. type: integer
  21413. performancestatus:
  21414. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21415. type: integer
  21416. preexerciseprice:
  21417. description: 预申报价格
  21418. type: number
  21419. premium:
  21420. description: 权利金 - [持仓单的权利金]
  21421. type: number
  21422. qtydecimalplace:
  21423. description: 商品报价小数位
  21424. type: integer
  21425. recvamount:
  21426. description: 到账金额 = 成交金额 - 手续费
  21427. type: number
  21428. relatedouttradeid:
  21429. description: 关联外部成交单ID
  21430. type: integer
  21431. status:
  21432. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21433. type: integer
  21434. totalamount:
  21435. description: 订单总额 = 成交金额 + 手续费
  21436. type: number
  21437. tradeamount:
  21438. description: 成交金额[账户币种,用于所有权]
  21439. type: number
  21440. tradedate:
  21441. description: 交易日(yyyyMMdd)
  21442. type: string
  21443. tradeid:
  21444. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21445. type: string
  21446. trademode:
  21447. description: 交易模式
  21448. type: integer
  21449. tradeprice:
  21450. description: 成交价格
  21451. type: number
  21452. tradeproperty:
  21453. description: 交易属性
  21454. type: integer
  21455. tradeqty:
  21456. description: 成交数量
  21457. type: number
  21458. tradetime:
  21459. description: 成交时间
  21460. type: string
  21461. tradetype:
  21462. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21463. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21464. type: integer
  21465. required:
  21466. - accountid
  21467. - buyorsell
  21468. - goodsid
  21469. - marketid
  21470. - memberuserid
  21471. - orderid
  21472. - tradeamount
  21473. - tradedate
  21474. - tradeid
  21475. - tradeprice
  21476. - tradeqty
  21477. - tradetime
  21478. type: object
  21479. order.QueryTradeOrderDetailRsp:
  21480. properties:
  21481. accountid:
  21482. description: 账户ID[报价币种]
  21483. type: integer
  21484. buildtype:
  21485. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21486. type: integer
  21487. buyorsell:
  21488. description: 买卖 - 0:买 1:卖
  21489. type: integer
  21490. cancelorderid:
  21491. description: 撤单单号(撤单时填写)
  21492. type: string
  21493. cancelqty:
  21494. description: 撤单数量
  21495. type: number
  21496. clienttype:
  21497. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21498. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21499. type: integer
  21500. closefreezecharge:
  21501. description: 平仓冻结手续费(先建后平操作,需要记录)
  21502. type: number
  21503. closeqty:
  21504. description: 平仓数量(先建后平操作 需要记录)
  21505. type: number
  21506. closetradeqty:
  21507. description: 平仓成交数量(先建后平操作,需要记录)
  21508. type: number
  21509. closeunfreezecharge:
  21510. description: 平仓解冻手续费(先建后平操作,需要记录)
  21511. type: number
  21512. decimalplace:
  21513. description: 商品报价小数位
  21514. type: integer
  21515. delistingtype:
  21516. description: 摘牌类型 - 1:价格最优 2:点选成交
  21517. type: integer
  21518. enableqty:
  21519. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21520. type: number
  21521. enumdicname:
  21522. description: 单位名称
  21523. type: string
  21524. freezecharge:
  21525. description: 冻结手续费
  21526. type: number
  21527. freezemargin:
  21528. description: 冻结保证金(冻结交易金额)
  21529. type: number
  21530. goodscode:
  21531. description: 商品代码
  21532. type: string
  21533. goodsid:
  21534. description: 商品ID
  21535. type: integer
  21536. goodsname:
  21537. description: 商品名称
  21538. type: string
  21539. goodunitid:
  21540. description: 商品单位id
  21541. type: integer
  21542. listingselecttype:
  21543. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21544. type: integer
  21545. marketid:
  21546. description: 市场ID
  21547. type: integer
  21548. marketname:
  21549. description: 市场名称
  21550. type: string
  21551. openfreezecharge:
  21552. description: 开仓冻结手续费(先建后平操作,需要记录)
  21553. type: number
  21554. openqty:
  21555. description: 开仓数量(先建后平操作,需要记录)
  21556. type: number
  21557. opentradeqty:
  21558. description: 开仓成交数量(先建后平操作,需要记录)
  21559. type: number
  21560. openunfreezecharge:
  21561. description: 开仓解冻手续费(先建后平操作,需要记录)
  21562. type: number
  21563. operatetype:
  21564. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21565. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21566. 15:管理端协议转让
  21567. type: integer
  21568. operatorid:
  21569. description: 登录账号(LoginID)
  21570. type: integer
  21571. orderid:
  21572. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21573. type: string
  21574. orderprice:
  21575. description: 委托价格
  21576. type: number
  21577. orderqty:
  21578. description: 委托数量
  21579. type: number
  21580. ordersrc:
  21581. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21582. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21583. type: integer
  21584. orderstatus:
  21585. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21586. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21587. 16:成交失败违约(荷兰式竞拍专用)
  21588. type: integer
  21589. ordertime:
  21590. description: 委托时间
  21591. type: string
  21592. preorderid:
  21593. description: 关联预埋单号(止盈止损单时填写)
  21594. type: string
  21595. pricemode:
  21596. description: '取价方式 - 1:市价 2: 限价'
  21597. type: integer
  21598. qtydecimalplace:
  21599. description: 商品报价小数位
  21600. type: integer
  21601. relatedid:
  21602. description: 关联单号(交割单)
  21603. type: string
  21604. tradedate:
  21605. description: 交易日(yyyyMMdd)
  21606. type: string
  21607. trademode:
  21608. description: 交易模式
  21609. type: integer
  21610. tradeqty:
  21611. description: 成交数量
  21612. type: number
  21613. unfreezecharge:
  21614. description: 解冻手续费
  21615. type: number
  21616. unfreezemargin:
  21617. description: 解冻保证金
  21618. type: number
  21619. validtime:
  21620. description: 有效期限
  21621. type: string
  21622. validtype:
  21623. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21624. type: integer
  21625. volumetype:
  21626. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21627. type: integer
  21628. required:
  21629. - accountid
  21630. - buildtype
  21631. - buyorsell
  21632. - goodsid
  21633. - marketid
  21634. - operatetype
  21635. - orderqty
  21636. - ordertime
  21637. - pricemode
  21638. - tradedate
  21639. - validtype
  21640. type: object
  21641. order.QueryTradePositionRsp:
  21642. properties:
  21643. accountid:
  21644. description: 资金账户
  21645. type: integer
  21646. agreeunit:
  21647. description: 合约单位
  21648. type: number
  21649. averageprice:
  21650. description: 持仓均价
  21651. type: number
  21652. buyorsell:
  21653. description: 方向 - 0:买 1:卖
  21654. type: integer
  21655. closetotalqty:
  21656. description: 平仓总数量
  21657. type: number
  21658. curholderamount:
  21659. description: 当前持仓总金额[商品币种]
  21660. type: number
  21661. curpositionqty:
  21662. description: 当前持仓总数量
  21663. type: number
  21664. currencyid:
  21665. description: 报价货币ID
  21666. type: integer
  21667. curtdposition:
  21668. description: 期末今日头寸
  21669. type: number
  21670. decimalplace:
  21671. description: 报价小数位
  21672. type: integer
  21673. enableqty:
  21674. description: 可用量
  21675. type: number
  21676. fretdposition:
  21677. description: 冻结今日头寸
  21678. type: number
  21679. frozenqty:
  21680. description: 持仓冻结数量
  21681. type: number
  21682. goodscode:
  21683. description: 商品代码
  21684. type: string
  21685. goodsid:
  21686. description: 商品Id
  21687. type: integer
  21688. goodsname:
  21689. description: 商品名称
  21690. type: string
  21691. goodunit:
  21692. description: 报价单位
  21693. type: string
  21694. goodunitid:
  21695. description: 报价单位ID
  21696. type: integer
  21697. holderamount:
  21698. description: 期初持仓总金额[商品币种]
  21699. type: number
  21700. lastprice:
  21701. description: 最新价
  21702. type: number
  21703. marketamount:
  21704. description: 市值
  21705. type: number
  21706. marketid:
  21707. description: 所属市场ID
  21708. type: integer
  21709. openreqqty:
  21710. description: 开仓申请数量(用于比较最大持仓数量)
  21711. type: number
  21712. opentotalqty:
  21713. description: 开仓总数量
  21714. type: number
  21715. otherfrozenqty:
  21716. description: 持仓其他冻结数量(交割冻结)
  21717. type: number
  21718. positionpl:
  21719. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21720. * 合约单位
  21721. type: number
  21722. positionplrate:
  21723. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21724. type: number
  21725. positionqty:
  21726. description: 期初持仓数量
  21727. type: number
  21728. qtydecimalplace:
  21729. description: 成交量小数位
  21730. type: integer
  21731. refgoodscode:
  21732. description: 参考商品代码
  21733. type: string
  21734. refgoodsid:
  21735. description: 参考商品ID
  21736. type: integer
  21737. tnqty:
  21738. description: T+N冻结总量
  21739. type: number
  21740. tnusedqty:
  21741. description: T+N使用量(可以使用T+N的冻结数量)
  21742. type: number
  21743. trademode:
  21744. description: 交易模式
  21745. type: integer
  21746. tradeproperty:
  21747. description: 交易属性
  21748. type: integer
  21749. usedmargin:
  21750. description: 占用保证金[商品币种]
  21751. type: number
  21752. required:
  21753. - goodsid
  21754. type: object
  21755. pb.GoodsMarginCfgStruct:
  21756. properties:
  21757. CustomerTypeID:
  21758. description: 投资者客户类型
  21759. type: integer
  21760. GoodsID:
  21761. description: 商品ID
  21762. type: integer
  21763. IsDefault:
  21764. description: 是否默认标志位
  21765. type: integer
  21766. LockMarginValue:
  21767. description: 锁仓保证金
  21768. type: number
  21769. MarginAlgorithm:
  21770. description: 保证金计算方式
  21771. type: integer
  21772. MarketMarginValue:
  21773. description: 即市保证金值
  21774. type: number
  21775. RealMarginAlgorithm:
  21776. description: 实付保证金计算方式
  21777. type: integer
  21778. RealMarginValue:
  21779. description: 实付比例
  21780. type: number
  21781. ReckonMarginValue:
  21782. description: 结算保证金值
  21783. type: number
  21784. type: object
  21785. quote.HistoryData:
  21786. properties:
  21787. c:
  21788. description: 收盘价
  21789. type: number
  21790. f:
  21791. description: 是否补充数据
  21792. type: boolean
  21793. h:
  21794. description: 最高价
  21795. type: number
  21796. hv:
  21797. description: 持仓量
  21798. type: integer
  21799. l:
  21800. description: 最低价
  21801. type: number
  21802. o:
  21803. description: 开盘价
  21804. type: number
  21805. s:
  21806. description: 结算价,日线周期(包括)以上才有
  21807. type: number
  21808. ts:
  21809. description: 时间
  21810. type: string
  21811. tt:
  21812. description: 总金额
  21813. type: number
  21814. tv:
  21815. description: 总量(成交量)
  21816. type: integer
  21817. type: object
  21818. quote.HistoryTikData:
  21819. properties:
  21820. AV:
  21821. description: 卖量
  21822. type: integer
  21823. Ask:
  21824. description: 卖价
  21825. type: number
  21826. BV:
  21827. description: 买量
  21828. type: integer
  21829. Bid:
  21830. description: 买价
  21831. type: number
  21832. HI:
  21833. description: 单笔持仓
  21834. type: integer
  21835. HV:
  21836. description: 持仓量
  21837. type: integer
  21838. PE:
  21839. description: 现价
  21840. type: number
  21841. TDR:
  21842. description: 交易方向,0:买 1:卖
  21843. type: integer
  21844. TK:
  21845. description: 交易类型
  21846. type: integer
  21847. TS:
  21848. description: 行情时间文本
  21849. type: string
  21850. TT:
  21851. description: 现金额
  21852. type: number
  21853. Vol:
  21854. description: 现量
  21855. type: integer
  21856. type: object
  21857. quote.QueryQuoteDayRsp:
  21858. properties:
  21859. ask:
  21860. description: 卖1
  21861. type: number
  21862. ask2:
  21863. description: 卖2
  21864. type: number
  21865. ask3:
  21866. description: 卖3
  21867. type: number
  21868. ask4:
  21869. description: 卖4
  21870. type: number
  21871. ask5:
  21872. description: 卖5
  21873. type: number
  21874. ask6:
  21875. description: 卖6
  21876. type: number
  21877. ask7:
  21878. description: 卖7
  21879. type: number
  21880. ask8:
  21881. description: 卖8
  21882. type: number
  21883. ask9:
  21884. description: 卖9
  21885. type: number
  21886. ask10:
  21887. description: 卖10
  21888. type: number
  21889. askorderid:
  21890. description: 卖单号1
  21891. type: integer
  21892. askorderid2:
  21893. description: 卖单号2
  21894. type: integer
  21895. askorderid3:
  21896. description: 卖单号3
  21897. type: integer
  21898. askorderid4:
  21899. description: 卖单号4
  21900. type: integer
  21901. askorderid5:
  21902. description: 卖单号5
  21903. type: integer
  21904. askordervolume:
  21905. description: 卖单量1
  21906. type: integer
  21907. askordervolume2:
  21908. description: 卖单量2
  21909. type: integer
  21910. askordervolume3:
  21911. description: 卖单量3
  21912. type: integer
  21913. askordervolume4:
  21914. description: 卖单量4
  21915. type: integer
  21916. askordervolume5:
  21917. description: 卖单量5
  21918. type: integer
  21919. askordervolume6:
  21920. description: 卖单量6
  21921. type: integer
  21922. askordervolume7:
  21923. description: 卖单量7
  21924. type: integer
  21925. askordervolume8:
  21926. description: 卖单量8
  21927. type: integer
  21928. askordervolume9:
  21929. description: 卖单量9
  21930. type: integer
  21931. askordervolume10:
  21932. description: 卖单量10
  21933. type: integer
  21934. askqueueinfo:
  21935. description: 大利市卖港股用
  21936. type: string
  21937. askvolume:
  21938. description: 卖量1
  21939. type: integer
  21940. askvolume2:
  21941. description: 卖量2
  21942. type: integer
  21943. askvolume3:
  21944. description: 卖量3
  21945. type: integer
  21946. askvolume4:
  21947. description: 卖量4
  21948. type: integer
  21949. askvolume5:
  21950. description: 卖量5
  21951. type: integer
  21952. askvolume6:
  21953. description: 卖量6
  21954. type: integer
  21955. askvolume7:
  21956. description: 卖量7
  21957. type: integer
  21958. askvolume8:
  21959. description: 卖量8
  21960. type: integer
  21961. askvolume9:
  21962. description: 卖量9
  21963. type: integer
  21964. askvolume10:
  21965. description: 卖量10
  21966. type: integer
  21967. averageprice:
  21968. description: 均价
  21969. type: number
  21970. bid:
  21971. description: 买1
  21972. type: number
  21973. bid2:
  21974. description: 买2
  21975. type: number
  21976. bid3:
  21977. description: 买3
  21978. type: number
  21979. bid4:
  21980. description: 买4
  21981. type: number
  21982. bid5:
  21983. description: 买5
  21984. type: number
  21985. bid6:
  21986. description: 买6
  21987. type: number
  21988. bid7:
  21989. description: 买7
  21990. type: number
  21991. bid8:
  21992. description: 买8
  21993. type: number
  21994. bid9:
  21995. description: 买9
  21996. type: number
  21997. bid10:
  21998. description: 买10
  21999. type: number
  22000. bidorderid:
  22001. description: 买单号1
  22002. type: integer
  22003. bidorderid2:
  22004. description: 买单号2
  22005. type: integer
  22006. bidorderid3:
  22007. description: 买单号3
  22008. type: integer
  22009. bidorderid4:
  22010. description: 买单号4
  22011. type: integer
  22012. bidorderid5:
  22013. description: 买单号5
  22014. type: integer
  22015. bidordervolume:
  22016. description: 买单量1
  22017. type: integer
  22018. bidordervolume2:
  22019. description: 买单量2
  22020. type: integer
  22021. bidordervolume3:
  22022. description: 买单量3
  22023. type: integer
  22024. bidordervolume4:
  22025. description: 买单量4
  22026. type: integer
  22027. bidordervolume5:
  22028. description: 买单量5
  22029. type: integer
  22030. bidordervolume6:
  22031. description: 买单量6
  22032. type: integer
  22033. bidordervolume7:
  22034. description: 买单量7
  22035. type: integer
  22036. bidordervolume8:
  22037. description: 买单量8
  22038. type: integer
  22039. bidordervolume9:
  22040. description: 买单量9
  22041. type: integer
  22042. bidordervolume10:
  22043. description: 买单量10
  22044. type: integer
  22045. bidqueueinfo:
  22046. description: 大利市买港股用
  22047. type: string
  22048. bidvolume:
  22049. description: 买量1
  22050. type: integer
  22051. bidvolume2:
  22052. description: 买量2
  22053. type: integer
  22054. bidvolume3:
  22055. description: 买量3
  22056. type: integer
  22057. bidvolume4:
  22058. description: 买量4
  22059. type: integer
  22060. bidvolume5:
  22061. description: 买量5
  22062. type: integer
  22063. bidvolume6:
  22064. description: 买量6
  22065. type: integer
  22066. bidvolume7:
  22067. description: 买量7
  22068. type: integer
  22069. bidvolume8:
  22070. description: 买量8
  22071. type: integer
  22072. bidvolume9:
  22073. description: 买量9
  22074. type: integer
  22075. bidvolume10:
  22076. description: 买量10
  22077. type: integer
  22078. calloptionpremiums:
  22079. description: 认购期权1
  22080. type: integer
  22081. calloptionpremiums2:
  22082. description: 认购期权2
  22083. type: integer
  22084. calloptionpremiums3:
  22085. description: 认购期权3
  22086. type: integer
  22087. calloptionpremiums4:
  22088. description: 认购期权4
  22089. type: integer
  22090. calloptionpremiums5:
  22091. description: 认购期权5
  22092. type: integer
  22093. cleartime:
  22094. description: 清盘时间
  22095. type: integer
  22096. exchangecode:
  22097. description: 交易所代码
  22098. type: integer
  22099. exchangedate:
  22100. description: 交易日
  22101. type: integer
  22102. goodscode:
  22103. description: 商品代码
  22104. type: string
  22105. grepmarketprice:
  22106. description: 暗盘价 港股专用
  22107. type: number
  22108. highest:
  22109. description: 最高价
  22110. type: number
  22111. holdincrement:
  22112. description: 单笔持仓
  22113. type: integer
  22114. holdvolume:
  22115. description: 持仓
  22116. type: integer
  22117. iep:
  22118. description: 平衡价 港股专用
  22119. type: number
  22120. iev:
  22121. description: 平衡量 港股专用
  22122. type: number
  22123. inventory:
  22124. description: 库存
  22125. type: integer
  22126. iscleared:
  22127. description: 是否清盘标志
  22128. type: integer
  22129. issettled:
  22130. description: 是否结算标志
  22131. type: integer
  22132. last:
  22133. description: 最新价
  22134. type: number
  22135. lastlot:
  22136. description: 最新成交手数
  22137. type: integer
  22138. lasttime:
  22139. description: 行情时间(只有现价变化行情时间才变化)
  22140. type: string
  22141. lastturnover:
  22142. description: 最新成交金额
  22143. type: number
  22144. lastvolume:
  22145. description: 最新成交量
  22146. type: integer
  22147. limitdown:
  22148. description: 跌停价
  22149. type: number
  22150. limitup:
  22151. description: 涨停价
  22152. type: number
  22153. lowest:
  22154. description: 最低价
  22155. type: number
  22156. nontotalholdervolume:
  22157. description: 非交易持仓量
  22158. type: integer
  22159. nontotallot:
  22160. description: 非交易总手数
  22161. type: integer
  22162. nontotalturnover:
  22163. description: 非交易总金额
  22164. type: integer
  22165. nontotalvolume:
  22166. description: 非交易总量
  22167. type: integer
  22168. opened:
  22169. description: 开盘价
  22170. type: number
  22171. opentime:
  22172. description: 开盘时间
  22173. type: string
  22174. orderid:
  22175. description: 序号
  22176. type: integer
  22177. preclose:
  22178. description: 昨收
  22179. type: number
  22180. preholdvolume:
  22181. description: 昨持仓
  22182. type: integer
  22183. presettle:
  22184. description: 昨结价
  22185. type: number
  22186. publictradetype:
  22187. description: 公共交易标志类型 港股专用
  22188. type: string
  22189. putoptionpremiums:
  22190. description: 认沽期权1
  22191. type: integer
  22192. putoptionpremiums2:
  22193. description: 认沽期权2
  22194. type: integer
  22195. putoptionpremiums3:
  22196. description: 认沽期权3
  22197. type: integer
  22198. putoptionpremiums4:
  22199. description: 认沽期权4
  22200. type: integer
  22201. putoptionpremiums5:
  22202. description: 认沽期权5
  22203. type: integer
  22204. settle:
  22205. description: 结算价
  22206. type: number
  22207. strikeprice:
  22208. description: 发行价
  22209. type: number
  22210. totalaskvolume:
  22211. description: 内盘
  22212. type: integer
  22213. totalbidvolume:
  22214. description: 外盘
  22215. type: integer
  22216. totallot:
  22217. description: 总手数
  22218. type: integer
  22219. totalturnover:
  22220. description: 总金额
  22221. type: number
  22222. totalvolume:
  22223. description: 总量
  22224. type: integer
  22225. utclasttime:
  22226. description: utc的行情时间
  22227. type: string
  22228. type: object
  22229. quote.QueryTSDataRsp:
  22230. properties:
  22231. Count:
  22232. description: 交易日应有数据个数
  22233. type: integer
  22234. decimalPlace:
  22235. description: 小数位
  22236. type: integer
  22237. endTime:
  22238. description: 结束时间
  22239. type: string
  22240. goodsCode:
  22241. description: 商品代码
  22242. type: string
  22243. historyDatas:
  22244. description: 历史数据
  22245. items:
  22246. $ref: '#/definitions/quote.HistoryData'
  22247. type: array
  22248. outGoodsCode:
  22249. description: 外部商品代码
  22250. type: string
  22251. preSettle:
  22252. description: 昨结价
  22253. type: number
  22254. runSteps:
  22255. description: 交易日开休市计划
  22256. items:
  22257. $ref: '#/definitions/quote.TSDataRunStep'
  22258. type: array
  22259. startTime:
  22260. description: 开始时间
  22261. type: string
  22262. tradeDate:
  22263. description: 交易日
  22264. type: string
  22265. type: object
  22266. quote.TSDataRunStep:
  22267. properties:
  22268. end:
  22269. description: 真实结束时间
  22270. type: string
  22271. endflag:
  22272. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22273. type: integer
  22274. endtime:
  22275. description: 结束时间(HH:mm)
  22276. type: string
  22277. endweekday:
  22278. description: 结束周几
  22279. type: integer
  22280. groupid:
  22281. description: 分组ID
  22282. type: integer
  22283. runstep:
  22284. description: 运行阶段 - 2:连续交易
  22285. type: integer
  22286. sectionid:
  22287. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22288. 结束时间=结算时间 结束周几=结算周几
  22289. type: integer
  22290. start:
  22291. description: 真实开始时间
  22292. type: string
  22293. startflag:
  22294. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22295. type: integer
  22296. starttime:
  22297. description: 起始时间(HH:mm)
  22298. type: string
  22299. startweekday:
  22300. description: 起始周几
  22301. type: integer
  22302. tradeweekday:
  22303. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22304. type: integer
  22305. type: object
  22306. szdz.QueryConvertLogRsp:
  22307. properties:
  22308. accountid:
  22309. description: 资金账户ID
  22310. type: integer
  22311. clientticket:
  22312. description: 客户端流水号
  22313. type: string
  22314. converttype:
  22315. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22316. type: integer
  22317. createtime:
  22318. description: 记账时间
  22319. type: string
  22320. daymaxvalue:
  22321. description: 配置当日最大转入限制
  22322. type: number
  22323. daymaxvalue2:
  22324. description: 配置当日最大转入限制(转入)
  22325. type: number
  22326. goodscode:
  22327. description: 商品代码
  22328. type: string
  22329. goodsname:
  22330. description: 商品名称
  22331. type: string
  22332. handlestatus:
  22333. description: 处理状态
  22334. type: integer
  22335. innergoodsid:
  22336. description: 内部商品ID
  22337. type: integer
  22338. inratio:
  22339. description: 配置转入比值
  22340. type: integer
  22341. invalue:
  22342. description: 目标值
  22343. type: number
  22344. logid:
  22345. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22346. type: integer
  22347. mobile:
  22348. description: 手机号码(加密存储)
  22349. type: string
  22350. outergoodscode:
  22351. description: 外部商品代码[JD\PD]
  22352. type: string
  22353. outratio:
  22354. description: 配置转出比值
  22355. type: integer
  22356. outvalue:
  22357. description: 源值
  22358. type: number
  22359. pddecimalplace:
  22360. description: PD小数位
  22361. type: integer
  22362. qty:
  22363. description: 数量
  22364. type: string
  22365. remark:
  22366. description: 备注
  22367. type: string
  22368. sessionid:
  22369. description: 会话ID
  22370. type: integer
  22371. timemaxvalue:
  22372. description: 配置单次最大转入限制
  22373. type: number
  22374. timemaxvalue2:
  22375. description: 配置单次最大转入限制(转入)
  22376. type: number
  22377. timeminvalue:
  22378. description: 配置单次最小数量限制
  22379. type: number
  22380. timeminvalue2:
  22381. description: 配置单次最小数量限制(转入)
  22382. type: number
  22383. tradedate:
  22384. description: 交易日(yyyyMMdd)
  22385. type: string
  22386. userid:
  22387. description: 用户ID
  22388. type: integer
  22389. required:
  22390. - logid
  22391. type: object
  22392. szdz.QueryGoodsPickupRsp:
  22393. properties:
  22394. accountid:
  22395. description: 账户ID
  22396. type: integer
  22397. address:
  22398. description: 提货人详细地址
  22399. type: string
  22400. auditer:
  22401. description: 审核人
  22402. type: integer
  22403. audittime:
  22404. description: 审核时间
  22405. type: string
  22406. cardnum:
  22407. description: 提货人证件号码
  22408. type: string
  22409. cardtypeid:
  22410. description: 提货人证件类型
  22411. type: integer
  22412. checkremark:
  22413. description: 审核备注
  22414. type: string
  22415. goodscode:
  22416. description: 商品代码
  22417. type: string
  22418. goodsid:
  22419. description: 商品ID
  22420. type: integer
  22421. goodsname:
  22422. description: 商品名称
  22423. type: string
  22424. handlestatus:
  22425. description: 处理状态
  22426. type: integer
  22427. marketid:
  22428. description: 市场ID
  22429. type: integer
  22430. phonenum:
  22431. description: 提货人联系方式
  22432. type: string
  22433. qty:
  22434. description: 提货数量
  22435. type: number
  22436. recivername:
  22437. description: 提货人姓名
  22438. type: string
  22439. reqtime:
  22440. description: 更新时间
  22441. type: string
  22442. takemode:
  22443. description: 提货方式 - 2:自提 3:配送
  22444. type: integer
  22445. takeorderid:
  22446. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22447. type: string
  22448. takeorderstatus:
  22449. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22450. type: integer
  22451. takeremark:
  22452. description: 提货备注
  22453. type: string
  22454. tradedate:
  22455. description: 交易日(yyyyMMdd)
  22456. type: string
  22457. userid:
  22458. description: 用户ID
  22459. type: integer
  22460. required:
  22461. - takeorderid
  22462. type: object
  22463. szdz.QueryRecieptOrderRsp:
  22464. properties:
  22465. accountName:
  22466. description: 所属账号名称(已脱敏)
  22467. type: string
  22468. accountid:
  22469. description: 资金账号
  22470. type: integer
  22471. buyorsell:
  22472. description: 方向 - 0:买 1:卖
  22473. type: integer
  22474. enableqty:
  22475. description: 可摘数量
  22476. type: integer
  22477. goodscode:
  22478. description: 商品代码
  22479. type: string
  22480. goodsid:
  22481. description: 商品ID
  22482. type: integer
  22483. goodsname:
  22484. description: 商品名称
  22485. type: string
  22486. orderid:
  22487. description: 委托单号
  22488. type: string
  22489. orderprice:
  22490. description: 委托价格
  22491. type: number
  22492. ordertime:
  22493. description: 委托时间
  22494. type: string
  22495. tradedate:
  22496. description: 交易日(yyyyMMdd)
  22497. type: string
  22498. required:
  22499. - ordertime
  22500. type: object
  22501. szdz.QuerySZDZTradePositionRsp:
  22502. properties:
  22503. accountid:
  22504. description: 账号Id
  22505. type: integer
  22506. agreeunit:
  22507. description: 合约单位
  22508. type: number
  22509. averageprice:
  22510. description: 持仓均价
  22511. type: number
  22512. buyorsell:
  22513. description: 方向 - 0:买 1:卖
  22514. type: integer
  22515. closetotalqty:
  22516. description: 平仓总数量
  22517. type: integer
  22518. curholderamount:
  22519. description: 当前持仓总金额
  22520. type: number
  22521. curpositionqty:
  22522. description: 当前持仓总数量
  22523. type: integer
  22524. currencyid:
  22525. description: 报价货币ID
  22526. type: integer
  22527. curtdposition:
  22528. description: 期末今日头寸
  22529. type: integer
  22530. decimalplace:
  22531. description: 报价小数位
  22532. type: integer
  22533. enableqty:
  22534. description: 可用量
  22535. type: integer
  22536. fretdposition:
  22537. description: 冻结今日头寸
  22538. type: integer
  22539. frozenqty:
  22540. description: 持仓冻结数量
  22541. type: integer
  22542. goodscode:
  22543. description: 商品代码(内部)
  22544. type: string
  22545. goodsid:
  22546. description: 商品Id
  22547. type: integer
  22548. goodsname:
  22549. description: 商品名称
  22550. type: string
  22551. goodunit:
  22552. description: 报价单位
  22553. type: string
  22554. goodunitid:
  22555. description: 报价单位ID
  22556. type: integer
  22557. holderamount:
  22558. description: 期初持仓总金额
  22559. type: number
  22560. marketid:
  22561. description: 市场ID
  22562. type: integer
  22563. openreqqty:
  22564. description: 开仓申请数量
  22565. type: integer
  22566. opentotalqty:
  22567. description: 开仓总数量
  22568. type: integer
  22569. otherfrozenqty:
  22570. description: 持仓其他冻结数量(交割冻结)
  22571. type: integer
  22572. positionqty:
  22573. description: 期初持仓数量
  22574. type: integer
  22575. szdz3freezqty:
  22576. description: 尚志大宗转换冻结总数量
  22577. type: integer
  22578. tnqty:
  22579. description: T+N冻结总量
  22580. type: integer
  22581. tnusedqty:
  22582. description: T+N使用量
  22583. type: integer
  22584. trademode:
  22585. description: 交易模式
  22586. type: integer
  22587. usedmargin:
  22588. description: 占用保证金
  22589. type: number
  22590. type: object
  22591. taaccount.QueryAmountLogRsp:
  22592. properties:
  22593. OPERATETYPENAME:
  22594. description: 资金操作类型名称
  22595. type: string
  22596. accountid:
  22597. description: 资金账户ID
  22598. type: integer
  22599. agoodscode:
  22600. description: 竞拍商品代码
  22601. type: string
  22602. agoodsname:
  22603. description: 竞拍商品名称
  22604. type: string
  22605. amount:
  22606. description: 资金金额
  22607. type: number
  22608. amountadjusttype:
  22609. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22610. type: integer
  22611. autoid:
  22612. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22613. type: integer
  22614. balance:
  22615. description: 期初余额
  22616. type: number
  22617. businesscode:
  22618. description: 业务编号
  22619. type: integer
  22620. createtime:
  22621. description: 发生时间
  22622. type: string
  22623. currencyid:
  22624. description: 币种ID
  22625. type: integer
  22626. currentbalance:
  22627. description: 期末余额(变动后金额)
  22628. type: number
  22629. dgoodscode:
  22630. description: 交割商品代码
  22631. type: string
  22632. dgoodsname:
  22633. description: 交割商品名称
  22634. type: string
  22635. goodscode:
  22636. description: 商品代码
  22637. type: string
  22638. goodsid:
  22639. description: 商品ID
  22640. type: integer
  22641. goodsname:
  22642. description: 商品名称
  22643. type: string
  22644. marketid:
  22645. description: 市场ID
  22646. type: integer
  22647. marketname:
  22648. description: 市场名称
  22649. type: string
  22650. moneyticket:
  22651. description: 资金流水号:银行端流水号
  22652. type: integer
  22653. operatetype:
  22654. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22655. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22656. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22657. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22658. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22659. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22660. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22661. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22662. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22663. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22664. type: integer
  22665. relationorderid:
  22666. description: 关联单号
  22667. type: string
  22668. remark:
  22669. description: 备注
  22670. type: string
  22671. trademode:
  22672. description: 交易模式
  22673. type: integer
  22674. required:
  22675. - accountid
  22676. - amount
  22677. - amountadjusttype
  22678. - autoid
  22679. - balance
  22680. - createtime
  22681. - currentbalance
  22682. - operatetype
  22683. type: object
  22684. taaccount.QueryHisAmountLogRsp:
  22685. properties:
  22686. OPERATETYPENAME:
  22687. description: 资金操作类型名称
  22688. type: string
  22689. accountid:
  22690. description: 资金账户ID
  22691. type: integer
  22692. agoodscode:
  22693. description: 竞拍商品代码
  22694. type: string
  22695. agoodsname:
  22696. description: 竞拍商品名称
  22697. type: string
  22698. amount:
  22699. description: 资金金额
  22700. type: number
  22701. amountadjusttype:
  22702. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22703. type: integer
  22704. autoid:
  22705. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22706. type: integer
  22707. balance:
  22708. description: 期初余额
  22709. type: number
  22710. businesscode:
  22711. description: 业务编号
  22712. type: integer
  22713. createtime:
  22714. description: 发生时间
  22715. type: string
  22716. currencyid:
  22717. description: 币种ID
  22718. type: integer
  22719. currentbalance:
  22720. description: 期末余额(变动后金额)
  22721. type: number
  22722. dgoodscode:
  22723. description: 交割商品代码
  22724. type: string
  22725. dgoodsname:
  22726. description: 交割商品名称
  22727. type: string
  22728. goodscode:
  22729. description: 商品代码
  22730. type: string
  22731. goodsid:
  22732. description: 商品ID
  22733. type: integer
  22734. goodsname:
  22735. description: 商品名称
  22736. type: string
  22737. histradedate:
  22738. description: 历史交易日
  22739. type: string
  22740. isvaliddata:
  22741. description: 是否有效 - 0:无效 1:有效
  22742. type: integer
  22743. marketid:
  22744. description: 市场ID
  22745. type: integer
  22746. marketname:
  22747. description: 市场名称
  22748. type: string
  22749. moneyticket:
  22750. description: 资金流水号:银行端流水号
  22751. type: integer
  22752. operatetype:
  22753. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22754. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22755. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22756. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22757. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22758. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22759. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22760. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22761. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22762. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22763. type: integer
  22764. relationorderid:
  22765. description: 关联单号
  22766. type: string
  22767. remark:
  22768. description: 备注
  22769. type: string
  22770. trademode:
  22771. description: 交易模式
  22772. type: integer
  22773. required:
  22774. - accountid
  22775. - amount
  22776. - amountadjusttype
  22777. - autoid
  22778. - balance
  22779. - createtime
  22780. - currentbalance
  22781. - histradedate
  22782. - operatetype
  22783. type: object
  22784. trade.QueryRecieptOrderRsp:
  22785. properties:
  22786. accountName:
  22787. description: 所属账号名称(已脱敏)
  22788. type: string
  22789. accountid:
  22790. description: 资金账号
  22791. type: integer
  22792. buyorsell:
  22793. description: 方向 - 0:买 1:卖
  22794. type: integer
  22795. enableqty:
  22796. description: 可摘数量
  22797. type: integer
  22798. goodscode:
  22799. description: 商品代码
  22800. type: string
  22801. goodsid:
  22802. description: 商品ID
  22803. type: integer
  22804. goodsname:
  22805. description: 商品名称
  22806. type: string
  22807. orderid:
  22808. description: 委托单号
  22809. type: string
  22810. orderprice:
  22811. description: 委托价格
  22812. type: number
  22813. ordertime:
  22814. description: 委托时间
  22815. type: string
  22816. tradedate:
  22817. description: 交易日(yyyyMMdd)
  22818. type: string
  22819. required:
  22820. - ordertime
  22821. type: object
  22822. user.LoginQueryRsp:
  22823. properties:
  22824. areaRoles:
  22825. description: 所属角色信息
  22826. items:
  22827. $ref: '#/definitions/models.Arearole'
  22828. type: array
  22829. exchangeRateConfigs:
  22830. description: 汇率信息
  22831. items:
  22832. $ref: '#/definitions/models.Exchangerateconfig'
  22833. type: array
  22834. externalExchanges:
  22835. description: 外部交易所
  22836. items:
  22837. $ref: '#/definitions/models.Externalexchange'
  22838. type: array
  22839. goodsgroups:
  22840. description: 商品组
  22841. items:
  22842. $ref: '#/definitions/models.Goodsgroup'
  22843. type: array
  22844. loginAccount:
  22845. $ref: '#/definitions/models.Loginaccount'
  22846. description: 登录账号
  22847. markets:
  22848. description: 市场
  22849. items:
  22850. $ref: '#/definitions/models.Market'
  22851. type: array
  22852. systemParams:
  22853. description: 系统参数
  22854. items:
  22855. $ref: '#/definitions/models.Systemparam'
  22856. type: array
  22857. userAccount:
  22858. $ref: '#/definitions/models.Useraccount'
  22859. description: 用户账号
  22860. userInfo:
  22861. $ref: '#/definitions/models.Userinfo'
  22862. description: 用户信息
  22863. username:
  22864. description: 用户姓名
  22865. type: string
  22866. type: object
  22867. info:
  22868. contact: {}
  22869. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22870. termsOfService: http://www.muchinfo.cn
  22871. title: MTP2.0 查询服务 API
  22872. version: "1.0"
  22873. paths:
  22874. /CPTrade/QueryCPTradeMyBidInfos:
  22875. get:
  22876. parameters:
  22877. - description: 资金账户
  22878. in: query
  22879. name: accountid
  22880. required: true
  22881. type: integer
  22882. - description: 预售市场ID
  22883. in: query
  22884. name: marketid
  22885. type: integer
  22886. - description: 预售商品ID
  22887. in: query
  22888. name: goodsid
  22889. type: integer
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 查询产能预售我的出价信息
  22904. tags:
  22905. - 产能预售
  22906. /CPTrade/QueryCPTradeOrderDetail:
  22907. get:
  22908. parameters:
  22909. - description: 预售商品ID
  22910. in: query
  22911. name: goodsid
  22912. type: integer
  22913. - description: 预售市场ID
  22914. in: query
  22915. name: marketid
  22916. type: integer
  22917. - description: 预售商品ID列表 - 格式:1,2,3
  22918. in: query
  22919. name: goodsids
  22920. type: string
  22921. produces:
  22922. - application/json
  22923. responses:
  22924. "200":
  22925. description: OK
  22926. schema:
  22927. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22928. "500":
  22929. description: Internal Server Error
  22930. schema:
  22931. $ref: '#/definitions/app.Response'
  22932. security:
  22933. - ApiKeyAuth: []
  22934. summary: 查询产能预售委托单信息
  22935. tags:
  22936. - 产能预售
  22937. /CPTrade/QueryMyCPTradeGoods:
  22938. get:
  22939. parameters:
  22940. - description: 资金账户
  22941. in: query
  22942. name: accountid
  22943. required: true
  22944. type: integer
  22945. produces:
  22946. - application/json
  22947. responses:
  22948. "200":
  22949. description: OK
  22950. schema:
  22951. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22952. "500":
  22953. description: Internal Server Error
  22954. schema:
  22955. $ref: '#/definitions/app.Response'
  22956. security:
  22957. - ApiKeyAuth: []
  22958. summary: 查询我的预售信息
  22959. tags:
  22960. - 产能预售
  22961. /CPTrade/QueryPositionCancel:
  22962. get:
  22963. parameters:
  22964. - description: 账户ID
  22965. in: query
  22966. name: userid
  22967. required: true
  22968. type: integer
  22969. - description: 注销ID
  22970. in: query
  22971. name: cancelid
  22972. type: integer
  22973. - description: 资金账户ID
  22974. in: query
  22975. name: accountid
  22976. type: integer
  22977. produces:
  22978. - application/json
  22979. responses:
  22980. "200":
  22981. description: OK
  22982. schema:
  22983. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22984. "500":
  22985. description: Internal Server Error
  22986. schema:
  22987. $ref: '#/definitions/app.Response'
  22988. security:
  22989. - ApiKeyAuth: []
  22990. summary: 查询远期订单注销申请信息
  22991. tags:
  22992. - 产能预售
  22993. /CPTrade/QueryPreasleApply:
  22994. get:
  22995. parameters:
  22996. - description: 账户ID
  22997. in: query
  22998. name: userid
  22999. required: true
  23000. type: integer
  23001. - description: 申请ID
  23002. in: query
  23003. name: applyid
  23004. type: integer
  23005. - description: 资金账户ID
  23006. in: query
  23007. name: accountid
  23008. type: integer
  23009. produces:
  23010. - application/json
  23011. responses:
  23012. "200":
  23013. description: OK
  23014. schema:
  23015. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23016. "500":
  23017. description: Internal Server Error
  23018. schema:
  23019. $ref: '#/definitions/app.Response'
  23020. security:
  23021. - ApiKeyAuth: []
  23022. summary: 查询产能预售申请信息
  23023. tags:
  23024. - 产能预售
  23025. /CPTrade/QueryPresaleGoodsEx:
  23026. get:
  23027. parameters:
  23028. - description: 预售商品ID
  23029. in: query
  23030. name: goodsid
  23031. type: integer
  23032. - description: 预售市场ID
  23033. in: query
  23034. name: marketid
  23035. type: integer
  23036. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23037. in: query
  23038. name: presalemode
  23039. type: integer
  23040. - description: 预售商品ID列表 - 格式:1,2,3
  23041. in: query
  23042. name: goodsids
  23043. type: string
  23044. - description: 预售商品代码
  23045. in: query
  23046. name: goodscode
  23047. type: string
  23048. produces:
  23049. - application/json
  23050. responses:
  23051. "200":
  23052. description: OK
  23053. schema:
  23054. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23055. "500":
  23056. description: Internal Server Error
  23057. schema:
  23058. $ref: '#/definitions/app.Response'
  23059. security:
  23060. - ApiKeyAuth: []
  23061. summary: 查询产能预售商品扩展信息
  23062. tags:
  23063. - 产能预售
  23064. /CPTrade/QueryUserGoodsData:
  23065. get:
  23066. parameters:
  23067. - description: 资金账户ID
  23068. in: query
  23069. name: accountid
  23070. required: true
  23071. type: integer
  23072. produces:
  23073. - application/json
  23074. responses:
  23075. "200":
  23076. description: OK
  23077. schema:
  23078. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 查询远期订单信息
  23086. tags:
  23087. - 产能预售
  23088. /Common/DeleteNewFuncmenu:
  23089. delete:
  23090. consumes:
  23091. - application/json
  23092. parameters:
  23093. - description: 菜单表数据,只需要resourcecode字段即可
  23094. in: body
  23095. name: data
  23096. required: true
  23097. schema:
  23098. $ref: '#/definitions/models.NewFuncmenulist'
  23099. produces:
  23100. - application/json
  23101. responses:
  23102. "200":
  23103. description: OK
  23104. schema:
  23105. $ref: '#/definitions/app.Response'
  23106. "500":
  23107. description: Internal Server Error
  23108. schema:
  23109. $ref: '#/definitions/app.Response'
  23110. security:
  23111. - ApiKeyAuth: []
  23112. summary: 删除菜单表数据
  23113. tags:
  23114. - 通用服务
  23115. /Common/FindNewFuncmenu:
  23116. get:
  23117. parameters:
  23118. - description: 资源代码
  23119. in: query
  23120. name: resourcecode
  23121. type: string
  23122. - description: 上级资源代码
  23123. in: query
  23124. name: parentcode
  23125. type: string
  23126. - description: 资源名(Title), 模糊查询
  23127. in: query
  23128. name: resourcename
  23129. type: string
  23130. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23131. in: query
  23132. name: menutype
  23133. type: string
  23134. produces:
  23135. - application/json
  23136. responses:
  23137. "200":
  23138. description: OK
  23139. schema:
  23140. items:
  23141. $ref: '#/definitions/models.NewFuncmenulist'
  23142. type: array
  23143. "500":
  23144. description: Internal Server Error
  23145. schema:
  23146. $ref: '#/definitions/app.Response'
  23147. security:
  23148. - ApiKeyAuth: []
  23149. summary: 获取菜单表数据
  23150. tags:
  23151. - 通用服务
  23152. /Common/GetAllEnums:
  23153. get:
  23154. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23155. parameters:
  23156. - description: 起始自增ID
  23157. in: query
  23158. name: autoid
  23159. type: integer
  23160. produces:
  23161. - application/json
  23162. responses:
  23163. "200":
  23164. description: OK
  23165. schema:
  23166. $ref: '#/definitions/models.Enumdicitem'
  23167. "500":
  23168. description: Internal Server Error
  23169. schema:
  23170. $ref: '#/definitions/app.Response'
  23171. summary: 获取所有枚举信息
  23172. tags:
  23173. - 通用服务
  23174. /Common/GetClientMenus:
  23175. get:
  23176. parameters:
  23177. - description: 登录账号
  23178. in: query
  23179. name: loginID
  23180. required: true
  23181. type: integer
  23182. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23183. in: query
  23184. name: clientType
  23185. type: integer
  23186. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23187. in: query
  23188. name: name
  23189. type: string
  23190. produces:
  23191. - application/json
  23192. responses:
  23193. "200":
  23194. description: OK
  23195. schema:
  23196. items:
  23197. $ref: '#/definitions/common.ClientMenu'
  23198. type: array
  23199. "500":
  23200. description: Internal Server Error
  23201. schema:
  23202. $ref: '#/definitions/app.Response'
  23203. security:
  23204. - ApiKeyAuth: []
  23205. summary: 获取交易端菜单
  23206. tags:
  23207. - 通用服务
  23208. /Common/GetClientNewFuncmenu:
  23209. get:
  23210. parameters:
  23211. - description: 登录账号
  23212. in: query
  23213. name: loginid
  23214. required: true
  23215. type: integer
  23216. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23217. in: query
  23218. name: menutype
  23219. required: true
  23220. type: integer
  23221. produces:
  23222. - application/json
  23223. responses:
  23224. "200":
  23225. description: OK
  23226. schema:
  23227. items:
  23228. $ref: '#/definitions/models.NewFuncmenulist'
  23229. type: array
  23230. "500":
  23231. description: Internal Server Error
  23232. schema:
  23233. $ref: '#/definitions/app.Response'
  23234. security:
  23235. - ApiKeyAuth: []
  23236. summary: 获取终端菜单
  23237. tags:
  23238. - 通用服务
  23239. /Common/GetDivisions:
  23240. get:
  23241. produces:
  23242. - application/json
  23243. responses:
  23244. "200":
  23245. description: OK
  23246. schema:
  23247. $ref: '#/definitions/models.Division'
  23248. "500":
  23249. description: Internal Server Error
  23250. schema:
  23251. $ref: '#/definitions/app.Response'
  23252. summary: 查询区域信息
  23253. tags:
  23254. - 通用服务
  23255. /Common/GetPCWebMenus:
  23256. get:
  23257. parameters:
  23258. - description: 登录账号
  23259. in: query
  23260. name: loginID
  23261. required: true
  23262. type: integer
  23263. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23264. in: query
  23265. name: name
  23266. type: string
  23267. produces:
  23268. - application/json
  23269. responses:
  23270. "200":
  23271. description: OK
  23272. schema:
  23273. items:
  23274. $ref: '#/definitions/common.PCWebMenu'
  23275. type: array
  23276. "500":
  23277. description: Internal Server Error
  23278. schema:
  23279. $ref: '#/definitions/app.Response'
  23280. security:
  23281. - ApiKeyAuth: []
  23282. summary: 获取PCWeb交易端菜单
  23283. tags:
  23284. - 通用服务
  23285. /Common/GetServerTime:
  23286. get:
  23287. produces:
  23288. - application/json
  23289. responses:
  23290. "200":
  23291. description: OK
  23292. schema:
  23293. $ref: '#/definitions/app.Response'
  23294. "500":
  23295. description: Internal Server Error
  23296. schema:
  23297. $ref: '#/definitions/app.Response'
  23298. summary: 获取服务器时间
  23299. tags:
  23300. - 通用服务
  23301. /Common/InsertNewFuncmenu:
  23302. post:
  23303. consumes:
  23304. - application/json
  23305. parameters:
  23306. - description: 菜单表数据
  23307. in: body
  23308. name: data
  23309. required: true
  23310. schema:
  23311. $ref: '#/definitions/models.NewFuncmenulist'
  23312. produces:
  23313. - application/json
  23314. responses:
  23315. "200":
  23316. description: OK
  23317. schema:
  23318. $ref: '#/definitions/app.Response'
  23319. "500":
  23320. description: Internal Server Error
  23321. schema:
  23322. $ref: '#/definitions/app.Response'
  23323. security:
  23324. - ApiKeyAuth: []
  23325. summary: 插入菜单表数据
  23326. tags:
  23327. - 通用服务
  23328. /Common/NoticeReaded:
  23329. post:
  23330. parameters:
  23331. - description: 登录账号
  23332. in: query
  23333. name: loginID
  23334. required: true
  23335. type: integer
  23336. - description: 通知公告ID
  23337. in: query
  23338. name: noticeID
  23339. required: true
  23340. type: integer
  23341. produces:
  23342. - application/json
  23343. responses:
  23344. "200":
  23345. description: OK
  23346. schema:
  23347. $ref: '#/definitions/app.Response'
  23348. "500":
  23349. description: Internal Server Error
  23350. schema:
  23351. $ref: '#/definitions/app.Response'
  23352. security:
  23353. - ApiKeyAuth: []
  23354. summary: 通知公告设置已读请求
  23355. tags:
  23356. - 通用服务
  23357. /Common/QueryErrorInfos:
  23358. get:
  23359. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23360. parameters:
  23361. - description: 起始行号前索引
  23362. in: query
  23363. name: rowNumber
  23364. type: string
  23365. produces:
  23366. - application/json
  23367. responses:
  23368. "200":
  23369. description: OK
  23370. schema:
  23371. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23372. "500":
  23373. description: Internal Server Error
  23374. schema:
  23375. $ref: '#/definitions/app.Response'
  23376. summary: 获取数据库错误信息
  23377. tags:
  23378. - 通用服务
  23379. /Common/QueryImageConfigs:
  23380. get:
  23381. parameters:
  23382. - description: 用户id
  23383. in: query
  23384. name: userId
  23385. type: integer
  23386. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23387. in: query
  23388. name: imageType
  23389. type: integer
  23390. produces:
  23391. - application/json
  23392. responses:
  23393. "200":
  23394. description: OK
  23395. schema:
  23396. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23397. "500":
  23398. description: Internal Server Error
  23399. schema:
  23400. $ref: '#/definitions/app.Response'
  23401. summary: 查询轮播图配置信息
  23402. tags:
  23403. - 通用服务
  23404. /Common/QueryNotice:
  23405. get:
  23406. parameters:
  23407. - description: 页码
  23408. in: query
  23409. name: page
  23410. type: integer
  23411. - description: 每页条数
  23412. in: query
  23413. name: pagesize
  23414. type: integer
  23415. - description: 登录账号
  23416. in: query
  23417. name: loginID
  23418. required: true
  23419. type: integer
  23420. - description: 消息类型 - 1:公告通知 2:系统消息
  23421. in: query
  23422. name: msgType
  23423. type: integer
  23424. - description: 是否只获取未读信息
  23425. in: query
  23426. name: onlyUnRead
  23427. type: boolean
  23428. - description: 自增ID,传入后会返回这个ID后面的记录
  23429. in: query
  23430. name: lastID
  23431. type: integer
  23432. produces:
  23433. - application/json
  23434. responses:
  23435. "200":
  23436. description: OK
  23437. schema:
  23438. $ref: '#/definitions/common.QueryNoticeRsp'
  23439. "500":
  23440. description: Internal Server Error
  23441. schema:
  23442. $ref: '#/definitions/app.Response'
  23443. security:
  23444. - ApiKeyAuth: []
  23445. summary: 通知公告系统消息查询
  23446. tags:
  23447. - 通用服务
  23448. /Common/QueryProvincesAndCities:
  23449. get:
  23450. parameters:
  23451. - description: 省ID
  23452. in: query
  23453. name: provinceID
  23454. type: integer
  23455. produces:
  23456. - application/json
  23457. responses:
  23458. "200":
  23459. description: OK
  23460. schema:
  23461. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23462. "500":
  23463. description: Internal Server Error
  23464. schema:
  23465. $ref: '#/definitions/app.Response'
  23466. summary: 查询省市信息(不包括区)
  23467. tags:
  23468. - 通用服务
  23469. /Common/QueryRates:
  23470. get:
  23471. parameters:
  23472. - description: 页码
  23473. in: query
  23474. name: page
  23475. type: integer
  23476. - description: 每页条数
  23477. in: query
  23478. name: pagesize
  23479. type: integer
  23480. - description: 源币种ID
  23481. in: query
  23482. name: oricurrencyid
  23483. type: integer
  23484. - description: 目标币种ID
  23485. in: query
  23486. name: descurrencyid
  23487. type: integer
  23488. produces:
  23489. - application/json
  23490. responses:
  23491. "200":
  23492. description: OK
  23493. schema:
  23494. items:
  23495. $ref: '#/definitions/models.Exchangerateconfig'
  23496. type: array
  23497. "500":
  23498. description: Internal Server Error
  23499. schema:
  23500. $ref: '#/definitions/app.Response'
  23501. security:
  23502. - ApiKeyAuth: []
  23503. - LoginID: []
  23504. - Group: []
  23505. summary: 查询汇率信息
  23506. tags:
  23507. - 通用服务
  23508. /Common/QueryTableDefine:
  23509. get:
  23510. parameters:
  23511. - description: 表key
  23512. in: query
  23513. name: tableKey
  23514. type: string
  23515. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23516. in: query
  23517. name: tableType
  23518. type: integer
  23519. produces:
  23520. - application/json
  23521. responses:
  23522. "200":
  23523. description: OK
  23524. schema:
  23525. $ref: '#/definitions/common.QueryTableDefineRsp'
  23526. "500":
  23527. description: Internal Server Error
  23528. schema:
  23529. $ref: '#/definitions/app.Response'
  23530. summary: 查询交易端列表头信息
  23531. tags:
  23532. - 通用服务
  23533. /Common/QueryTraderMenu:
  23534. get:
  23535. parameters:
  23536. - description: 登录账号
  23537. in: query
  23538. name: loginid
  23539. required: true
  23540. type: integer
  23541. produces:
  23542. - application/json
  23543. responses:
  23544. "200":
  23545. description: OK
  23546. schema:
  23547. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23548. "500":
  23549. description: Internal Server Error
  23550. schema:
  23551. $ref: '#/definitions/app.Response'
  23552. summary: 查询交易端菜单
  23553. tags:
  23554. - 通用服务
  23555. /Common/UpdateNewFuncmenu:
  23556. put:
  23557. consumes:
  23558. - application/json
  23559. parameters:
  23560. - description: 菜单表数据
  23561. in: body
  23562. name: data
  23563. required: true
  23564. schema:
  23565. $ref: '#/definitions/models.NewFuncmenulist'
  23566. produces:
  23567. - application/json
  23568. responses:
  23569. "200":
  23570. description: OK
  23571. schema:
  23572. $ref: '#/definitions/app.Response'
  23573. "500":
  23574. description: Internal Server Error
  23575. schema:
  23576. $ref: '#/definitions/app.Response'
  23577. security:
  23578. - ApiKeyAuth: []
  23579. summary: 更新菜单表数据
  23580. tags:
  23581. - 通用服务
  23582. /Delivery/QueryDeliveryRelation:
  23583. get:
  23584. parameters:
  23585. - description: 商品ID
  23586. in: query
  23587. name: goodsid
  23588. type: integer
  23589. - description: 品种ID
  23590. in: query
  23591. name: deliverygoodsid
  23592. type: integer
  23593. - description: 市场ID
  23594. in: query
  23595. name: marketid
  23596. type: integer
  23597. produces:
  23598. - application/json
  23599. responses:
  23600. "200":
  23601. description: OK
  23602. schema:
  23603. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23604. "500":
  23605. description: Internal Server Error
  23606. schema:
  23607. $ref: '#/definitions/app.Response'
  23608. security:
  23609. - ApiKeyAuth: []
  23610. summary: 查询商品交割关系表
  23611. tags:
  23612. - 交割服务
  23613. /Ermcp/GetErmcpGoods:
  23614. get:
  23615. parameters:
  23616. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23617. in: query
  23618. name: userid
  23619. type: integer
  23620. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23621. in: query
  23622. name: lastUpdateTime
  23623. type: string
  23624. produces:
  23625. - application/json
  23626. responses:
  23627. "200":
  23628. description: OK
  23629. schema:
  23630. $ref: '#/definitions/models.ErmcpGoods'
  23631. "500":
  23632. description: Internal Server Error
  23633. schema:
  23634. $ref: '#/definitions/app.Response'
  23635. security:
  23636. - ApiKeyAuth: []
  23637. summary: 查询企业风管期货商品信息
  23638. tags:
  23639. - 企业风险管理(app)
  23640. /Ermcp/GetErmcpGoodsSortByPosition:
  23641. get:
  23642. parameters:
  23643. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23644. in: query
  23645. name: sortIndex
  23646. type: string
  23647. produces:
  23648. - application/json
  23649. responses:
  23650. "200":
  23651. description: OK
  23652. schema:
  23653. $ref: '#/definitions/models.Goodssortbypreposition'
  23654. "500":
  23655. description: Internal Server Error
  23656. schema:
  23657. $ref: '#/definitions/app.Response'
  23658. security:
  23659. - ApiKeyAuth: []
  23660. summary: 查询企业风管期货主力、次主力商品信息
  23661. tags:
  23662. - 企业风险管理(app)
  23663. /Ermcp/GetErmcpOutAccountStatus:
  23664. get:
  23665. parameters:
  23666. - description: 登录账号
  23667. in: query
  23668. name: loginID
  23669. required: true
  23670. type: integer
  23671. produces:
  23672. - application/json
  23673. responses:
  23674. "200":
  23675. description: OK
  23676. schema:
  23677. $ref: '#/definitions/models.Hedgemarketopenlog'
  23678. "500":
  23679. description: Internal Server Error
  23680. schema:
  23681. $ref: '#/definitions/app.Response'
  23682. security:
  23683. - ApiKeyAuth: []
  23684. summary: 获取目标登录账号当前对冲账号在线状态
  23685. tags:
  23686. - 企业风险管理(app)
  23687. /Ermcp/GetErmcpRoleFuncMenuLists:
  23688. get:
  23689. parameters:
  23690. - description: 登录账号
  23691. in: query
  23692. name: loginID
  23693. required: true
  23694. type: integer
  23695. produces:
  23696. - application/json
  23697. responses:
  23698. "200":
  23699. description: OK
  23700. schema:
  23701. $ref: '#/definitions/models.Funcmenulist'
  23702. "500":
  23703. description: Internal Server Error
  23704. schema:
  23705. $ref: '#/definitions/app.Response'
  23706. security:
  23707. - ApiKeyAuth: []
  23708. summary: 获取企业风管终端权限
  23709. tags:
  23710. - 企业风险管理(app)
  23711. /Ermcp/QueryAccMgrBizGroupSet:
  23712. get:
  23713. parameters:
  23714. - description: 用户ID
  23715. in: query
  23716. name: userid
  23717. required: true
  23718. type: integer
  23719. - description: 现货商品id
  23720. in: query
  23721. name: deliverygoodsid
  23722. type: integer
  23723. produces:
  23724. - application/json
  23725. responses:
  23726. "200":
  23727. description: OK
  23728. schema:
  23729. items:
  23730. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23731. type: array
  23732. "500":
  23733. description: Internal Server Error
  23734. schema:
  23735. $ref: '#/definitions/app.Response'
  23736. security:
  23737. - ApiKeyAuth: []
  23738. summary: 查询业务类型分组(账户管理/账户设置)
  23739. tags:
  23740. - 企业风险管理(app)
  23741. /Ermcp/QueryAccMgrLoginUser:
  23742. get:
  23743. parameters:
  23744. - description: 用户ID
  23745. in: query
  23746. name: userid
  23747. required: true
  23748. type: integer
  23749. - description: 用户类型 2-机构 7-企业成员
  23750. in: query
  23751. name: usertype
  23752. type: integer
  23753. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23754. in: query
  23755. name: querytype
  23756. required: true
  23757. type: integer
  23758. produces:
  23759. - application/json
  23760. responses:
  23761. "200":
  23762. description: OK
  23763. schema:
  23764. items:
  23765. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23766. type: array
  23767. "500":
  23768. description: Internal Server Error
  23769. schema:
  23770. $ref: '#/definitions/app.Response'
  23771. security:
  23772. - ApiKeyAuth: []
  23773. summary: 查询账户管理登录账号(账户管理/登录账号)
  23774. tags:
  23775. - 企业风险管理(app)
  23776. /Ermcp/QueryAccMgrMainAccountInfo:
  23777. get:
  23778. parameters:
  23779. - description: 用户ID
  23780. in: query
  23781. name: userid
  23782. type: integer
  23783. - description: 主账号id
  23784. in: query
  23785. name: accountid
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. items:
  23794. $ref: '#/definitions/models.MainAccountInfo'
  23795. type: array
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23803. tags:
  23804. - 企业风险管理(app)
  23805. /Ermcp/QueryAccMgrRole:
  23806. get:
  23807. parameters:
  23808. - description: 用户ID
  23809. in: query
  23810. name: userid
  23811. required: true
  23812. type: integer
  23813. produces:
  23814. - application/json
  23815. responses:
  23816. "200":
  23817. description: OK
  23818. schema:
  23819. items:
  23820. $ref: '#/definitions/models.ErmcpRole'
  23821. type: array
  23822. "500":
  23823. description: Internal Server Error
  23824. schema:
  23825. $ref: '#/definitions/app.Response'
  23826. security:
  23827. - ApiKeyAuth: []
  23828. summary: 查询账户管理角色设置(账户管理/角色设置)
  23829. tags:
  23830. - 企业风险管理(app)
  23831. /Ermcp/QueryAccMgrRoleMenu:
  23832. get:
  23833. parameters:
  23834. - description: 用户ID
  23835. in: query
  23836. name: userid
  23837. required: true
  23838. type: integer
  23839. - description: 角色id(可多个,逗号隔开)
  23840. in: query
  23841. name: roleid
  23842. type: string
  23843. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23844. in: query
  23845. name: menutype
  23846. type: integer
  23847. produces:
  23848. - application/json
  23849. responses:
  23850. "200":
  23851. description: OK
  23852. schema:
  23853. items:
  23854. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23855. type: array
  23856. "500":
  23857. description: Internal Server Error
  23858. schema:
  23859. $ref: '#/definitions/app.Response'
  23860. security:
  23861. - ApiKeyAuth: []
  23862. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23863. tags:
  23864. - 企业风险管理(app)
  23865. /Ermcp/QueryAccMgrTaAccountInfo:
  23866. get:
  23867. parameters:
  23868. - description: 用户ID
  23869. in: query
  23870. name: userid
  23871. required: true
  23872. type: integer
  23873. - description: 账号id
  23874. in: query
  23875. name: accountid
  23876. type: integer
  23877. produces:
  23878. - application/json
  23879. responses:
  23880. "200":
  23881. description: OK
  23882. schema:
  23883. items:
  23884. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23885. type: array
  23886. "500":
  23887. description: Internal Server Error
  23888. schema:
  23889. $ref: '#/definitions/app.Response'
  23890. security:
  23891. - ApiKeyAuth: []
  23892. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23893. tags:
  23894. - 企业风险管理(app)
  23895. /Ermcp/QueryAccMgrTaaccount:
  23896. get:
  23897. parameters:
  23898. - description: 用户ID
  23899. in: query
  23900. name: userid
  23901. required: true
  23902. type: integer
  23903. produces:
  23904. - application/json
  23905. responses:
  23906. "200":
  23907. description: OK
  23908. schema:
  23909. items:
  23910. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23911. type: array
  23912. "500":
  23913. description: Internal Server Error
  23914. schema:
  23915. $ref: '#/definitions/app.Response'
  23916. security:
  23917. - ApiKeyAuth: []
  23918. summary: 查询账户管理期货账号(账户管理/期货账号)
  23919. tags:
  23920. - 企业风险管理(app)
  23921. /Ermcp/QueryAvaildGoodsGroup:
  23922. get:
  23923. parameters:
  23924. - description: 所属机构ID
  23925. in: query
  23926. name: userid
  23927. required: true
  23928. type: integer
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. items:
  23936. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23937. type: array
  23938. "500":
  23939. description: Internal Server Error
  23940. schema:
  23941. $ref: '#/definitions/app.Response'
  23942. security:
  23943. - ApiKeyAuth: []
  23944. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23945. tags:
  23946. - 企业风险管理(app)
  23947. /Ermcp/QueryBusinessDj:
  23948. get:
  23949. parameters:
  23950. - description: 用户ID
  23951. in: query
  23952. name: UserId
  23953. required: true
  23954. type: integer
  23955. - description: 用户类型 2-机构 7-企业成员
  23956. in: query
  23957. name: usertype
  23958. type: integer
  23959. - description: 现货合同ID, 不填则查所有
  23960. in: query
  23961. name: relatedid
  23962. type: string
  23963. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23964. in: query
  23965. name: applystatus
  23966. type: string
  23967. produces:
  23968. - application/json
  23969. responses:
  23970. "200":
  23971. description: OK
  23972. schema:
  23973. items:
  23974. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23975. type: array
  23976. "500":
  23977. description: Internal Server Error
  23978. schema:
  23979. $ref: '#/definitions/app.Response'
  23980. security:
  23981. - ApiKeyAuth: []
  23982. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23983. tags:
  23984. - 企业风险管理(app)
  23985. /Ermcp/QueryBusinessFp:
  23986. get:
  23987. parameters:
  23988. - description: 用户ID
  23989. in: query
  23990. name: UserId
  23991. required: true
  23992. type: integer
  23993. - description: 用户类型 2-机构 7-企业成员
  23994. in: query
  23995. name: usertype
  23996. type: integer
  23997. - description: 现货合同ID, 不填则查所有
  23998. in: query
  23999. name: relatedid
  24000. type: string
  24001. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24002. in: query
  24003. name: applystatus
  24004. type: string
  24005. produces:
  24006. - application/json
  24007. responses:
  24008. "200":
  24009. description: OK
  24010. schema:
  24011. items:
  24012. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24013. type: array
  24014. "500":
  24015. description: Internal Server Error
  24016. schema:
  24017. $ref: '#/definitions/app.Response'
  24018. security:
  24019. - ApiKeyAuth: []
  24020. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24021. tags:
  24022. - 企业风险管理(app)
  24023. /Ermcp/QueryBusinessJs:
  24024. get:
  24025. parameters:
  24026. - description: 用户ID
  24027. in: query
  24028. name: UserId
  24029. required: true
  24030. type: integer
  24031. - description: 用户类型 2-机构 7-企业成员
  24032. in: query
  24033. name: usertype
  24034. type: integer
  24035. - description: 现货合同ID, 不填则查所有
  24036. in: query
  24037. name: relatedid
  24038. type: string
  24039. - description: 操作申请id
  24040. in: query
  24041. name: operateapplyid
  24042. type: string
  24043. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24044. in: query
  24045. name: applystatus
  24046. type: string
  24047. produces:
  24048. - application/json
  24049. responses:
  24050. "200":
  24051. description: OK
  24052. schema:
  24053. items:
  24054. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24055. type: array
  24056. "500":
  24057. description: Internal Server Error
  24058. schema:
  24059. $ref: '#/definitions/app.Response'
  24060. security:
  24061. - ApiKeyAuth: []
  24062. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24063. tags:
  24064. - 企业风险管理(app)
  24065. /Ermcp/QueryBusinessJsEx:
  24066. get:
  24067. parameters:
  24068. - description: 用户ID
  24069. in: query
  24070. name: UserId
  24071. required: true
  24072. type: integer
  24073. - description: 用户类型 2-机构 7-企业成员
  24074. in: query
  24075. name: usertype
  24076. type: integer
  24077. - description: 现货合同ID, 不填则查所有
  24078. in: query
  24079. name: relatedid
  24080. type: string
  24081. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24082. in: query
  24083. name: applystatus
  24084. type: string
  24085. produces:
  24086. - application/json
  24087. responses:
  24088. "200":
  24089. description: OK
  24090. schema:
  24091. items:
  24092. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24093. type: array
  24094. "500":
  24095. description: Internal Server Error
  24096. schema:
  24097. $ref: '#/definitions/app.Response'
  24098. security:
  24099. - ApiKeyAuth: []
  24100. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24101. tags:
  24102. - 企业风险管理(app)
  24103. /Ermcp/QueryBusinessKx:
  24104. get:
  24105. parameters:
  24106. - description: 用户ID
  24107. in: query
  24108. name: UserId
  24109. required: true
  24110. type: integer
  24111. - description: 用户类型 2-机构 7-企业成员
  24112. in: query
  24113. name: usertype
  24114. type: integer
  24115. - description: 现货合同ID, 不填则查所有
  24116. in: query
  24117. name: relatedid
  24118. type: string
  24119. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24120. in: query
  24121. name: applystatus
  24122. type: string
  24123. produces:
  24124. - application/json
  24125. responses:
  24126. "200":
  24127. description: OK
  24128. schema:
  24129. items:
  24130. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24131. type: array
  24132. "500":
  24133. description: Internal Server Error
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. security:
  24137. - ApiKeyAuth: []
  24138. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24139. tags:
  24140. - 企业风险管理(app)
  24141. /Ermcp/QueryChangeLog:
  24142. get:
  24143. parameters:
  24144. - description: 合同ID
  24145. in: query
  24146. name: RelatedId
  24147. required: true
  24148. type: string
  24149. produces:
  24150. - application/json
  24151. responses:
  24152. "200":
  24153. description: OK
  24154. schema:
  24155. items:
  24156. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24157. type: array
  24158. "500":
  24159. description: Internal Server Error
  24160. schema:
  24161. $ref: '#/definitions/app.Response'
  24162. security:
  24163. - ApiKeyAuth: []
  24164. summary: 查询变更记录
  24165. tags:
  24166. - 企业风险管理(app)
  24167. /Ermcp/QueryErmcpHisOrderDetails:
  24168. get:
  24169. parameters:
  24170. - description: 资金账户ID
  24171. in: query
  24172. name: accountID
  24173. required: true
  24174. type: integer
  24175. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24176. in: query
  24177. name: startDate
  24178. type: string
  24179. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24180. in: query
  24181. name: endDate
  24182. type: string
  24183. produces:
  24184. - application/json
  24185. responses:
  24186. "200":
  24187. description: OK
  24188. schema:
  24189. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24190. "500":
  24191. description: Internal Server Error
  24192. schema:
  24193. $ref: '#/definitions/app.Response'
  24194. security:
  24195. - ApiKeyAuth: []
  24196. summary: 获取企业风管期货历史委托单信息
  24197. tags:
  24198. - 企业风险管理(app)
  24199. /Ermcp/QueryErmcpHisTradeDetails:
  24200. get:
  24201. parameters:
  24202. - description: 资金账户ID
  24203. in: query
  24204. name: accountID
  24205. required: true
  24206. type: integer
  24207. - description: 商品ID
  24208. in: query
  24209. name: goodsID
  24210. type: integer
  24211. - description: 买卖方向,0:买 1:卖
  24212. in: query
  24213. name: buyOrSell
  24214. type: integer
  24215. - description: 关联委托单号
  24216. in: query
  24217. name: orderID
  24218. type: integer
  24219. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24220. in: query
  24221. name: startDate
  24222. type: string
  24223. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24224. in: query
  24225. name: endDate
  24226. type: string
  24227. produces:
  24228. - application/json
  24229. responses:
  24230. "200":
  24231. description: OK
  24232. schema:
  24233. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24234. "500":
  24235. description: Internal Server Error
  24236. schema:
  24237. $ref: '#/definitions/app.Response'
  24238. security:
  24239. - ApiKeyAuth: []
  24240. summary: 获取企业风管期货历史成交单信息
  24241. tags:
  24242. - 企业风险管理(app)
  24243. /Ermcp/QueryErmcpInnerHolderDetails:
  24244. get:
  24245. parameters:
  24246. - description: 资金账户ID
  24247. in: query
  24248. name: accountID
  24249. required: true
  24250. type: integer
  24251. - description: 商品ID
  24252. in: query
  24253. name: goodsID
  24254. type: integer
  24255. - description: 买卖方向,0:买 1:卖
  24256. in: query
  24257. name: buyOrSell
  24258. type: integer
  24259. produces:
  24260. - application/json
  24261. responses:
  24262. "200":
  24263. description: OK
  24264. schema:
  24265. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24266. "500":
  24267. description: Internal Server Error
  24268. schema:
  24269. $ref: '#/definitions/app.Response'
  24270. security:
  24271. - ApiKeyAuth: []
  24272. summary: 获取企业风管期货内部持仓单信息
  24273. tags:
  24274. - 企业风险管理(app)
  24275. /Ermcp/QueryErmcpOrderDetails:
  24276. get:
  24277. parameters:
  24278. - description: 资金账户ID
  24279. in: query
  24280. name: accountID
  24281. required: true
  24282. type: integer
  24283. produces:
  24284. - application/json
  24285. responses:
  24286. "200":
  24287. description: OK
  24288. schema:
  24289. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24290. "500":
  24291. description: Internal Server Error
  24292. schema:
  24293. $ref: '#/definitions/app.Response'
  24294. security:
  24295. - ApiKeyAuth: []
  24296. summary: 获取企业风管期货委托单信息
  24297. tags:
  24298. - 企业风险管理(app)
  24299. /Ermcp/QueryErmcpTradeDetails:
  24300. get:
  24301. parameters:
  24302. - description: 资金账户ID
  24303. in: query
  24304. name: accountID
  24305. required: true
  24306. type: integer
  24307. - description: 商品ID
  24308. in: query
  24309. name: goodsID
  24310. type: integer
  24311. - description: 买卖方向,0:买 1:卖
  24312. in: query
  24313. name: buyOrSell
  24314. type: integer
  24315. - description: 关联委托单号
  24316. in: query
  24317. name: orderID
  24318. type: integer
  24319. produces:
  24320. - application/json
  24321. responses:
  24322. "200":
  24323. description: OK
  24324. schema:
  24325. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24326. "500":
  24327. description: Internal Server Error
  24328. schema:
  24329. $ref: '#/definitions/app.Response'
  24330. security:
  24331. - ApiKeyAuth: []
  24332. summary: 获取企业风管期货成交单信息
  24333. tags:
  24334. - 企业风险管理(app)
  24335. /Ermcp/QueryErmcpTradePosition:
  24336. get:
  24337. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24338. parameters:
  24339. - description: 资金账户ID
  24340. in: query
  24341. name: accountID
  24342. required: true
  24343. type: integer
  24344. - description: 所属市场ID
  24345. in: query
  24346. name: marketID
  24347. type: integer
  24348. produces:
  24349. - application/json
  24350. responses:
  24351. "200":
  24352. description: OK
  24353. schema:
  24354. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24355. "500":
  24356. description: Internal Server Error
  24357. schema:
  24358. $ref: '#/definitions/app.Response'
  24359. security:
  24360. - ApiKeyAuth: []
  24361. summary: 获取企业风管期货持仓头寸信息
  24362. tags:
  24363. - 企业风险管理(app)
  24364. /Ermcp/QueryExposureDetail:
  24365. get:
  24366. parameters:
  24367. - description: 所属机构ID
  24368. in: query
  24369. name: areaUserId
  24370. required: true
  24371. type: integer
  24372. - description: 套保商品
  24373. in: query
  24374. name: middleGoodsId
  24375. required: true
  24376. type: integer
  24377. produces:
  24378. - application/json
  24379. responses:
  24380. "200":
  24381. description: OK
  24382. schema:
  24383. items:
  24384. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24385. type: array
  24386. "500":
  24387. description: Internal Server Error
  24388. schema:
  24389. $ref: '#/definitions/app.Response'
  24390. security:
  24391. - ApiKeyAuth: []
  24392. summary: 查询敞口现货明细
  24393. tags:
  24394. - 企业风险管理(app)
  24395. /Ermcp/QueryExposureGoods:
  24396. get:
  24397. parameters:
  24398. - description: 套保商品id
  24399. in: query
  24400. name: middlegoodsid
  24401. required: true
  24402. type: integer
  24403. produces:
  24404. - application/json
  24405. responses:
  24406. "200":
  24407. description: OK
  24408. schema:
  24409. items:
  24410. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24411. type: array
  24412. "500":
  24413. description: Internal Server Error
  24414. schema:
  24415. $ref: '#/definitions/app.Response'
  24416. security:
  24417. - ApiKeyAuth: []
  24418. summary: 查询敞口主力合约
  24419. tags:
  24420. - 企业风险管理(app)
  24421. /Ermcp/QueryExposureHedgePosition:
  24422. get:
  24423. parameters:
  24424. - description: 用户id
  24425. in: query
  24426. name: userid
  24427. required: true
  24428. type: integer
  24429. produces:
  24430. - application/json
  24431. responses:
  24432. "200":
  24433. description: OK
  24434. schema:
  24435. items:
  24436. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24437. type: array
  24438. "500":
  24439. description: Internal Server Error
  24440. schema:
  24441. $ref: '#/definitions/app.Response'
  24442. security:
  24443. - ApiKeyAuth: []
  24444. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24445. tags:
  24446. - 企业风险管理(app)
  24447. /Ermcp/QueryExposureHedgePositionDetail:
  24448. get:
  24449. parameters:
  24450. - description: 所属机构ID
  24451. in: query
  24452. name: userid
  24453. required: true
  24454. type: integer
  24455. - description: 商品id
  24456. in: query
  24457. name: goodsId
  24458. required: true
  24459. type: integer
  24460. produces:
  24461. - application/json
  24462. responses:
  24463. "200":
  24464. description: OK
  24465. schema:
  24466. items:
  24467. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24468. type: array
  24469. "500":
  24470. description: Internal Server Error
  24471. schema:
  24472. $ref: '#/definitions/app.Response'
  24473. security:
  24474. - ApiKeyAuth: []
  24475. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24476. tags:
  24477. - 企业风险管理(app)
  24478. /Ermcp/QueryExposureSpot:
  24479. get:
  24480. parameters:
  24481. - description: 所属机构ID
  24482. in: query
  24483. name: areaUserId
  24484. required: true
  24485. type: integer
  24486. produces:
  24487. - application/json
  24488. responses:
  24489. "200":
  24490. description: OK
  24491. schema:
  24492. items:
  24493. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24494. type: array
  24495. "500":
  24496. description: Internal Server Error
  24497. schema:
  24498. $ref: '#/definitions/app.Response'
  24499. security:
  24500. - ApiKeyAuth: []
  24501. summary: 查询敞口现货头寸(敞口/现货头寸)
  24502. tags:
  24503. - 企业风险管理(app)
  24504. /Ermcp/QueryExposureSpotDetail:
  24505. get:
  24506. parameters:
  24507. - description: 所属机构ID
  24508. in: query
  24509. name: areaUserId
  24510. required: true
  24511. type: integer
  24512. - description: 现货品种ID
  24513. in: query
  24514. name: wrstandardId
  24515. required: true
  24516. type: integer
  24517. produces:
  24518. - application/json
  24519. responses:
  24520. "200":
  24521. description: OK
  24522. schema:
  24523. items:
  24524. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24525. type: array
  24526. "500":
  24527. description: Internal Server Error
  24528. schema:
  24529. $ref: '#/definitions/app.Response'
  24530. security:
  24531. - ApiKeyAuth: []
  24532. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24533. tags:
  24534. - 企业风险管理(app)
  24535. /Ermcp/QueryFuturesCompany:
  24536. get:
  24537. produces:
  24538. - application/json
  24539. responses:
  24540. "200":
  24541. description: OK
  24542. schema:
  24543. items:
  24544. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24545. type: array
  24546. "500":
  24547. description: Internal Server Error
  24548. schema:
  24549. $ref: '#/definitions/app.Response'
  24550. security:
  24551. - ApiKeyAuth: []
  24552. summary: 查询期货公司
  24553. tags:
  24554. - 企业风险管理(app)
  24555. /Ermcp/QueryGGConvertConfig:
  24556. get:
  24557. parameters:
  24558. - description: 品种id(不填则查所有)
  24559. in: query
  24560. name: goodsgroupid
  24561. type: integer
  24562. produces:
  24563. - application/json
  24564. responses:
  24565. "200":
  24566. description: OK
  24567. schema:
  24568. items:
  24569. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24570. type: array
  24571. "500":
  24572. description: Internal Server Error
  24573. schema:
  24574. $ref: '#/definitions/app.Response'
  24575. security:
  24576. - ApiKeyAuth: []
  24577. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24578. tags:
  24579. - 企业风险管理(app)
  24580. /Ermcp/QueryGoodsBrand:
  24581. get:
  24582. parameters:
  24583. - description: 用户ID
  24584. in: query
  24585. name: userid
  24586. required: true
  24587. type: integer
  24588. - description: 现货商品ID
  24589. in: query
  24590. name: wrstandardid
  24591. type: integer
  24592. produces:
  24593. - application/json
  24594. responses:
  24595. "200":
  24596. description: OK
  24597. schema:
  24598. items:
  24599. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24600. type: array
  24601. "500":
  24602. description: Internal Server Error
  24603. schema:
  24604. $ref: '#/definitions/app.Response'
  24605. security:
  24606. - ApiKeyAuth: []
  24607. summary: 查询商品品牌
  24608. tags:
  24609. - 企业风险管理(app)
  24610. /Ermcp/QueryGoodsModel:
  24611. get:
  24612. parameters:
  24613. - description: 用户ID
  24614. in: query
  24615. name: userid
  24616. required: true
  24617. type: integer
  24618. produces:
  24619. - application/json
  24620. responses:
  24621. "200":
  24622. description: OK
  24623. schema:
  24624. items:
  24625. $ref: '#/definitions/models.ErmcpGoodsModel'
  24626. type: array
  24627. "500":
  24628. description: Internal Server Error
  24629. schema:
  24630. $ref: '#/definitions/app.Response'
  24631. security:
  24632. - ApiKeyAuth: []
  24633. summary: 查询商品型号
  24634. tags:
  24635. - 企业风险管理(app)
  24636. /Ermcp/QueryHisExposure:
  24637. get:
  24638. parameters:
  24639. - description: 用户id
  24640. in: query
  24641. name: userid
  24642. required: true
  24643. type: integer
  24644. - description: 每个品种记录数
  24645. in: query
  24646. name: lastNum
  24647. required: true
  24648. type: integer
  24649. produces:
  24650. - application/json
  24651. responses:
  24652. "200":
  24653. description: OK
  24654. schema:
  24655. items:
  24656. $ref: '#/definitions/ermcp.HisExposureRsp'
  24657. type: array
  24658. "500":
  24659. description: Internal Server Error
  24660. schema:
  24661. $ref: '#/definitions/app.Response'
  24662. security:
  24663. - ApiKeyAuth: []
  24664. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24665. tags:
  24666. - 企业风险管理(app)
  24667. /Ermcp/QueryMiddleGoods:
  24668. get:
  24669. parameters:
  24670. - description: 所属机构ID
  24671. in: query
  24672. name: userid
  24673. required: true
  24674. type: integer
  24675. - description: 状态 0-停用 1-正常
  24676. in: query
  24677. name: status
  24678. required: true
  24679. type: integer
  24680. produces:
  24681. - application/json
  24682. responses:
  24683. "200":
  24684. description: OK
  24685. schema:
  24686. items:
  24687. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24688. type: array
  24689. "500":
  24690. description: Internal Server Error
  24691. schema:
  24692. $ref: '#/definitions/app.Response'
  24693. security:
  24694. - ApiKeyAuth: []
  24695. summary: 查询套保品种(菜单:套保品种)
  24696. tags:
  24697. - 企业风险管理(app)
  24698. /Ermcp/QueryMiddleGoodsChangeLog:
  24699. get:
  24700. parameters:
  24701. - description: 所属机构ID
  24702. in: query
  24703. name: userid
  24704. required: true
  24705. type: integer
  24706. - description: 套保品种id
  24707. in: query
  24708. name: middlegoodsid
  24709. required: true
  24710. type: integer
  24711. produces:
  24712. - application/json
  24713. responses:
  24714. "200":
  24715. description: OK
  24716. schema:
  24717. items:
  24718. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24719. type: array
  24720. "500":
  24721. description: Internal Server Error
  24722. schema:
  24723. $ref: '#/definitions/app.Response'
  24724. security:
  24725. - ApiKeyAuth: []
  24726. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24727. tags:
  24728. - 企业风险管理(app)
  24729. /Ermcp/QueryMiddleGoodsDetail:
  24730. get:
  24731. parameters:
  24732. - description: 所属机构ID
  24733. in: query
  24734. name: userid
  24735. required: true
  24736. type: integer
  24737. - description: 套保品种id
  24738. in: query
  24739. name: middlegoodsid
  24740. type: integer
  24741. produces:
  24742. - application/json
  24743. responses:
  24744. "200":
  24745. description: OK
  24746. schema:
  24747. items:
  24748. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24749. type: array
  24750. "500":
  24751. description: Internal Server Error
  24752. schema:
  24753. $ref: '#/definitions/app.Response'
  24754. security:
  24755. - ApiKeyAuth: []
  24756. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24757. tags:
  24758. - 企业风险管理(app)
  24759. /Ermcp/QueryPendingAuditInfo:
  24760. get:
  24761. parameters:
  24762. - description: 用户ID
  24763. in: query
  24764. name: UserId
  24765. required: true
  24766. type: integer
  24767. produces:
  24768. - application/json
  24769. responses:
  24770. "200":
  24771. description: OK
  24772. schema:
  24773. items:
  24774. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24775. type: array
  24776. "500":
  24777. description: Internal Server Error
  24778. schema:
  24779. $ref: '#/definitions/app.Response'
  24780. security:
  24781. - ApiKeyAuth: []
  24782. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24783. tags:
  24784. - 企业风险管理(app)
  24785. /Ermcp/QueryRealtimeExposure:
  24786. get:
  24787. parameters:
  24788. - description: 所属机构ID
  24789. in: query
  24790. name: userid
  24791. required: true
  24792. type: integer
  24793. produces:
  24794. - application/json
  24795. responses:
  24796. "200":
  24797. description: OK
  24798. schema:
  24799. items:
  24800. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24801. type: array
  24802. "500":
  24803. description: Internal Server Error
  24804. schema:
  24805. $ref: '#/definitions/app.Response'
  24806. security:
  24807. - ApiKeyAuth: []
  24808. summary: 查询实时敞口
  24809. tags:
  24810. - 企业风险管理(app)
  24811. /Ermcp/QueryRealtimeExposurePosition:
  24812. get:
  24813. parameters:
  24814. - description: 用户id
  24815. in: query
  24816. name: userid
  24817. required: true
  24818. type: integer
  24819. - description: 套保商品ID
  24820. in: query
  24821. name: middleGoodsId
  24822. required: true
  24823. type: integer
  24824. produces:
  24825. - application/json
  24826. responses:
  24827. "200":
  24828. description: OK
  24829. schema:
  24830. items:
  24831. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24832. type: array
  24833. "500":
  24834. description: Internal Server Error
  24835. schema:
  24836. $ref: '#/definitions/app.Response'
  24837. security:
  24838. - ApiKeyAuth: []
  24839. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24840. tags:
  24841. - 企业风险管理(app)
  24842. /Ermcp/QueryRoleMenu:
  24843. get:
  24844. parameters:
  24845. - description: 登录ID
  24846. in: query
  24847. name: loginid
  24848. required: true
  24849. type: integer
  24850. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24851. in: query
  24852. name: menutype
  24853. type: integer
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. items:
  24861. $ref: '#/definitions/models.RoleMenu'
  24862. type: array
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 查询角色菜单和权限
  24870. tags:
  24871. - 企业风险管理(app)
  24872. /Ermcp/QueryTradeConfigTMP:
  24873. get:
  24874. parameters:
  24875. - description: 所属机构id
  24876. in: query
  24877. name: areauserid
  24878. type: integer
  24879. produces:
  24880. - application/json
  24881. responses:
  24882. "200":
  24883. description: OK
  24884. schema:
  24885. items:
  24886. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24887. type: array
  24888. "500":
  24889. description: Internal Server Error
  24890. schema:
  24891. $ref: '#/definitions/app.Response'
  24892. security:
  24893. - ApiKeyAuth: []
  24894. summary: 查询交易模板配置
  24895. tags:
  24896. - 企业风险管理(app)
  24897. /Ermcp/QueryUserInfo:
  24898. get:
  24899. parameters:
  24900. - description: 所属机构用户ID
  24901. in: query
  24902. name: MemberUserID
  24903. required: true
  24904. type: integer
  24905. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24906. in: query
  24907. name: queryType
  24908. required: true
  24909. type: integer
  24910. produces:
  24911. - application/json
  24912. responses:
  24913. "200":
  24914. description: OK
  24915. schema:
  24916. items:
  24917. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24918. type: array
  24919. "500":
  24920. description: Internal Server Error
  24921. schema:
  24922. $ref: '#/definitions/app.Response'
  24923. security:
  24924. - ApiKeyAuth: []
  24925. summary: 查询客户资料
  24926. tags:
  24927. - 企业风险管理(app)
  24928. /Ermcp/QueryWarehouseInfo:
  24929. get:
  24930. parameters:
  24931. - description: 用户ID
  24932. in: query
  24933. name: userid
  24934. required: true
  24935. type: integer
  24936. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24937. in: query
  24938. name: status
  24939. type: string
  24940. produces:
  24941. - application/json
  24942. responses:
  24943. "200":
  24944. description: OK
  24945. schema:
  24946. items:
  24947. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24948. type: array
  24949. "500":
  24950. description: Internal Server Error
  24951. schema:
  24952. $ref: '#/definitions/app.Response'
  24953. security:
  24954. - ApiKeyAuth: []
  24955. summary: 查询仓库信息
  24956. tags:
  24957. - 企业风险管理(app)
  24958. /Ermcp3/QryAreaExpourseContractDetail:
  24959. get:
  24960. parameters:
  24961. - description: 用户ID
  24962. in: query
  24963. name: userid
  24964. required: true
  24965. type: integer
  24966. - description: 套保商品id
  24967. in: query
  24968. name: middlegoodsid
  24969. required: true
  24970. type: integer
  24971. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24972. in: query
  24973. name: cycletype
  24974. required: true
  24975. type: integer
  24976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24977. 全(0)【原值】
  24978. in: query
  24979. name: cycletime
  24980. required: true
  24981. type: string
  24982. produces:
  24983. - application/json
  24984. responses:
  24985. "200":
  24986. description: OK
  24987. schema:
  24988. items:
  24989. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24990. type: array
  24991. "500":
  24992. description: Internal Server Error
  24993. schema:
  24994. $ref: '#/definitions/app.Response'
  24995. security:
  24996. - ApiKeyAuth: []
  24997. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24998. tags:
  24999. - 企业风险管理v3(app)
  25000. /Ermcp3/QryAreaExpourseFutuDetail:
  25001. get:
  25002. parameters:
  25003. - description: 用户ID
  25004. in: query
  25005. name: userid
  25006. required: true
  25007. type: integer
  25008. - description: 套保商品id
  25009. in: query
  25010. name: middlegoodsid
  25011. required: true
  25012. type: integer
  25013. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25014. in: query
  25015. name: cycletype
  25016. required: true
  25017. type: integer
  25018. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25019. 全(0)【原值】
  25020. in: query
  25021. name: cycletime
  25022. required: true
  25023. type: string
  25024. produces:
  25025. - application/json
  25026. responses:
  25027. "200":
  25028. description: OK
  25029. schema:
  25030. items:
  25031. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25032. type: array
  25033. "500":
  25034. description: Internal Server Error
  25035. schema:
  25036. $ref: '#/definitions/app.Response'
  25037. security:
  25038. - ApiKeyAuth: []
  25039. summary: 查询敞口期货明细(敞口报表/期货明细)
  25040. tags:
  25041. - 企业风险管理v3(app)
  25042. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25043. get:
  25044. parameters:
  25045. - description: 用户ID
  25046. in: query
  25047. name: userid
  25048. required: true
  25049. type: integer
  25050. - description: 套保商品id
  25051. in: query
  25052. name: middlegoodsid
  25053. required: true
  25054. type: integer
  25055. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25056. in: query
  25057. name: cycletype
  25058. required: true
  25059. type: integer
  25060. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25061. 全(0)【原值】
  25062. in: query
  25063. name: cycletime
  25064. required: true
  25065. type: string
  25066. produces:
  25067. - application/json
  25068. responses:
  25069. "200":
  25070. description: OK
  25071. schema:
  25072. items:
  25073. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25074. type: array
  25075. "500":
  25076. description: Internal Server Error
  25077. schema:
  25078. $ref: '#/definitions/app.Response'
  25079. security:
  25080. - ApiKeyAuth: []
  25081. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25082. tags:
  25083. - 企业风险管理v3(app)
  25084. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25085. get:
  25086. parameters:
  25087. - description: 用户ID
  25088. in: query
  25089. name: userid
  25090. required: true
  25091. type: integer
  25092. - description: 套保商品id
  25093. in: query
  25094. name: middlegoodsid
  25095. required: true
  25096. type: integer
  25097. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25098. in: query
  25099. name: cycletype
  25100. required: true
  25101. type: integer
  25102. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25103. 全(0)【原值】
  25104. in: query
  25105. name: cycletime
  25106. required: true
  25107. type: string
  25108. produces:
  25109. - application/json
  25110. responses:
  25111. "200":
  25112. description: OK
  25113. schema:
  25114. items:
  25115. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25116. type: array
  25117. "500":
  25118. description: Internal Server Error
  25119. schema:
  25120. $ref: '#/definitions/app.Response'
  25121. security:
  25122. - ApiKeyAuth: []
  25123. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25124. tags:
  25125. - 企业风险管理v3(app)
  25126. /Ermcp3/QryAreaExpourseReport:
  25127. get:
  25128. parameters:
  25129. - description: 用户ID
  25130. in: query
  25131. name: userid
  25132. required: true
  25133. type: integer
  25134. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25135. in: query
  25136. name: querytype
  25137. required: true
  25138. type: integer
  25139. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25140. in: query
  25141. name: cycletype
  25142. required: true
  25143. type: integer
  25144. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25145. 全(0)【原值】
  25146. in: query
  25147. name: cycletime
  25148. required: true
  25149. type: string
  25150. produces:
  25151. - application/json
  25152. responses:
  25153. "200":
  25154. description: OK
  25155. schema:
  25156. items:
  25157. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25158. type: array
  25159. "500":
  25160. description: Internal Server Error
  25161. schema:
  25162. $ref: '#/definitions/app.Response'
  25163. security:
  25164. - ApiKeyAuth: []
  25165. summary: 查询敞口报表
  25166. tags:
  25167. - 企业风险管理v3(app)
  25168. /Ermcp3/QryAreaSpotplReport:
  25169. get:
  25170. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25171. parameters:
  25172. - description: 用户ID
  25173. in: query
  25174. name: userid
  25175. required: true
  25176. type: integer
  25177. - description: 查询类型 1-报表 2-报表明细
  25178. in: query
  25179. name: querytype
  25180. required: true
  25181. type: integer
  25182. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25183. in: query
  25184. name: cycletype
  25185. required: true
  25186. type: integer
  25187. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25188. 全(0)【原值】
  25189. in: query
  25190. name: cycletime
  25191. required: true
  25192. type: string
  25193. - description: 现货品种id(明细必填)
  25194. in: query
  25195. name: deliverygoodsid
  25196. type: integer
  25197. - description: 币种id(明细必填)
  25198. in: query
  25199. name: currencyid
  25200. type: integer
  25201. - description: 日/周/月报表汇总维度 1:品种+品类
  25202. in: query
  25203. name: sumflag
  25204. type: integer
  25205. produces:
  25206. - application/json
  25207. responses:
  25208. "200":
  25209. description: OK
  25210. schema:
  25211. items:
  25212. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25213. type: array
  25214. "500":
  25215. description: Internal Server Error
  25216. schema:
  25217. $ref: '#/definitions/app.Response'
  25218. security:
  25219. - ApiKeyAuth: []
  25220. summary: 查询现货报表
  25221. tags:
  25222. - 企业风险管理v3(app)
  25223. /Ermcp3/QryAreaStockReport:
  25224. get:
  25225. parameters:
  25226. - description: 用户ID
  25227. in: query
  25228. name: userid
  25229. required: true
  25230. type: integer
  25231. - description: 查询类型 1-报表 2-报表明细
  25232. in: query
  25233. name: querytype
  25234. required: true
  25235. type: integer
  25236. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25237. in: query
  25238. name: cycletype
  25239. required: true
  25240. type: integer
  25241. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25242. 全(0)【原值】
  25243. in: query
  25244. name: cycletime
  25245. required: true
  25246. type: string
  25247. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25248. in: query
  25249. name: sumfields
  25250. type: string
  25251. - description: 品种ID
  25252. in: query
  25253. name: deliverygoodsid
  25254. type: integer
  25255. - description: 品类ID
  25256. in: query
  25257. name: wrstandardid
  25258. type: integer
  25259. - description: 品牌ID
  25260. in: query
  25261. name: spotgoodsbrandid
  25262. type: integer
  25263. - description: 仓库ID
  25264. in: query
  25265. name: warehouseinfoid
  25266. type: integer
  25267. produces:
  25268. - application/json
  25269. responses:
  25270. "200":
  25271. description: OK
  25272. schema:
  25273. items:
  25274. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25275. type: array
  25276. "500":
  25277. description: Internal Server Error
  25278. schema:
  25279. $ref: '#/definitions/app.Response'
  25280. security:
  25281. - ApiKeyAuth: []
  25282. summary: 查询库存报表
  25283. tags:
  25284. - 企业风险管理v3(app)
  25285. /Ermcp3/QryAreaSumPL:
  25286. get:
  25287. parameters:
  25288. - description: 用户ID
  25289. in: query
  25290. name: userid
  25291. required: true
  25292. type: integer
  25293. - description: 查询类型 1-报表 2-报表明细
  25294. in: query
  25295. name: querytype
  25296. required: true
  25297. type: integer
  25298. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25299. in: query
  25300. name: cycletype
  25301. required: true
  25302. type: integer
  25303. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25304. 全(0)【原值】
  25305. in: query
  25306. name: cycletime
  25307. required: true
  25308. type: string
  25309. - description: 币种id(明细必填)
  25310. in: query
  25311. name: currencyid
  25312. type: integer
  25313. - description: 套保品种ID, 查询类型为2时起效
  25314. in: query
  25315. name: middlegoodsid
  25316. type: integer
  25317. produces:
  25318. - application/json
  25319. responses:
  25320. "200":
  25321. description: OK
  25322. schema:
  25323. items:
  25324. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25325. type: array
  25326. "500":
  25327. description: Internal Server Error
  25328. schema:
  25329. $ref: '#/definitions/app.Response'
  25330. security:
  25331. - ApiKeyAuth: []
  25332. summary: 查询汇总损益表
  25333. tags:
  25334. - 企业风险管理v3(app)
  25335. /Ermcp3/QryFinanceReport:
  25336. get:
  25337. parameters:
  25338. - description: 用户ID
  25339. in: query
  25340. name: userid
  25341. required: true
  25342. type: integer
  25343. - description: 查询类型 1-报表 2-报表明细
  25344. in: query
  25345. name: querytype
  25346. required: true
  25347. type: integer
  25348. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25349. in: query
  25350. name: cycletype
  25351. required: true
  25352. type: integer
  25353. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25354. 全(0)【原值】
  25355. in: query
  25356. name: cycletime
  25357. required: true
  25358. type: string
  25359. - description: 币种id(报表明细必填)
  25360. in: query
  25361. name: currencyid
  25362. type: integer
  25363. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25364. in: query
  25365. name: sumfields
  25366. type: string
  25367. produces:
  25368. - application/json
  25369. responses:
  25370. "200":
  25371. description: OK
  25372. schema:
  25373. items:
  25374. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25375. type: array
  25376. "500":
  25377. description: Internal Server Error
  25378. schema:
  25379. $ref: '#/definitions/app.Response'
  25380. security:
  25381. - ApiKeyAuth: []
  25382. summary: 查询财务报表
  25383. tags:
  25384. - 企业风险管理v3(app)
  25385. /Ermcp3/QrySCMiddleGoodsReport:
  25386. get:
  25387. parameters:
  25388. - description: 用户ID
  25389. in: query
  25390. name: userid
  25391. required: true
  25392. type: integer
  25393. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25394. in: query
  25395. name: cycletype
  25396. required: true
  25397. type: integer
  25398. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25399. 全(0)【原值】
  25400. in: query
  25401. name: cycletime
  25402. required: true
  25403. type: string
  25404. - description: 合同id
  25405. in: query
  25406. name: spotcontractid
  25407. type: integer
  25408. - description: 套保品种id
  25409. in: query
  25410. name: middlegoodsid
  25411. type: integer
  25412. - description: 现货品种id
  25413. in: query
  25414. name: deliverygoodsid
  25415. type: integer
  25416. - description: 现货商品id
  25417. in: query
  25418. name: wrstandardid
  25419. type: integer
  25420. - description: 合同编号(模糊匹配)
  25421. in: query
  25422. name: contractno
  25423. type: string
  25424. produces:
  25425. - application/json
  25426. responses:
  25427. "200":
  25428. description: OK
  25429. schema:
  25430. items:
  25431. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25432. type: array
  25433. "500":
  25434. description: Internal Server Error
  25435. schema:
  25436. $ref: '#/definitions/app.Response'
  25437. security:
  25438. - ApiKeyAuth: []
  25439. summary: 查询定价报表
  25440. tags:
  25441. - 企业风险管理v3(app)
  25442. /Ermcp3/QryTaFutureDataReport:
  25443. get:
  25444. parameters:
  25445. - description: 用户ID
  25446. in: query
  25447. name: userid
  25448. required: true
  25449. type: integer
  25450. - description: 查询类型 1-报表 2-报表明细
  25451. in: query
  25452. name: querytype
  25453. required: true
  25454. type: integer
  25455. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25456. in: query
  25457. name: cycletype
  25458. required: true
  25459. type: integer
  25460. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25461. 全(0)【原值】
  25462. in: query
  25463. name: cycletime
  25464. required: true
  25465. type: string
  25466. - description: 币种id(查明细必填)
  25467. in: query
  25468. name: currencyid
  25469. type: integer
  25470. - description: 品种id(查明细必填)
  25471. in: query
  25472. name: goodsgroupid
  25473. type: integer
  25474. - description: 商品id(查明细必填)
  25475. in: query
  25476. name: goodsid
  25477. type: integer
  25478. - description: 买卖方向(查明细必填)
  25479. in: query
  25480. name: buyorsell
  25481. type: integer
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. items:
  25489. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25490. type: array
  25491. "500":
  25492. description: Internal Server Error
  25493. schema:
  25494. $ref: '#/definitions/app.Response'
  25495. security:
  25496. - ApiKeyAuth: []
  25497. summary: 查询期货报表
  25498. tags:
  25499. - 企业风险管理v3(app)
  25500. /Ermcp3/QueryAreaStock:
  25501. get:
  25502. parameters:
  25503. - description: 用户ID
  25504. in: query
  25505. name: userid
  25506. required: true
  25507. type: integer
  25508. produces:
  25509. - application/json
  25510. responses:
  25511. "200":
  25512. description: OK
  25513. schema:
  25514. items:
  25515. $ref: '#/definitions/models.Ermcp3AreaStock'
  25516. type: array
  25517. "500":
  25518. description: Internal Server Error
  25519. schema:
  25520. $ref: '#/definitions/app.Response'
  25521. security:
  25522. - ApiKeyAuth: []
  25523. summary: 查询机构库存(库存管理/当前库存)
  25524. tags:
  25525. - 企业风险管理v3(app)
  25526. /Ermcp3/QueryAreaStockApply:
  25527. get:
  25528. parameters:
  25529. - description: 用户ID
  25530. in: query
  25531. name: userid
  25532. required: true
  25533. type: integer
  25534. - description: 用户类型 2-机构 7-企业成员
  25535. in: query
  25536. name: usertype
  25537. type: integer
  25538. - description: 现货商品ID
  25539. in: query
  25540. name: deliverygoodsid
  25541. type: integer
  25542. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25543. in: query
  25544. name: inouttype
  25545. type: string
  25546. - description: 合同ID
  25547. in: query
  25548. name: spotcontractid
  25549. type: integer
  25550. - description: 品类ID
  25551. in: query
  25552. name: wrstandardid
  25553. type: integer
  25554. - description: 品牌ID
  25555. in: query
  25556. name: spotgoodsbrandid
  25557. type: integer
  25558. - description: 仓库ID
  25559. in: query
  25560. name: warehouseinfoid
  25561. type: integer
  25562. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25563. in: query
  25564. name: applystatus
  25565. type: string
  25566. produces:
  25567. - application/json
  25568. responses:
  25569. "200":
  25570. description: OK
  25571. schema:
  25572. items:
  25573. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25574. type: array
  25575. "500":
  25576. description: Internal Server Error
  25577. schema:
  25578. $ref: '#/definitions/app.Response'
  25579. security:
  25580. - ApiKeyAuth: []
  25581. summary: 查询库存申请(出入库记录|库存审核)
  25582. tags:
  25583. - 企业风险管理v3(app)
  25584. /Ermcp3/QueryAreaStockApplySum:
  25585. get:
  25586. parameters:
  25587. - description: 合同ID
  25588. in: query
  25589. name: spotcontractid
  25590. required: true
  25591. type: integer
  25592. produces:
  25593. - application/json
  25594. responses:
  25595. "200":
  25596. description: OK
  25597. schema:
  25598. items:
  25599. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25600. type: array
  25601. "500":
  25602. description: Internal Server Error
  25603. schema:
  25604. $ref: '#/definitions/app.Response'
  25605. security:
  25606. - ApiKeyAuth: []
  25607. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25608. tags:
  25609. - 企业风险管理v3(app)
  25610. /Ermcp3/QueryDGFactoryItem:
  25611. get:
  25612. parameters:
  25613. - description: 用户id
  25614. in: query
  25615. name: userid
  25616. type: integer
  25617. - description: 用户类型 2-机构 7-企业成员
  25618. in: query
  25619. name: usertype
  25620. type: integer
  25621. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25622. in: query
  25623. name: dgfactoryitemid
  25624. type: integer
  25625. - description: 现货品种ID
  25626. in: query
  25627. name: deliverygoodsid
  25628. type: integer
  25629. - description: 要素项类型
  25630. in: query
  25631. name: dgfactoryitemtypeid
  25632. type: integer
  25633. - description: 顺序
  25634. in: query
  25635. name: orderindex
  25636. type: integer
  25637. produces:
  25638. - application/json
  25639. responses:
  25640. "200":
  25641. description: OK
  25642. schema:
  25643. items:
  25644. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25645. type: array
  25646. "500":
  25647. description: Internal Server Error
  25648. schema:
  25649. $ref: '#/definitions/app.Response'
  25650. security:
  25651. - ApiKeyAuth: []
  25652. summary: 查询品种要素定义项
  25653. tags:
  25654. - 企业风险管理v3(app)
  25655. /Ermcp3/QueryDeliveryGoods:
  25656. get:
  25657. parameters:
  25658. - description: 用户id
  25659. in: query
  25660. name: userid
  25661. required: true
  25662. type: integer
  25663. - description: 用户类型 2-机构 7-企业成员
  25664. in: query
  25665. name: usertype
  25666. type: integer
  25667. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25668. in: query
  25669. name: excludecfg
  25670. type: integer
  25671. produces:
  25672. - application/json
  25673. responses:
  25674. "200":
  25675. description: OK
  25676. schema:
  25677. items:
  25678. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25679. type: array
  25680. "500":
  25681. description: Internal Server Error
  25682. schema:
  25683. $ref: '#/definitions/app.Response'
  25684. security:
  25685. - ApiKeyAuth: []
  25686. summary: 查询现货商品
  25687. tags:
  25688. - 企业风险管理v3(app)
  25689. /Ermcp3/QueryDeliveryGoodsDetail:
  25690. get:
  25691. parameters:
  25692. - description: 用户id
  25693. in: query
  25694. name: userid
  25695. required: true
  25696. type: integer
  25697. - description: 用户类型 2-机构 7-企业成员
  25698. in: query
  25699. name: usertype
  25700. type: integer
  25701. - description: 现货商品id
  25702. in: query
  25703. name: deliverygoodsid
  25704. type: integer
  25705. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25706. in: query
  25707. name: filtersubempty
  25708. type: integer
  25709. produces:
  25710. - application/json
  25711. responses:
  25712. "200":
  25713. description: OK
  25714. schema:
  25715. items:
  25716. $ref: '#/definitions/models.XHDeliveryGoods'
  25717. type: array
  25718. "500":
  25719. description: Internal Server Error
  25720. schema:
  25721. $ref: '#/definitions/app.Response'
  25722. security:
  25723. - ApiKeyAuth: []
  25724. summary: 查询现货商品详情
  25725. tags:
  25726. - 企业风险管理v3(app)
  25727. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25728. get:
  25729. parameters:
  25730. - description: 合同id
  25731. in: query
  25732. name: spotcontractid
  25733. required: true
  25734. type: string
  25735. produces:
  25736. - application/json
  25737. responses:
  25738. "200":
  25739. description: OK
  25740. schema:
  25741. items:
  25742. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25743. type: array
  25744. "500":
  25745. description: Internal Server Error
  25746. schema:
  25747. $ref: '#/definitions/app.Response'
  25748. security:
  25749. - ApiKeyAuth: []
  25750. summary: 查询现货合同期现配置信息
  25751. tags:
  25752. - 企业风险管理v3(app)
  25753. /Ermcp3/QueryExposureDetail:
  25754. get:
  25755. parameters:
  25756. - description: 用户id
  25757. in: query
  25758. name: userid
  25759. required: true
  25760. type: integer
  25761. - description: 用户类型 2-机构 7-企业成员
  25762. in: query
  25763. name: usertype
  25764. type: integer
  25765. - description: 套保商品
  25766. in: query
  25767. name: middlegoodsid
  25768. required: true
  25769. type: integer
  25770. produces:
  25771. - application/json
  25772. responses:
  25773. "200":
  25774. description: OK
  25775. schema:
  25776. items:
  25777. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25778. type: array
  25779. "500":
  25780. description: Internal Server Error
  25781. schema:
  25782. $ref: '#/definitions/app.Response'
  25783. security:
  25784. - ApiKeyAuth: []
  25785. summary: 查询敞口现货明细
  25786. tags:
  25787. - 企业风险管理v3(app)
  25788. /Ermcp3/QueryExposureSpot:
  25789. get:
  25790. parameters:
  25791. - description: 用户id
  25792. in: query
  25793. name: userid
  25794. required: true
  25795. type: integer
  25796. - description: 用户类型 2-机构 7-企业成员
  25797. in: query
  25798. name: usertype
  25799. type: integer
  25800. produces:
  25801. - application/json
  25802. responses:
  25803. "200":
  25804. description: OK
  25805. schema:
  25806. items:
  25807. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25808. type: array
  25809. "500":
  25810. description: Internal Server Error
  25811. schema:
  25812. $ref: '#/definitions/app.Response'
  25813. security:
  25814. - ApiKeyAuth: []
  25815. summary: 查询敞口现货头寸(敞口/现货头寸)
  25816. tags:
  25817. - 企业风险管理v3(app)
  25818. /Ermcp3/QueryExposureSpotDetail:
  25819. get:
  25820. parameters:
  25821. - description: 用户id
  25822. in: query
  25823. name: userid
  25824. required: true
  25825. type: integer
  25826. - description: 用户类型 2-机构 7-企业成员
  25827. in: query
  25828. name: usertype
  25829. type: integer
  25830. - description: 现货商品ID
  25831. in: query
  25832. name: wrstandardid
  25833. required: true
  25834. type: integer
  25835. produces:
  25836. - application/json
  25837. responses:
  25838. "200":
  25839. description: OK
  25840. schema:
  25841. items:
  25842. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25843. type: array
  25844. "500":
  25845. description: Internal Server Error
  25846. schema:
  25847. $ref: '#/definitions/app.Response'
  25848. security:
  25849. - ApiKeyAuth: []
  25850. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25851. tags:
  25852. - 企业风险管理v3(app)
  25853. /Ermcp3/QueryGoodsGroup:
  25854. get:
  25855. parameters:
  25856. - description: 用户id
  25857. in: query
  25858. name: userid
  25859. required: true
  25860. type: integer
  25861. - description: 用户类型 2-机构 7-企业成员
  25862. in: query
  25863. name: usertype
  25864. type: integer
  25865. - description: 排除套保品中已关联的商品组 1-排除
  25866. in: query
  25867. name: excludecfg
  25868. type: integer
  25869. produces:
  25870. - application/json
  25871. responses:
  25872. "200":
  25873. description: OK
  25874. schema:
  25875. items:
  25876. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25877. type: array
  25878. "500":
  25879. description: Internal Server Error
  25880. schema:
  25881. $ref: '#/definitions/app.Response'
  25882. security:
  25883. - ApiKeyAuth: []
  25884. summary: 查询期货商品组
  25885. tags:
  25886. - 企业风险管理v3(app)
  25887. /Ermcp3/QueryGoodsWrstandard:
  25888. get:
  25889. parameters:
  25890. - description: 用户id
  25891. in: query
  25892. name: userid
  25893. required: true
  25894. type: integer
  25895. - description: 用户类型 2-机构 7-企业成员
  25896. in: query
  25897. name: usertype
  25898. type: integer
  25899. - description: 现货商品id
  25900. in: query
  25901. name: deliverygoodsid
  25902. type: integer
  25903. produces:
  25904. - application/json
  25905. responses:
  25906. "200":
  25907. description: OK
  25908. schema:
  25909. items:
  25910. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25911. type: array
  25912. "500":
  25913. description: Internal Server Error
  25914. schema:
  25915. $ref: '#/definitions/app.Response'
  25916. security:
  25917. - ApiKeyAuth: []
  25918. summary: 查询商品品类
  25919. tags:
  25920. - 企业风险管理v3(app)
  25921. /Ermcp3/QueryGoodsbrand:
  25922. get:
  25923. parameters:
  25924. - description: 用户id
  25925. in: query
  25926. name: userid
  25927. required: true
  25928. type: integer
  25929. - description: 用户类型 2-机构 7-企业成员
  25930. in: query
  25931. name: usertype
  25932. type: integer
  25933. produces:
  25934. - application/json
  25935. responses:
  25936. "200":
  25937. description: OK
  25938. schema:
  25939. items:
  25940. $ref: '#/definitions/models.Ermcp3Brand'
  25941. type: array
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 查询商品品牌
  25949. tags:
  25950. - 企业风险管理v3(app)
  25951. /Ermcp3/QueryHPMiddleGoods:
  25952. get:
  25953. parameters:
  25954. - description: 用户ID(填登录用户的userid)
  25955. in: query
  25956. name: userid
  25957. required: true
  25958. type: integer
  25959. - description: 买卖方向 0-买 1-卖
  25960. in: query
  25961. name: buyorsell
  25962. required: true
  25963. type: integer
  25964. - description: 商品组id
  25965. in: query
  25966. name: goodsgroupid
  25967. required: true
  25968. type: integer
  25969. - description: 套保计划编号(模糊匹配)
  25970. in: query
  25971. name: hedgeplanno
  25972. type: string
  25973. - description: 现货商品名称(模糊匹配)
  25974. in: query
  25975. name: wrstandardname
  25976. type: string
  25977. produces:
  25978. - application/json
  25979. responses:
  25980. "200":
  25981. description: OK
  25982. schema:
  25983. items:
  25984. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25985. type: array
  25986. "500":
  25987. description: Internal Server Error
  25988. schema:
  25989. $ref: '#/definitions/app.Response'
  25990. security:
  25991. - ApiKeyAuth: []
  25992. summary: 查询可关联套保计划
  25993. tags:
  25994. - 企业风险管理v3(app)
  25995. /Ermcp3/QueryHedgePlan:
  25996. get:
  25997. parameters:
  25998. - description: 用户ID
  25999. in: query
  26000. name: userid
  26001. required: true
  26002. type: integer
  26003. - description: 用户类型 2-机构 7-企业成员
  26004. in: query
  26005. name: usertype
  26006. type: integer
  26007. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26008. in: query
  26009. name: hedgeplanstatus
  26010. required: true
  26011. type: string
  26012. produces:
  26013. - application/json
  26014. responses:
  26015. "200":
  26016. description: OK
  26017. schema:
  26018. items:
  26019. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26020. type: array
  26021. "500":
  26022. description: Internal Server Error
  26023. schema:
  26024. $ref: '#/definitions/app.Response'
  26025. security:
  26026. - ApiKeyAuth: []
  26027. summary: 查询套保计划
  26028. tags:
  26029. - 企业风险管理v3(app)
  26030. /Ermcp3/QueryInnerTradeLink:
  26031. get:
  26032. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26033. parameters:
  26034. - description: 外部成交单号
  26035. in: query
  26036. name: outtradeid
  26037. required: true
  26038. type: integer
  26039. produces:
  26040. - application/json
  26041. responses:
  26042. "200":
  26043. description: OK
  26044. schema:
  26045. items:
  26046. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26047. type: array
  26048. "500":
  26049. description: Internal Server Error
  26050. schema:
  26051. $ref: '#/definitions/app.Response'
  26052. security:
  26053. - ApiKeyAuth: []
  26054. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26055. tags:
  26056. - 企业风险管理v3(app)
  26057. /Ermcp3/QueryMiddleGoodsDetail:
  26058. get:
  26059. parameters:
  26060. - description: 用户id
  26061. in: query
  26062. name: userid
  26063. required: true
  26064. type: integer
  26065. - description: 用户类型 2-机构 7-企业成员
  26066. in: query
  26067. name: usertype
  26068. type: integer
  26069. - description: 套保品种id
  26070. in: query
  26071. name: middlegoodsid
  26072. type: integer
  26073. produces:
  26074. - application/json
  26075. responses:
  26076. "200":
  26077. description: OK
  26078. schema:
  26079. items:
  26080. $ref: '#/definitions/models.TBMiddleGoods'
  26081. type: array
  26082. "500":
  26083. description: Internal Server Error
  26084. schema:
  26085. $ref: '#/definitions/app.Response'
  26086. security:
  26087. - ApiKeyAuth: []
  26088. summary: 查询套保品种详情(套保品种/商品详情)
  26089. tags:
  26090. - 企业风险管理v3(app)
  26091. /Ermcp3/QueryOutTradeLink:
  26092. get:
  26093. description: 页面 app 现货->期现关联->外部成交单关联
  26094. parameters:
  26095. - description: 用户ID(填登录用户的userid)
  26096. in: query
  26097. name: userid
  26098. required: true
  26099. type: integer
  26100. - description: 外部订单号(模糊匹配)
  26101. in: query
  26102. name: outtradeid
  26103. type: string
  26104. - description: 合约名称/代码(模糊匹配)
  26105. in: query
  26106. name: goodsname
  26107. type: string
  26108. - description: 关联状态 0-未关联 1-已关联
  26109. in: query
  26110. name: hasinnerorder
  26111. type: integer
  26112. produces:
  26113. - application/json
  26114. responses:
  26115. "200":
  26116. description: OK
  26117. schema:
  26118. items:
  26119. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26120. type: array
  26121. "500":
  26122. description: Internal Server Error
  26123. schema:
  26124. $ref: '#/definitions/app.Response'
  26125. security:
  26126. - ApiKeyAuth: []
  26127. summary: 查询外部成交单关联
  26128. tags:
  26129. - 企业风险管理v3(app)
  26130. /Ermcp3/QueryPaAreaAuditCfg:
  26131. get:
  26132. parameters:
  26133. - description: 用户id
  26134. in: query
  26135. name: userid
  26136. required: true
  26137. type: integer
  26138. produces:
  26139. - application/json
  26140. responses:
  26141. "200":
  26142. description: OK
  26143. schema:
  26144. items:
  26145. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26146. type: array
  26147. "500":
  26148. description: Internal Server Error
  26149. schema:
  26150. $ref: '#/definitions/app.Response'
  26151. security:
  26152. - ApiKeyAuth: []
  26153. summary: 查询审核设置
  26154. tags:
  26155. - 企业风险管理v3(app)
  26156. /Ermcp3/QueryPaAreaSubject:
  26157. get:
  26158. parameters:
  26159. - description: 用户id
  26160. in: query
  26161. name: userid
  26162. required: true
  26163. type: integer
  26164. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26165. in: query
  26166. name: subjectid
  26167. type: integer
  26168. - description: 主体类型 - 1:交易主体 2:业务部门
  26169. in: query
  26170. name: subjecttype
  26171. type: integer
  26172. - description: '主体状态 - 1:正常 2: 停用'
  26173. in: query
  26174. name: subjectstatus
  26175. type: integer
  26176. produces:
  26177. - application/json
  26178. responses:
  26179. "200":
  26180. description: OK
  26181. schema:
  26182. items:
  26183. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26184. type: array
  26185. "500":
  26186. description: Internal Server Error
  26187. schema:
  26188. $ref: '#/definitions/app.Response'
  26189. security:
  26190. - ApiKeyAuth: []
  26191. summary: 查询交易主体
  26192. tags:
  26193. - 企业风险管理v3(app)
  26194. /Ermcp3/QueryPaTradeLink:
  26195. get:
  26196. description: 页面 app 现货->期现关联->期现单据关联
  26197. parameters:
  26198. - description: 用户ID
  26199. in: query
  26200. name: userid
  26201. required: true
  26202. type: integer
  26203. produces:
  26204. - application/json
  26205. responses:
  26206. "200":
  26207. description: OK
  26208. schema:
  26209. items:
  26210. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26211. type: array
  26212. "500":
  26213. description: Internal Server Error
  26214. schema:
  26215. $ref: '#/definitions/app.Response'
  26216. security:
  26217. - ApiKeyAuth: []
  26218. summary: 查询期现单据关联
  26219. tags:
  26220. - 企业风险管理v3(app)
  26221. /Ermcp3/QueryPaTradeLinkDetail:
  26222. get:
  26223. description: 页面 app 现货->期现关联->关联记录
  26224. parameters:
  26225. - description: 用户ID(填登录用户的userid)
  26226. in: query
  26227. name: userid
  26228. required: true
  26229. type: integer
  26230. - description: 关联状态 1:成功 2:失败 3:解绑
  26231. in: query
  26232. name: linkstatus
  26233. type: integer
  26234. - description: 期货订单号(模糊匹配)
  26235. in: query
  26236. name: tradeid
  26237. type: string
  26238. - description: 现货编号(模糊匹配)
  26239. in: query
  26240. name: contractno
  26241. type: string
  26242. - description: 期货账户(模糊匹配)
  26243. in: query
  26244. name: taname
  26245. type: string
  26246. produces:
  26247. - application/json
  26248. responses:
  26249. "200":
  26250. description: OK
  26251. schema:
  26252. items:
  26253. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26254. type: array
  26255. "500":
  26256. description: Internal Server Error
  26257. schema:
  26258. $ref: '#/definitions/app.Response'
  26259. security:
  26260. - ApiKeyAuth: []
  26261. summary: 查询期现关联记录
  26262. tags:
  26263. - 企业风险管理v3(app)
  26264. /Ermcp3/QueryParamChangeApp:
  26265. get:
  26266. description: |-
  26267. 原型页面:
  26268. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26269. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26270. parameters:
  26271. - description: 用户ID
  26272. in: query
  26273. name: userid
  26274. required: true
  26275. type: integer
  26276. - description: 现货品种id
  26277. in: query
  26278. name: deliverygoodsid
  26279. type: integer
  26280. - description: 现货商品id
  26281. in: query
  26282. name: wrstandardid
  26283. type: integer
  26284. - description: 套保商品id
  26285. in: query
  26286. name: middlegoodsid
  26287. type: integer
  26288. - description: 操作类型 1:新增 2:修改
  26289. in: query
  26290. name: operatetype
  26291. type: integer
  26292. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26293. in: query
  26294. name: paramchangetype
  26295. type: integer
  26296. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26297. in: query
  26298. name: ftstatus
  26299. type: string
  26300. produces:
  26301. - application/json
  26302. responses:
  26303. "200":
  26304. description: OK
  26305. schema:
  26306. items:
  26307. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26308. type: array
  26309. "500":
  26310. description: Internal Server Error
  26311. schema:
  26312. $ref: '#/definitions/app.Response'
  26313. security:
  26314. - ApiKeyAuth: []
  26315. summary: 查询现货商品参数变更申请(流水)
  26316. tags:
  26317. - 企业风险管理v3(app)
  26318. /Ermcp3/QueryRootUserAccount:
  26319. get:
  26320. parameters:
  26321. - description: 用户ID
  26322. in: query
  26323. name: userid
  26324. required: true
  26325. type: integer
  26326. produces:
  26327. - application/json
  26328. responses:
  26329. "200":
  26330. description: OK
  26331. schema:
  26332. items:
  26333. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26334. type: array
  26335. "500":
  26336. description: Internal Server Error
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. security:
  26340. - ApiKeyAuth: []
  26341. summary: 查询顶级用户信息
  26342. tags:
  26343. - 企业风险管理v3(app)
  26344. /Ermcp3/QuerySCMiddleGoods:
  26345. get:
  26346. description: |-
  26347. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26348. 现货编号 即 合同编号
  26349. parameters:
  26350. - description: 用户ID(填登录用户的userid)
  26351. in: query
  26352. name: userid
  26353. required: true
  26354. type: integer
  26355. - description: 买卖方向 0-买 1-卖
  26356. in: query
  26357. name: buyorsell
  26358. required: true
  26359. type: integer
  26360. - description: 商品组id
  26361. in: query
  26362. name: goodsgroupid
  26363. required: true
  26364. type: integer
  26365. - description: 业务类型 1:套保 2:套利
  26366. in: query
  26367. name: biztype
  26368. type: integer
  26369. - description: 现货编号(模糊匹配)
  26370. in: query
  26371. name: contractno
  26372. type: string
  26373. - description: 对手方(模糊匹配)
  26374. in: query
  26375. name: customername
  26376. type: string
  26377. - description: 现货商品名称(模糊匹配)
  26378. in: query
  26379. name: wrstandardname
  26380. type: string
  26381. produces:
  26382. - application/json
  26383. responses:
  26384. "200":
  26385. description: OK
  26386. schema:
  26387. items:
  26388. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26389. type: array
  26390. "500":
  26391. description: Internal Server Error
  26392. schema:
  26393. $ref: '#/definitions/app.Response'
  26394. security:
  26395. - ApiKeyAuth: []
  26396. summary: 查询现货订单
  26397. tags:
  26398. - 企业风险管理v3(app)
  26399. /Ermcp3/QuerySpotContract:
  26400. get:
  26401. parameters:
  26402. - description: 用户id(当指定contractid, userid可不填)
  26403. in: query
  26404. name: userid
  26405. required: true
  26406. type: integer
  26407. - description: 用户类型 2-机构 7-企业成员
  26408. in: query
  26409. name: usertype
  26410. type: integer
  26411. - description: 合同类型 1-采购, -1-销售
  26412. in: query
  26413. name: contracttype
  26414. type: integer
  26415. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26416. in: query
  26417. name: querytype
  26418. type: string
  26419. - description: 合同ID(SpotContractId)
  26420. in: query
  26421. name: contractid
  26422. type: string
  26423. - description: 合同编号(模糊匹配)
  26424. in: query
  26425. name: contractno
  26426. type: string
  26427. - description: 商品名称(模糊匹配)
  26428. in: query
  26429. name: wrstandardname
  26430. type: string
  26431. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26432. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26433. in: query
  26434. name: status
  26435. type: string
  26436. - description: 是否只查今日的合同 1-查今日合同
  26437. in: query
  26438. name: istoday
  26439. type: integer
  26440. produces:
  26441. - application/json
  26442. responses:
  26443. "200":
  26444. description: OK
  26445. schema:
  26446. items:
  26447. $ref: '#/definitions/models.Ermcp3Contract'
  26448. type: array
  26449. "500":
  26450. description: Internal Server Error
  26451. schema:
  26452. $ref: '#/definitions/app.Response'
  26453. security:
  26454. - ApiKeyAuth: []
  26455. summary: 查询现货合同
  26456. tags:
  26457. - 企业风险管理v3(app)
  26458. /Ermcp3/QuerySpotContractBS:
  26459. get:
  26460. parameters:
  26461. - description: 用户id
  26462. in: query
  26463. name: userid
  26464. required: true
  26465. type: integer
  26466. - description: 用户类型 2-机构 7-企业成员
  26467. in: query
  26468. name: usertype
  26469. type: integer
  26470. - description: 合同类型 1-采购, -1-销售
  26471. in: query
  26472. name: contracttype
  26473. required: true
  26474. type: integer
  26475. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26476. in: query
  26477. name: querytype
  26478. type: integer
  26479. - description: 合同ID(SpotContractId)
  26480. in: query
  26481. name: contractid
  26482. type: string
  26483. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26484. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26485. in: query
  26486. name: status
  26487. type: string
  26488. - description: 是否只查今日的合同 1-查今日合同
  26489. in: query
  26490. name: istoday
  26491. type: integer
  26492. produces:
  26493. - application/json
  26494. responses:
  26495. "200":
  26496. description: OK
  26497. schema:
  26498. items:
  26499. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26500. type: array
  26501. "500":
  26502. description: Internal Server Error
  26503. schema:
  26504. $ref: '#/definitions/app.Response'
  26505. security:
  26506. - ApiKeyAuth: []
  26507. summary: 查询合同(采购/销售)
  26508. tags:
  26509. - 企业风险管理v3(app)
  26510. /Ermcp3/QuerySpotGoodsPrice:
  26511. get:
  26512. parameters:
  26513. - description: 用户ID
  26514. in: query
  26515. name: userid
  26516. required: true
  26517. type: integer
  26518. produces:
  26519. - application/json
  26520. responses:
  26521. "200":
  26522. description: OK
  26523. schema:
  26524. items:
  26525. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26526. type: array
  26527. "500":
  26528. description: Internal Server Error
  26529. schema:
  26530. $ref: '#/definitions/app.Response'
  26531. security:
  26532. - ApiKeyAuth: []
  26533. summary: 查询现货市价(现货市价)
  26534. tags:
  26535. - 企业风险管理v3(app)
  26536. /Ermcp3/QuerySpotGoodsPriceLog:
  26537. get:
  26538. parameters:
  26539. - description: 用户ID
  26540. in: query
  26541. name: userid
  26542. required: true
  26543. type: integer
  26544. - description: 现货商品ID
  26545. in: query
  26546. name: deliverygoodsid
  26547. required: true
  26548. type: integer
  26549. - description: 品牌ID
  26550. in: query
  26551. name: brandid
  26552. type: integer
  26553. - description: 品类ID
  26554. in: query
  26555. name: wrstandardid
  26556. type: integer
  26557. produces:
  26558. - application/json
  26559. responses:
  26560. "200":
  26561. description: OK
  26562. schema:
  26563. items:
  26564. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26565. type: array
  26566. "500":
  26567. description: Internal Server Error
  26568. schema:
  26569. $ref: '#/definitions/app.Response'
  26570. security:
  26571. - ApiKeyAuth: []
  26572. summary: 查询现货市价详情(现货市价/详情)
  26573. tags:
  26574. - 企业风险管理v3(app)
  26575. /Ermcp3/QuerySubTaaccount:
  26576. get:
  26577. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26578. parameters:
  26579. - description: 母账号id
  26580. in: query
  26581. name: parentaccountid
  26582. type: integer
  26583. - description: 母账号代码
  26584. in: query
  26585. name: parentaccountcode
  26586. type: string
  26587. produces:
  26588. - application/json
  26589. responses:
  26590. "200":
  26591. description: OK
  26592. schema:
  26593. items:
  26594. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26595. type: array
  26596. "500":
  26597. description: Internal Server Error
  26598. schema:
  26599. $ref: '#/definitions/app.Response'
  26600. security:
  26601. - ApiKeyAuth: []
  26602. summary: 查询期货子账户
  26603. tags:
  26604. - 企业风险管理v3(app)
  26605. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26606. get:
  26607. parameters:
  26608. - description: 套期项目ID
  26609. in: query
  26610. name: hedgeditemid
  26611. required: true
  26612. type: integer
  26613. produces:
  26614. - application/json
  26615. responses:
  26616. "200":
  26617. description: OK
  26618. schema:
  26619. items:
  26620. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26621. type: array
  26622. "500":
  26623. description: Internal Server Error
  26624. schema:
  26625. $ref: '#/definitions/app.Response'
  26626. security:
  26627. - ApiKeyAuth: []
  26628. summary: 现货成交明细查询
  26629. tags:
  26630. - 企业风险管理v8
  26631. /Ermcp8/QueryERMCP2HedgedItemspot:
  26632. get:
  26633. parameters:
  26634. - description: 套期项目ID
  26635. in: query
  26636. name: hedgeditemid
  26637. required: true
  26638. type: integer
  26639. produces:
  26640. - application/json
  26641. responses:
  26642. "200":
  26643. description: OK
  26644. schema:
  26645. items:
  26646. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26647. type: array
  26648. "500":
  26649. description: Internal Server Error
  26650. schema:
  26651. $ref: '#/definitions/app.Response'
  26652. security:
  26653. - ApiKeyAuth: []
  26654. summary: 套期计划明细查询
  26655. tags:
  26656. - 企业风险管理v8
  26657. /Ermcp8/QueryERMCPJRLinkPos:
  26658. get:
  26659. parameters:
  26660. - description: 套期项目ID
  26661. in: query
  26662. name: hedgeditemid
  26663. required: true
  26664. type: integer
  26665. produces:
  26666. - application/json
  26667. responses:
  26668. "200":
  26669. description: OK
  26670. schema:
  26671. items:
  26672. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26673. type: array
  26674. "500":
  26675. description: Internal Server Error
  26676. schema:
  26677. $ref: '#/definitions/app.Response'
  26678. security:
  26679. - ApiKeyAuth: []
  26680. summary: 期货持仓明细查询
  26681. tags:
  26682. - 企业风险管理v8
  26683. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26684. get:
  26685. parameters:
  26686. - description: 套期项目ID
  26687. in: query
  26688. name: hedgeditemid
  26689. required: true
  26690. type: integer
  26691. produces:
  26692. - application/json
  26693. responses:
  26694. "200":
  26695. description: OK
  26696. schema:
  26697. items:
  26698. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26699. type: array
  26700. "500":
  26701. description: Internal Server Error
  26702. schema:
  26703. $ref: '#/definitions/app.Response'
  26704. security:
  26705. - ApiKeyAuth: []
  26706. summary: 期货成交单明细查询
  26707. tags:
  26708. - 企业风险管理v8
  26709. /Ermcp8/QueryErmcp2AreaExposure:
  26710. get:
  26711. parameters:
  26712. - description: 用户ID
  26713. in: query
  26714. name: userid
  26715. required: true
  26716. type: string
  26717. produces:
  26718. - application/json
  26719. responses:
  26720. "200":
  26721. description: OK
  26722. schema:
  26723. items:
  26724. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26725. type: array
  26726. "500":
  26727. description: Internal Server Error
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. security:
  26731. - ApiKeyAuth: []
  26732. summary: 企业敞口查询
  26733. tags:
  26734. - 企业风险管理v8
  26735. /Ermcp8/QueryErmcp2HedgedItem:
  26736. get:
  26737. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26738. parameters:
  26739. - description: 用户ID
  26740. in: query
  26741. name: userid
  26742. required: true
  26743. type: string
  26744. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26745. in: query
  26746. name: hedgedtype
  26747. type: integer
  26748. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26749. in: query
  26750. name: hedgeditemstatus
  26751. type: integer
  26752. produces:
  26753. - application/json
  26754. responses:
  26755. "200":
  26756. description: OK
  26757. schema:
  26758. items:
  26759. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26760. type: array
  26761. "500":
  26762. description: Internal Server Error
  26763. schema:
  26764. $ref: '#/definitions/app.Response'
  26765. security:
  26766. - ApiKeyAuth: []
  26767. summary: 查询被套期项目信息
  26768. tags:
  26769. - 企业风险管理v8
  26770. /Ermcp8/QueryErmcp2HedgedItemLink:
  26771. get:
  26772. parameters:
  26773. - description: 现货合同ID
  26774. in: query
  26775. name: spotcontractid
  26776. required: true
  26777. type: integer
  26778. produces:
  26779. - application/json
  26780. responses:
  26781. "200":
  26782. description: OK
  26783. schema:
  26784. items:
  26785. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26786. type: array
  26787. "500":
  26788. description: Internal Server Error
  26789. schema:
  26790. $ref: '#/definitions/app.Response'
  26791. security:
  26792. - ApiKeyAuth: []
  26793. summary: 现货合同关联被套期项目查询
  26794. tags:
  26795. - 企业风险管理v8
  26796. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26797. get:
  26798. parameters:
  26799. - description: 用户ID
  26800. in: query
  26801. name: userid
  26802. required: true
  26803. type: integer
  26804. - description: 套保品种ID
  26805. in: query
  26806. name: middlegoodsid
  26807. required: true
  26808. type: integer
  26809. produces:
  26810. - application/json
  26811. responses:
  26812. "200":
  26813. description: OK
  26814. schema:
  26815. items:
  26816. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26817. type: array
  26818. "500":
  26819. description: Internal Server Error
  26820. schema:
  26821. $ref: '#/definitions/app.Response'
  26822. security:
  26823. - ApiKeyAuth: []
  26824. summary: 敞口明细 - 计划变动明细
  26825. tags:
  26826. - 企业风险管理v8
  26827. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26828. get:
  26829. parameters:
  26830. - description: 用户ID
  26831. in: query
  26832. name: userid
  26833. required: true
  26834. type: integer
  26835. - description: 套保品种ID
  26836. in: query
  26837. name: middlegoodsid
  26838. required: true
  26839. type: integer
  26840. produces:
  26841. - application/json
  26842. responses:
  26843. "200":
  26844. description: OK
  26845. schema:
  26846. items:
  26847. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26848. type: array
  26849. "500":
  26850. description: Internal Server Error
  26851. schema:
  26852. $ref: '#/definitions/app.Response'
  26853. security:
  26854. - ApiKeyAuth: []
  26855. summary: 敞口明细 - 现货变动明细查询
  26856. tags:
  26857. - 企业风险管理v8
  26858. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26859. get:
  26860. parameters:
  26861. - description: 用户ID
  26862. in: query
  26863. name: userid
  26864. required: true
  26865. type: integer
  26866. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26867. in: query
  26868. name: spottype
  26869. required: true
  26870. type: integer
  26871. - description: 现货商品ID
  26872. in: query
  26873. name: wrstandardid
  26874. type: integer
  26875. produces:
  26876. - application/json
  26877. responses:
  26878. "200":
  26879. description: OK
  26880. schema:
  26881. items:
  26882. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26883. type: array
  26884. "500":
  26885. description: Internal Server Error
  26886. schema:
  26887. $ref: '#/definitions/app.Response'
  26888. security:
  26889. - ApiKeyAuth: []
  26890. summary: 可关联项目查询
  26891. tags:
  26892. - 企业风险管理v8
  26893. /Ermcp8/QueryErmcp8HedgeditemReport:
  26894. get:
  26895. parameters:
  26896. - description: 用户ID
  26897. in: query
  26898. name: userid
  26899. required: true
  26900. type: integer
  26901. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26902. in: query
  26903. name: cycletype
  26904. type: integer
  26905. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26906. 全(0)【原值】
  26907. in: query
  26908. name: cycletime
  26909. required: true
  26910. type: string
  26911. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26912. in: query
  26913. name: hedgedtype
  26914. type: integer
  26915. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26916. in: query
  26917. name: hedgeditemstatus
  26918. type: integer
  26919. - description: 项目编号,模糊查询
  26920. in: query
  26921. name: hedgeditemnum
  26922. type: string
  26923. - description: 现货商品ID
  26924. in: query
  26925. name: wrstandardid
  26926. type: integer
  26927. produces:
  26928. - application/json
  26929. responses:
  26930. "200":
  26931. description: OK
  26932. schema:
  26933. items:
  26934. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26935. type: array
  26936. "500":
  26937. description: Internal Server Error
  26938. schema:
  26939. $ref: '#/definitions/app.Response'
  26940. security:
  26941. - ApiKeyAuth: []
  26942. summary: 套期项目报表查询
  26943. tags:
  26944. - 企业风险管理v8
  26945. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26946. get:
  26947. parameters:
  26948. - description: 用户ID
  26949. in: query
  26950. name: userid
  26951. required: true
  26952. type: string
  26953. produces:
  26954. - application/json
  26955. responses:
  26956. "200":
  26957. description: OK
  26958. schema:
  26959. items:
  26960. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26961. type: array
  26962. "500":
  26963. description: Internal Server Error
  26964. schema:
  26965. $ref: '#/definitions/app.Response'
  26966. security:
  26967. - ApiKeyAuth: []
  26968. summary: 查询执行中项目查询信息
  26969. tags:
  26970. - 企业风险管理v8
  26971. /Ermcp8/QueryInternalEnableTradeDetail:
  26972. get:
  26973. parameters:
  26974. - description: 企业ID
  26975. in: query
  26976. name: areauserid
  26977. required: true
  26978. type: integer
  26979. - description: 期货合约ID
  26980. in: query
  26981. name: goodsid
  26982. required: true
  26983. type: integer
  26984. - description: 交易用户ID
  26985. in: query
  26986. name: tradeuserid
  26987. required: true
  26988. type: integer
  26989. produces:
  26990. - application/json
  26991. responses:
  26992. "200":
  26993. description: OK
  26994. schema:
  26995. items:
  26996. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26997. type: array
  26998. "500":
  26999. description: Internal Server Error
  27000. schema:
  27001. $ref: '#/definitions/app.Response'
  27002. security:
  27003. - ApiKeyAuth: []
  27004. summary: 内部成交单可关联项目查询
  27005. tags:
  27006. - 企业风险管理v8
  27007. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27008. get:
  27009. parameters:
  27010. - description: 用户编号
  27011. in: query
  27012. name: userid
  27013. required: true
  27014. type: integer
  27015. - description: 起始日期(格式yyyymmdd)
  27016. in: query
  27017. name: begindate
  27018. type: string
  27019. - description: 终止日期(格式yyyymmdd)
  27020. in: query
  27021. name: enddate
  27022. type: string
  27023. - description: 合约代码
  27024. in: query
  27025. name: goodscode
  27026. type: string
  27027. - description: 合约名称
  27028. in: query
  27029. name: goodsname
  27030. type: string
  27031. - description: 成交单号
  27032. in: query
  27033. name: tradeid
  27034. type: integer
  27035. - description: 方向 - 0:买 1:卖
  27036. in: query
  27037. name: buyorsell
  27038. type: integer
  27039. - description: 套期主体
  27040. in: query
  27041. name: accountname
  27042. type: string
  27043. produces:
  27044. - application/json
  27045. responses:
  27046. "200":
  27047. description: OK
  27048. schema:
  27049. items:
  27050. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27051. type: array
  27052. "500":
  27053. description: Internal Server Error
  27054. schema:
  27055. $ref: '#/definitions/app.Response'
  27056. security:
  27057. - ApiKeyAuth: []
  27058. summary: 内部未关联成交单查询
  27059. tags:
  27060. - 企业风险管理v8
  27061. /Ermcp8/QueryMarketCalendar:
  27062. get:
  27063. parameters:
  27064. - description: 市场ID
  27065. in: query
  27066. name: marketid
  27067. type: integer
  27068. produces:
  27069. - application/json
  27070. responses:
  27071. "200":
  27072. description: OK
  27073. schema:
  27074. items:
  27075. $ref: '#/definitions/models.Marketcalendar'
  27076. type: array
  27077. "500":
  27078. description: Internal Server Error
  27079. schema:
  27080. $ref: '#/definitions/app.Response'
  27081. security:
  27082. - ApiKeyAuth: []
  27083. summary: 市场节假日查询
  27084. tags:
  27085. - 企业风险管理v8
  27086. /Ermcp8/QueryPatradeLinkDetail:
  27087. get:
  27088. parameters:
  27089. - description: 用户ID
  27090. in: query
  27091. name: userid
  27092. required: true
  27093. type: integer
  27094. - description: 套保品种ID
  27095. in: query
  27096. name: middlegoodsid
  27097. required: true
  27098. type: integer
  27099. produces:
  27100. - application/json
  27101. responses:
  27102. "200":
  27103. description: OK
  27104. schema:
  27105. items:
  27106. $ref: '#/definitions/models.Patradelinkdetail'
  27107. type: array
  27108. "500":
  27109. description: Internal Server Error
  27110. schema:
  27111. $ref: '#/definitions/app.Response'
  27112. security:
  27113. - ApiKeyAuth: []
  27114. summary: 敞口明细 - 期货变动明细
  27115. tags:
  27116. - 企业风险管理v8
  27117. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27118. get:
  27119. parameters:
  27120. - description: 企业ID
  27121. in: query
  27122. name: areauserid
  27123. required: true
  27124. type: integer
  27125. - description: 计划类型 - 1:采购 -1:销售
  27126. in: query
  27127. name: contracttype
  27128. type: integer
  27129. - description: 计划编号,模糊查询
  27130. in: query
  27131. name: hedgeplanno
  27132. type: string
  27133. - description: 现货商品,模糊查询
  27134. in: query
  27135. name: wrstandardname
  27136. type: string
  27137. produces:
  27138. - application/json
  27139. responses:
  27140. "200":
  27141. description: OK
  27142. schema:
  27143. items:
  27144. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27145. type: array
  27146. "500":
  27147. description: Internal Server Error
  27148. schema:
  27149. $ref: '#/definitions/app.Response'
  27150. security:
  27151. - ApiKeyAuth: []
  27152. summary: 未关联购销计划
  27153. tags:
  27154. - 企业风险管理v8
  27155. /Ermcp8/QueryUnLinkSpotContract:
  27156. get:
  27157. parameters:
  27158. - description: 用户ID
  27159. in: query
  27160. name: userid
  27161. required: true
  27162. type: integer
  27163. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27164. in: query
  27165. name: pricetype
  27166. type: integer
  27167. - description: 合同编号, 模拟查询
  27168. in: query
  27169. name: contractno
  27170. type: string
  27171. - description: 对手方, 模拟查询
  27172. in: query
  27173. name: customername
  27174. type: string
  27175. - description: 项合同类型 - 1:采购 -1:销售
  27176. in: query
  27177. name: contracttype
  27178. type: integer
  27179. produces:
  27180. - application/json
  27181. responses:
  27182. "200":
  27183. description: OK
  27184. schema:
  27185. items:
  27186. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27187. type: array
  27188. "500":
  27189. description: Internal Server Error
  27190. schema:
  27191. $ref: '#/definitions/app.Response'
  27192. security:
  27193. - ApiKeyAuth: []
  27194. summary: 未关联合同查询
  27195. tags:
  27196. - 企业风险管理v8
  27197. /Erms2/QueryArbitrageStrategy:
  27198. get:
  27199. parameters:
  27200. - description: 账户ID
  27201. in: query
  27202. name: userid
  27203. required: true
  27204. type: integer
  27205. - description: 商品组ID(品种ID)
  27206. in: query
  27207. name: goodsgroupid
  27208. type: string
  27209. produces:
  27210. - application/json
  27211. responses:
  27212. "200":
  27213. description: OK
  27214. schema:
  27215. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27216. "500":
  27217. description: Internal Server Error
  27218. schema:
  27219. $ref: '#/definitions/app.Response'
  27220. security:
  27221. - ApiKeyAuth: []
  27222. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27223. tags:
  27224. - 风险管理
  27225. /Erms2/QueryInnerTradeDetail:
  27226. get:
  27227. parameters:
  27228. - description: 资金账户
  27229. in: query
  27230. name: accountid
  27231. required: true
  27232. type: integer
  27233. produces:
  27234. - application/json
  27235. responses:
  27236. "200":
  27237. description: OK
  27238. schema:
  27239. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27240. "500":
  27241. description: Internal Server Error
  27242. schema:
  27243. $ref: '#/definitions/app.Response'
  27244. security:
  27245. - ApiKeyAuth: []
  27246. summary: 查询内部成交单信息
  27247. tags:
  27248. - 风险管理
  27249. /Erms2/QuerySpotContract:
  27250. get:
  27251. parameters:
  27252. - description: 策略申请ID
  27253. in: query
  27254. name: asapplyid
  27255. required: true
  27256. type: integer
  27257. - description: 现货合同ID
  27258. in: query
  27259. name: spotcontractid
  27260. type: integer
  27261. produces:
  27262. - application/json
  27263. responses:
  27264. "200":
  27265. description: OK
  27266. schema:
  27267. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27268. "500":
  27269. description: Internal Server Error
  27270. schema:
  27271. $ref: '#/definitions/app.Response'
  27272. security:
  27273. - ApiKeyAuth: []
  27274. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27275. tags:
  27276. - 风险管理
  27277. /Erms3/AddErms2ASApply:
  27278. post:
  27279. parameters:
  27280. - description: 申请参数
  27281. in: body
  27282. name: jsonBody
  27283. required: true
  27284. schema:
  27285. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27286. produces:
  27287. - application/json
  27288. responses:
  27289. "200":
  27290. description: OK
  27291. schema:
  27292. $ref: '#/definitions/app.Response'
  27293. "500":
  27294. description: Internal Server Error
  27295. schema:
  27296. $ref: '#/definitions/app.Response'
  27297. security:
  27298. - ApiKeyAuth: []
  27299. summary: 新增期现套利业务申请
  27300. tags:
  27301. - 风险管理v3
  27302. /Erms3/AddErms2SpotTradeApply:
  27303. post:
  27304. parameters:
  27305. - description: 申请参数
  27306. in: body
  27307. name: jsonBody
  27308. required: true
  27309. schema:
  27310. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27311. produces:
  27312. - application/json
  27313. responses:
  27314. "200":
  27315. description: OK
  27316. schema:
  27317. $ref: '#/definitions/app.Response'
  27318. "500":
  27319. description: Internal Server Error
  27320. schema:
  27321. $ref: '#/definitions/app.Response'
  27322. security:
  27323. - ApiKeyAuth: []
  27324. summary: 新增现货贸易业务申请
  27325. tags:
  27326. - 风险管理v3
  27327. /Erms3/AddSpotContractApply:
  27328. post:
  27329. parameters:
  27330. - description: 申请参数
  27331. in: body
  27332. name: jsonBody
  27333. required: true
  27334. schema:
  27335. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27336. produces:
  27337. - application/json
  27338. responses:
  27339. "200":
  27340. description: OK
  27341. schema:
  27342. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27343. "500":
  27344. description: Internal Server Error
  27345. schema:
  27346. $ref: '#/definitions/app.Response'
  27347. security:
  27348. - ApiKeyAuth: []
  27349. summary: 新增现货合同申请
  27350. tags:
  27351. - 风险管理v3
  27352. /Erms3/AddUserInfoApply:
  27353. post:
  27354. parameters:
  27355. - description: 用户信息
  27356. in: body
  27357. name: jsonBody
  27358. required: true
  27359. schema:
  27360. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27361. produces:
  27362. - application/json
  27363. responses:
  27364. "200":
  27365. description: OK
  27366. schema:
  27367. $ref: '#/definitions/app.Response'
  27368. "500":
  27369. description: Internal Server Error
  27370. schema:
  27371. $ref: '#/definitions/app.Response'
  27372. security:
  27373. - ApiKeyAuth: []
  27374. summary: 新增客户申请
  27375. tags:
  27376. - 风险管理v3
  27377. /Erms3/DeleteUserInfoApply:
  27378. get:
  27379. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27380. parameters:
  27381. - description: 用户ID
  27382. in: query
  27383. name: userID
  27384. required: true
  27385. type: integer
  27386. produces:
  27387. - application/json
  27388. responses:
  27389. "200":
  27390. description: OK
  27391. schema:
  27392. $ref: '#/definitions/app.Response'
  27393. "500":
  27394. description: Internal Server Error
  27395. schema:
  27396. $ref: '#/definitions/app.Response'
  27397. security:
  27398. - ApiKeyAuth: []
  27399. summary: 删除客户申请
  27400. tags:
  27401. - 风险管理v3
  27402. /Erms3/ModifyUserInfoApply:
  27403. post:
  27404. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27405. int, "userstate": 2 }'
  27406. parameters:
  27407. - description: 用户信息
  27408. in: body
  27409. name: jsonBody
  27410. required: true
  27411. schema:
  27412. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27413. produces:
  27414. - application/json
  27415. responses:
  27416. "200":
  27417. description: OK
  27418. schema:
  27419. $ref: '#/definitions/app.Response'
  27420. "500":
  27421. description: Internal Server Error
  27422. schema:
  27423. $ref: '#/definitions/app.Response'
  27424. security:
  27425. - ApiKeyAuth: []
  27426. summary: 修改客户申请
  27427. tags:
  27428. - 风险管理v3
  27429. /Erms3/QueryBusinessInfo:
  27430. get:
  27431. parameters:
  27432. - description: 资金账号ID列表,用逗号分隔
  27433. in: query
  27434. name: accountids
  27435. required: true
  27436. type: string
  27437. - description: 状态,0为未结束 1为已结束
  27438. in: query
  27439. name: status
  27440. required: true
  27441. type: integer
  27442. produces:
  27443. - application/json
  27444. responses:
  27445. "200":
  27446. description: OK
  27447. schema:
  27448. items:
  27449. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27450. type: array
  27451. "500":
  27452. description: Internal Server Error
  27453. schema:
  27454. $ref: '#/definitions/app.Response'
  27455. security:
  27456. - ApiKeyAuth: []
  27457. summary: 查询业务表单数据
  27458. tags:
  27459. - 风险管理v3
  27460. /Erms3/QueryPendingAuditContract:
  27461. get:
  27462. parameters:
  27463. - description: 资金账号ID列表,逗号隔开
  27464. in: query
  27465. name: accountids
  27466. required: true
  27467. type: string
  27468. - description: 合同类型 1-采购 -1-销售
  27469. in: query
  27470. name: contracttype
  27471. required: true
  27472. type: integer
  27473. - description: 合同模式 1-普通 2-回购
  27474. in: query
  27475. name: contractmode
  27476. required: true
  27477. type: integer
  27478. produces:
  27479. - application/json
  27480. responses:
  27481. "200":
  27482. description: OK
  27483. schema:
  27484. items:
  27485. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27486. type: array
  27487. "500":
  27488. description: Internal Server Error
  27489. schema:
  27490. $ref: '#/definitions/app.Response'
  27491. security:
  27492. - ApiKeyAuth: []
  27493. summary: 查询待审核合同
  27494. tags:
  27495. - 风险管理v3
  27496. /Erms3/QueryPendingBusiness:
  27497. get:
  27498. parameters:
  27499. - description: 资金账号ID列表,逗号隔开
  27500. in: query
  27501. name: accountids
  27502. required: true
  27503. type: string
  27504. produces:
  27505. - application/json
  27506. responses:
  27507. "200":
  27508. description: OK
  27509. schema:
  27510. items:
  27511. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27512. type: array
  27513. "500":
  27514. description: Internal Server Error
  27515. schema:
  27516. $ref: '#/definitions/app.Response'
  27517. security:
  27518. - ApiKeyAuth: []
  27519. summary: 查询待审核基差贸易业务
  27520. tags:
  27521. - 风险管理v3
  27522. /Erms3/QuerySpotContractAppleForm:
  27523. get:
  27524. parameters:
  27525. - description: 登录账号
  27526. in: query
  27527. name: loginID
  27528. required: true
  27529. type: integer
  27530. produces:
  27531. - application/json
  27532. responses:
  27533. "200":
  27534. description: OK
  27535. schema:
  27536. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27537. "500":
  27538. description: Internal Server Error
  27539. schema:
  27540. $ref: '#/definitions/app.Response'
  27541. security:
  27542. - ApiKeyAuth: []
  27543. summary: 查询合同申请表单数据
  27544. tags:
  27545. - 风险管理v3
  27546. /Erms3/QuerySpotContractDetail:
  27547. get:
  27548. parameters:
  27549. - description: 资金账号ID列表,用逗号分隔
  27550. in: query
  27551. name: accountids
  27552. required: true
  27553. type: string
  27554. - description: 合同类型,1为采购合同 -1为销售合同
  27555. in: query
  27556. name: contracttype
  27557. required: true
  27558. type: integer
  27559. - description: 合同模式,1为普通合同 2为回购销售合同
  27560. in: query
  27561. name: contractmode
  27562. required: true
  27563. type: integer
  27564. - description: 状态,0为履约中 1为已完成
  27565. in: query
  27566. name: status
  27567. required: true
  27568. type: integer
  27569. produces:
  27570. - application/json
  27571. responses:
  27572. "200":
  27573. description: OK
  27574. schema:
  27575. items:
  27576. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27577. type: array
  27578. "500":
  27579. description: Internal Server Error
  27580. schema:
  27581. $ref: '#/definitions/app.Response'
  27582. security:
  27583. - ApiKeyAuth: []
  27584. summary: 查询合同详细信息
  27585. tags:
  27586. - 风险管理v3
  27587. /Erms3/QueryUserInfoApplies:
  27588. get:
  27589. parameters:
  27590. - description: 页码
  27591. in: query
  27592. name: page
  27593. type: integer
  27594. - description: 每页条数
  27595. in: query
  27596. name: pagesize
  27597. type: integer
  27598. - description: 客户名称,支持模糊查询
  27599. in: query
  27600. name: userName
  27601. type: string
  27602. produces:
  27603. - application/json
  27604. responses:
  27605. "200":
  27606. description: OK
  27607. schema:
  27608. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27609. "500":
  27610. description: Internal Server Error
  27611. schema:
  27612. $ref: '#/definitions/app.Response'
  27613. security:
  27614. - ApiKeyAuth: []
  27615. summary: 客户申请信息查询
  27616. tags:
  27617. - 风险管理v3
  27618. /Erms3/QueryUserInfos:
  27619. get:
  27620. parameters:
  27621. - description: 页码
  27622. in: query
  27623. name: page
  27624. type: integer
  27625. - description: 每页条数
  27626. in: query
  27627. name: pagesize
  27628. type: integer
  27629. - description: 客户名称,支持模糊查询
  27630. in: query
  27631. name: userName
  27632. type: string
  27633. produces:
  27634. - application/json
  27635. responses:
  27636. "200":
  27637. description: OK
  27638. schema:
  27639. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27640. "500":
  27641. description: Internal Server Error
  27642. schema:
  27643. $ref: '#/definitions/app.Response'
  27644. security:
  27645. - ApiKeyAuth: []
  27646. summary: 客户信息查询
  27647. tags:
  27648. - 风险管理v3
  27649. /Guangzuan/GZBSFWOrderOperate:
  27650. get:
  27651. parameters:
  27652. - description: 单据ID
  27653. in: query
  27654. name: orderid
  27655. required: true
  27656. type: integer
  27657. produces:
  27658. - application/json
  27659. responses:
  27660. "200":
  27661. description: OK
  27662. schema:
  27663. items:
  27664. $ref: '#/definitions/models.Gzbsfworderoperate'
  27665. type: array
  27666. "500":
  27667. description: Internal Server Error
  27668. schema:
  27669. $ref: '#/definitions/app.Response'
  27670. security:
  27671. - ApiKeyAuth: []
  27672. - LoginID: []
  27673. - Group: []
  27674. summary: 保税服务单据操作信息
  27675. tags:
  27676. - 广钻
  27677. /Guangzuan/GetGoods:
  27678. get:
  27679. parameters:
  27680. - description: 商品编号
  27681. in: query
  27682. name: goodsno
  27683. required: true
  27684. type: string
  27685. produces:
  27686. - application/json
  27687. responses:
  27688. "200":
  27689. description: OK
  27690. schema:
  27691. $ref: '#/definitions/models.GZGoods'
  27692. "500":
  27693. description: Internal Server Error
  27694. schema:
  27695. $ref: '#/definitions/app.Response'
  27696. security:
  27697. - ApiKeyAuth: []
  27698. - LoginID: []
  27699. - Group: []
  27700. summary: 获取钻石详情
  27701. tags:
  27702. - 广钻
  27703. /Guangzuan/GzCertAddressConfig:
  27704. get:
  27705. produces:
  27706. - application/json
  27707. responses:
  27708. "200":
  27709. description: OK
  27710. schema:
  27711. items:
  27712. $ref: '#/definitions/models.Gzcertaddressconfig'
  27713. type: array
  27714. "500":
  27715. description: Internal Server Error
  27716. schema:
  27717. $ref: '#/definitions/app.Response'
  27718. security:
  27719. - ApiKeyAuth: []
  27720. - LoginID: []
  27721. - Group: []
  27722. summary: Rapaport最新报价表(广钻)
  27723. tags:
  27724. - 广钻
  27725. /Guangzuan/GzCertAddressParam:
  27726. get:
  27727. produces:
  27728. - application/json
  27729. responses:
  27730. "200":
  27731. description: OK
  27732. schema:
  27733. items:
  27734. $ref: '#/definitions/models.Gzcertaddressparam'
  27735. type: array
  27736. "500":
  27737. description: Internal Server Error
  27738. schema:
  27739. $ref: '#/definitions/app.Response'
  27740. security:
  27741. - ApiKeyAuth: []
  27742. - LoginID: []
  27743. - Group: []
  27744. summary: 钻石证书地址参数
  27745. tags:
  27746. - 广钻
  27747. /Guangzuan/HomeData:
  27748. get:
  27749. parameters:
  27750. - description: 用户ID
  27751. in: query
  27752. name: userid
  27753. required: true
  27754. type: integer
  27755. produces:
  27756. - application/json
  27757. responses:
  27758. "200":
  27759. description: OK
  27760. schema:
  27761. $ref: '#/definitions/models.GZHomeData'
  27762. "500":
  27763. description: Internal Server Error
  27764. schema:
  27765. $ref: '#/definitions/app.Response'
  27766. security:
  27767. - ApiKeyAuth: []
  27768. - LoginID: []
  27769. - Group: []
  27770. summary: 首页统计数据
  27771. tags:
  27772. - 广钻
  27773. /Guangzuan/PriceCalc:
  27774. get:
  27775. parameters:
  27776. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  27777. in: query
  27778. name: zsshape
  27779. required: true
  27780. type: integer
  27781. - description: 颜色(D-M)
  27782. in: query
  27783. name: zscolor
  27784. required: true
  27785. type: string
  27786. - description: 净度
  27787. in: query
  27788. name: zsclarity
  27789. required: true
  27790. type: string
  27791. - description: 重量
  27792. in: query
  27793. name: weight
  27794. required: true
  27795. type: number
  27796. - description: 汇率
  27797. in: query
  27798. name: rate
  27799. required: true
  27800. type: number
  27801. - description: 折扣(%), 方向(加:10, 减:-10 )
  27802. in: query
  27803. name: discount
  27804. type: number
  27805. produces:
  27806. - application/json
  27807. responses:
  27808. "200":
  27809. description: OK
  27810. schema:
  27811. items:
  27812. $ref: '#/definitions/models.Gzrapaportprice'
  27813. type: array
  27814. "500":
  27815. description: Internal Server Error
  27816. schema:
  27817. $ref: '#/definitions/app.Response'
  27818. security:
  27819. - ApiKeyAuth: []
  27820. - LoginID: []
  27821. - Group: []
  27822. summary: 钻石价格计算器
  27823. tags:
  27824. - 广钻
  27825. /Guangzuan/QueryBuyOrder:
  27826. get:
  27827. parameters:
  27828. - description: 页码
  27829. in: query
  27830. name: page
  27831. type: integer
  27832. - description: 每页条数
  27833. in: query
  27834. name: pagesize
  27835. type: integer
  27836. - description: 商品(查询字段-模糊查询)
  27837. in: query
  27838. name: zsallproperties
  27839. type: string
  27840. - description: 钻石分类, 格式:1,2,3
  27841. in: query
  27842. name: zscategorys
  27843. type: string
  27844. - description: 委托单号
  27845. in: query
  27846. name: wrtradeorderid
  27847. type: integer
  27848. - description: 买方(查询字段-模糊查询)
  27849. in: query
  27850. name: buyusername
  27851. type: string
  27852. produces:
  27853. - application/json
  27854. responses:
  27855. "200":
  27856. description: OK
  27857. schema:
  27858. items:
  27859. $ref: '#/definitions/models.BuyOrder'
  27860. type: array
  27861. "500":
  27862. description: Internal Server Error
  27863. schema:
  27864. $ref: '#/definitions/app.Response'
  27865. security:
  27866. - ApiKeyAuth: []
  27867. - LoginID: []
  27868. - Group: []
  27869. summary: 查询求购大厅委托单
  27870. tags:
  27871. - 广钻
  27872. /Guangzuan/QueryDiamond:
  27873. post:
  27874. parameters:
  27875. - description: 钻石搜索入参
  27876. in: body
  27877. name: data
  27878. required: true
  27879. schema:
  27880. $ref: '#/definitions/models.SellOrderQueryReq'
  27881. produces:
  27882. - application/json
  27883. responses:
  27884. "200":
  27885. description: OK
  27886. schema:
  27887. items:
  27888. $ref: '#/definitions/models.SellOrder'
  27889. type: array
  27890. "500":
  27891. description: Internal Server Error
  27892. schema:
  27893. $ref: '#/definitions/app.Response'
  27894. security:
  27895. - ApiKeyAuth: []
  27896. - LoginID: []
  27897. - Group: []
  27898. summary: 钻石搜索
  27899. tags:
  27900. - 广钻
  27901. /Guangzuan/QueryGZBSFWOrder:
  27902. get:
  27903. parameters:
  27904. - description: 用户ID
  27905. in: query
  27906. name: userid
  27907. required: true
  27908. type: integer
  27909. - description: 页码
  27910. in: query
  27911. name: page
  27912. type: integer
  27913. - description: 每页条数
  27914. in: query
  27915. name: pagesize
  27916. type: integer
  27917. produces:
  27918. - application/json
  27919. responses:
  27920. "200":
  27921. description: OK
  27922. schema:
  27923. items:
  27924. $ref: '#/definitions/models.GzbsfworderM'
  27925. type: array
  27926. "500":
  27927. description: Internal Server Error
  27928. schema:
  27929. $ref: '#/definitions/app.Response'
  27930. security:
  27931. - ApiKeyAuth: []
  27932. - LoginID: []
  27933. - Group: []
  27934. summary: 查询保税服务单据
  27935. tags:
  27936. - 广钻
  27937. /Guangzuan/QueryGZBSFWOrderDetail:
  27938. get:
  27939. parameters:
  27940. - description: 用户ID
  27941. in: query
  27942. name: userid
  27943. required: true
  27944. type: integer
  27945. - description: 单据ID
  27946. in: query
  27947. name: orderid
  27948. type: integer
  27949. - description: 页码
  27950. in: query
  27951. name: page
  27952. type: integer
  27953. - description: 每页条数
  27954. in: query
  27955. name: pagesize
  27956. type: integer
  27957. produces:
  27958. - application/json
  27959. responses:
  27960. "200":
  27961. description: OK
  27962. schema:
  27963. items:
  27964. $ref: '#/definitions/models.GzbsfworderdetailM'
  27965. type: array
  27966. "500":
  27967. description: Internal Server Error
  27968. schema:
  27969. $ref: '#/definitions/app.Response'
  27970. security:
  27971. - ApiKeyAuth: []
  27972. - LoginID: []
  27973. - Group: []
  27974. summary: 查询保税服务单据明细
  27975. tags:
  27976. - 广钻
  27977. /Guangzuan/QueryGZCJBSOrderFile:
  27978. get:
  27979. parameters:
  27980. - description: 单据ID
  27981. in: query
  27982. name: orderid
  27983. required: true
  27984. type: integer
  27985. - description: 页码
  27986. in: query
  27987. name: page
  27988. type: integer
  27989. - description: 每页条数
  27990. in: query
  27991. name: pagesize
  27992. type: integer
  27993. produces:
  27994. - application/json
  27995. responses:
  27996. "200":
  27997. description: OK
  27998. schema:
  27999. items:
  28000. $ref: '#/definitions/models.GzcjbsorderfileM'
  28001. type: array
  28002. "500":
  28003. description: Internal Server Error
  28004. schema:
  28005. $ref: '#/definitions/app.Response'
  28006. security:
  28007. - ApiKeyAuth: []
  28008. - LoginID: []
  28009. - Group: []
  28010. summary: 出境保税单据文件
  28011. tags:
  28012. - 广钻
  28013. /Guangzuan/QueryGZCJJCOrder:
  28014. get:
  28015. parameters:
  28016. - description: 用户ID
  28017. in: query
  28018. name: userid
  28019. required: true
  28020. type: integer
  28021. - description: 页码
  28022. in: query
  28023. name: page
  28024. type: integer
  28025. - description: 每页条数
  28026. in: query
  28027. name: pagesize
  28028. type: integer
  28029. produces:
  28030. - application/json
  28031. responses:
  28032. "200":
  28033. description: OK
  28034. schema:
  28035. items:
  28036. $ref: '#/definitions/models.GzcjjcorderM'
  28037. type: array
  28038. "500":
  28039. description: Internal Server Error
  28040. schema:
  28041. $ref: '#/definitions/app.Response'
  28042. security:
  28043. - ApiKeyAuth: []
  28044. - LoginID: []
  28045. - Group: []
  28046. summary: 查询出境检测单据
  28047. tags:
  28048. - 广钻
  28049. /Guangzuan/QueryGZCJJCOrderDetail:
  28050. get:
  28051. parameters:
  28052. - description: 用户ID
  28053. in: query
  28054. name: userid
  28055. required: true
  28056. type: integer
  28057. - description: 单据ID
  28058. in: query
  28059. name: orderid
  28060. type: integer
  28061. - description: 页码
  28062. in: query
  28063. name: page
  28064. type: integer
  28065. - description: 每页条数
  28066. in: query
  28067. name: pagesize
  28068. type: integer
  28069. produces:
  28070. - application/json
  28071. responses:
  28072. "200":
  28073. description: OK
  28074. schema:
  28075. items:
  28076. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28077. type: array
  28078. "500":
  28079. description: Internal Server Error
  28080. schema:
  28081. $ref: '#/definitions/app.Response'
  28082. security:
  28083. - ApiKeyAuth: []
  28084. - LoginID: []
  28085. - Group: []
  28086. summary: 查询出境检测单据明细(批次信息)
  28087. tags:
  28088. - 广钻
  28089. /Guangzuan/QueryMyBargainApply:
  28090. get:
  28091. parameters:
  28092. - description: 用户ID
  28093. in: query
  28094. name: userid
  28095. required: true
  28096. type: integer
  28097. - description: 页码
  28098. in: query
  28099. name: page
  28100. type: integer
  28101. - description: 每页条数
  28102. in: query
  28103. name: pagesize
  28104. type: integer
  28105. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28106. in: query
  28107. name: applystatus
  28108. type: integer
  28109. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28110. in: query
  28111. name: type
  28112. type: integer
  28113. - description: 关联委托单ID
  28114. in: query
  28115. name: wrtradeorderid
  28116. type: string
  28117. produces:
  28118. - application/json
  28119. responses:
  28120. "200":
  28121. description: OK
  28122. schema:
  28123. items:
  28124. $ref: '#/definitions/models.MyBargainApply'
  28125. type: array
  28126. "500":
  28127. description: Internal Server Error
  28128. schema:
  28129. $ref: '#/definitions/app.Response'
  28130. security:
  28131. - ApiKeyAuth: []
  28132. - LoginID: []
  28133. - Group: []
  28134. summary: 查询询价-求购
  28135. tags:
  28136. - 广钻
  28137. /Guangzuan/QueryMyBuyOrder:
  28138. get:
  28139. parameters:
  28140. - description: 用户ID
  28141. in: query
  28142. name: userid
  28143. required: true
  28144. type: integer
  28145. - description: 页码
  28146. in: query
  28147. name: page
  28148. type: integer
  28149. - description: 每页条数
  28150. in: query
  28151. name: pagesize
  28152. type: integer
  28153. - description: 商品(查询字段-模糊查询)
  28154. in: query
  28155. name: zsallproperties
  28156. type: string
  28157. - description: 钻石分类, 格式:1,2,3
  28158. in: query
  28159. name: zscategorys
  28160. type: string
  28161. - description: 委托单号
  28162. in: query
  28163. name: wrtradeorderid
  28164. type: integer
  28165. - description: 是否历史查询
  28166. in: query
  28167. name: ishis
  28168. type: boolean
  28169. - description: 开始交易日(yyyymmdd)
  28170. in: query
  28171. name: begindate
  28172. type: string
  28173. - description: 结束交易日(yyyymmdd)
  28174. in: query
  28175. name: enddate
  28176. type: string
  28177. produces:
  28178. - application/json
  28179. responses:
  28180. "200":
  28181. description: OK
  28182. schema:
  28183. items:
  28184. $ref: '#/definitions/models.MyBuyOrder'
  28185. type: array
  28186. "500":
  28187. description: Internal Server Error
  28188. schema:
  28189. $ref: '#/definitions/app.Response'
  28190. security:
  28191. - ApiKeyAuth: []
  28192. - LoginID: []
  28193. - Group: []
  28194. summary: 查询我的求购
  28195. tags:
  28196. - 广钻
  28197. /Guangzuan/QueryMyDeListing:
  28198. get:
  28199. parameters:
  28200. - description: 用户ID
  28201. in: query
  28202. name: userid
  28203. required: true
  28204. type: integer
  28205. - description: 页码
  28206. in: query
  28207. name: page
  28208. type: integer
  28209. - description: 每页条数
  28210. in: query
  28211. name: pagesize
  28212. type: integer
  28213. - description: 商品(查询字段-模糊查询)
  28214. in: query
  28215. name: zsallproperties
  28216. type: string
  28217. - description: 钻石分类, 格式:1,2,3
  28218. in: query
  28219. name: zscategorys
  28220. type: string
  28221. - description: 成交单号
  28222. in: query
  28223. name: wrtradedetailid
  28224. type: integer
  28225. - description: 方向,0-购买 1-出售
  28226. in: query
  28227. name: buyorsell
  28228. type: integer
  28229. - description: 对手方(模糊匹配)
  28230. in: query
  28231. name: matchusername
  28232. type: string
  28233. - description: 开始交易日(yyyymmdd)
  28234. in: query
  28235. name: begindate
  28236. type: string
  28237. - description: 结束交易日(yyyymmdd)
  28238. in: query
  28239. name: enddate
  28240. type: string
  28241. produces:
  28242. - application/json
  28243. responses:
  28244. "200":
  28245. description: OK
  28246. schema:
  28247. items:
  28248. $ref: '#/definitions/models.MyDeListing'
  28249. type: array
  28250. "500":
  28251. description: Internal Server Error
  28252. schema:
  28253. $ref: '#/definitions/app.Response'
  28254. security:
  28255. - ApiKeyAuth: []
  28256. - LoginID: []
  28257. - Group: []
  28258. summary: 查询我的摘牌
  28259. tags:
  28260. - 广钻
  28261. /Guangzuan/QueryMyDelistingApply:
  28262. get:
  28263. parameters:
  28264. - description: 用户ID
  28265. in: query
  28266. name: userid
  28267. required: true
  28268. type: integer
  28269. - description: 页码
  28270. in: query
  28271. name: page
  28272. type: integer
  28273. - description: 每页条数
  28274. in: query
  28275. name: pagesize
  28276. type: integer
  28277. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28278. in: query
  28279. name: applystatus
  28280. type: integer
  28281. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28282. in: query
  28283. name: type
  28284. type: integer
  28285. - description: 买委托单ID
  28286. in: query
  28287. name: buywrtradeorderid
  28288. type: string
  28289. produces:
  28290. - application/json
  28291. responses:
  28292. "200":
  28293. description: OK
  28294. schema:
  28295. items:
  28296. $ref: '#/definitions/models.MyDelistingApply'
  28297. type: array
  28298. "500":
  28299. description: Internal Server Error
  28300. schema:
  28301. $ref: '#/definitions/app.Response'
  28302. security:
  28303. - ApiKeyAuth: []
  28304. - LoginID: []
  28305. - Group: []
  28306. summary: 查询询价-出售
  28307. tags:
  28308. - 广钻
  28309. /Guangzuan/QueryMyFavorite:
  28310. get:
  28311. parameters:
  28312. - description: 用户ID
  28313. in: query
  28314. name: userid
  28315. required: true
  28316. type: integer
  28317. - description: 页码
  28318. in: query
  28319. name: page
  28320. type: integer
  28321. - description: 每页条数
  28322. in: query
  28323. name: pagesize
  28324. type: integer
  28325. - description: 钻石分类, 格式:1,2,3
  28326. in: query
  28327. name: zscategorys
  28328. type: string
  28329. produces:
  28330. - application/json
  28331. responses:
  28332. "200":
  28333. description: OK
  28334. schema:
  28335. items:
  28336. $ref: '#/definitions/models.MyFavorite'
  28337. type: array
  28338. "500":
  28339. description: Internal Server Error
  28340. schema:
  28341. $ref: '#/definitions/app.Response'
  28342. security:
  28343. - ApiKeyAuth: []
  28344. - LoginID: []
  28345. - Group: []
  28346. summary: 查询我的收藏
  28347. tags:
  28348. - 广钻
  28349. /Guangzuan/QueryMyPerformanc:
  28350. get:
  28351. parameters:
  28352. - description: 用户ID
  28353. in: query
  28354. name: userid
  28355. required: true
  28356. type: integer
  28357. - description: 页码
  28358. in: query
  28359. name: page
  28360. type: integer
  28361. - description: 每页条数
  28362. in: query
  28363. name: pagesize
  28364. type: integer
  28365. - description: 商品(查询字段-模糊查询)
  28366. in: query
  28367. name: zsallproperties
  28368. type: string
  28369. - description: 方向,0-买 1-卖
  28370. in: query
  28371. name: buyorsell
  28372. type: integer
  28373. - description: 是否历史查询
  28374. in: query
  28375. name: ishis
  28376. type: boolean
  28377. - description: 开始交易日(yyyymmdd)
  28378. in: query
  28379. name: begindate
  28380. type: string
  28381. - description: 结束交易日(yyyymmdd)
  28382. in: query
  28383. name: enddate
  28384. type: string
  28385. produces:
  28386. - application/json
  28387. responses:
  28388. "200":
  28389. description: OK
  28390. schema:
  28391. items:
  28392. $ref: '#/definitions/models.MyPerformanc'
  28393. type: array
  28394. "500":
  28395. description: Internal Server Error
  28396. schema:
  28397. $ref: '#/definitions/app.Response'
  28398. security:
  28399. - ApiKeyAuth: []
  28400. - LoginID: []
  28401. - Group: []
  28402. summary: 查询我的履约
  28403. tags:
  28404. - 广钻
  28405. /Guangzuan/QueryMySellOrder:
  28406. get:
  28407. parameters:
  28408. - description: 用户ID
  28409. in: query
  28410. name: userid
  28411. required: true
  28412. type: integer
  28413. - description: 页码
  28414. in: query
  28415. name: page
  28416. type: integer
  28417. - description: 每页条数
  28418. in: query
  28419. name: pagesize
  28420. type: integer
  28421. - description: 商品(查询字段-模糊查询)
  28422. in: query
  28423. name: zsallproperties
  28424. type: string
  28425. - description: 钻石分类, 格式:1,2,3
  28426. in: query
  28427. name: zscategorys
  28428. type: string
  28429. - description: 委托单号
  28430. in: query
  28431. name: wrtradeorderid
  28432. type: integer
  28433. - description: 是否历史查询
  28434. in: query
  28435. name: ishis
  28436. type: boolean
  28437. - description: 开始交易日(yyyymmdd)
  28438. in: query
  28439. name: begindate
  28440. type: string
  28441. - description: 结束交易日(yyyymmdd)
  28442. in: query
  28443. name: enddate
  28444. type: string
  28445. produces:
  28446. - application/json
  28447. responses:
  28448. "200":
  28449. description: OK
  28450. schema:
  28451. items:
  28452. $ref: '#/definitions/models.MySellOrder'
  28453. type: array
  28454. "500":
  28455. description: Internal Server Error
  28456. schema:
  28457. $ref: '#/definitions/app.Response'
  28458. security:
  28459. - ApiKeyAuth: []
  28460. - LoginID: []
  28461. - Group: []
  28462. summary: 查询我的出售
  28463. tags:
  28464. - 广钻
  28465. /Guangzuan/QueryMyWRPosition:
  28466. get:
  28467. parameters:
  28468. - description: 页码
  28469. in: query
  28470. name: page
  28471. type: integer
  28472. - description: 每页条数
  28473. in: query
  28474. name: pagesize
  28475. type: integer
  28476. - description: 登录用户ID
  28477. in: query
  28478. name: wruserid
  28479. required: true
  28480. type: integer
  28481. - description: 商品(查询字段-模糊查询)
  28482. in: query
  28483. name: zsallproperties
  28484. type: string
  28485. - description: 钻石分类, 格式:1,2,3
  28486. in: query
  28487. name: zscategorys
  28488. type: string
  28489. - description: 仓库ID
  28490. in: query
  28491. name: warehouseid
  28492. type: integer
  28493. - description: 是否上架,0-全部 1-是 2-否
  28494. in: query
  28495. name: marketflag
  28496. type: integer
  28497. produces:
  28498. - application/json
  28499. responses:
  28500. "200":
  28501. description: OK
  28502. schema:
  28503. items:
  28504. $ref: '#/definitions/models.MyWRPosition'
  28505. type: array
  28506. "500":
  28507. description: Internal Server Error
  28508. schema:
  28509. $ref: '#/definitions/app.Response'
  28510. security:
  28511. - ApiKeyAuth: []
  28512. - LoginID: []
  28513. - Group: []
  28514. summary: 查询我的库存
  28515. tags:
  28516. - 广钻
  28517. /Guangzuan/QuerySellOrder:
  28518. get:
  28519. parameters:
  28520. - description: 页码
  28521. in: query
  28522. name: page
  28523. type: integer
  28524. - description: 每页条数
  28525. in: query
  28526. name: pagesize
  28527. type: integer
  28528. - description: 商品(查询字段-模糊查询)
  28529. in: query
  28530. name: zsallproperties
  28531. type: string
  28532. - description: 钻石分类, 格式:1,2,3
  28533. in: query
  28534. name: zscategorys
  28535. type: string
  28536. - description: 委托单号
  28537. in: query
  28538. name: wrtradeorderid
  28539. type: integer
  28540. - description: 卖方(查询字段-模糊查询)
  28541. in: query
  28542. name: buyusername
  28543. type: string
  28544. produces:
  28545. - application/json
  28546. responses:
  28547. "200":
  28548. description: OK
  28549. schema:
  28550. items:
  28551. $ref: '#/definitions/models.SellOrder'
  28552. type: array
  28553. "500":
  28554. description: Internal Server Error
  28555. schema:
  28556. $ref: '#/definitions/app.Response'
  28557. security:
  28558. - ApiKeyAuth: []
  28559. - LoginID: []
  28560. - Group: []
  28561. summary: 查询出售大厅委托单
  28562. tags:
  28563. - 广钻
  28564. /Guangzuan/QueryWarehouseInfo:
  28565. get:
  28566. parameters:
  28567. - description: 页码
  28568. in: query
  28569. name: page
  28570. type: integer
  28571. - description: 每页条数
  28572. in: query
  28573. name: pagesize
  28574. type: integer
  28575. - description: 用户ID
  28576. in: query
  28577. name: userid
  28578. required: true
  28579. type: integer
  28580. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28581. in: query
  28582. name: status
  28583. type: string
  28584. - description: 是返回交易所仓库
  28585. in: query
  28586. name: isincludeexchange
  28587. type: boolean
  28588. produces:
  28589. - application/json
  28590. responses:
  28591. "200":
  28592. description: OK
  28593. schema:
  28594. items:
  28595. $ref: '#/definitions/models.GZWarehouseinfo'
  28596. type: array
  28597. "500":
  28598. description: Internal Server Error
  28599. schema:
  28600. $ref: '#/definitions/app.Response'
  28601. security:
  28602. - ApiKeyAuth: []
  28603. - LoginID: []
  28604. - Group: []
  28605. summary: 查询仓库信息
  28606. tags:
  28607. - 广钻
  28608. /Market/GetAllExExchanges:
  28609. get:
  28610. produces:
  28611. - application/json
  28612. responses:
  28613. "200":
  28614. description: OK
  28615. schema:
  28616. $ref: '#/definitions/models.Goods'
  28617. "500":
  28618. description: Internal Server Error
  28619. schema:
  28620. $ref: '#/definitions/app.Response'
  28621. security:
  28622. - ApiKeyAuth: []
  28623. summary: 获取所有外部交易所信息
  28624. tags:
  28625. - 通用市场
  28626. /Market/QueryGoodsesByLoginID:
  28627. get:
  28628. parameters:
  28629. - description: 登录账号
  28630. in: query
  28631. name: loginID
  28632. required: true
  28633. type: integer
  28634. - description: 市场ID列表,格式:1,2,3
  28635. in: query
  28636. name: marketIDs
  28637. type: string
  28638. produces:
  28639. - application/json
  28640. responses:
  28641. "200":
  28642. description: OK
  28643. schema:
  28644. $ref: '#/definitions/models.Goods'
  28645. "500":
  28646. description: Internal Server Error
  28647. schema:
  28648. $ref: '#/definitions/app.Response'
  28649. security:
  28650. - ApiKeyAuth: []
  28651. summary: 获取登录账号有权限的商品信息
  28652. tags:
  28653. - 通用市场
  28654. /Market/QueryMarketRun:
  28655. get:
  28656. parameters:
  28657. - description: 市场ID,不传返回所有
  28658. in: query
  28659. name: marketID
  28660. type: integer
  28661. produces:
  28662. - application/json
  28663. responses:
  28664. "200":
  28665. description: OK
  28666. schema:
  28667. $ref: '#/definitions/models.Marketrun'
  28668. "500":
  28669. description: Internal Server Error
  28670. schema:
  28671. $ref: '#/definitions/app.Response'
  28672. security:
  28673. - ApiKeyAuth: []
  28674. summary: 查询市场运行信息
  28675. tags:
  28676. - 通用市场
  28677. /Market/QueryMarketsByLoginID:
  28678. get:
  28679. parameters:
  28680. - description: 登录账号
  28681. in: query
  28682. name: loginID
  28683. required: true
  28684. type: integer
  28685. produces:
  28686. - application/json
  28687. responses:
  28688. "200":
  28689. description: OK
  28690. schema:
  28691. $ref: '#/definitions/models.Market'
  28692. "500":
  28693. description: Internal Server Error
  28694. schema:
  28695. $ref: '#/definitions/app.Response'
  28696. security:
  28697. - ApiKeyAuth: []
  28698. summary: 获取登录账号有权限的市场信息
  28699. tags:
  28700. - 通用市场
  28701. /Order/QueryHisTradeDetail:
  28702. get:
  28703. parameters:
  28704. - description: 资金账户 - 格式:1,2,3
  28705. in: query
  28706. name: accountID
  28707. required: true
  28708. type: string
  28709. - description: 成交单号
  28710. in: query
  28711. name: tradeID
  28712. type: integer
  28713. - description: 委托单号
  28714. in: query
  28715. name: orderID
  28716. type: integer
  28717. - description: 商品ID
  28718. in: query
  28719. name: goodsID
  28720. type: integer
  28721. - description: 交易模式 - 格式:1,2,3
  28722. in: query
  28723. name: tradeMode
  28724. type: string
  28725. - description: 委托单据类型
  28726. in: query
  28727. name: buildType
  28728. type: integer
  28729. - description: 成交类别 - 格式:1,2,3
  28730. in: query
  28731. name: tradeType
  28732. type: string
  28733. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28734. in: query
  28735. name: startDate
  28736. type: string
  28737. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28738. in: query
  28739. name: endDate
  28740. type: string
  28741. produces:
  28742. - application/json
  28743. responses:
  28744. "200":
  28745. description: OK
  28746. schema:
  28747. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28748. "500":
  28749. description: Internal Server Error
  28750. schema:
  28751. $ref: '#/definitions/app.Response'
  28752. security:
  28753. - ApiKeyAuth: []
  28754. summary: 历史成交单查询(合约市场)
  28755. tags:
  28756. - 通用单据
  28757. /Order/QueryHisTradeOrderDetail:
  28758. get:
  28759. parameters:
  28760. - description: 资金账户 - 格式:1,2,3
  28761. in: query
  28762. name: accountID
  28763. required: true
  28764. type: string
  28765. - description: 交易模式 - 格式:1,2,3
  28766. in: query
  28767. name: tradeMode
  28768. type: string
  28769. - description: 委托状态 - 格式:1,2,3
  28770. in: query
  28771. name: orderStatus
  28772. type: string
  28773. - description: 委托单号
  28774. in: query
  28775. name: orderID
  28776. type: integer
  28777. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28778. in: query
  28779. name: startDate
  28780. type: string
  28781. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28782. in: query
  28783. name: endDate
  28784. type: string
  28785. produces:
  28786. - application/json
  28787. responses:
  28788. "200":
  28789. description: OK
  28790. schema:
  28791. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28792. "500":
  28793. description: Internal Server Error
  28794. schema:
  28795. $ref: '#/definitions/app.Response'
  28796. security:
  28797. - ApiKeyAuth: []
  28798. summary: 历史委托单查询请求(合约市场)
  28799. tags:
  28800. - 通用单据
  28801. /Order/QueryTradeDetail:
  28802. get:
  28803. parameters:
  28804. - description: 资金账户 - 格式:1,2,3
  28805. in: query
  28806. name: accountID
  28807. required: true
  28808. type: string
  28809. - description: 成交单号
  28810. in: query
  28811. name: tradeID
  28812. type: integer
  28813. - description: 委托单号
  28814. in: query
  28815. name: orderID
  28816. type: integer
  28817. - description: 交易模式 - 格式:1,2,3
  28818. in: query
  28819. name: tradeMode
  28820. type: string
  28821. - description: 委托单据类型
  28822. in: query
  28823. name: buildType
  28824. type: integer
  28825. - description: 成交类别 - 格式:1,2,3
  28826. in: query
  28827. name: tradeType
  28828. type: string
  28829. - description: 商品ID
  28830. in: query
  28831. name: goodsID
  28832. type: integer
  28833. produces:
  28834. - application/json
  28835. responses:
  28836. "200":
  28837. description: OK
  28838. schema:
  28839. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28840. "500":
  28841. description: Internal Server Error
  28842. schema:
  28843. $ref: '#/definitions/app.Response'
  28844. security:
  28845. - ApiKeyAuth: []
  28846. summary: 成交单查询(合约市场)
  28847. tags:
  28848. - 通用单据
  28849. /Order/QueryTradeHolderDetail:
  28850. get:
  28851. parameters:
  28852. - description: 用户id
  28853. in: query
  28854. name: userid
  28855. type: integer
  28856. - description: 资金账号, 格式 1,2,3
  28857. in: query
  28858. name: accids
  28859. type: string
  28860. - description: 交易模式, 格式 1,2,3
  28861. in: query
  28862. name: trademodes
  28863. type: string
  28864. - description: 市场id, 格式 1,2,3
  28865. in: query
  28866. name: marketids
  28867. type: string
  28868. - description: 商品id
  28869. in: query
  28870. name: goodsid
  28871. type: integer
  28872. - description: 买卖方向 0-买 1-卖
  28873. in: query
  28874. name: buyorsell
  28875. type: integer
  28876. produces:
  28877. - application/json
  28878. responses:
  28879. "200":
  28880. description: OK
  28881. schema:
  28882. items:
  28883. $ref: '#/definitions/models.TradeHolderDetail'
  28884. type: array
  28885. "500":
  28886. description: Internal Server Error
  28887. schema:
  28888. $ref: '#/definitions/app.Response'
  28889. security:
  28890. - ApiKeyAuth: []
  28891. summary: 查询持仓明细
  28892. tags:
  28893. - 通用单据
  28894. /Order/QueryTradeOrderDetail:
  28895. get:
  28896. parameters:
  28897. - description: 资金账户 - 格式:1,2,3
  28898. in: query
  28899. name: accountID
  28900. required: true
  28901. type: string
  28902. - description: 交易模式 - 格式:1,2,3
  28903. in: query
  28904. name: tradeMode
  28905. type: string
  28906. - description: 委托状态 - 格式:1,2,3
  28907. in: query
  28908. name: orderStatus
  28909. type: string
  28910. - description: 委托单号
  28911. in: query
  28912. name: orderID
  28913. type: integer
  28914. produces:
  28915. - application/json
  28916. responses:
  28917. "200":
  28918. description: OK
  28919. schema:
  28920. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28921. "500":
  28922. description: Internal Server Error
  28923. schema:
  28924. $ref: '#/definitions/app.Response'
  28925. security:
  28926. - ApiKeyAuth: []
  28927. summary: 委托单查询请求(合约市场)
  28928. tags:
  28929. - 通用单据
  28930. /Order/QueryTradePosition:
  28931. get:
  28932. parameters:
  28933. - description: 资金账户 - 格式:1,2,3
  28934. in: query
  28935. name: accountID
  28936. required: true
  28937. type: string
  28938. - description: 交易模式 - 格式:1,2,3
  28939. in: query
  28940. name: tradeMode
  28941. type: string
  28942. produces:
  28943. - application/json
  28944. responses:
  28945. "200":
  28946. description: OK
  28947. schema:
  28948. $ref: '#/definitions/order.QueryTradePositionRsp'
  28949. "500":
  28950. description: Internal Server Error
  28951. schema:
  28952. $ref: '#/definitions/app.Response'
  28953. security:
  28954. - ApiKeyAuth: []
  28955. summary: 持仓汇总查询(合约市场)
  28956. tags:
  28957. - 通用单据
  28958. /Qhj/QueryAccountInOutApply:
  28959. get:
  28960. parameters:
  28961. - description: 用户ID
  28962. in: query
  28963. name: userid
  28964. required: true
  28965. type: integer
  28966. - description: 申请起始日期(格式yyyymmdd)
  28967. in: query
  28968. name: begindate
  28969. type: string
  28970. - description: 申请截止日期(格式yyyymmdd)
  28971. in: query
  28972. name: enddate
  28973. type: string
  28974. - description: 模糊搜索名称
  28975. in: query
  28976. name: likename
  28977. type: string
  28978. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28979. in: query
  28980. name: applystatus
  28981. type: integer
  28982. - description: 查询类型 1-提现(出金) 2-充值(入金)
  28983. in: query
  28984. name: querytype
  28985. type: integer
  28986. produces:
  28987. - application/json
  28988. responses:
  28989. "200":
  28990. description: OK
  28991. schema:
  28992. items:
  28993. $ref: '#/definitions/models.QhjAccountOutInApply'
  28994. type: array
  28995. "500":
  28996. description: Internal Server Error
  28997. schema:
  28998. $ref: '#/definitions/app.Response'
  28999. security:
  29000. - ApiKeyAuth: []
  29001. summary: 查询充值提现
  29002. tags:
  29003. - 大连千海金
  29004. /Qhj/QueryAreaFinanceConfig:
  29005. get:
  29006. parameters:
  29007. - description: 机构用户ID 其他做市关系,都设置为 1
  29008. in: query
  29009. name: userid
  29010. type: integer
  29011. produces:
  29012. - application/json
  29013. responses:
  29014. "200":
  29015. description: OK
  29016. schema:
  29017. items:
  29018. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29019. type: array
  29020. "500":
  29021. description: Internal Server Error
  29022. schema:
  29023. $ref: '#/definitions/app.Response'
  29024. security:
  29025. - ApiKeyAuth: []
  29026. summary: 查询企业配置表
  29027. tags:
  29028. - 大连千海金
  29029. /Qhj/QueryBankAccountSign:
  29030. get:
  29031. parameters:
  29032. - description: 用户ID
  29033. in: query
  29034. name: userid
  29035. required: true
  29036. type: integer
  29037. produces:
  29038. - application/json
  29039. responses:
  29040. "200":
  29041. description: OK
  29042. schema:
  29043. items:
  29044. $ref: '#/definitions/models.QhjBankAccountSign'
  29045. type: array
  29046. "500":
  29047. description: Internal Server Error
  29048. schema:
  29049. $ref: '#/definitions/app.Response'
  29050. security:
  29051. - ApiKeyAuth: []
  29052. summary: 查询签约银行信息(提现账户管理)
  29053. tags:
  29054. - 大连千海金
  29055. /Qhj/QueryBankInfo:
  29056. get:
  29057. produces:
  29058. - application/json
  29059. responses:
  29060. "200":
  29061. description: OK
  29062. schema:
  29063. items:
  29064. $ref: '#/definitions/models.QhjBankInfo'
  29065. type: array
  29066. "500":
  29067. description: Internal Server Error
  29068. schema:
  29069. $ref: '#/definitions/app.Response'
  29070. security:
  29071. - ApiKeyAuth: []
  29072. summary: 查询开户行
  29073. tags:
  29074. - 大连千海金
  29075. /Qhj/QueryBrokerApply:
  29076. get:
  29077. parameters:
  29078. - description: 所属机构ID
  29079. in: query
  29080. name: userid
  29081. type: integer
  29082. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29083. in: query
  29084. name: filterstatus
  29085. type: string
  29086. produces:
  29087. - application/json
  29088. responses:
  29089. "200":
  29090. description: OK
  29091. schema:
  29092. items:
  29093. $ref: '#/definitions/models.QhjBrokerApply'
  29094. type: array
  29095. "500":
  29096. description: Internal Server Error
  29097. schema:
  29098. $ref: '#/definitions/app.Response'
  29099. security:
  29100. - ApiKeyAuth: []
  29101. summary: 查询经纪人申请
  29102. tags:
  29103. - 大连千海金
  29104. /Qhj/QueryBrokerApplyEx:
  29105. get:
  29106. parameters:
  29107. - description: 所属机构ID
  29108. in: query
  29109. name: userid
  29110. type: integer
  29111. produces:
  29112. - application/json
  29113. responses:
  29114. "200":
  29115. description: OK
  29116. schema:
  29117. items:
  29118. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29119. type: array
  29120. "500":
  29121. description: Internal Server Error
  29122. schema:
  29123. $ref: '#/definitions/app.Response'
  29124. security:
  29125. - ApiKeyAuth: []
  29126. summary: 查询经纪人信息和申请记录
  29127. tags:
  29128. - 大连千海金
  29129. /Qhj/QueryBrokerRewardLog:
  29130. get:
  29131. parameters:
  29132. - description: 用户ID
  29133. in: query
  29134. name: userid
  29135. required: true
  29136. type: integer
  29137. - description: 开始交易日(yyyymmdd)
  29138. in: query
  29139. name: begindate
  29140. type: string
  29141. - description: 结束交易日(yyyymmdd)
  29142. in: query
  29143. name: enddate
  29144. type: string
  29145. produces:
  29146. - application/json
  29147. responses:
  29148. "200":
  29149. description: OK
  29150. schema:
  29151. items:
  29152. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29153. type: array
  29154. "500":
  29155. description: Internal Server Error
  29156. schema:
  29157. $ref: '#/definitions/app.Response'
  29158. security:
  29159. - ApiKeyAuth: []
  29160. summary: 查询奖励流水(我的奖励)
  29161. tags:
  29162. - 大连千海金
  29163. /Qhj/QueryContract:
  29164. get:
  29165. parameters:
  29166. - description: 用户ID
  29167. in: query
  29168. name: userid
  29169. type: integer
  29170. - description: scf合同id
  29171. in: query
  29172. name: scfcontractid
  29173. type: integer
  29174. produces:
  29175. - application/json
  29176. responses:
  29177. "200":
  29178. description: OK
  29179. schema:
  29180. items:
  29181. $ref: '#/definitions/models.QhjContract'
  29182. type: array
  29183. "500":
  29184. description: Internal Server Error
  29185. schema:
  29186. $ref: '#/definitions/app.Response'
  29187. security:
  29188. - ApiKeyAuth: []
  29189. summary: 查询融资明细(合同)
  29190. tags:
  29191. - 大连千海金
  29192. /Qhj/QueryContractLog:
  29193. get:
  29194. parameters:
  29195. - description: scf合同id
  29196. in: query
  29197. name: scfcontractid
  29198. required: true
  29199. type: integer
  29200. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29201. in: query
  29202. name: amounttype
  29203. type: string
  29204. produces:
  29205. - application/json
  29206. responses:
  29207. "200":
  29208. description: OK
  29209. schema:
  29210. items:
  29211. $ref: '#/definitions/models.QhjContractLog'
  29212. type: array
  29213. "500":
  29214. description: Internal Server Error
  29215. schema:
  29216. $ref: '#/definitions/app.Response'
  29217. security:
  29218. - ApiKeyAuth: []
  29219. summary: 查询融资明细流水(融资明细详情页中的流水)
  29220. tags:
  29221. - 大连千海金
  29222. /Qhj/QueryCusBankSignBank:
  29223. get:
  29224. produces:
  29225. - application/json
  29226. responses:
  29227. "200":
  29228. description: OK
  29229. schema:
  29230. items:
  29231. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29232. type: array
  29233. "500":
  29234. description: Internal Server Error
  29235. schema:
  29236. $ref: '#/definitions/app.Response'
  29237. security:
  29238. - ApiKeyAuth: []
  29239. summary: 查询托管银行
  29240. tags:
  29241. - 大连千海金
  29242. /Qhj/QueryCustomerInfo:
  29243. get:
  29244. parameters:
  29245. - description: 用户ID
  29246. in: query
  29247. name: userid
  29248. required: true
  29249. type: integer
  29250. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29251. in: query
  29252. name: querytype
  29253. required: true
  29254. type: integer
  29255. - description: 客户类型 1-个人 2-企业
  29256. in: query
  29257. name: userinfotype
  29258. type: integer
  29259. - description: 客户名称(模糊匹配)
  29260. in: query
  29261. name: customername
  29262. type: string
  29263. - description: 昵称(模糊匹配)
  29264. in: query
  29265. name: nickname
  29266. type: string
  29267. - description: 是否包含子级 1-包含
  29268. in: query
  29269. name: includesub
  29270. type: integer
  29271. produces:
  29272. - application/json
  29273. responses:
  29274. "200":
  29275. description: OK
  29276. schema:
  29277. items:
  29278. $ref: '#/definitions/models.QhjCustomer'
  29279. type: array
  29280. "500":
  29281. description: Internal Server Error
  29282. schema:
  29283. $ref: '#/definitions/app.Response'
  29284. security:
  29285. - ApiKeyAuth: []
  29286. summary: 查询客户资料
  29287. tags:
  29288. - 大连千海金
  29289. /Qhj/QueryGoodsEx:
  29290. get:
  29291. parameters:
  29292. - description: 商品id
  29293. in: query
  29294. name: goodsid
  29295. type: integer
  29296. produces:
  29297. - application/json
  29298. responses:
  29299. "200":
  29300. description: OK
  29301. schema:
  29302. items:
  29303. $ref: '#/definitions/models.Qhjgoodsex'
  29304. type: array
  29305. "500":
  29306. description: Internal Server Error
  29307. schema:
  29308. $ref: '#/definitions/app.Response'
  29309. security:
  29310. - ApiKeyAuth: []
  29311. summary: 交易商品扩展表
  29312. tags:
  29313. - 大连千海金
  29314. /Qhj/QueryMyTeam:
  29315. get:
  29316. parameters:
  29317. - description: 用户ID
  29318. in: query
  29319. name: userid
  29320. required: true
  29321. type: integer
  29322. produces:
  29323. - application/json
  29324. responses:
  29325. "200":
  29326. description: OK
  29327. schema:
  29328. items:
  29329. $ref: '#/definitions/models.QhjMyTeamEx'
  29330. type: array
  29331. "500":
  29332. description: Internal Server Error
  29333. schema:
  29334. $ref: '#/definitions/app.Response'
  29335. security:
  29336. - ApiKeyAuth: []
  29337. summary: 查询我的团队
  29338. tags:
  29339. - 大连千海金
  29340. /Qhj/QueryMyTeamOrder:
  29341. get:
  29342. parameters:
  29343. - description: 页码
  29344. in: query
  29345. name: page
  29346. type: integer
  29347. - description: 每页条数
  29348. in: query
  29349. name: pagesize
  29350. type: integer
  29351. - description: 用户ID
  29352. in: query
  29353. name: userid
  29354. required: true
  29355. type: integer
  29356. - description: 交易模式
  29357. in: query
  29358. name: trademode
  29359. type: integer
  29360. - description: 名称(模糊搜索账户)
  29361. in: query
  29362. name: filtername
  29363. type: string
  29364. produces:
  29365. - application/json
  29366. responses:
  29367. "200":
  29368. description: OK
  29369. schema:
  29370. items:
  29371. $ref: '#/definitions/models.QhjTeamOrder'
  29372. type: array
  29373. "500":
  29374. description: Internal Server Error
  29375. schema:
  29376. $ref: '#/definitions/app.Response'
  29377. security:
  29378. - ApiKeyAuth: []
  29379. summary: 查询团队订单(我的团队/团队订单)
  29380. tags:
  29381. - 大连千海金
  29382. /Qhj/QueryParentAreaList:
  29383. get:
  29384. parameters:
  29385. - description: 用户ID
  29386. in: query
  29387. name: userid
  29388. required: true
  29389. type: integer
  29390. produces:
  29391. - application/json
  29392. responses:
  29393. "200":
  29394. description: OK
  29395. schema:
  29396. items:
  29397. $ref: '#/definitions/models.QhjParentAreaList'
  29398. type: array
  29399. "500":
  29400. description: Internal Server Error
  29401. schema:
  29402. $ref: '#/definitions/app.Response'
  29403. security:
  29404. - ApiKeyAuth: []
  29405. summary: 查询所属机构列表
  29406. tags:
  29407. - 大连千海金
  29408. /Qhj/QueryPayOrder:
  29409. get:
  29410. parameters:
  29411. - description: 资金账号id
  29412. in: query
  29413. name: accountid
  29414. required: true
  29415. type: integer
  29416. - description: 成交单号
  29417. in: query
  29418. name: tradeid
  29419. type: integer
  29420. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29421. in: query
  29422. name: payflag
  29423. type: string
  29424. produces:
  29425. - application/json
  29426. responses:
  29427. "200":
  29428. description: OK
  29429. schema:
  29430. items:
  29431. $ref: '#/definitions/models.QhjPayOrder'
  29432. type: array
  29433. "500":
  29434. description: Internal Server Error
  29435. schema:
  29436. $ref: '#/definitions/app.Response'
  29437. security:
  29438. - ApiKeyAuth: []
  29439. summary: 查询待付款单据
  29440. tags:
  29441. - 大连千海金
  29442. /Qhj/QueryPickArea:
  29443. get:
  29444. parameters:
  29445. - description: 用户ID
  29446. in: query
  29447. name: userid
  29448. type: integer
  29449. produces:
  29450. - application/json
  29451. responses:
  29452. "200":
  29453. description: OK
  29454. schema:
  29455. items:
  29456. $ref: '#/definitions/models.QhjPickArea'
  29457. type: array
  29458. "500":
  29459. description: Internal Server Error
  29460. schema:
  29461. $ref: '#/definitions/app.Response'
  29462. security:
  29463. - ApiKeyAuth: []
  29464. summary: 查询提货门店
  29465. tags:
  29466. - 大连千海金
  29467. /Qhj/QueryPickGoods:
  29468. get:
  29469. parameters:
  29470. - description: 交易商品id
  29471. in: query
  29472. name: goodsid
  29473. required: true
  29474. type: integer
  29475. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29476. in: query
  29477. name: status
  29478. type: string
  29479. produces:
  29480. - application/json
  29481. responses:
  29482. "200":
  29483. description: OK
  29484. schema:
  29485. items:
  29486. $ref: '#/definitions/models.QhjPickGoods'
  29487. type: array
  29488. "500":
  29489. description: Internal Server Error
  29490. schema:
  29491. $ref: '#/definitions/app.Response'
  29492. security:
  29493. - ApiKeyAuth: []
  29494. summary: 查询提货商品
  29495. tags:
  29496. - 大连千海金
  29497. /Qhj/QueryRSTriggerLog:
  29498. get:
  29499. parameters:
  29500. - description: 用户ID
  29501. in: query
  29502. name: userid
  29503. type: integer
  29504. - description: 定投策略id
  29505. in: query
  29506. name: regularlystrategyid
  29507. type: integer
  29508. - description: 商品id
  29509. in: query
  29510. name: goodsid
  29511. type: integer
  29512. - description: 开始交易日(yyyymmdd)
  29513. in: query
  29514. name: begindate
  29515. type: string
  29516. - description: 结束交易日(yyyymmdd)
  29517. in: query
  29518. name: enddate
  29519. type: string
  29520. - description: 名称(模糊搜索账户)
  29521. in: query
  29522. name: filtername
  29523. type: string
  29524. produces:
  29525. - application/json
  29526. responses:
  29527. "200":
  29528. description: OK
  29529. schema:
  29530. items:
  29531. $ref: '#/definitions/models.QhjRSTriggerLog'
  29532. type: array
  29533. "500":
  29534. description: Internal Server Error
  29535. schema:
  29536. $ref: '#/definitions/app.Response'
  29537. security:
  29538. - ApiKeyAuth: []
  29539. summary: 查询定投记录(定投管理/详情/定投记录)
  29540. tags:
  29541. - 大连千海金
  29542. /Qhj/QueryRStrategy:
  29543. get:
  29544. parameters:
  29545. - description: 用户ID
  29546. in: query
  29547. name: userid
  29548. type: integer
  29549. - description: 商品id
  29550. in: query
  29551. name: goodsid
  29552. type: integer
  29553. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  29554. in: query
  29555. name: status
  29556. type: string
  29557. - description: 名称(模糊搜索账户)
  29558. in: query
  29559. name: filtername
  29560. type: string
  29561. produces:
  29562. - application/json
  29563. responses:
  29564. "200":
  29565. description: OK
  29566. schema:
  29567. items:
  29568. $ref: '#/definitions/models.QhjRStrategy'
  29569. type: array
  29570. "500":
  29571. description: Internal Server Error
  29572. schema:
  29573. $ref: '#/definitions/app.Response'
  29574. security:
  29575. - ApiKeyAuth: []
  29576. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  29577. tags:
  29578. - 大连千海金
  29579. /Qhj/QueryReckonPriceLog:
  29580. get:
  29581. parameters:
  29582. - description: 商品ID
  29583. in: query
  29584. name: goodsid
  29585. type: integer
  29586. - description: 交易日 格式(yyyymmdd)
  29587. in: query
  29588. name: tradedate
  29589. type: string
  29590. produces:
  29591. - application/json
  29592. responses:
  29593. "200":
  29594. description: OK
  29595. schema:
  29596. items:
  29597. $ref: '#/definitions/models.QhjReckonPriceLog'
  29598. type: array
  29599. "500":
  29600. description: Internal Server Error
  29601. schema:
  29602. $ref: '#/definitions/app.Response'
  29603. security:
  29604. - ApiKeyAuth: []
  29605. summary: 查询定投价(结算价)
  29606. tags:
  29607. - 大连千海金
  29608. /Qhj/QueryScoreLog:
  29609. get:
  29610. parameters:
  29611. - description: 用户ID
  29612. in: query
  29613. name: userid
  29614. required: true
  29615. type: integer
  29616. - description: 开始交易日(yyyymmdd)
  29617. in: query
  29618. name: begindate
  29619. type: string
  29620. - description: 结束交易日(yyyymmdd)
  29621. in: query
  29622. name: enddate
  29623. type: string
  29624. - description: 最近多少条
  29625. in: query
  29626. name: lastnum
  29627. type: integer
  29628. produces:
  29629. - application/json
  29630. responses:
  29631. "200":
  29632. description: OK
  29633. schema:
  29634. items:
  29635. $ref: '#/definitions/models.QhjScoreLog'
  29636. type: array
  29637. "500":
  29638. description: Internal Server Error
  29639. schema:
  29640. $ref: '#/definitions/app.Response'
  29641. security:
  29642. - ApiKeyAuth: []
  29643. summary: 查询积分流水(我的积分)
  29644. tags:
  29645. - 大连千海金
  29646. /Qhj/QuerySiteColumnDetail:
  29647. get:
  29648. parameters:
  29649. - description: 用户ID
  29650. in: query
  29651. name: userid
  29652. required: true
  29653. type: integer
  29654. produces:
  29655. - application/json
  29656. responses:
  29657. "200":
  29658. description: OK
  29659. schema:
  29660. items:
  29661. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29662. type: array
  29663. "500":
  29664. description: Internal Server Error
  29665. schema:
  29666. $ref: '#/definitions/app.Response'
  29667. security:
  29668. - ApiKeyAuth: []
  29669. summary: 查询资讯
  29670. tags:
  29671. - 大连千海金
  29672. /Qhj/QueryTradeGoodsPickup:
  29673. get:
  29674. parameters:
  29675. - description: 用户ID
  29676. in: query
  29677. name: userid
  29678. required: true
  29679. type: integer
  29680. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29681. 7:已拒绝 8:已撤销
  29682. in: query
  29683. name: takeorderstatus
  29684. type: integer
  29685. produces:
  29686. - application/json
  29687. responses:
  29688. "200":
  29689. description: OK
  29690. schema:
  29691. items:
  29692. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29693. type: array
  29694. "500":
  29695. description: Internal Server Error
  29696. schema:
  29697. $ref: '#/definitions/app.Response'
  29698. security:
  29699. - ApiKeyAuth: []
  29700. summary: 查询提货
  29701. tags:
  29702. - 大连千海金
  29703. /Qhj/QueryUserCollectConfig:
  29704. get:
  29705. parameters:
  29706. - description: 用户ID
  29707. in: query
  29708. name: userid
  29709. required: true
  29710. type: integer
  29711. produces:
  29712. - application/json
  29713. responses:
  29714. "200":
  29715. description: OK
  29716. schema:
  29717. items:
  29718. $ref: '#/definitions/models.UserCollectConfig'
  29719. type: array
  29720. "500":
  29721. description: Internal Server Error
  29722. schema:
  29723. $ref: '#/definitions/app.Response'
  29724. security:
  29725. - ApiKeyAuth: []
  29726. summary: 查询提现账户设置
  29727. tags:
  29728. - 大连千海金
  29729. /Qhj/QueryUserReceiveInfo:
  29730. get:
  29731. parameters:
  29732. - description: 用户ID
  29733. in: query
  29734. name: userid
  29735. required: true
  29736. type: integer
  29737. produces:
  29738. - application/json
  29739. responses:
  29740. "200":
  29741. description: OK
  29742. schema:
  29743. items:
  29744. $ref: '#/definitions/models.UserReceiveInfo'
  29745. type: array
  29746. "500":
  29747. description: Internal Server Error
  29748. schema:
  29749. $ref: '#/definitions/app.Response'
  29750. security:
  29751. - ApiKeyAuth: []
  29752. summary: 查询收货地址信息
  29753. tags:
  29754. - 大连千海金
  29755. /QhjMgr/QueryAccountInOutApply:
  29756. get:
  29757. parameters:
  29758. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29759. in: query
  29760. name: querytype
  29761. required: true
  29762. type: integer
  29763. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29764. in: query
  29765. name: applystatus
  29766. type: integer
  29767. - description: 申请起始日期(格式yyyymmdd)
  29768. in: query
  29769. name: begindate
  29770. type: string
  29771. - description: 申请截止日期(格式yyyymmdd)
  29772. in: query
  29773. name: enddate
  29774. type: string
  29775. - description: 模糊搜索名称
  29776. in: query
  29777. name: likename
  29778. type: string
  29779. produces:
  29780. - application/json
  29781. responses:
  29782. "200":
  29783. description: OK
  29784. schema:
  29785. items:
  29786. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29787. type: array
  29788. "500":
  29789. description: Internal Server Error
  29790. schema:
  29791. $ref: '#/definitions/app.Response'
  29792. security:
  29793. - ApiKeyAuth: []
  29794. summary: 查询充值提现
  29795. tags:
  29796. - 大连千海金(PCWeb)
  29797. /QhjMgr/QueryBrokerApply:
  29798. get:
  29799. parameters:
  29800. - description: 所属机构ID
  29801. in: query
  29802. name: userid
  29803. type: integer
  29804. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29805. in: query
  29806. name: filterstatus
  29807. type: string
  29808. - description: 名称(模糊匹配)
  29809. in: query
  29810. name: filtername
  29811. type: string
  29812. - description: 是否包含子级 1-包含
  29813. in: query
  29814. name: includesub
  29815. type: integer
  29816. produces:
  29817. - application/json
  29818. responses:
  29819. "200":
  29820. description: OK
  29821. schema:
  29822. items:
  29823. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29824. type: array
  29825. "500":
  29826. description: Internal Server Error
  29827. schema:
  29828. $ref: '#/definitions/app.Response'
  29829. security:
  29830. - ApiKeyAuth: []
  29831. summary: 查询经纪人申请
  29832. tags:
  29833. - 大连千海金(PCWeb)
  29834. /QhjMgr/QueryBrokerRewardReport:
  29835. get:
  29836. parameters:
  29837. - description: 所属机构ID
  29838. in: query
  29839. name: userid
  29840. required: true
  29841. type: integer
  29842. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29843. in: query
  29844. name: cycletype
  29845. required: true
  29846. type: integer
  29847. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29848. in: query
  29849. name: cycletime
  29850. required: true
  29851. type: string
  29852. - description: 名称(模糊匹配)
  29853. in: query
  29854. name: filtername
  29855. type: string
  29856. - description: 是否包含子级 1-包含
  29857. in: query
  29858. name: includesub
  29859. type: integer
  29860. produces:
  29861. - application/json
  29862. responses:
  29863. "200":
  29864. description: OK
  29865. schema:
  29866. items:
  29867. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29868. type: array
  29869. "500":
  29870. description: Internal Server Error
  29871. schema:
  29872. $ref: '#/definitions/app.Response'
  29873. security:
  29874. - ApiKeyAuth: []
  29875. summary: 查询经纪人奖励报表(废弃)
  29876. tags:
  29877. - 大连千海金(PCWeb)
  29878. /QhjMgr/QueryContract:
  29879. get:
  29880. parameters:
  29881. - description: 用户ID
  29882. in: query
  29883. name: userid
  29884. type: integer
  29885. - description: 商品id
  29886. in: query
  29887. name: goodsid
  29888. type: integer
  29889. - description: 名称(模糊搜索账户)
  29890. in: query
  29891. name: filtername
  29892. type: string
  29893. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29894. in: query
  29895. name: risklevel
  29896. type: string
  29897. - description: 开始交易日(yyyymmdd)
  29898. in: query
  29899. name: begindate
  29900. type: string
  29901. - description: 结束交易日(yyyymmdd)
  29902. in: query
  29903. name: enddate
  29904. type: string
  29905. produces:
  29906. - application/json
  29907. responses:
  29908. "200":
  29909. description: OK
  29910. schema:
  29911. items:
  29912. $ref: '#/definitions/models.QhjMgrContract'
  29913. type: array
  29914. "500":
  29915. description: Internal Server Error
  29916. schema:
  29917. $ref: '#/definitions/app.Response'
  29918. security:
  29919. - ApiKeyAuth: []
  29920. summary: 查询融资信息(合同)
  29921. tags:
  29922. - 大连千海金(PCWeb)
  29923. /QhjMgr/QueryCustomerInfo:
  29924. get:
  29925. parameters:
  29926. - description: 用户ID
  29927. in: query
  29928. name: userid
  29929. required: true
  29930. type: integer
  29931. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29932. in: query
  29933. name: querytype
  29934. required: true
  29935. type: integer
  29936. - description: 客户类型 1-个人 2-企业
  29937. in: query
  29938. name: userinfotype
  29939. type: integer
  29940. - description: 客户名称(模糊匹配)
  29941. in: query
  29942. name: customername
  29943. type: string
  29944. - description: 昵称(模糊匹配)
  29945. in: query
  29946. name: nickname
  29947. type: string
  29948. - description: 所属客户经理(模糊匹配)
  29949. in: query
  29950. name: brokername
  29951. type: string
  29952. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29953. 如0503 -5月3日)
  29954. in: query
  29955. name: birthday
  29956. type: string
  29957. - description: 是否包含子级 1-包含
  29958. in: query
  29959. name: includesub
  29960. type: integer
  29961. produces:
  29962. - application/json
  29963. responses:
  29964. "200":
  29965. description: OK
  29966. schema:
  29967. items:
  29968. $ref: '#/definitions/models.QhjMgrCustomer'
  29969. type: array
  29970. "500":
  29971. description: Internal Server Error
  29972. schema:
  29973. $ref: '#/definitions/app.Response'
  29974. security:
  29975. - ApiKeyAuth: []
  29976. summary: 查询客户资料
  29977. tags:
  29978. - 大连千海金(PCWeb)
  29979. /QhjMgr/QueryPickGoods:
  29980. get:
  29981. parameters:
  29982. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29983. in: query
  29984. name: status
  29985. type: string
  29986. produces:
  29987. - application/json
  29988. responses:
  29989. "200":
  29990. description: OK
  29991. schema:
  29992. items:
  29993. $ref: '#/definitions/models.QhjMgrPickGoods'
  29994. type: array
  29995. "500":
  29996. description: Internal Server Error
  29997. schema:
  29998. $ref: '#/definitions/app.Response'
  29999. security:
  30000. - ApiKeyAuth: []
  30001. summary: 查询提货商品
  30002. tags:
  30003. - 大连千海金(PCWeb)
  30004. /QhjMgr/QuerySubArea:
  30005. get:
  30006. parameters:
  30007. - description: 用户ID
  30008. in: query
  30009. name: userid
  30010. required: true
  30011. type: integer
  30012. produces:
  30013. - application/json
  30014. responses:
  30015. "200":
  30016. description: OK
  30017. schema:
  30018. items:
  30019. $ref: '#/definitions/models.QhjMgrSubArea'
  30020. type: array
  30021. "500":
  30022. description: Internal Server Error
  30023. schema:
  30024. $ref: '#/definitions/app.Response'
  30025. security:
  30026. - ApiKeyAuth: []
  30027. summary: 查询子机构列表
  30028. tags:
  30029. - 大连千海金(PCWeb)
  30030. /QhjMgr/QueryTradeDetail:
  30031. get:
  30032. parameters:
  30033. - description: 用户ID
  30034. in: query
  30035. name: userid
  30036. required: true
  30037. type: integer
  30038. - description: 用户类型 1-个人 2-企业
  30039. in: query
  30040. name: userinfotype
  30041. type: integer
  30042. - description: 交易模式
  30043. in: query
  30044. name: trademode
  30045. type: integer
  30046. - description: 商品id
  30047. in: query
  30048. name: goodsid
  30049. type: integer
  30050. - description: 名称(模糊搜索账户)
  30051. in: query
  30052. name: filtername
  30053. type: string
  30054. - description: 开始交易日(yyyymmdd)
  30055. in: query
  30056. name: begindate
  30057. type: string
  30058. - description: 结束交易日(yyyymmdd)
  30059. in: query
  30060. name: enddate
  30061. type: string
  30062. - description: 是否包含子级 1-包含
  30063. in: query
  30064. name: includesub
  30065. type: integer
  30066. produces:
  30067. - application/json
  30068. responses:
  30069. "200":
  30070. description: OK
  30071. schema:
  30072. items:
  30073. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30074. type: array
  30075. "500":
  30076. description: Internal Server Error
  30077. schema:
  30078. $ref: '#/definitions/app.Response'
  30079. security:
  30080. - ApiKeyAuth: []
  30081. summary: 查询成交明细
  30082. tags:
  30083. - 大连千海金(PCWeb)
  30084. /QhjMgr/QueryTradeOrderDetail:
  30085. get:
  30086. parameters:
  30087. - description: 用户ID
  30088. in: query
  30089. name: userid
  30090. required: true
  30091. type: integer
  30092. - description: 用户类型 1-个人 2-企业
  30093. in: query
  30094. name: userinfotype
  30095. type: integer
  30096. - description: 交易模式
  30097. in: query
  30098. name: trademode
  30099. type: integer
  30100. - description: 商品id
  30101. in: query
  30102. name: goodsid
  30103. type: integer
  30104. - description: 名称(模糊搜索账户)
  30105. in: query
  30106. name: filtername
  30107. type: string
  30108. - description: 开始交易日(yyyymmdd)
  30109. in: query
  30110. name: begindate
  30111. type: string
  30112. - description: 结束交易日(yyyymmdd)
  30113. in: query
  30114. name: enddate
  30115. type: string
  30116. - description: 是否包含子级 1-包含
  30117. in: query
  30118. name: includesub
  30119. type: integer
  30120. produces:
  30121. - application/json
  30122. responses:
  30123. "200":
  30124. description: OK
  30125. schema:
  30126. items:
  30127. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30128. type: array
  30129. "500":
  30130. description: Internal Server Error
  30131. schema:
  30132. $ref: '#/definitions/app.Response'
  30133. security:
  30134. - ApiKeyAuth: []
  30135. summary: 查询委托明细
  30136. tags:
  30137. - 大连千海金(PCWeb)
  30138. /QhjMgr/QueryTradePayOrder:
  30139. get:
  30140. parameters:
  30141. - description: 用户ID
  30142. in: query
  30143. name: userid
  30144. required: true
  30145. type: integer
  30146. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30147. in: query
  30148. name: payflag
  30149. type: string
  30150. - description: 用户类型 1-个人 2-企业
  30151. in: query
  30152. name: userinfotype
  30153. type: integer
  30154. - description: 交易模式
  30155. in: query
  30156. name: trademode
  30157. type: integer
  30158. - description: 商品id
  30159. in: query
  30160. name: goodsid
  30161. type: integer
  30162. - description: 名称(模糊搜索账户)
  30163. in: query
  30164. name: filtername
  30165. type: string
  30166. - description: 开始交易日(yyyymmdd)
  30167. in: query
  30168. name: begindate
  30169. type: string
  30170. - description: 结束交易日(yyyymmdd)
  30171. in: query
  30172. name: enddate
  30173. type: string
  30174. - description: 是否包含子级 1-包含
  30175. in: query
  30176. name: includesub
  30177. type: integer
  30178. produces:
  30179. - application/json
  30180. responses:
  30181. "200":
  30182. description: OK
  30183. schema:
  30184. items:
  30185. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30186. type: array
  30187. "500":
  30188. description: Internal Server Error
  30189. schema:
  30190. $ref: '#/definitions/app.Response'
  30191. security:
  30192. - ApiKeyAuth: []
  30193. summary: 查询待付款单
  30194. tags:
  30195. - 大连千海金(PCWeb)
  30196. /QhjMgr/QueryTradePosition:
  30197. get:
  30198. parameters:
  30199. - description: 用户ID
  30200. in: query
  30201. name: userid
  30202. required: true
  30203. type: integer
  30204. - description: 用户类型 1-个人 2-企业
  30205. in: query
  30206. name: userinfotype
  30207. type: integer
  30208. - description: 交易模式
  30209. in: query
  30210. name: trademode
  30211. type: integer
  30212. - description: 商品id
  30213. in: query
  30214. name: goodsid
  30215. type: integer
  30216. - description: 名称(模糊搜索账户)
  30217. in: query
  30218. name: filtername
  30219. type: string
  30220. - description: 是否包含子级 1-包含
  30221. in: query
  30222. name: includesub
  30223. type: integer
  30224. produces:
  30225. - application/json
  30226. responses:
  30227. "200":
  30228. description: OK
  30229. schema:
  30230. items:
  30231. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30232. type: array
  30233. "500":
  30234. description: Internal Server Error
  30235. schema:
  30236. $ref: '#/definitions/app.Response'
  30237. security:
  30238. - ApiKeyAuth: []
  30239. summary: 查询持仓汇总
  30240. tags:
  30241. - 大连千海金(PCWeb)
  30242. /QhjSys/QueryAgreementChangeLog:
  30243. get:
  30244. parameters:
  30245. - description: 协议ID
  30246. in: query
  30247. name: agreementid
  30248. type: integer
  30249. - description: 协议版本号
  30250. in: query
  30251. name: agreementversion
  30252. type: integer
  30253. - description: 协议类型 - 1:注册 2:登录 3:交易
  30254. in: query
  30255. name: agreementtype
  30256. type: integer
  30257. - description: 协议编号(模糊匹配)
  30258. in: query
  30259. name: agreementno
  30260. type: string
  30261. - description: 协议名称(模糊匹配)
  30262. in: query
  30263. name: agreementname
  30264. type: string
  30265. produces:
  30266. - application/json
  30267. responses:
  30268. "200":
  30269. description: OK
  30270. schema:
  30271. items:
  30272. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30273. type: array
  30274. "500":
  30275. description: Internal Server Error
  30276. schema:
  30277. $ref: '#/definitions/app.Response'
  30278. security:
  30279. - ApiKeyAuth: []
  30280. summary: 查询协议配置变更流水
  30281. tags:
  30282. - 大连千海金(协议和签约信息)
  30283. /QhjSys/QueryAgreementConfig:
  30284. get:
  30285. parameters:
  30286. - description: 协议ID
  30287. in: query
  30288. name: agreementid
  30289. type: integer
  30290. - description: 协议版本号
  30291. in: query
  30292. name: agreementversion
  30293. type: integer
  30294. - description: 协议类型 - 1:注册 2:登录 3:交易
  30295. in: query
  30296. name: agreementtype
  30297. type: integer
  30298. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  30299. in: query
  30300. name: isvalid
  30301. type: integer
  30302. - description: 协议编号(模糊匹配)
  30303. in: query
  30304. name: agreementno
  30305. type: string
  30306. - description: 协议名称(模糊匹配)
  30307. in: query
  30308. name: agreementname
  30309. type: string
  30310. produces:
  30311. - application/json
  30312. responses:
  30313. "200":
  30314. description: OK
  30315. schema:
  30316. items:
  30317. $ref: '#/definitions/models.QhjAgreementConfig'
  30318. type: array
  30319. "500":
  30320. description: Internal Server Error
  30321. schema:
  30322. $ref: '#/definitions/app.Response'
  30323. security:
  30324. - ApiKeyAuth: []
  30325. summary: 查询协议配置
  30326. tags:
  30327. - 大连千海金(协议和签约信息)
  30328. /QhjSys/QueryCustomerSignStatus:
  30329. get:
  30330. parameters:
  30331. - description: 客户ID
  30332. in: query
  30333. name: userid
  30334. type: integer
  30335. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  30336. in: query
  30337. name: nodetype
  30338. type: integer
  30339. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30340. in: query
  30341. name: goodsid
  30342. type: integer
  30343. - description: 创建交易日(yyyyMMdd)
  30344. in: query
  30345. name: tradedate
  30346. type: string
  30347. - description: 用户名称(模糊匹配)
  30348. in: query
  30349. name: username
  30350. type: string
  30351. produces:
  30352. - application/json
  30353. responses:
  30354. "200":
  30355. description: OK
  30356. schema:
  30357. items:
  30358. $ref: '#/definitions/models.QhjCustomerSignStatus'
  30359. type: array
  30360. "500":
  30361. description: Internal Server Error
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. security:
  30365. - ApiKeyAuth: []
  30366. summary: 查询客户协议签约状态
  30367. tags:
  30368. - 大连千海金(协议和签约信息)
  30369. /QhjSys/QueryNodeAgreementConfig:
  30370. get:
  30371. parameters:
  30372. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30373. in: query
  30374. name: configid
  30375. type: integer
  30376. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30377. in: query
  30378. name: nodetype
  30379. type: integer
  30380. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30381. in: query
  30382. name: goodsid
  30383. type: integer
  30384. - description: 协议ID
  30385. in: query
  30386. name: agreementid
  30387. type: integer
  30388. - description: 协议类型 - 1:注册 2:登录 3:交易
  30389. in: query
  30390. name: agreementtype
  30391. type: integer
  30392. - description: 协议版本号
  30393. in: query
  30394. name: agreementversion
  30395. type: integer
  30396. - description: 协议编号(模糊匹配)
  30397. in: query
  30398. name: agreementno
  30399. type: string
  30400. - description: 协议名称(模糊匹配)
  30401. in: query
  30402. name: agreementname
  30403. type: string
  30404. produces:
  30405. - application/json
  30406. responses:
  30407. "200":
  30408. description: OK
  30409. schema:
  30410. items:
  30411. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  30412. type: array
  30413. "500":
  30414. description: Internal Server Error
  30415. schema:
  30416. $ref: '#/definitions/app.Response'
  30417. security:
  30418. - ApiKeyAuth: []
  30419. summary: 查询协议节点配置
  30420. tags:
  30421. - 大连千海金(协议和签约信息)
  30422. /QhjSys/QueryQhjCustomerSignLog:
  30423. get:
  30424. parameters:
  30425. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  30426. in: query
  30427. name: logid
  30428. type: integer
  30429. - description: 客户ID
  30430. in: query
  30431. name: userid
  30432. type: integer
  30433. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30434. in: query
  30435. name: nodetype
  30436. type: integer
  30437. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30438. in: query
  30439. name: goodsid
  30440. type: integer
  30441. - description: 协议ID
  30442. in: query
  30443. name: agreementid
  30444. type: integer
  30445. - description: 用户名称(模糊匹配)
  30446. in: query
  30447. name: username
  30448. type: string
  30449. - description: 协议编号(模糊匹配)
  30450. in: query
  30451. name: agreementno
  30452. type: string
  30453. - description: 协议名称(模糊匹配)
  30454. in: query
  30455. name: agreementname
  30456. type: string
  30457. produces:
  30458. - application/json
  30459. responses:
  30460. "200":
  30461. description: OK
  30462. schema:
  30463. items:
  30464. $ref: '#/definitions/models.QhjCustomerSignLog'
  30465. type: array
  30466. "500":
  30467. description: Internal Server Error
  30468. schema:
  30469. $ref: '#/definitions/app.Response'
  30470. security:
  30471. - ApiKeyAuth: []
  30472. summary: 查询客户协议签约流水
  30473. tags:
  30474. - 大连千海金(协议和签约信息)
  30475. /QhjSys/QueryUserNodeCfgAndStatus:
  30476. get:
  30477. parameters:
  30478. - description: 客户ID
  30479. in: query
  30480. name: userid
  30481. type: integer
  30482. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30483. in: query
  30484. name: configid
  30485. type: integer
  30486. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30487. in: query
  30488. name: nodetype
  30489. type: string
  30490. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30491. in: query
  30492. name: goodsid
  30493. type: integer
  30494. - description: 协议ID
  30495. in: query
  30496. name: agreementid
  30497. type: integer
  30498. - description: 协议类型 - 1:注册 2:登录 3:交易
  30499. in: query
  30500. name: agreementtype
  30501. type: integer
  30502. - description: 协议版本号
  30503. in: query
  30504. name: agreementversion
  30505. type: integer
  30506. - description: 协议编号(模糊匹配)
  30507. in: query
  30508. name: agreementno
  30509. type: string
  30510. - description: 协议名称(模糊匹配)
  30511. in: query
  30512. name: agreementname
  30513. type: string
  30514. produces:
  30515. - application/json
  30516. responses:
  30517. "200":
  30518. description: OK
  30519. schema:
  30520. items:
  30521. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  30522. type: array
  30523. "500":
  30524. description: Internal Server Error
  30525. schema:
  30526. $ref: '#/definitions/app.Response'
  30527. security:
  30528. - ApiKeyAuth: []
  30529. summary: 查询用户协议节点配置和状态
  30530. tags:
  30531. - 大连千海金(协议和签约信息)
  30532. /Quote/QueryHistoryDatas:
  30533. get:
  30534. parameters:
  30535. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  30536. 日线 12:周线 13:月线 14:年线'
  30537. in: query
  30538. name: cycleType
  30539. required: true
  30540. type: integer
  30541. - description: 商品代码
  30542. in: query
  30543. name: goodsCode
  30544. required: true
  30545. type: string
  30546. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30547. in: query
  30548. name: startTime
  30549. type: string
  30550. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30551. in: query
  30552. name: endTime
  30553. type: string
  30554. - description: 条数
  30555. in: query
  30556. name: count
  30557. type: integer
  30558. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30559. in: query
  30560. name: isAsc
  30561. type: boolean
  30562. produces:
  30563. - application/json
  30564. responses:
  30565. "200":
  30566. description: OK
  30567. schema:
  30568. $ref: '#/definitions/quote.HistoryData'
  30569. "500":
  30570. description: Internal Server Error
  30571. schema:
  30572. $ref: '#/definitions/app.Response'
  30573. security:
  30574. - ApiKeyAuth: []
  30575. summary: 查询行情历史数据
  30576. tags:
  30577. - 行情服务
  30578. /Quote/QueryHistoryTikDatas:
  30579. get:
  30580. parameters:
  30581. - description: 商品代码
  30582. in: query
  30583. name: goodsCode
  30584. required: true
  30585. type: string
  30586. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30587. in: query
  30588. name: startTime
  30589. type: string
  30590. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30591. in: query
  30592. name: endTime
  30593. type: string
  30594. - description: 条数
  30595. in: query
  30596. name: count
  30597. type: integer
  30598. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30599. in: query
  30600. name: isAsc
  30601. type: boolean
  30602. produces:
  30603. - application/json
  30604. responses:
  30605. "200":
  30606. description: OK
  30607. schema:
  30608. $ref: '#/definitions/quote.HistoryTikData'
  30609. "500":
  30610. description: Internal Server Error
  30611. schema:
  30612. $ref: '#/definitions/app.Response'
  30613. security:
  30614. - ApiKeyAuth: []
  30615. summary: 查询行情Tik数据
  30616. tags:
  30617. - 行情服务
  30618. /Quote/QueryQuoteDay:
  30619. get:
  30620. parameters:
  30621. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  30622. in: query
  30623. name: goodsCodes
  30624. type: string
  30625. produces:
  30626. - application/json
  30627. responses:
  30628. "200":
  30629. description: OK
  30630. schema:
  30631. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30632. "500":
  30633. description: Internal Server Error
  30634. schema:
  30635. $ref: '#/definitions/app.Response'
  30636. security:
  30637. - ApiKeyAuth: []
  30638. summary: 获取商品盘面信息
  30639. tags:
  30640. - 行情服务
  30641. /Quote/QueryTSData:
  30642. get:
  30643. parameters:
  30644. - description: 商品代码
  30645. in: query
  30646. name: goodsCode
  30647. required: true
  30648. type: string
  30649. produces:
  30650. - application/json
  30651. responses:
  30652. "200":
  30653. description: OK
  30654. schema:
  30655. $ref: '#/definitions/quote.QueryTSDataRsp'
  30656. "500":
  30657. description: Internal Server Error
  30658. schema:
  30659. $ref: '#/definitions/app.Response'
  30660. security:
  30661. - ApiKeyAuth: []
  30662. summary: 分时图数据查询
  30663. tags:
  30664. - 行情服务
  30665. /SZDZ/QueryConvertConfig:
  30666. get:
  30667. parameters:
  30668. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30669. 6:交易转花生米(不设置)
  30670. in: query
  30671. name: convertType
  30672. type: integer
  30673. - description: 外部商品代码[JD\PD]
  30674. in: query
  30675. name: outerGoodsCode
  30676. type: string
  30677. - description: 内部商品ID列表[交易],格式:1,2,3
  30678. in: query
  30679. name: innerGoodsIDs
  30680. type: string
  30681. produces:
  30682. - application/json
  30683. responses:
  30684. "200":
  30685. description: OK
  30686. schema:
  30687. $ref: '#/definitions/models.Szdz3convertconfig'
  30688. "500":
  30689. description: Internal Server Error
  30690. schema:
  30691. $ref: '#/definitions/app.Response'
  30692. security:
  30693. - ApiKeyAuth: []
  30694. summary: 查询交易系统转换设置
  30695. tags:
  30696. - 定制【尚志大宗】
  30697. /SZDZ/QueryConvertLog:
  30698. get:
  30699. parameters:
  30700. - description: 资金账户 - 格式:1,2,3
  30701. in: query
  30702. name: accountID
  30703. required: true
  30704. type: string
  30705. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30706. in: query
  30707. name: startDate
  30708. type: string
  30709. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30710. in: query
  30711. name: endDate
  30712. type: string
  30713. produces:
  30714. - application/json
  30715. responses:
  30716. "200":
  30717. description: OK
  30718. schema:
  30719. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30720. "500":
  30721. description: Internal Server Error
  30722. schema:
  30723. $ref: '#/definitions/app.Response'
  30724. security:
  30725. - ApiKeyAuth: []
  30726. summary: 交易系统转换流水查询
  30727. tags:
  30728. - 定制【尚志大宗】
  30729. /SZDZ/QueryGoodsPickup:
  30730. get:
  30731. parameters:
  30732. - description: 资金账户 - 格式:1,2,3
  30733. in: query
  30734. name: accountID
  30735. required: true
  30736. type: string
  30737. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30738. in: query
  30739. name: takeOrderStatus
  30740. type: integer
  30741. produces:
  30742. - application/json
  30743. responses:
  30744. "200":
  30745. description: OK
  30746. schema:
  30747. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30748. "500":
  30749. description: Internal Server Error
  30750. schema:
  30751. $ref: '#/definitions/app.Response'
  30752. security:
  30753. - ApiKeyAuth: []
  30754. summary: 商品提货单查询
  30755. tags:
  30756. - 定制【尚志大宗】
  30757. /SZDZ/QueryRecieptOrder:
  30758. get:
  30759. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30760. parameters:
  30761. - description: 页码
  30762. in: query
  30763. name: page
  30764. type: integer
  30765. - description: 每页条数
  30766. in: query
  30767. name: pagesize
  30768. type: integer
  30769. - description: 商品ID
  30770. in: query
  30771. name: goodsID
  30772. required: true
  30773. type: integer
  30774. - description: 所属账户名称
  30775. in: query
  30776. name: accountName
  30777. type: string
  30778. - description: 市场ID
  30779. in: query
  30780. name: marketID
  30781. type: integer
  30782. - description: 方向 - 0:买 1:卖
  30783. in: query
  30784. name: buyorsell
  30785. required: true
  30786. type: integer
  30787. produces:
  30788. - application/json
  30789. responses:
  30790. "200":
  30791. description: OK
  30792. schema:
  30793. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30794. "500":
  30795. description: Internal Server Error
  30796. schema:
  30797. $ref: '#/definitions/app.Response'
  30798. security:
  30799. - ApiKeyAuth: []
  30800. summary: 点选挂牌委托单据查询(摘牌大厅)
  30801. tags:
  30802. - 定制【尚志大宗】
  30803. /SZDZ/QuerySZDZTradePosition:
  30804. get:
  30805. parameters:
  30806. - description: 资金账户
  30807. in: query
  30808. name: accountID
  30809. required: true
  30810. type: integer
  30811. produces:
  30812. - application/json
  30813. responses:
  30814. "200":
  30815. description: OK
  30816. schema:
  30817. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30818. "500":
  30819. description: Internal Server Error
  30820. schema:
  30821. $ref: '#/definitions/app.Response'
  30822. security:
  30823. - ApiKeyAuth: []
  30824. summary: 持仓汇总查询(尚志大宗)
  30825. tags:
  30826. - 定制【尚志大宗】
  30827. /SZDZ/SearchWhite:
  30828. get:
  30829. parameters:
  30830. - description: 用户ID
  30831. in: query
  30832. name: userID
  30833. required: true
  30834. type: integer
  30835. produces:
  30836. - application/json
  30837. responses:
  30838. "200":
  30839. description: OK
  30840. schema:
  30841. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30842. "500":
  30843. description: Internal Server Error
  30844. schema:
  30845. $ref: '#/definitions/app.Response'
  30846. security:
  30847. - ApiKeyAuth: []
  30848. summary: 搜索白名单
  30849. tags:
  30850. - 定制【尚志大宗】
  30851. /Search/SearchGoodses:
  30852. get:
  30853. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30854. parameters:
  30855. - description: 检索内容
  30856. in: query
  30857. name: content
  30858. required: true
  30859. type: string
  30860. - description: 交易模式,格式:1,2,3
  30861. in: query
  30862. name: tradeModes
  30863. type: string
  30864. produces:
  30865. - application/json
  30866. responses:
  30867. "200":
  30868. description: OK
  30869. schema:
  30870. $ref: '#/definitions/models.SearchGoods'
  30871. "500":
  30872. description: Internal Server Error
  30873. schema:
  30874. $ref: '#/definitions/app.Response'
  30875. summary: 检索商品信息
  30876. tags:
  30877. - 检索服务
  30878. /TaAccount/GetTaAccounts:
  30879. get:
  30880. parameters:
  30881. - description: 登录账户
  30882. in: query
  30883. name: loginID
  30884. required: true
  30885. type: integer
  30886. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30887. in: query
  30888. name: taAccountType
  30889. type: integer
  30890. produces:
  30891. - application/json
  30892. responses:
  30893. "200":
  30894. description: OK
  30895. schema:
  30896. $ref: '#/definitions/models.Taaccount'
  30897. "500":
  30898. description: Internal Server Error
  30899. schema:
  30900. $ref: '#/definitions/app.Response'
  30901. security:
  30902. - ApiKeyAuth: []
  30903. summary: 获取资金账户信息
  30904. tags:
  30905. - 资金账户
  30906. /TaAccount/QueryAmountLog:
  30907. get:
  30908. parameters:
  30909. - description: 页码
  30910. in: query
  30911. name: page
  30912. type: integer
  30913. - description: 每页条数
  30914. in: query
  30915. name: pagesize
  30916. type: integer
  30917. - description: 资金账户 - 格式:1,2,3
  30918. in: query
  30919. name: accountID
  30920. required: true
  30921. type: string
  30922. - description: 资金操作类型 - 格式:1,2,3
  30923. in: query
  30924. name: OperateType
  30925. type: string
  30926. produces:
  30927. - application/json
  30928. responses:
  30929. "200":
  30930. description: OK
  30931. schema:
  30932. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30933. "500":
  30934. description: Internal Server Error
  30935. schema:
  30936. $ref: '#/definitions/app.Response'
  30937. security:
  30938. - ApiKeyAuth: []
  30939. summary: 资金流水查询(当前)
  30940. tags:
  30941. - 资金账户
  30942. /TaAccount/QueryHisAmountLog:
  30943. get:
  30944. parameters:
  30945. - description: 页码
  30946. in: query
  30947. name: page
  30948. type: integer
  30949. - description: 每页条数
  30950. in: query
  30951. name: pagesize
  30952. type: integer
  30953. - description: 资金账户 - 格式:1,2,3
  30954. in: query
  30955. name: accountID
  30956. required: true
  30957. type: string
  30958. - description: 资金操作类型 - 格式:1,2,3
  30959. in: query
  30960. name: OperateType
  30961. type: string
  30962. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30963. in: query
  30964. name: startDate
  30965. type: string
  30966. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30967. in: query
  30968. name: endDate
  30969. type: string
  30970. produces:
  30971. - application/json
  30972. responses:
  30973. "200":
  30974. description: OK
  30975. schema:
  30976. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30977. "500":
  30978. description: Internal Server Error
  30979. schema:
  30980. $ref: '#/definitions/app.Response'
  30981. security:
  30982. - ApiKeyAuth: []
  30983. summary: 资金流水查询(历史)
  30984. tags:
  30985. - 资金账户
  30986. /TaAccount/QueryRelatedTaAccount:
  30987. get:
  30988. parameters:
  30989. - description: 关联UserID
  30990. in: query
  30991. name: relateduserid
  30992. required: true
  30993. type: integer
  30994. produces:
  30995. - application/json
  30996. responses:
  30997. "200":
  30998. description: OK
  30999. schema:
  31000. items:
  31001. $ref: '#/definitions/models.RelatedTaAccount'
  31002. type: array
  31003. "500":
  31004. description: Internal Server Error
  31005. schema:
  31006. $ref: '#/definitions/app.Response'
  31007. security:
  31008. - ApiKeyAuth: []
  31009. summary: 查询关联资金账户信息
  31010. tags:
  31011. - 资金账户
  31012. /Tjmd/QueryQuoteGoodsList:
  31013. get:
  31014. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31015. parameters:
  31016. - description: 用户类型
  31017. in: query
  31018. name: usertype
  31019. required: true
  31020. type: integer
  31021. - description: 市场id, 格式 1,2,3
  31022. in: query
  31023. name: marketids
  31024. type: string
  31025. - description: 商品组id
  31026. in: query
  31027. name: goodsgroupid
  31028. type: integer
  31029. - description: 商品id
  31030. in: query
  31031. name: goodsid
  31032. type: integer
  31033. produces:
  31034. - application/json
  31035. responses:
  31036. "200":
  31037. description: OK
  31038. schema:
  31039. items:
  31040. $ref: '#/definitions/models.TjmdQuoteGoods'
  31041. type: array
  31042. "500":
  31043. description: Internal Server Error
  31044. schema:
  31045. $ref: '#/definitions/app.Response'
  31046. security:
  31047. - ApiKeyAuth: []
  31048. summary: 查询掉期报价列表
  31049. tags:
  31050. - 天津麦顿
  31051. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31052. get:
  31053. parameters:
  31054. - description: 成交单号
  31055. in: query
  31056. name: tradeid
  31057. required: true
  31058. type: string
  31059. produces:
  31060. - application/json
  31061. responses:
  31062. "200":
  31063. description: OK
  31064. schema:
  31065. items:
  31066. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31067. type: array
  31068. "500":
  31069. description: Internal Server Error
  31070. schema:
  31071. $ref: '#/definitions/app.Response'
  31072. security:
  31073. - ApiKeyAuth: []
  31074. summary: 掉期商品订单详情(交易确认书)
  31075. tags:
  31076. - 天津麦顿
  31077. /Tjmd/QueryTjmdMarketSection:
  31078. get:
  31079. produces:
  31080. - application/json
  31081. responses:
  31082. "200":
  31083. description: OK
  31084. schema:
  31085. items:
  31086. $ref: '#/definitions/models.TjmdMarketSection'
  31087. type: array
  31088. "500":
  31089. description: Internal Server Error
  31090. schema:
  31091. $ref: '#/definitions/app.Response'
  31092. security:
  31093. - ApiKeyAuth: []
  31094. summary: 查询市场板块
  31095. tags:
  31096. - 天津麦顿
  31097. /Tjmd/QueryTjmdTodayAccountMargin:
  31098. get:
  31099. parameters:
  31100. - description: 市场id
  31101. in: query
  31102. name: marketid
  31103. type: string
  31104. - description: 商品id
  31105. in: query
  31106. name: goodsid
  31107. type: string
  31108. - description: 资金账号
  31109. in: query
  31110. name: accountid
  31111. type: string
  31112. produces:
  31113. - application/json
  31114. responses:
  31115. "200":
  31116. description: OK
  31117. schema:
  31118. items:
  31119. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31120. type: array
  31121. "500":
  31122. description: Internal Server Error
  31123. schema:
  31124. $ref: '#/definitions/app.Response'
  31125. security:
  31126. - ApiKeyAuth: []
  31127. summary: 查询今日账户保证金配置
  31128. tags:
  31129. - 天津麦顿
  31130. /Tjmd/QueryTjmdTradeOrderDetail:
  31131. get:
  31132. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31133. parameters:
  31134. - description: 页码
  31135. in: query
  31136. name: page
  31137. type: integer
  31138. - description: 每页条数
  31139. in: query
  31140. name: pagesize
  31141. type: integer
  31142. - description: 用户id
  31143. in: query
  31144. name: userid
  31145. required: true
  31146. type: integer
  31147. - description: 用户类型
  31148. in: query
  31149. name: usertype
  31150. required: true
  31151. type: integer
  31152. - description: 市场id, 格式 1,2,3
  31153. in: query
  31154. name: marketids
  31155. type: string
  31156. - description: 商品id
  31157. in: query
  31158. name: goodsid
  31159. required: true
  31160. type: integer
  31161. - description: 买卖方向 0-买 1-卖
  31162. in: query
  31163. name: buyorsell
  31164. required: true
  31165. type: integer
  31166. produces:
  31167. - application/json
  31168. responses:
  31169. "200":
  31170. description: OK
  31171. schema:
  31172. items:
  31173. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31174. type: array
  31175. "500":
  31176. description: Internal Server Error
  31177. schema:
  31178. $ref: '#/definitions/app.Response'
  31179. security:
  31180. - ApiKeyAuth: []
  31181. summary: 查询掉期买卖大厅
  31182. tags:
  31183. - 天津麦顿
  31184. /Tjmd/QueryTjmdTransferApply:
  31185. get:
  31186. parameters:
  31187. - description: 类型 1-我的申请 2-对方申请
  31188. in: query
  31189. name: applytype
  31190. required: true
  31191. type: integer
  31192. - description: 市场id, 格式 1,2,3
  31193. in: query
  31194. name: marketids
  31195. type: string
  31196. - description: 资金账号, 格式 25000000001,25000000003
  31197. in: query
  31198. name: accountids
  31199. type: string
  31200. - description: 开始交易日(yyyymmdd)
  31201. in: query
  31202. name: begindate
  31203. type: string
  31204. - description: 结束交易日(yyyymmdd)
  31205. in: query
  31206. name: enddate
  31207. type: string
  31208. produces:
  31209. - application/json
  31210. responses:
  31211. "200":
  31212. description: OK
  31213. schema:
  31214. items:
  31215. $ref: '#/definitions/models.TjmdTransferApply'
  31216. type: array
  31217. "500":
  31218. description: Internal Server Error
  31219. schema:
  31220. $ref: '#/definitions/app.Response'
  31221. security:
  31222. - ApiKeyAuth: []
  31223. summary: 查询掉期协议单
  31224. tags:
  31225. - 天津麦顿
  31226. /Trade/QueryRecieptOrder:
  31227. get:
  31228. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31229. parameters:
  31230. - description: 页码
  31231. in: query
  31232. name: page
  31233. type: integer
  31234. - description: 每页条数
  31235. in: query
  31236. name: pagesize
  31237. type: integer
  31238. - description: 商品ID
  31239. in: query
  31240. name: goodsID
  31241. required: true
  31242. type: integer
  31243. - description: 所属账户名称
  31244. in: query
  31245. name: accountName
  31246. type: string
  31247. - description: 市场ID
  31248. in: query
  31249. name: marketID
  31250. type: integer
  31251. - description: 方向 - 0:买 1:卖
  31252. in: query
  31253. name: buyorsell
  31254. required: true
  31255. type: integer
  31256. produces:
  31257. - application/json
  31258. responses:
  31259. "200":
  31260. description: OK
  31261. schema:
  31262. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31263. "500":
  31264. description: Internal Server Error
  31265. schema:
  31266. $ref: '#/definitions/app.Response'
  31267. security:
  31268. - ApiKeyAuth: []
  31269. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31270. tags:
  31271. - 通用交易
  31272. /User/AddMessageBoard:
  31273. post:
  31274. parameters:
  31275. - description: 用户ID
  31276. in: query
  31277. name: userID
  31278. required: true
  31279. type: integer
  31280. - description: 留言信息
  31281. in: query
  31282. name: message
  31283. required: true
  31284. type: string
  31285. - description: 联系电话
  31286. in: query
  31287. name: contactNum
  31288. required: true
  31289. type: string
  31290. produces:
  31291. - application/json
  31292. responses:
  31293. "200":
  31294. description: OK
  31295. schema:
  31296. $ref: '#/definitions/app.Response'
  31297. "500":
  31298. description: Internal Server Error
  31299. schema:
  31300. $ref: '#/definitions/app.Response'
  31301. security:
  31302. - ApiKeyAuth: []
  31303. summary: 添加用户留言板信息
  31304. tags:
  31305. - 用户信息
  31306. /User/AddUserFavoriteGoods:
  31307. post:
  31308. parameters:
  31309. - description: 用户ID
  31310. in: query
  31311. name: userID
  31312. required: true
  31313. type: integer
  31314. - description: 商品ID
  31315. in: query
  31316. name: goodsID
  31317. required: true
  31318. type: integer
  31319. produces:
  31320. - application/json
  31321. responses:
  31322. "200":
  31323. description: OK
  31324. schema:
  31325. $ref: '#/definitions/app.Response'
  31326. "500":
  31327. description: Internal Server Error
  31328. schema:
  31329. $ref: '#/definitions/app.Response'
  31330. security:
  31331. - ApiKeyAuth: []
  31332. summary: 添加用户商品收藏信息
  31333. tags:
  31334. - 用户信息
  31335. /User/GetLoginID:
  31336. get:
  31337. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  31338. parameters:
  31339. - description: 登录代码
  31340. in: query
  31341. name: username
  31342. required: true
  31343. type: string
  31344. produces:
  31345. - application/json
  31346. responses:
  31347. "200":
  31348. description: OK
  31349. schema:
  31350. $ref: '#/definitions/app.Response'
  31351. "500":
  31352. description: Internal Server Error
  31353. schema:
  31354. $ref: '#/definitions/app.Response'
  31355. summary: 获取登录ID
  31356. tags:
  31357. - 用户信息
  31358. /User/GetUserAccount:
  31359. get:
  31360. parameters:
  31361. - description: 用户ID
  31362. in: query
  31363. name: userID
  31364. required: true
  31365. type: integer
  31366. produces:
  31367. - application/json
  31368. responses:
  31369. "200":
  31370. description: OK
  31371. schema:
  31372. $ref: '#/definitions/models.Useraccount'
  31373. "500":
  31374. description: Internal Server Error
  31375. schema:
  31376. $ref: '#/definitions/app.Response'
  31377. security:
  31378. - ApiKeyAuth: []
  31379. summary: 获取用户账号信息
  31380. tags:
  31381. - 用户信息
  31382. /User/GetUserAuthStatus:
  31383. get:
  31384. parameters:
  31385. - description: 用户ID
  31386. in: query
  31387. name: userID
  31388. required: true
  31389. type: integer
  31390. produces:
  31391. - application/json
  31392. responses:
  31393. "200":
  31394. description: OK
  31395. schema:
  31396. $ref: '#/definitions/app.Response'
  31397. "500":
  31398. description: Internal Server Error
  31399. schema:
  31400. $ref: '#/definitions/app.Response'
  31401. security:
  31402. - ApiKeyAuth: []
  31403. summary: 获取用户实名认证状态
  31404. tags:
  31405. - 用户信息
  31406. /User/LoginQuery:
  31407. get:
  31408. parameters:
  31409. - description: 登录账号
  31410. in: query
  31411. name: loginID
  31412. required: true
  31413. type: integer
  31414. produces:
  31415. - application/json
  31416. responses:
  31417. "200":
  31418. description: OK
  31419. schema:
  31420. $ref: '#/definitions/user.LoginQueryRsp'
  31421. "500":
  31422. description: Internal Server Error
  31423. schema:
  31424. $ref: '#/definitions/app.Response'
  31425. security:
  31426. - ApiKeyAuth: []
  31427. summary: 账户登录后信息查询
  31428. tags:
  31429. - 用户信息
  31430. /User/QueryMessageBoard:
  31431. get:
  31432. parameters:
  31433. - description: 用户ID
  31434. in: query
  31435. name: userID
  31436. required: true
  31437. type: integer
  31438. produces:
  31439. - application/json
  31440. responses:
  31441. "200":
  31442. description: OK
  31443. schema:
  31444. $ref: '#/definitions/models.Messageboard'
  31445. "500":
  31446. description: Internal Server Error
  31447. schema:
  31448. $ref: '#/definitions/app.Response'
  31449. security:
  31450. - ApiKeyAuth: []
  31451. summary: 获取用户留言板信息
  31452. tags:
  31453. - 用户信息
  31454. /User/QueryUserFavoriteGoodses:
  31455. get:
  31456. parameters:
  31457. - description: 用户ID
  31458. in: query
  31459. name: userID
  31460. required: true
  31461. type: integer
  31462. produces:
  31463. - application/json
  31464. responses:
  31465. "200":
  31466. description: OK
  31467. schema:
  31468. $ref: '#/definitions/models.Userfavoritegoods'
  31469. "500":
  31470. description: Internal Server Error
  31471. schema:
  31472. $ref: '#/definitions/app.Response'
  31473. security:
  31474. - ApiKeyAuth: []
  31475. summary: 获取用户商品收藏信息
  31476. tags:
  31477. - 用户信息
  31478. /User/QueryUserInfo:
  31479. get:
  31480. parameters:
  31481. - description: 用户ID
  31482. in: query
  31483. name: userID
  31484. required: true
  31485. type: integer
  31486. - description: 是否解密
  31487. in: query
  31488. name: isDecrypt
  31489. type: boolean
  31490. produces:
  31491. - application/json
  31492. responses:
  31493. "200":
  31494. description: OK
  31495. schema:
  31496. $ref: '#/definitions/models.Userinfo'
  31497. "500":
  31498. description: Internal Server Error
  31499. schema:
  31500. $ref: '#/definitions/app.Response'
  31501. security:
  31502. - ApiKeyAuth: []
  31503. summary: 获取用户信息
  31504. tags:
  31505. - 用户信息
  31506. /User/QueryUserReferNum:
  31507. get:
  31508. parameters:
  31509. - description: 用户ID
  31510. in: query
  31511. name: userID
  31512. required: true
  31513. type: integer
  31514. produces:
  31515. - application/json
  31516. responses:
  31517. "200":
  31518. description: OK
  31519. schema:
  31520. $ref: '#/definitions/app.Response'
  31521. "500":
  31522. description: Internal Server Error
  31523. schema:
  31524. $ref: '#/definitions/app.Response'
  31525. summary: 获取用户邀请码
  31526. tags:
  31527. - 用户信息
  31528. /User/RemoveUserFavoriteGoods:
  31529. post:
  31530. parameters:
  31531. - description: 用户ID
  31532. in: query
  31533. name: userID
  31534. required: true
  31535. type: integer
  31536. - description: 商品ID
  31537. in: query
  31538. name: goodsID
  31539. required: true
  31540. type: integer
  31541. produces:
  31542. - application/json
  31543. responses:
  31544. "200":
  31545. description: OK
  31546. schema:
  31547. $ref: '#/definitions/app.Response'
  31548. "500":
  31549. description: Internal Server Error
  31550. schema:
  31551. $ref: '#/definitions/app.Response'
  31552. security:
  31553. - ApiKeyAuth: []
  31554. summary: 移除用户商品收藏信息
  31555. tags:
  31556. - 用户信息
  31557. /User/UpdateUserAccountStatus:
  31558. post:
  31559. parameters:
  31560. - description: 用户ID
  31561. in: query
  31562. name: userID
  31563. required: true
  31564. type: integer
  31565. - description: 账户状态 - 4:正常 6:注销(停用)
  31566. in: query
  31567. name: accountStatus
  31568. required: true
  31569. type: integer
  31570. produces:
  31571. - application/json
  31572. responses:
  31573. "200":
  31574. description: OK
  31575. schema:
  31576. $ref: '#/definitions/app.Response'
  31577. "500":
  31578. description: Internal Server Error
  31579. schema:
  31580. $ref: '#/definitions/app.Response'
  31581. security:
  31582. - ApiKeyAuth: []
  31583. summary: 更新用户状态
  31584. tags:
  31585. - 用户信息
  31586. /WRTrade/GetAllDeliveryGoods:
  31587. get:
  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. - 仓单贸易
  31605. /WrTrade2/InsertXhcpSellBackApply:
  31606. post:
  31607. parameters:
  31608. - description: 回收申请
  31609. in: body
  31610. name: jsonBody
  31611. required: true
  31612. schema:
  31613. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  31614. produces:
  31615. - application/json
  31616. responses:
  31617. "200":
  31618. description: OK
  31619. schema:
  31620. $ref: '#/definitions/app.Response'
  31621. "500":
  31622. description: Internal Server Error
  31623. schema:
  31624. $ref: '#/definitions/app.Response'
  31625. security:
  31626. - ApiKeyAuth: []
  31627. summary: 新增回收申请(新会陈皮)
  31628. tags:
  31629. - 仓单贸易v2
  31630. /WrTrade2/QueryDeliveryGoodsSection:
  31631. get:
  31632. produces:
  31633. - application/json
  31634. responses:
  31635. "200":
  31636. description: OK
  31637. schema:
  31638. items:
  31639. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  31640. type: array
  31641. "500":
  31642. description: Internal Server Error
  31643. schema:
  31644. $ref: '#/definitions/app.Response'
  31645. security:
  31646. - ApiKeyAuth: []
  31647. summary: 查询板块(分类)
  31648. tags:
  31649. - 仓单贸易v2
  31650. /WrTrade2/QueryFaProductDetail:
  31651. get:
  31652. description: 页面 买卖大厅 -> 选择融资方案
  31653. parameters:
  31654. - description: 仓单要素id
  31655. in: query
  31656. name: wrfactortypeid
  31657. required: true
  31658. type: integer
  31659. produces:
  31660. - application/json
  31661. responses:
  31662. "200":
  31663. description: OK
  31664. schema:
  31665. items:
  31666. $ref: '#/definitions/models.WrFAProductDetail'
  31667. type: array
  31668. "500":
  31669. description: Internal Server Error
  31670. schema:
  31671. $ref: '#/definitions/app.Response'
  31672. security:
  31673. - ApiKeyAuth: []
  31674. summary: 查询融资产品列表
  31675. tags:
  31676. - 仓单贸易v2
  31677. /WrTrade2/QueryFilterItem:
  31678. get:
  31679. parameters:
  31680. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31681. in: query
  31682. name: itype
  31683. required: true
  31684. type: string
  31685. produces:
  31686. - application/json
  31687. responses:
  31688. "200":
  31689. description: OK
  31690. schema:
  31691. items:
  31692. $ref: '#/definitions/models.WrFilterItem'
  31693. type: array
  31694. "500":
  31695. description: Internal Server Error
  31696. schema:
  31697. $ref: '#/definitions/app.Response'
  31698. security:
  31699. - ApiKeyAuth: []
  31700. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31701. tags:
  31702. - 仓单贸易v2
  31703. /WrTrade2/QueryFtDeliveryGoods:
  31704. get:
  31705. produces:
  31706. - application/json
  31707. responses:
  31708. "200":
  31709. description: OK
  31710. schema:
  31711. items:
  31712. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31713. type: array
  31714. "500":
  31715. description: Internal Server Error
  31716. schema:
  31717. $ref: '#/definitions/app.Response'
  31718. security:
  31719. - ApiKeyAuth: []
  31720. summary: 查询品种品类筛选框列表
  31721. tags:
  31722. - 仓单贸易v2
  31723. /WrTrade2/QueryHoldLB:
  31724. get:
  31725. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31726. parameters:
  31727. - description: 资金账号
  31728. in: query
  31729. name: accountid
  31730. required: true
  31731. type: integer
  31732. - description: 仓库id
  31733. in: query
  31734. name: warehouseid
  31735. type: integer
  31736. - description: 品种id
  31737. in: query
  31738. name: deliverygoodsid
  31739. type: integer
  31740. - description: 品类id
  31741. in: query
  31742. name: wrstandardid
  31743. type: integer
  31744. - description: 仓单要素id
  31745. in: query
  31746. name: wrfactortypeid
  31747. type: integer
  31748. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31749. in: query
  31750. name: dgitemname
  31751. type: string
  31752. produces:
  31753. - application/json
  31754. responses:
  31755. "200":
  31756. description: OK
  31757. schema:
  31758. items:
  31759. $ref: '#/definitions/models.WrHoldLB'
  31760. type: array
  31761. "500":
  31762. description: Internal Server Error
  31763. schema:
  31764. $ref: '#/definitions/app.Response'
  31765. security:
  31766. - ApiKeyAuth: []
  31767. summary: 查询仓单持有记录
  31768. tags:
  31769. - 仓单贸易v2
  31770. /WrTrade2/QueryOrderQuote:
  31771. get:
  31772. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31773. 唯一确定1条记录
  31774. parameters:
  31775. - description: 页码
  31776. in: query
  31777. name: page
  31778. type: integer
  31779. - description: 每页条数
  31780. in: query
  31781. name: pagesize
  31782. type: integer
  31783. - description: 仓单贸易市场id
  31784. in: query
  31785. name: marketid
  31786. type: integer
  31787. - description: 价格方式 - 1:固定价 2-浮动价
  31788. in: query
  31789. name: wrpricetype
  31790. required: true
  31791. type: integer
  31792. - description: 0:仓单预售 1:仓单贸易
  31793. in: query
  31794. name: haswr
  31795. type: integer
  31796. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31797. in: query
  31798. name: dgitemname
  31799. type: string
  31800. - description: 仓库id(筛选条件)
  31801. in: query
  31802. name: warehouseid
  31803. type: integer
  31804. - description: 品种id
  31805. in: query
  31806. name: deliverygoodsid
  31807. type: integer
  31808. - description: 品类id
  31809. in: query
  31810. name: wrstandardid
  31811. type: integer
  31812. - description: 品牌id(dgfactoryitemid)
  31813. in: query
  31814. name: brandid
  31815. type: integer
  31816. - description: 年份id(dgfactoryitemid)
  31817. in: query
  31818. name: yearsid
  31819. type: integer
  31820. - description: 仓单要素id
  31821. in: query
  31822. name: wrfactortypeid
  31823. type: integer
  31824. - description: 交收月(yyyy-mm) 仓单预售填写
  31825. in: query
  31826. name: deliverymonth
  31827. type: string
  31828. produces:
  31829. - application/json
  31830. responses:
  31831. "200":
  31832. description: OK
  31833. schema:
  31834. items:
  31835. $ref: '#/definitions/models.WrOrderQuote'
  31836. type: array
  31837. "500":
  31838. description: Internal Server Error
  31839. schema:
  31840. $ref: '#/definitions/app.Response'
  31841. security:
  31842. - ApiKeyAuth: []
  31843. summary: 查询大厅行情列表
  31844. tags:
  31845. - 仓单贸易v2
  31846. /WrTrade2/QueryOrderQuoteDetail:
  31847. get:
  31848. parameters:
  31849. - description: 页码
  31850. in: query
  31851. name: page
  31852. type: integer
  31853. - description: 每页条数
  31854. in: query
  31855. name: pagesize
  31856. type: integer
  31857. - description: 仓单贸易市场id
  31858. in: query
  31859. name: marketid
  31860. type: integer
  31861. - description: 价格方式 - 1:固定价 2-浮动价
  31862. in: query
  31863. name: wrpricetype
  31864. required: true
  31865. type: integer
  31866. - description: 0:仓单预售 1:仓单贸易
  31867. in: query
  31868. name: haswr
  31869. type: integer
  31870. - description: 仓单要素id
  31871. in: query
  31872. name: wrfactortypeid
  31873. required: true
  31874. type: integer
  31875. - description: 期货商品id(浮动价方式时填)
  31876. in: query
  31877. name: goodsid
  31878. type: integer
  31879. - description: 买卖方向 0-买 1-卖
  31880. in: query
  31881. name: buyorsell
  31882. required: true
  31883. type: integer
  31884. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31885. in: query
  31886. name: deliverymonth
  31887. type: string
  31888. produces:
  31889. - application/json
  31890. responses:
  31891. "200":
  31892. description: OK
  31893. schema:
  31894. items:
  31895. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31896. type: array
  31897. "500":
  31898. description: Internal Server Error
  31899. schema:
  31900. $ref: '#/definitions/app.Response'
  31901. security:
  31902. - ApiKeyAuth: []
  31903. summary: 查询买卖大厅
  31904. tags:
  31905. - 仓单贸易v2
  31906. /WrTrade2/QueryOrderQuoteMyq:
  31907. get:
  31908. parameters:
  31909. - description: 页码
  31910. in: query
  31911. name: page
  31912. type: integer
  31913. - description: 每页条数
  31914. in: query
  31915. name: pagesize
  31916. type: integer
  31917. - description: 用户id
  31918. in: query
  31919. name: userid
  31920. required: true
  31921. type: integer
  31922. - description: 仓单贸易市场id
  31923. in: query
  31924. name: marketid
  31925. type: integer
  31926. - description: 0:仓单预售 1:仓单贸易
  31927. in: query
  31928. name: haswr
  31929. type: integer
  31930. - description: 买卖方向 0-买 1-卖
  31931. in: query
  31932. name: buyorsell
  31933. required: true
  31934. type: integer
  31935. - description: 品种id
  31936. in: query
  31937. name: deliverygoodsid
  31938. type: integer
  31939. - description: 品类id
  31940. in: query
  31941. name: wrstandardid
  31942. type: integer
  31943. - description: 交收月(yyyy-mm) 仓单预售填写
  31944. in: query
  31945. name: deliverymonth
  31946. type: string
  31947. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31948. in: query
  31949. name: dgitemname
  31950. type: string
  31951. produces:
  31952. - application/json
  31953. responses:
  31954. "200":
  31955. description: OK
  31956. schema:
  31957. items:
  31958. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31959. type: array
  31960. "500":
  31961. description: Internal Server Error
  31962. schema:
  31963. $ref: '#/definitions/app.Response'
  31964. security:
  31965. - ApiKeyAuth: []
  31966. summary: 查询贸易圈挂牌大厅
  31967. tags:
  31968. - 仓单贸易v2
  31969. /WrTrade2/QueryPerformancePlan:
  31970. get:
  31971. parameters:
  31972. - description: 用户id
  31973. in: query
  31974. name: userid
  31975. required: true
  31976. type: integer
  31977. - description: 买卖方向 0-买 1-卖
  31978. in: query
  31979. name: buyorsell
  31980. required: true
  31981. type: integer
  31982. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31983. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31984. in: query
  31985. name: status
  31986. type: string
  31987. - description: 开始交易日(yyyymmdd)
  31988. in: query
  31989. name: begindate
  31990. type: string
  31991. - description: 结束交易日(yyyymmdd)
  31992. in: query
  31993. name: enddate
  31994. type: string
  31995. produces:
  31996. - application/json
  31997. responses:
  31998. "200":
  31999. description: OK
  32000. schema:
  32001. items:
  32002. $ref: '#/definitions/models.WrPerformancePlan'
  32003. type: array
  32004. "500":
  32005. description: Internal Server Error
  32006. schema:
  32007. $ref: '#/definitions/app.Response'
  32008. security:
  32009. - ApiKeyAuth: []
  32010. summary: 查询履约信息
  32011. tags:
  32012. - 仓单贸易v2
  32013. /WrTrade2/QueryPermancePlanTmp:
  32014. get:
  32015. description: |-
  32016. 返回指定用户的模板和公共模板(用户id为空)
  32017. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32018. parameters:
  32019. - description: 用户id
  32020. in: query
  32021. name: userid
  32022. type: integer
  32023. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32024. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32025. in: query
  32026. name: tmptype
  32027. type: string
  32028. - description: 是否包含公共模板(用户id为空的) 1-包含
  32029. in: query
  32030. name: includepub
  32031. type: integer
  32032. - description: 市场id(天津麦顿指定此参数,其它不用)
  32033. in: query
  32034. name: marketid
  32035. type: integer
  32036. produces:
  32037. - application/json
  32038. responses:
  32039. "200":
  32040. description: OK
  32041. schema:
  32042. items:
  32043. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32044. type: array
  32045. "500":
  32046. description: Internal Server Error
  32047. schema:
  32048. $ref: '#/definitions/app.Response'
  32049. security:
  32050. - ApiKeyAuth: []
  32051. summary: 查询履约模板
  32052. tags:
  32053. - 仓单贸易v2
  32054. /WrTrade2/QuerySiteColumnDetail:
  32055. get:
  32056. parameters:
  32057. - description: 页码
  32058. in: query
  32059. name: page
  32060. type: integer
  32061. - description: 每页条数
  32062. in: query
  32063. name: pagesize
  32064. type: integer
  32065. - description: 所属栏目id
  32066. in: query
  32067. name: columnid
  32068. type: integer
  32069. produces:
  32070. - application/json
  32071. responses:
  32072. "200":
  32073. description: OK
  32074. schema:
  32075. items:
  32076. $ref: '#/definitions/models.WrSiteColumnDetail'
  32077. type: array
  32078. "500":
  32079. description: Internal Server Error
  32080. schema:
  32081. $ref: '#/definitions/app.Response'
  32082. security:
  32083. - ApiKeyAuth: []
  32084. summary: 查询资讯
  32085. tags:
  32086. - 仓单贸易v2
  32087. /WrTrade2/QuerySpotGroupTradeSum:
  32088. get:
  32089. produces:
  32090. - application/json
  32091. responses:
  32092. "200":
  32093. description: OK
  32094. schema:
  32095. items:
  32096. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32097. type: array
  32098. "500":
  32099. description: Internal Server Error
  32100. schema:
  32101. $ref: '#/definitions/app.Response'
  32102. security:
  32103. - ApiKeyAuth: []
  32104. summary: 查询指数
  32105. tags:
  32106. - 仓单贸易v2
  32107. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32108. get:
  32109. description: 查询的结果将会按日期 从小到大 排序
  32110. parameters:
  32111. - description: 现货商品id
  32112. in: query
  32113. name: deliverygoodsid
  32114. required: true
  32115. type: integer
  32116. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32117. in: query
  32118. name: lastnum
  32119. type: integer
  32120. produces:
  32121. - application/json
  32122. responses:
  32123. "200":
  32124. description: OK
  32125. schema:
  32126. items:
  32127. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32128. type: array
  32129. "500":
  32130. description: Internal Server Error
  32131. schema:
  32132. $ref: '#/definitions/app.Response'
  32133. security:
  32134. - ApiKeyAuth: []
  32135. summary: 查询指数详细(价格走势图)
  32136. tags:
  32137. - 仓单贸易v2
  32138. /WrTrade2/QueryWrAverageTradePrice:
  32139. get:
  32140. parameters:
  32141. - description: 页码
  32142. in: query
  32143. name: page
  32144. type: integer
  32145. - description: 每页条数
  32146. in: query
  32147. name: pagesize
  32148. type: integer
  32149. - description: 0:仓单预售 1:仓单贸易
  32150. in: query
  32151. name: haswr
  32152. required: true
  32153. type: integer
  32154. - description: 仓单要素id
  32155. in: query
  32156. name: wrfactortypeid
  32157. required: true
  32158. type: integer
  32159. produces:
  32160. - application/json
  32161. responses:
  32162. "200":
  32163. description: OK
  32164. schema:
  32165. items:
  32166. $ref: '#/definitions/models.WrAverageTradePrice'
  32167. type: array
  32168. "500":
  32169. description: Internal Server Error
  32170. schema:
  32171. $ref: '#/definitions/app.Response'
  32172. security:
  32173. - ApiKeyAuth: []
  32174. summary: 查询成交价(历史走势)
  32175. tags:
  32176. - 仓单贸易v2
  32177. /WrTrade2/QueryWrBrandAndYears:
  32178. get:
  32179. produces:
  32180. - application/json
  32181. responses:
  32182. "200":
  32183. description: OK
  32184. schema:
  32185. items:
  32186. $ref: '#/definitions/models.WrBrandAndYears'
  32187. type: array
  32188. "500":
  32189. description: Internal Server Error
  32190. schema:
  32191. $ref: '#/definitions/app.Response'
  32192. security:
  32193. - ApiKeyAuth: []
  32194. summary: 查询品牌和年份
  32195. tags:
  32196. - 仓单贸易v2
  32197. /WrTrade2/QueryWrBsGoodsInfo:
  32198. get:
  32199. description: 合约交易/买卖大厅/详情
  32200. parameters:
  32201. - description: 商品id
  32202. in: query
  32203. name: goodsid
  32204. required: true
  32205. type: integer
  32206. produces:
  32207. - application/json
  32208. responses:
  32209. "200":
  32210. description: OK
  32211. schema:
  32212. items:
  32213. $ref: '#/definitions/models.WrBsGoodsInfo'
  32214. type: array
  32215. "500":
  32216. description: Internal Server Error
  32217. schema:
  32218. $ref: '#/definitions/app.Response'
  32219. security:
  32220. - ApiKeyAuth: []
  32221. summary: 查询合约交易买卖大厅详情
  32222. tags:
  32223. - 仓单贸易v2
  32224. /WrTrade2/QueryWrBuybackDetail:
  32225. get:
  32226. parameters:
  32227. - description: 融资合同id
  32228. in: query
  32229. name: scfcontractid
  32230. type: integer
  32231. produces:
  32232. - application/json
  32233. responses:
  32234. "200":
  32235. description: OK
  32236. schema:
  32237. items:
  32238. $ref: '#/definitions/models.WrBuybackDetail'
  32239. type: array
  32240. "500":
  32241. description: Internal Server Error
  32242. schema:
  32243. $ref: '#/definitions/app.Response'
  32244. security:
  32245. - ApiKeyAuth: []
  32246. summary: 查询仓单回购明细
  32247. tags:
  32248. - 仓单贸易v2
  32249. /WrTrade2/QueryWrClientAdSpaceConfig:
  32250. get:
  32251. produces:
  32252. - application/json
  32253. responses:
  32254. "200":
  32255. description: OK
  32256. schema:
  32257. items:
  32258. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  32259. type: array
  32260. "500":
  32261. description: Internal Server Error
  32262. schema:
  32263. $ref: '#/definitions/app.Response'
  32264. security:
  32265. - ApiKeyAuth: []
  32266. summary: 查询固定广告配置
  32267. tags:
  32268. - 仓单贸易v2
  32269. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  32270. get:
  32271. parameters:
  32272. - description: 资金账号
  32273. in: query
  32274. name: accountid
  32275. required: true
  32276. type: integer
  32277. - description: 商品id
  32278. in: query
  32279. name: goodsid
  32280. required: true
  32281. type: integer
  32282. produces:
  32283. - application/json
  32284. responses:
  32285. "200":
  32286. description: OK
  32287. schema:
  32288. items:
  32289. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  32290. type: array
  32291. "500":
  32292. description: Internal Server Error
  32293. schema:
  32294. $ref: '#/definitions/app.Response'
  32295. security:
  32296. - ApiKeyAuth: []
  32297. summary: 查询合约交收可点选仓单
  32298. tags:
  32299. - 仓单贸易v2
  32300. /WrTrade2/QueryWrDeliveryDetail:
  32301. get:
  32302. parameters:
  32303. - description: 用户id
  32304. in: query
  32305. name: userid
  32306. required: true
  32307. type: integer
  32308. - description: 资金账号id
  32309. in: query
  32310. name: accountid
  32311. type: integer
  32312. - description: 开始交易日(yyyymmdd)
  32313. in: query
  32314. name: begindate
  32315. type: string
  32316. - description: 结束交易日(yyyymmdd)
  32317. in: query
  32318. name: enddate
  32319. type: string
  32320. produces:
  32321. - application/json
  32322. responses:
  32323. "200":
  32324. description: OK
  32325. schema:
  32326. items:
  32327. $ref: '#/definitions/models.WrDeliveryDetail'
  32328. type: array
  32329. "500":
  32330. description: Internal Server Error
  32331. schema:
  32332. $ref: '#/definitions/app.Response'
  32333. security:
  32334. - ApiKeyAuth: []
  32335. summary: 查询交收
  32336. tags:
  32337. - 仓单贸易v2
  32338. /WrTrade2/QueryWrDraftUserInfo:
  32339. get:
  32340. parameters:
  32341. - description: 用户ID
  32342. in: query
  32343. name: userid
  32344. required: true
  32345. type: integer
  32346. - description: 用户状态 1:正常 2:注销
  32347. in: query
  32348. name: userstatus
  32349. type: integer
  32350. produces:
  32351. - application/json
  32352. responses:
  32353. "200":
  32354. description: OK
  32355. schema:
  32356. items:
  32357. $ref: '#/definitions/models.WrDraftUserInfo'
  32358. type: array
  32359. "500":
  32360. description: Internal Server Error
  32361. schema:
  32362. $ref: '#/definitions/app.Response'
  32363. security:
  32364. - ApiKeyAuth: []
  32365. summary: 查询实名认证信息
  32366. tags:
  32367. - 仓单贸易v2
  32368. /WrTrade2/QueryWrFactorTypeInfo:
  32369. get:
  32370. parameters:
  32371. - description: 仓单要素id
  32372. in: query
  32373. name: wrfactortypeid
  32374. required: true
  32375. type: integer
  32376. produces:
  32377. - application/json
  32378. responses:
  32379. "200":
  32380. description: OK
  32381. schema:
  32382. items:
  32383. $ref: '#/definitions/models.WrFactorTypeInfo'
  32384. type: array
  32385. "500":
  32386. description: Internal Server Error
  32387. schema:
  32388. $ref: '#/definitions/app.Response'
  32389. security:
  32390. - ApiKeyAuth: []
  32391. summary: 查询仓单要素详细信息
  32392. tags:
  32393. - 仓单贸易v2
  32394. /WrTrade2/QueryWrFactorTypeInfoEx:
  32395. get:
  32396. parameters:
  32397. - description: 仓单要素id
  32398. in: query
  32399. name: wrfactortypeid
  32400. required: true
  32401. type: integer
  32402. produces:
  32403. - application/json
  32404. responses:
  32405. "200":
  32406. description: OK
  32407. schema:
  32408. items:
  32409. $ref: '#/definitions/models.WrTypeItem'
  32410. type: array
  32411. "500":
  32412. description: Internal Server Error
  32413. schema:
  32414. $ref: '#/definitions/app.Response'
  32415. security:
  32416. - ApiKeyAuth: []
  32417. summary: 查询仓单要素详细信息列表项
  32418. tags:
  32419. - 仓单贸易v2
  32420. /WrTrade2/QueryWrFinanceBuyApply:
  32421. get:
  32422. description: 页面 融资信息+ / 申请单
  32423. parameters:
  32424. - description: 用户id
  32425. in: query
  32426. name: userid
  32427. required: true
  32428. type: integer
  32429. produces:
  32430. - application/json
  32431. responses:
  32432. "200":
  32433. description: OK
  32434. schema:
  32435. items:
  32436. $ref: '#/definitions/models.WrFinanceBuyApply'
  32437. type: array
  32438. "500":
  32439. description: Internal Server Error
  32440. schema:
  32441. $ref: '#/definitions/app.Response'
  32442. security:
  32443. - ApiKeyAuth: []
  32444. summary: 查询融资购买申请
  32445. tags:
  32446. - 仓单贸易v2
  32447. /WrTrade2/QueryWrFriendApply:
  32448. get:
  32449. parameters:
  32450. - description: 用户id
  32451. in: query
  32452. name: userid
  32453. required: true
  32454. type: integer
  32455. produces:
  32456. - application/json
  32457. responses:
  32458. "200":
  32459. description: OK
  32460. schema:
  32461. items:
  32462. $ref: '#/definitions/models.WrFriendApply'
  32463. type: array
  32464. "500":
  32465. description: Internal Server Error
  32466. schema:
  32467. $ref: '#/definitions/app.Response'
  32468. security:
  32469. - ApiKeyAuth: []
  32470. summary: 查询好友申请记录
  32471. tags:
  32472. - 仓单贸易v2
  32473. /WrTrade2/QueryWrGoodsInfo:
  32474. get:
  32475. parameters:
  32476. - description: 仓单贸易市场id
  32477. in: query
  32478. name: marketid
  32479. type: integer
  32480. - description: 0:仓单预售 1:仓单贸易
  32481. in: query
  32482. name: haswr
  32483. required: true
  32484. type: integer
  32485. - description: 仓单要素id
  32486. in: query
  32487. name: wrfactortypeid
  32488. required: true
  32489. type: integer
  32490. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  32491. in: query
  32492. name: tmplateid
  32493. type: integer
  32494. produces:
  32495. - application/json
  32496. responses:
  32497. "200":
  32498. description: OK
  32499. schema:
  32500. items:
  32501. $ref: '#/definitions/models.WrGoodsInfo'
  32502. type: array
  32503. "500":
  32504. description: Internal Server Error
  32505. schema:
  32506. $ref: '#/definitions/app.Response'
  32507. security:
  32508. - ApiKeyAuth: []
  32509. summary: 查询仓单商品信息
  32510. tags:
  32511. - 仓单贸易v2
  32512. /WrTrade2/QueryWrMarketTradeConfig:
  32513. get:
  32514. parameters:
  32515. - description: 市场id
  32516. in: query
  32517. name: marketid
  32518. type: integer
  32519. produces:
  32520. - application/json
  32521. responses:
  32522. "200":
  32523. description: OK
  32524. schema:
  32525. items:
  32526. $ref: '#/definitions/models.WrMarketTradeConfig'
  32527. type: array
  32528. "500":
  32529. description: Internal Server Error
  32530. schema:
  32531. $ref: '#/definitions/app.Response'
  32532. security:
  32533. - ApiKeyAuth: []
  32534. summary: 查询市场交易参数配置
  32535. tags:
  32536. - 仓单贸易v2
  32537. /WrTrade2/QueryWrOrderDetail:
  32538. get:
  32539. description: 页面 现货仓单 | 预售仓单 -> 委托单
  32540. parameters:
  32541. - description: 页码
  32542. in: query
  32543. name: page
  32544. type: integer
  32545. - description: 每页条数
  32546. in: query
  32547. name: pagesize
  32548. type: integer
  32549. - description: 用户id
  32550. in: query
  32551. name: userid
  32552. required: true
  32553. type: integer
  32554. - description: 仓单贸易市场id
  32555. in: query
  32556. name: marketid
  32557. type: integer
  32558. - description: 0:仓单预售 1:仓单贸易
  32559. in: query
  32560. name: haswr
  32561. required: true
  32562. type: integer
  32563. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  32564. in: query
  32565. name: bcancel
  32566. type: integer
  32567. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  32568. in: query
  32569. name: wrtradetype
  32570. type: integer
  32571. - description: 开始交易日(yyyymmdd)
  32572. in: query
  32573. name: begindate
  32574. type: string
  32575. - description: 结束交易日(yyyymmdd)
  32576. in: query
  32577. name: enddate
  32578. type: string
  32579. produces:
  32580. - application/json
  32581. responses:
  32582. "200":
  32583. description: OK
  32584. schema:
  32585. items:
  32586. $ref: '#/definitions/models.WrOrderDetail'
  32587. type: array
  32588. "500":
  32589. description: Internal Server Error
  32590. schema:
  32591. $ref: '#/definitions/app.Response'
  32592. security:
  32593. - ApiKeyAuth: []
  32594. summary: 查询仓单委托单
  32595. tags:
  32596. - 仓单贸易v2
  32597. /WrTrade2/QueryWrOutInApply:
  32598. get:
  32599. parameters:
  32600. - description: 页码
  32601. in: query
  32602. name: page
  32603. type: integer
  32604. - description: 每页条数
  32605. in: query
  32606. name: pagesize
  32607. type: integer
  32608. - description: 用户id
  32609. in: query
  32610. name: userid
  32611. required: true
  32612. type: integer
  32613. - description: 开始交易日(yyyymmdd)
  32614. in: query
  32615. name: begindate
  32616. type: string
  32617. - description: 结束交易日(yyyymmdd)
  32618. in: query
  32619. name: enddate
  32620. type: string
  32621. produces:
  32622. - application/json
  32623. responses:
  32624. "200":
  32625. description: OK
  32626. schema:
  32627. items:
  32628. $ref: '#/definitions/models.WrOutInApply'
  32629. type: array
  32630. "500":
  32631. description: Internal Server Error
  32632. schema:
  32633. $ref: '#/definitions/app.Response'
  32634. security:
  32635. - ApiKeyAuth: []
  32636. summary: 查询提货申请
  32637. tags:
  32638. - 仓单贸易v2
  32639. /WrTrade2/QueryWrPerformancePlanStep:
  32640. get:
  32641. parameters:
  32642. - description: 履约计划id(performanceplanid)
  32643. in: query
  32644. name: planid
  32645. required: true
  32646. type: integer
  32647. - description: 当前步骤id
  32648. in: query
  32649. name: curstepid
  32650. type: integer
  32651. produces:
  32652. - application/json
  32653. responses:
  32654. "200":
  32655. description: OK
  32656. schema:
  32657. items:
  32658. $ref: '#/definitions/models.WrPerformancePlanStep'
  32659. type: array
  32660. "500":
  32661. description: Internal Server Error
  32662. schema:
  32663. $ref: '#/definitions/app.Response'
  32664. security:
  32665. - ApiKeyAuth: []
  32666. summary: 查询履约信息详情
  32667. tags:
  32668. - 仓单贸易v2
  32669. /WrTrade2/QueryWrPerformanceStepType:
  32670. get:
  32671. produces:
  32672. - application/json
  32673. responses:
  32674. "200":
  32675. description: OK
  32676. schema:
  32677. items:
  32678. $ref: '#/definitions/models.WrPerformanceStepType'
  32679. type: array
  32680. "500":
  32681. description: Internal Server Error
  32682. schema:
  32683. $ref: '#/definitions/app.Response'
  32684. security:
  32685. - ApiKeyAuth: []
  32686. summary: 查询履约步骤枚举
  32687. tags:
  32688. - 仓单贸易v2
  32689. /WrTrade2/QueryWrPosition:
  32690. get:
  32691. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32692. parameters:
  32693. - description: 用户id
  32694. in: query
  32695. name: userid
  32696. required: true
  32697. type: integer
  32698. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32699. in: query
  32700. name: querytype
  32701. required: true
  32702. type: integer
  32703. - description: 0:仓单预售 1:仓单贸易
  32704. in: query
  32705. name: haswr
  32706. required: true
  32707. type: integer
  32708. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32709. in: query
  32710. name: dgitemname
  32711. type: string
  32712. - description: 仓库id(筛选条件)
  32713. in: query
  32714. name: warehouseid
  32715. type: integer
  32716. - description: 品种id
  32717. in: query
  32718. name: deliverygoodsid
  32719. type: integer
  32720. - description: 品类id
  32721. in: query
  32722. name: wrstandardid
  32723. type: integer
  32724. produces:
  32725. - application/json
  32726. responses:
  32727. "200":
  32728. description: OK
  32729. schema:
  32730. items:
  32731. $ref: '#/definitions/models.WrPosition'
  32732. type: array
  32733. "500":
  32734. description: Internal Server Error
  32735. schema:
  32736. $ref: '#/definitions/app.Response'
  32737. security:
  32738. - ApiKeyAuth: []
  32739. summary: 查询现货(预售)仓单持仓
  32740. tags:
  32741. - 仓单贸易v2
  32742. /WrTrade2/QueryWrPreSaleInfo:
  32743. get:
  32744. parameters:
  32745. - description: 市场id
  32746. in: query
  32747. name: marketid
  32748. type: integer
  32749. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32750. in: query
  32751. name: presalestatus
  32752. type: string
  32753. - description: 摇号标识 - 0:未摇号 1:已摇号
  32754. in: query
  32755. name: lotteryflag
  32756. type: integer
  32757. - description: 最近多少条记录(按创建时间倒序)
  32758. in: query
  32759. name: lastnum
  32760. type: integer
  32761. produces:
  32762. - application/json
  32763. responses:
  32764. "200":
  32765. description: OK
  32766. schema:
  32767. items:
  32768. $ref: '#/definitions/models.WrPreSaleInfo'
  32769. type: array
  32770. "500":
  32771. description: Internal Server Error
  32772. schema:
  32773. $ref: '#/definitions/app.Response'
  32774. security:
  32775. - ApiKeyAuth: []
  32776. summary: 查询新品发布
  32777. tags:
  32778. - 仓单贸易v2
  32779. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32780. get:
  32781. parameters:
  32782. - description: 市场id
  32783. in: query
  32784. name: marketid
  32785. required: true
  32786. type: integer
  32787. - description: 现货商品id
  32788. in: query
  32789. name: wrstandardid
  32790. required: true
  32791. type: integer
  32792. - description: 开始交易日(yyyymmdd)
  32793. in: query
  32794. name: begindate
  32795. type: string
  32796. - description: 结束交易日(yyyymmdd)
  32797. in: query
  32798. name: enddate
  32799. type: string
  32800. - description: 最近多少条记录(按交易日倒序)
  32801. in: query
  32802. name: lastnum
  32803. type: integer
  32804. - description: 是否今日
  32805. in: query
  32806. name: istoday
  32807. type: boolean
  32808. produces:
  32809. - application/json
  32810. responses:
  32811. "200":
  32812. description: OK
  32813. schema:
  32814. items:
  32815. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32816. type: array
  32817. "500":
  32818. description: Internal Server Error
  32819. schema:
  32820. $ref: '#/definitions/app.Response'
  32821. security:
  32822. - ApiKeyAuth: []
  32823. summary: 查询价格走势
  32824. tags:
  32825. - 仓单贸易v2
  32826. /WrTrade2/QueryWrScfContract:
  32827. get:
  32828. parameters:
  32829. - description: 用户id
  32830. in: query
  32831. name: userid
  32832. required: true
  32833. type: integer
  32834. - description: 融资合同id
  32835. in: query
  32836. name: scfcontractid
  32837. type: integer
  32838. produces:
  32839. - application/json
  32840. responses:
  32841. "200":
  32842. description: OK
  32843. schema:
  32844. items:
  32845. $ref: '#/definitions/models.WrScfContract'
  32846. type: array
  32847. "500":
  32848. description: Internal Server Error
  32849. schema:
  32850. $ref: '#/definitions/app.Response'
  32851. security:
  32852. - ApiKeyAuth: []
  32853. summary: 查询仓单贸易融资合同
  32854. tags:
  32855. - 仓单贸易v2
  32856. /WrTrade2/QueryWrScfContractInterest:
  32857. get:
  32858. parameters:
  32859. - description: 融资合同id
  32860. in: query
  32861. name: scfcontractid
  32862. type: integer
  32863. produces:
  32864. - application/json
  32865. responses:
  32866. "200":
  32867. description: OK
  32868. schema:
  32869. items:
  32870. $ref: '#/definitions/models.WrScfContractInterest'
  32871. type: array
  32872. "500":
  32873. description: Internal Server Error
  32874. schema:
  32875. $ref: '#/definitions/app.Response'
  32876. security:
  32877. - ApiKeyAuth: []
  32878. summary: 查询融资合同费用明细
  32879. tags:
  32880. - 仓单贸易v2
  32881. /WrTrade2/QueryWrSearchUser:
  32882. get:
  32883. parameters:
  32884. - description: 用户名称(模糊匹配)
  32885. in: query
  32886. name: username
  32887. required: true
  32888. type: string
  32889. produces:
  32890. - application/json
  32891. responses:
  32892. "200":
  32893. description: OK
  32894. schema:
  32895. items:
  32896. $ref: '#/definitions/models.WrSearchUser'
  32897. type: array
  32898. "500":
  32899. description: Internal Server Error
  32900. schema:
  32901. $ref: '#/definitions/app.Response'
  32902. security:
  32903. - ApiKeyAuth: []
  32904. summary: 查询用户
  32905. tags:
  32906. - 仓单贸易v2
  32907. /WrTrade2/QueryWrSpecialMatchOrder:
  32908. get:
  32909. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32910. parameters:
  32911. - description: 页码
  32912. in: query
  32913. name: page
  32914. type: integer
  32915. - description: 每页条数
  32916. in: query
  32917. name: pagesize
  32918. type: integer
  32919. - description: 用户id
  32920. in: query
  32921. name: userid
  32922. required: true
  32923. type: integer
  32924. - description: 仓单贸易市场id
  32925. in: query
  32926. name: marketid
  32927. type: integer
  32928. - description: 0:仓单预售 1:仓单贸易
  32929. in: query
  32930. name: haswr
  32931. required: true
  32932. type: integer
  32933. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32934. in: query
  32935. name: isspecified
  32936. type: integer
  32937. produces:
  32938. - application/json
  32939. responses:
  32940. "200":
  32941. description: OK
  32942. schema:
  32943. items:
  32944. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32945. type: array
  32946. "500":
  32947. description: Internal Server Error
  32948. schema:
  32949. $ref: '#/definitions/app.Response'
  32950. security:
  32951. - ApiKeyAuth: []
  32952. summary: 查询指定成交
  32953. tags:
  32954. - 仓单贸易v2
  32955. /WrTrade2/QueryWrStandardFactoryItem:
  32956. get:
  32957. parameters:
  32958. - description: 品类id
  32959. in: query
  32960. name: wrstandardid
  32961. required: true
  32962. type: integer
  32963. produces:
  32964. - application/json
  32965. responses:
  32966. "200":
  32967. description: OK
  32968. schema:
  32969. items:
  32970. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32971. type: array
  32972. "500":
  32973. description: Internal Server Error
  32974. schema:
  32975. $ref: '#/definitions/app.Response'
  32976. security:
  32977. - ApiKeyAuth: []
  32978. summary: 查询品类要素定义项
  32979. tags:
  32980. - 仓单贸易v2
  32981. /WrTrade2/QueryWrTradeBargainApply:
  32982. get:
  32983. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32984. 议价->对方议价 填写matchuserid=登录用户id
  32985. parameters:
  32986. - description: 议价人id(摘牌方)
  32987. in: query
  32988. name: userid
  32989. type: integer
  32990. - description: 挂牌方id(查对方议价时,填写此项)
  32991. in: query
  32992. name: matchuserid
  32993. type: integer
  32994. - description: 关联委托单id
  32995. in: query
  32996. name: wrtradeorderid
  32997. type: integer
  32998. - description: 0:仓单预售 1:仓单贸易
  32999. in: query
  33000. name: haswr
  33001. required: true
  33002. type: integer
  33003. - description: 开始交易日(yyyymmdd)
  33004. in: query
  33005. name: begindate
  33006. type: string
  33007. - description: 结束交易日(yyyymmdd)
  33008. in: query
  33009. name: enddate
  33010. type: string
  33011. produces:
  33012. - application/json
  33013. responses:
  33014. "200":
  33015. description: OK
  33016. schema:
  33017. items:
  33018. $ref: '#/definitions/models.WRTradeBargainApply'
  33019. type: array
  33020. "500":
  33021. description: Internal Server Error
  33022. schema:
  33023. $ref: '#/definitions/app.Response'
  33024. security:
  33025. - ApiKeyAuth: []
  33026. summary: 查询议价单
  33027. tags:
  33028. - 仓单贸易v2
  33029. /WrTrade2/QueryWrTradeDetail:
  33030. get:
  33031. parameters:
  33032. - description: 页码
  33033. in: query
  33034. name: page
  33035. type: integer
  33036. - description: 每页条数
  33037. in: query
  33038. name: pagesize
  33039. type: integer
  33040. - description: 用户id
  33041. in: query
  33042. name: userid
  33043. required: true
  33044. type: integer
  33045. - description: 仓单贸易市场id
  33046. in: query
  33047. name: marketid
  33048. type: integer
  33049. - description: 0:仓单预售 1:仓单贸易
  33050. in: query
  33051. name: haswr
  33052. required: true
  33053. type: integer
  33054. - description: 开始交易日(yyyymmdd)
  33055. in: query
  33056. name: begindate
  33057. type: string
  33058. - description: 结束交易日(yyyymmdd)
  33059. in: query
  33060. name: enddate
  33061. type: string
  33062. produces:
  33063. - application/json
  33064. responses:
  33065. "200":
  33066. description: OK
  33067. schema:
  33068. items:
  33069. $ref: '#/definitions/models.WrTradeDetail'
  33070. type: array
  33071. "500":
  33072. description: Internal Server Error
  33073. schema:
  33074. $ref: '#/definitions/app.Response'
  33075. security:
  33076. - ApiKeyAuth: []
  33077. summary: 查询仓单成交明细
  33078. tags:
  33079. - 仓单贸易v2
  33080. /WrTrade2/QueryWrTradeOrderDetail:
  33081. get:
  33082. parameters:
  33083. - description: 页码
  33084. in: query
  33085. name: page
  33086. type: integer
  33087. - description: 每页条数
  33088. in: query
  33089. name: pagesize
  33090. type: integer
  33091. - description: 商品id
  33092. in: query
  33093. name: goodsid
  33094. required: true
  33095. type: integer
  33096. - description: 买卖方向 0-买 1-卖
  33097. in: query
  33098. name: buyorsell
  33099. required: true
  33100. type: integer
  33101. produces:
  33102. - application/json
  33103. responses:
  33104. "200":
  33105. description: OK
  33106. schema:
  33107. items:
  33108. $ref: '#/definitions/models.WrTradeOrderDetail'
  33109. type: array
  33110. "500":
  33111. description: Internal Server Error
  33112. schema:
  33113. $ref: '#/definitions/app.Response'
  33114. security:
  33115. - ApiKeyAuth: []
  33116. summary: 查询合约交易买卖大厅
  33117. tags:
  33118. - 仓单贸易v2
  33119. /WrTrade2/QueryWrTradeQuote:
  33120. get:
  33121. parameters:
  33122. - description: 现货商品id
  33123. in: query
  33124. name: wrstandardid
  33125. required: true
  33126. type: integer
  33127. - description: 开始日期(yyyymmdd)
  33128. in: query
  33129. name: begindate
  33130. required: true
  33131. type: string
  33132. - description: 结束日期(yyyymmdd)
  33133. in: query
  33134. name: enddate
  33135. required: true
  33136. type: string
  33137. - description: 市场id
  33138. in: query
  33139. name: marketid
  33140. type: integer
  33141. produces:
  33142. - application/json
  33143. responses:
  33144. "200":
  33145. description: OK
  33146. schema:
  33147. items:
  33148. $ref: '#/definitions/models.Wrtradetradequote'
  33149. type: array
  33150. "500":
  33151. description: Internal Server Error
  33152. schema:
  33153. $ref: '#/definitions/app.Response'
  33154. security:
  33155. - ApiKeyAuth: []
  33156. summary: 查询仓单贸易成交行情
  33157. tags:
  33158. - 仓单贸易v2
  33159. /WrTrade2/QueryWrUserFriend:
  33160. get:
  33161. parameters:
  33162. - description: 用户id
  33163. in: query
  33164. name: userid
  33165. required: true
  33166. type: integer
  33167. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33168. in: query
  33169. name: newuserid
  33170. type: integer
  33171. produces:
  33172. - application/json
  33173. responses:
  33174. "200":
  33175. description: OK
  33176. schema:
  33177. items:
  33178. $ref: '#/definitions/models.WrUserFriend'
  33179. type: array
  33180. "500":
  33181. description: Internal Server Error
  33182. schema:
  33183. $ref: '#/definitions/app.Response'
  33184. security:
  33185. - ApiKeyAuth: []
  33186. summary: 查询我的朋友
  33187. tags:
  33188. - 仓单贸易v2
  33189. /WrTrade2/QueryWrUserReceiptInfo:
  33190. get:
  33191. parameters:
  33192. - description: 用户id
  33193. in: query
  33194. name: userid
  33195. type: integer
  33196. - description: 发票类型 - 1:个人 2:企业
  33197. in: query
  33198. name: receipttype
  33199. type: integer
  33200. produces:
  33201. - application/json
  33202. responses:
  33203. "200":
  33204. description: OK
  33205. schema:
  33206. items:
  33207. $ref: '#/definitions/models.WrUserReceiptInfo'
  33208. type: array
  33209. "500":
  33210. description: Internal Server Error
  33211. schema:
  33212. $ref: '#/definitions/app.Response'
  33213. security:
  33214. - ApiKeyAuth: []
  33215. summary: 查询发票信息
  33216. tags:
  33217. - 仓单贸易v2
  33218. /WrTrade2/QueryXhcpSellBackApply:
  33219. get:
  33220. parameters:
  33221. - description: 用户ID
  33222. in: query
  33223. name: userid
  33224. required: true
  33225. type: integer
  33226. produces:
  33227. - application/json
  33228. responses:
  33229. "200":
  33230. description: OK
  33231. schema:
  33232. items:
  33233. $ref: '#/definitions/models.Xhcpsellbackapply'
  33234. type: array
  33235. "500":
  33236. description: Internal Server Error
  33237. schema:
  33238. $ref: '#/definitions/app.Response'
  33239. security:
  33240. - ApiKeyAuth: []
  33241. summary: 查询我的回收申请(新会陈皮)
  33242. tags:
  33243. - 仓单贸易v2
  33244. /ZJ/GetBankTip:
  33245. get:
  33246. produces:
  33247. - application/json
  33248. responses:
  33249. "200":
  33250. description: OK
  33251. schema:
  33252. type: string
  33253. "500":
  33254. description: Internal Server Error
  33255. schema:
  33256. $ref: '#/definitions/app.Response'
  33257. summary: 获取中江网银端出入金提示信息
  33258. tags:
  33259. - 中江
  33260. /ZJ/GetCusBankChannels:
  33261. get:
  33262. produces:
  33263. - application/json
  33264. responses:
  33265. "200":
  33266. description: OK
  33267. schema:
  33268. items:
  33269. type: string
  33270. type: array
  33271. "500":
  33272. description: Internal Server Error
  33273. schema:
  33274. $ref: '#/definitions/app.Response'
  33275. summary: 获取中江出入金渠道显示列表
  33276. tags:
  33277. - 中江
  33278. securityDefinitions:
  33279. ApiKeyAuth:
  33280. in: header
  33281. name: Authorization
  33282. type: apiKey
  33283. Group:
  33284. in: header
  33285. name: Group
  33286. type: apiKey
  33287. LoginID:
  33288. in: header
  33289. name: LoginID
  33290. type: apiKey
  33291. swagger: "2.0"