swagger.yaml 923 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280
  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. zscuttypedisplay:
  11756. type: string
  11757. zsczcolor1typedisplay:
  11758. type: string
  11759. zsczcolor2typedisplay:
  11760. type: string
  11761. zsczcolor3typedisplay:
  11762. type: string
  11763. zsfluorescencetypedisplay:
  11764. type: string
  11765. zspolishtypedisplay:
  11766. type: string
  11767. zsshapetypedisplay:
  11768. type: string
  11769. zssizedisplay:
  11770. type: string
  11771. zsstyletypedisplay:
  11772. type: string
  11773. zssymmetrytypedisplay:
  11774. type: string
  11775. zstabledisplay:
  11776. type: string
  11777. required:
  11778. - selluserid
  11779. type: object
  11780. models.MyFavorite:
  11781. properties:
  11782. accountname:
  11783. description: 账户名称(机构名称)
  11784. type: string
  11785. buyorsell:
  11786. description: 买卖 - 0:买 1:卖
  11787. type: integer
  11788. favoritestatus:
  11789. description: 收藏状态 - 1:正常 2:失效
  11790. type: integer
  11791. goodsno:
  11792. description: 商品编号
  11793. type: string
  11794. marketid:
  11795. description: 市场ID
  11796. type: integer
  11797. price:
  11798. description: 价格
  11799. type: number
  11800. priceper:
  11801. description: 克拉单价
  11802. type: string
  11803. sizedisplay:
  11804. description: 尺寸
  11805. type: string
  11806. userid:
  11807. description: 用户ID
  11808. type: integer
  11809. warehousenamedisplay:
  11810. type: string
  11811. weight:
  11812. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11813. type: number
  11814. weightavg:
  11815. description: 平均单颗重量 - 类型:1,3
  11816. type: number
  11817. wrfactortypeid:
  11818. description: 仓单要素类型ID/商品ID(77)
  11819. type: string
  11820. wrstandardid:
  11821. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11822. type: integer
  11823. wrtradeorderid:
  11824. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11825. type: string
  11826. zscategory:
  11827. description: 钻石分类 - 枚举”ZSCategory“
  11828. type: integer
  11829. zscategorydisplay:
  11830. type: string
  11831. zscerttypedisplay:
  11832. type: string
  11833. zsclaritytype1display:
  11834. type: string
  11835. zsclaritytype2display:
  11836. type: string
  11837. zscolortype1display:
  11838. type: string
  11839. zscolortype2display:
  11840. type: string
  11841. zscrystaltypedisplay:
  11842. type: string
  11843. zscurrencytypedisplay:
  11844. type: string
  11845. zscurrencytypedisplayunit:
  11846. type: string
  11847. zscuttype1display:
  11848. type: string
  11849. zscuttype2display:
  11850. type: string
  11851. zsczcolor1typedisplay:
  11852. type: string
  11853. zsczcolor2typedisplay:
  11854. type: string
  11855. zsczcolor3typedisplay:
  11856. type: string
  11857. zsfluorescencetype1display:
  11858. type: string
  11859. zsfluorescencetype2display:
  11860. type: string
  11861. zspolishtype1display:
  11862. type: string
  11863. zspolishtype2display:
  11864. type: string
  11865. zsshapetypedisplay:
  11866. type: string
  11867. zsstyletypedisplay:
  11868. type: string
  11869. zssymmetrytype1display:
  11870. type: string
  11871. zssymmetrytype2display:
  11872. type: string
  11873. required:
  11874. - userid
  11875. type: object
  11876. models.MyPerformanc:
  11877. properties:
  11878. accountname:
  11879. description: '[对手方]账户名称(机构名称)'
  11880. type: string
  11881. amount:
  11882. description: 履约金额
  11883. type: number
  11884. buyaccountid:
  11885. description: 买方账号
  11886. type: integer
  11887. buyerfreezeamount:
  11888. description: 买方履约前冻结资金
  11889. type: number
  11890. buyerfreezeamountremain:
  11891. description: 买方履约前冻结资金剩余
  11892. type: number
  11893. buyerinfo:
  11894. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11895. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  11896. type: string
  11897. buyorsell:
  11898. description: 方向 - 0:买 1:卖
  11899. type: integer
  11900. buypaidamount:
  11901. description: 买方已冻/已扣金额
  11902. type: number
  11903. curstepid:
  11904. description: 当前步骤ID
  11905. type: string
  11906. goodsno:
  11907. description: 商品编号
  11908. type: string
  11909. overshortamount:
  11910. description: 溢短金额
  11911. type: number
  11912. paymenttype:
  11913. description: 买方支付方式 - 1:冻结 2:扣款
  11914. type: integer
  11915. performanceplanid:
  11916. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  11917. type: string
  11918. performancestatus:
  11919. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  11920. 9:超时待处理 10:超时关闭
  11921. type: integer
  11922. price:
  11923. description: 价格
  11924. type: number
  11925. priceper:
  11926. description: 克拉单价
  11927. type: string
  11928. relatedorderid:
  11929. description: 关联单号(履约类型的关联单号)
  11930. type: string
  11931. remaindays:
  11932. description: 剩余天数
  11933. type: integer
  11934. sellerfreezeamount:
  11935. description: 卖方履约前冻结资金
  11936. type: number
  11937. sellerfreezeamountremain:
  11938. description: 卖方履约前冻结资金剩余
  11939. type: number
  11940. sellerinfo:
  11941. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  11942. "xxxxxxxx"}'
  11943. type: string
  11944. sellreceivedamount:
  11945. description: 卖方已收金额
  11946. type: number
  11947. sizedisplay:
  11948. description: 尺寸
  11949. type: string
  11950. steptypeid:
  11951. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  11952. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  11953. type: integer
  11954. warehousenamedisplay:
  11955. type: string
  11956. zscategorydisplay:
  11957. type: string
  11958. zscerttypedisplay:
  11959. type: string
  11960. zsclaritytype1display:
  11961. type: string
  11962. zsclaritytype2display:
  11963. type: string
  11964. zscolortype1display:
  11965. type: string
  11966. zscolortype2display:
  11967. type: string
  11968. zscrystaltypedisplay:
  11969. type: string
  11970. zscurrencytypedisplay:
  11971. type: string
  11972. zscurrencytypedisplayunit:
  11973. type: string
  11974. zscuttype1display:
  11975. type: string
  11976. zscuttype2display:
  11977. type: string
  11978. zsczcolor1typedisplay:
  11979. type: string
  11980. zsczcolor2typedisplay:
  11981. type: string
  11982. zsczcolor3typedisplay:
  11983. type: string
  11984. zsfluorescencetype1display:
  11985. type: string
  11986. zsfluorescencetype2display:
  11987. type: string
  11988. zspolishtype1display:
  11989. type: string
  11990. zspolishtype2display:
  11991. type: string
  11992. zsshapetypedisplay:
  11993. type: string
  11994. zsstyletypedisplay:
  11995. type: string
  11996. zssymmetrytype1display:
  11997. type: string
  11998. zssymmetrytype2display:
  11999. type: string
  12000. type: object
  12001. models.MySellOrder:
  12002. properties:
  12003. accountid:
  12004. description: 资金账号
  12005. type: integer
  12006. applyid:
  12007. description: 申请单ID
  12008. type: integer
  12009. attachment1:
  12010. description: 附件1
  12011. type: string
  12012. attachment2:
  12013. description: 附件2
  12014. type: string
  12015. buyorsell:
  12016. description: 买卖 - 0:买 1:卖
  12017. type: integer
  12018. canbargain:
  12019. description: 是否可议价 - 0:不可 1:可
  12020. type: integer
  12021. cancelqty:
  12022. description: 撤销数量
  12023. type: integer
  12024. canceltime:
  12025. description: 撤销时间
  12026. type: string
  12027. cerno:
  12028. type: string
  12029. chargealgorithm:
  12030. description: 手续费收取方式 1:比率 2:固定
  12031. type: integer
  12032. chargealgorithmvalue:
  12033. description: 手续费设置值(交易所部分)
  12034. type: number
  12035. chargealgorithmvalue2:
  12036. description: 手续费设置值(会员部分)
  12037. type: number
  12038. clientordertime:
  12039. description: 客户端委托时间
  12040. type: string
  12041. cpcertno:
  12042. type: string
  12043. exchangerate:
  12044. description: 汇率[67]
  12045. type: number
  12046. firstratio:
  12047. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12048. type: number
  12049. fixedprice:
  12050. description: '[克拉单价]固定价格 - [挂牌]'
  12051. type: number
  12052. freezecharge:
  12053. description: 冻结手续费
  12054. type: number
  12055. freezefirstamount:
  12056. description: 冻结首付金额 - [摘牌]
  12057. type: number
  12058. freezemargin:
  12059. description: 冻结保证金
  12060. type: number
  12061. goodsno:
  12062. description: 商品编号
  12063. type: string
  12064. imagepath:
  12065. type: string
  12066. isspecified:
  12067. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12068. type: integer
  12069. kppath:
  12070. type: string
  12071. kpweight:
  12072. type: string
  12073. marginalgorithm:
  12074. description: 保证金方式 - 1:比率 2:固定
  12075. type: integer
  12076. marginvalue:
  12077. description: 保证金设置值
  12078. type: number
  12079. marketid:
  12080. description: 市场ID
  12081. type: integer
  12082. marketprice:
  12083. type: string
  12084. orderamount:
  12085. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12086. type: number
  12087. ordertime:
  12088. description: 委托时间
  12089. type: string
  12090. performancetemplateid:
  12091. description: 履约计划模板ID
  12092. type: integer
  12093. price:
  12094. description: 价格
  12095. type: number
  12096. pricefactor:
  12097. description: 价格系数(浮动价时填写) - [挂牌]
  12098. type: number
  12099. pricemove:
  12100. description: 升贴水(浮动价时填写) - [挂牌]
  12101. type: number
  12102. priceper:
  12103. type: string
  12104. relatedwrtradeorderid:
  12105. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12106. type: integer
  12107. remark:
  12108. type: string
  12109. retcode:
  12110. description: 错误代码
  12111. type: integer
  12112. selledqty:
  12113. description: 成交重量
  12114. type: number
  12115. settingmaterial:
  12116. type: string
  12117. size1:
  12118. type: string
  12119. size2:
  12120. type: string
  12121. size3:
  12122. type: string
  12123. stonedesc:
  12124. type: string
  12125. totalqty:
  12126. description: 总重量
  12127. type: number
  12128. tradedate:
  12129. description: 交易日(yyyyMMdd)
  12130. type: string
  12131. tradeprice:
  12132. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12133. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12134. type: number
  12135. unfreezecharge:
  12136. description: 解冻手续费
  12137. type: number
  12138. unfreezefirstamount:
  12139. description: 解冻首付金额 - [摘牌]
  12140. type: number
  12141. unfreezemargin:
  12142. description: 解冻保证金
  12143. type: number
  12144. userid:
  12145. description: 用户ID
  12146. type: integer
  12147. uuid:
  12148. description: 发起端唯一id
  12149. type: string
  12150. validtime:
  12151. description: 有效期限
  12152. type: string
  12153. validtype:
  12154. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12155. type: integer
  12156. warehousenamedisplay:
  12157. type: string
  12158. wrbargainid:
  12159. description: 议价申请单ID
  12160. type: integer
  12161. wrfactortypeid:
  12162. description: 仓单要素类型ID/商品ID(77)
  12163. type: integer
  12164. wrpath:
  12165. type: string
  12166. wrpricetype:
  12167. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12168. type: integer
  12169. wrstandardid:
  12170. description: 现货商品ID
  12171. type: integer
  12172. wrtradeorderid:
  12173. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12174. type: string
  12175. wrtradeorderstatus:
  12176. 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:撤单解冻贷款失败
  12177. type: integer
  12178. wrtradetype:
  12179. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12180. type: integer
  12181. wrtransferuserid:
  12182. description: 仓单受让用户 - [摘牌]
  12183. type: integer
  12184. zscategory:
  12185. description: 钻石分类 - 枚举”ZSCategory“
  12186. type: integer
  12187. zscategorydisplay:
  12188. description: 钻石分类 - 描述
  12189. type: string
  12190. zscerttypedisplay:
  12191. type: string
  12192. zsclaritytype1display:
  12193. type: string
  12194. zsclaritytype2display:
  12195. type: string
  12196. zscolortype1display:
  12197. type: string
  12198. zscolortype2display:
  12199. type: string
  12200. zscrystaltype:
  12201. type: string
  12202. zscrystaltypedisplay:
  12203. type: string
  12204. zscurrencytype:
  12205. description: 货币类型 - 枚举“ZSCurrencyType”
  12206. type: integer
  12207. zscurrencytypedisplay:
  12208. type: string
  12209. zscurrencytypedisplayunit:
  12210. type: string
  12211. zscuttype1display:
  12212. type: string
  12213. zscuttype2display:
  12214. type: string
  12215. zsczcolor1typedisplay:
  12216. type: string
  12217. zsczcolor2typedisplay:
  12218. type: string
  12219. zsczcolor3typedisplay:
  12220. type: string
  12221. zsfluorescencetype1display:
  12222. type: string
  12223. zsfluorescencetype2display:
  12224. type: string
  12225. zspolishtype1display:
  12226. type: string
  12227. zspolishtype2display:
  12228. type: string
  12229. zsshapetypedisplay:
  12230. type: string
  12231. zsstyletypedisplay:
  12232. type: string
  12233. zssymmetrytype1display:
  12234. type: string
  12235. zssymmetrytype2display:
  12236. type: string
  12237. required:
  12238. - userid
  12239. type: object
  12240. models.MyWRPosition:
  12241. properties:
  12242. cerno:
  12243. description: 证书编号 - 类型:2,4,5
  12244. type: string
  12245. cpcertno:
  12246. description: 金伯利证书编号 - 类型:3
  12247. type: string
  12248. ffreezeqty:
  12249. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12250. type: number
  12251. ftotalqty:
  12252. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12253. type: number
  12254. goodsno:
  12255. description: 商品编号
  12256. type: string
  12257. imagepath:
  12258. description: 商品照片(相对地址)
  12259. type: string
  12260. isvalid:
  12261. description: 是否有效 - 0:无效 1:有效
  12262. type: integer
  12263. kppath:
  12264. description: 金伯利证书图片(相对地址) - 类型:3
  12265. type: string
  12266. kpweight:
  12267. description: 金伯利证书重量 - 类型:3
  12268. type: string
  12269. ladingbillid:
  12270. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12271. type: string
  12272. marketflag:
  12273. description: 是否上架,0-全部 1-是 2-否
  12274. type: integer
  12275. marketprice:
  12276. description: 市场价
  12277. type: string
  12278. origin:
  12279. description: 原产地 - 类型:3
  12280. type: string
  12281. price:
  12282. description: 总价(价格) - 类型:1,2,3,4,5
  12283. type: number
  12284. priceper:
  12285. description: 克拉单价 - 类型:1,2,3,5
  12286. type: string
  12287. remark:
  12288. description: 备注
  12289. type: string
  12290. sellmobile:
  12291. description: 手机号码(加密存储)
  12292. type: string
  12293. sellusername:
  12294. description: 账户名称(机构名称)
  12295. type: string
  12296. settingmaterial:
  12297. description: 镶嵌材料 - 类型:4
  12298. type: string
  12299. size1:
  12300. description: 尺寸1 - 类型:2,4,5
  12301. type: string
  12302. size2:
  12303. description: 尺寸2 - 类型:2,4,5
  12304. type: string
  12305. size3:
  12306. description: 尺寸3 - 类型:2,4,5
  12307. type: string
  12308. stonedesc:
  12309. description: 配石描述 - 类型:4
  12310. type: string
  12311. subnum:
  12312. description: 提单子单号
  12313. type: integer
  12314. userid:
  12315. description: 用户ID
  12316. type: integer
  12317. warehouseid:
  12318. description: 仓库ID
  12319. type: integer
  12320. warehousenamedisplay:
  12321. type: string
  12322. weight:
  12323. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12324. type: number
  12325. weightavg:
  12326. description: 平均单颗重量 - 类型:1,3
  12327. type: number
  12328. wrpath:
  12329. description: 仓单扫描件(相对地址)
  12330. type: string
  12331. wrstandardid:
  12332. description: 现货商品ID
  12333. type: integer
  12334. wrtradeorderid:
  12335. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12336. type: string
  12337. wruserid:
  12338. description: 登录用户ID
  12339. type: integer
  12340. zscategory:
  12341. description: 钻石分类 - 枚举”ZSCategory“
  12342. type: integer
  12343. zscategorydisplay:
  12344. type: string
  12345. zscerttype:
  12346. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12347. type: integer
  12348. zscerttypedisplay:
  12349. type: string
  12350. zsclaritytype1:
  12351. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12352. type: integer
  12353. zsclaritytype1display:
  12354. type: string
  12355. zsclaritytype2:
  12356. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12357. type: integer
  12358. zsclaritytype2display:
  12359. type: string
  12360. zscolortype1:
  12361. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12362. type: integer
  12363. zscolortype1display:
  12364. type: string
  12365. zscolortype2:
  12366. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12367. type: integer
  12368. zscolortype2display:
  12369. type: string
  12370. zscrystaltype:
  12371. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12372. type: string
  12373. zscrystaltypedisplay:
  12374. type: string
  12375. zscurrencytype:
  12376. description: 货币类型 - 枚举“ZSCurrencyType”
  12377. type: integer
  12378. zscurrencytypedisplay:
  12379. type: string
  12380. zscurrencytypedisplayunit:
  12381. type: string
  12382. zscuttype1:
  12383. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12384. type: integer
  12385. zscuttype1display:
  12386. type: string
  12387. zscuttype2:
  12388. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12389. type: integer
  12390. zscuttype2display:
  12391. type: string
  12392. zsczcolor1type:
  12393. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12394. type: integer
  12395. zsczcolor1typedisplay:
  12396. type: string
  12397. zsczcolor2type:
  12398. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12399. type: integer
  12400. zsczcolor2typedisplay:
  12401. type: string
  12402. zsczcolor3type:
  12403. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12404. type: integer
  12405. zsczcolor3typedisplay:
  12406. type: string
  12407. zsfluorescencetype1:
  12408. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12409. type: integer
  12410. zsfluorescencetype1display:
  12411. type: string
  12412. zsfluorescencetype2:
  12413. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12414. type: integer
  12415. zsfluorescencetype2display:
  12416. type: string
  12417. zspolishtype1:
  12418. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12419. type: integer
  12420. zspolishtype1display:
  12421. type: string
  12422. zspolishtype2:
  12423. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12424. type: integer
  12425. zspolishtype2display:
  12426. type: string
  12427. zsshapetype:
  12428. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12429. type: string
  12430. zsshapetypedisplay:
  12431. type: string
  12432. zsstyletype:
  12433. description: 款式 - 类型:4
  12434. type: integer
  12435. zsstyletypedisplay:
  12436. type: string
  12437. zssymmetrytype1:
  12438. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12439. type: integer
  12440. zssymmetrytype1display:
  12441. type: string
  12442. zssymmetrytype2:
  12443. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12444. type: integer
  12445. zssymmetrytype2display:
  12446. type: string
  12447. required:
  12448. - wruserid
  12449. type: object
  12450. models.NewFuncmenulist:
  12451. properties:
  12452. authtype:
  12453. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12454. type: integer
  12455. buttonname:
  12456. description: 按钮名称
  12457. type: string
  12458. buttontype:
  12459. description: 按钮类型 - 存按钮样式
  12460. type: string
  12461. component:
  12462. description: 组件名或组件地址
  12463. type: string
  12464. hidden:
  12465. description: 是否隐藏 - 0:显示 1:隐藏
  12466. type: integer
  12467. iconame:
  12468. description: 菜单图标
  12469. type: string
  12470. menutype:
  12471. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12472. type: integer
  12473. parentcode:
  12474. description: 上级资源代码
  12475. type: string
  12476. remark:
  12477. description: Remark
  12478. type: string
  12479. resourcecode:
  12480. description: 资源代码
  12481. type: string
  12482. resourcelevel:
  12483. description: 级别1-一级 2-二级 3-三级4-四级
  12484. type: integer
  12485. resourcename:
  12486. description: 资源名(Title)
  12487. type: string
  12488. sort:
  12489. description: 排序
  12490. type: integer
  12491. url:
  12492. description: Url
  12493. type: string
  12494. urltype:
  12495. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12496. type: integer
  12497. required:
  12498. - resourcecode
  12499. type: object
  12500. models.OperationPrimaryMenu:
  12501. properties:
  12502. Children:
  12503. description: 二级功能菜单
  12504. items:
  12505. $ref: '#/definitions/models.OperationSecondaryMenu'
  12506. type: array
  12507. Key:
  12508. description: 菜单KEY
  12509. type: string
  12510. Label:
  12511. description: 菜单标题
  12512. type: string
  12513. type: object
  12514. models.OperationSecondaryMenu:
  12515. properties:
  12516. Key:
  12517. description: 菜单KEY
  12518. type: string
  12519. Label:
  12520. description: 菜单标题
  12521. type: string
  12522. TabList:
  12523. description: 三级功能菜单
  12524. items:
  12525. $ref: '#/definitions/models.OperationTabMenu'
  12526. type: array
  12527. type: object
  12528. models.OperationTabMenu:
  12529. properties:
  12530. Key:
  12531. description: 菜单KEY
  12532. type: string
  12533. Label:
  12534. description: 菜单标题
  12535. type: string
  12536. type: object
  12537. models.Patradelinkdetail:
  12538. properties:
  12539. accountname:
  12540. description: 套期主体
  12541. type: string
  12542. agreeunit:
  12543. description: 合约乘数
  12544. type: number
  12545. amount:
  12546. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12547. type: number
  12548. areauserid:
  12549. description: 所属机构
  12550. type: integer
  12551. bizsubjectid:
  12552. description: 归属业务部门ID - SubjectID
  12553. type: integer
  12554. buyorsell:
  12555. description: 方向 - 0:买 1:卖
  12556. type: integer
  12557. convertratio:
  12558. description: 品种系数
  12559. type: number
  12560. convertratiochange:
  12561. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12562. type: number
  12563. createtime:
  12564. description: '[日期时间]创建时间'
  12565. type: string
  12566. creatorid:
  12567. description: 创建人ID
  12568. type: integer
  12569. creatorsrc:
  12570. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12571. type: integer
  12572. goodscode:
  12573. description: 商品代码(内部)
  12574. type: string
  12575. goodsgroupid:
  12576. description: 对冲品种ID[期货合约商品组ID]
  12577. type: integer
  12578. goodsid:
  12579. description: 商品ID
  12580. type: integer
  12581. hedgeditemid:
  12582. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12583. type: integer
  12584. hedgeflag:
  12585. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12586. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12587. type: integer
  12588. linkdetailid:
  12589. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12590. type: string
  12591. linkstatus:
  12592. description: 关联状态 - 1:成功 2:失败 3:解绑
  12593. type: integer
  12594. middlegoodsid:
  12595. description: 套保品种ID
  12596. type: integer
  12597. name:
  12598. description: 账户名/子账户
  12599. type: string
  12600. optioncode:
  12601. description: '[期货合约]期权代码 [期权]'
  12602. type: string
  12603. ordertype:
  12604. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12605. type: integer
  12606. relatedlot:
  12607. description: '[数量]关联手数'
  12608. type: number
  12609. relatedmode:
  12610. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12611. type: integer
  12612. relatedqty:
  12613. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12614. type: number
  12615. retcode:
  12616. description: 返回码
  12617. type: integer
  12618. saleuserid:
  12619. description: 业务员ID
  12620. type: integer
  12621. tradedate:
  12622. description: 关联交易日(yyyyMMdd)
  12623. type: string
  12624. tradeid:
  12625. description: '[成交单号]内部成交单ID'
  12626. type: string
  12627. tradelot:
  12628. description: 成交手数
  12629. type: integer
  12630. tradeprice:
  12631. description: '[价格]成交价格'
  12632. type: number
  12633. tradetradedate:
  12634. description: 成交交易日(yyyyMMdd)
  12635. type: string
  12636. type: object
  12637. models.QhjAccountOutInApply:
  12638. properties:
  12639. accountcode:
  12640. description: 资金账号
  12641. type: string
  12642. accountname:
  12643. description: 用户名称(名称)
  12644. type: string
  12645. accountpwd:
  12646. description: 资金密码
  12647. type: string
  12648. accountticket:
  12649. description: 最新账户服务流水号
  12650. type: string
  12651. amount:
  12652. description: 金额
  12653. type: number
  12654. applyremark:
  12655. description: 申请备注
  12656. type: string
  12657. applystatus:
  12658. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12659. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12660. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12661. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12662. type: integer
  12663. auditid:
  12664. description: 审核人
  12665. type: integer
  12666. audittime:
  12667. description: 审核时间
  12668. type: string
  12669. bank_apply_ticket:
  12670. description: 银行申请流水
  12671. type: string
  12672. bankaccountname:
  12673. description: 银行账户名
  12674. type: string
  12675. bankaccountno:
  12676. description: 银行卡号
  12677. type: string
  12678. bankid:
  12679. description: 银行编号
  12680. type: string
  12681. bankticket:
  12682. description: 银行流水
  12683. type: string
  12684. branchbankid:
  12685. description: 银行支行号
  12686. type: string
  12687. branchbankname:
  12688. description: 银行支行名称
  12689. type: string
  12690. capamountout:
  12691. description: 出金(劣后本金) - 外部子账户
  12692. type: number
  12693. certificatephotourl:
  12694. description: 凭证地址
  12695. type: string
  12696. charge:
  12697. description: 手续费
  12698. type: number
  12699. checkerrorflag:
  12700. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12701. type: integer
  12702. currency:
  12703. description: 币种
  12704. type: string
  12705. cusbankid:
  12706. description: 托管银行编号
  12707. type: string
  12708. cusbankname:
  12709. description: 托管银行名称
  12710. type: string
  12711. cusbankshortname:
  12712. description: 托管银行简称
  12713. type: string
  12714. exchticket:
  12715. description: 银行服务流水号
  12716. type: string
  12717. executetype:
  12718. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12719. 7:外部子账户:入金 8:外部子账户:出金'
  12720. type: integer
  12721. extendinfo:
  12722. description: 扩展信息
  12723. type: string
  12724. extoperateid:
  12725. description: 交易服务流水号
  12726. type: integer
  12727. infamount:
  12728. description: 劣后金额(自有)
  12729. type: number
  12730. logincode:
  12731. description: 登录账号(账号)
  12732. type: string
  12733. netaddr:
  12734. description: 调转网址
  12735. type: string
  12736. priamount:
  12737. description: 优先金额(授信)
  12738. type: number
  12739. reauditid:
  12740. description: 复审人
  12741. type: integer
  12742. reauditremark:
  12743. description: 复审备注
  12744. type: string
  12745. reaudittime:
  12746. description: 复审时间
  12747. type: string
  12748. relatedorderid:
  12749. description: 三方关联ID
  12750. type: string
  12751. remark:
  12752. description: 备注
  12753. type: string
  12754. remark2:
  12755. description: 备注(失败原因)
  12756. type: string
  12757. soucreamount:
  12758. description: 原始出入金金额
  12759. type: number
  12760. soucrecurrencyid:
  12761. description: 原始出入金币种
  12762. type: integer
  12763. tradedate:
  12764. description: 交易日(yyyyMMdd)
  12765. type: string
  12766. updatetime:
  12767. description: 更新时间(申请时间)
  12768. type: string
  12769. userid:
  12770. description: 用户id
  12771. type: integer
  12772. userinfotype:
  12773. description: 账户类型 1-个人 2-企业
  12774. type: integer
  12775. type: object
  12776. models.QhjAgreementChangeLog:
  12777. properties:
  12778. agreementcontent:
  12779. description: 协议内容
  12780. type: string
  12781. agreementfrequency:
  12782. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12783. type: integer
  12784. agreementid:
  12785. description: 协议ID
  12786. type: integer
  12787. agreementname:
  12788. description: 协议名称
  12789. type: string
  12790. agreementno:
  12791. description: 协议编号
  12792. type: string
  12793. agreementtype:
  12794. description: 协议类型 - 1:注册 2:登录 3:交易
  12795. type: integer
  12796. agreementversion:
  12797. description: 协议版本号
  12798. type: integer
  12799. logid:
  12800. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12801. type: integer
  12802. reviserid:
  12803. description: 修改人
  12804. type: integer
  12805. revisersrc:
  12806. description: 修改来源 - 1:管理端 2:终端
  12807. type: integer
  12808. updatetime:
  12809. description: 更新时间
  12810. type: string
  12811. type: object
  12812. models.QhjAgreementConfig:
  12813. properties:
  12814. agreementcontent:
  12815. description: 协议内容
  12816. type: string
  12817. agreementfrequency:
  12818. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12819. type: integer
  12820. agreementid:
  12821. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12822. type: integer
  12823. agreementname:
  12824. description: 协议名称
  12825. type: string
  12826. agreementno:
  12827. description: 协议编号
  12828. type: string
  12829. agreementtype:
  12830. description: 协议类型 - 1:注册 2:登录 3:交易
  12831. type: integer
  12832. agreementversion:
  12833. description: 协议版本号(从1开始每次修改加1)
  12834. type: integer
  12835. createtime:
  12836. description: 创建时间
  12837. type: string
  12838. creatorid:
  12839. description: 创建人
  12840. type: integer
  12841. creatorsrc:
  12842. description: 创建来源 - 1:管理端 2:终端
  12843. type: integer
  12844. isvalid:
  12845. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12846. type: integer
  12847. reviserid:
  12848. description: 修改人
  12849. type: integer
  12850. revisersrc:
  12851. description: 修改来源 - 1:管理端 2:终端
  12852. type: integer
  12853. updatetime:
  12854. description: 更新时间
  12855. type: string
  12856. type: object
  12857. models.QhjAreaFinanceConfig:
  12858. properties:
  12859. additionalratio:
  12860. description: 追加款比例
  12861. type: number
  12862. advanceratio:
  12863. description: 预付款比例
  12864. type: number
  12865. alarmratio:
  12866. description: 告警比例
  12867. type: number
  12868. consumptiondirectreward:
  12869. description: 消费直推奖励值
  12870. type: number
  12871. consumptionenabled:
  12872. description: 是否启用消费奖励 - 0:不启用 1:启用
  12873. type: integer
  12874. consumptionindirectreward:
  12875. description: 消费间推奖励值
  12876. type: number
  12877. consumptionmodel:
  12878. description: 消费奖励方式 - 1:比率 2:固定
  12879. type: integer
  12880. customerservicenum:
  12881. description: 客服电话
  12882. type: string
  12883. dayinterestrate:
  12884. description: 日利率
  12885. type: number
  12886. disableconsumptiontips:
  12887. description: 关闭消费奖励提示
  12888. type: string
  12889. modifierid:
  12890. description: 修改人ID
  12891. type: integer
  12892. modifysrc:
  12893. description: 审核来源 - 1:管理端 2:终端
  12894. type: integer
  12895. modifytime:
  12896. description: 修改时间
  12897. type: string
  12898. promotionvalue:
  12899. description: 推广奖励值(固定)
  12900. type: number
  12901. scoreconfigvalue1:
  12902. description: 提货积分配置1
  12903. type: integer
  12904. scoreconfigvalue2:
  12905. description: 提货积分配置2
  12906. type: integer
  12907. userid:
  12908. description: 机构用户ID其他做市关系,都设置为 1
  12909. type: integer
  12910. username:
  12911. description: 用户名称
  12912. type: string
  12913. type: object
  12914. models.QhjBankAccountSign:
  12915. properties:
  12916. accountcode:
  12917. description: 资金账号
  12918. type: string
  12919. accountname:
  12920. description: 资金账号对应的账号名(UserName)
  12921. type: string
  12922. accountname2:
  12923. description: 资金账号对应的账号名(UserName) - 密文
  12924. type: string
  12925. accounttype:
  12926. description: 账户类型(UserType)
  12927. type: integer
  12928. applicationtime:
  12929. description: 最后一次更新的时间
  12930. type: string
  12931. applyexchticket:
  12932. description: 申请流水
  12933. type: string
  12934. auditid:
  12935. description: 审核人
  12936. type: integer
  12937. audittime:
  12938. description: 审核时间
  12939. type: string
  12940. bankaccountname:
  12941. description: 签约银行卡账号名
  12942. type: string
  12943. bankaccountname2:
  12944. description: 签约银行卡账号名 - 密文
  12945. type: string
  12946. bankaccountno:
  12947. description: 银行卡号
  12948. type: string
  12949. bankaccountno2:
  12950. description: 银行卡号 - 密文
  12951. type: string
  12952. bankaccounttype:
  12953. description: 银行账户类型 - 1-对私; 2-对公
  12954. type: integer
  12955. bankcardtype:
  12956. description: 银行卡类型
  12957. type: integer
  12958. bankchildaccount:
  12959. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  12960. type: string
  12961. bankcity:
  12962. description: 开户行城市
  12963. type: string
  12964. bankid:
  12965. description: 签约银行ID
  12966. type: string
  12967. bankname:
  12968. description: 签约银行名称
  12969. type: string
  12970. bankprovince:
  12971. description: 开户行省份
  12972. type: string
  12973. branchbankid:
  12974. description: 签约银行支行号
  12975. type: string
  12976. branchbankname:
  12977. description: 签约银行支行名称
  12978. type: string
  12979. cardno:
  12980. description: 证件号码
  12981. type: string
  12982. cardno2:
  12983. description: 证件号码 - 密文
  12984. type: string
  12985. cardtype:
  12986. description: 证件类型
  12987. type: string
  12988. currency:
  12989. description: 币种
  12990. type: string
  12991. cusbankid:
  12992. description: 托管银行编号
  12993. type: string
  12994. direct:
  12995. description: 方向(可以判断那方先发起的签约)
  12996. type: integer
  12997. exchticket:
  12998. description: 最后一次签约成功的流水号
  12999. type: string
  13000. extendinfo:
  13001. description: 扩展信息(JSON字符串)
  13002. type: string
  13003. mobilephone:
  13004. description: 手机号
  13005. type: string
  13006. mobilephone2:
  13007. description: 手机号 - 密文
  13008. type: string
  13009. netaddr:
  13010. description: 调转网址
  13011. type: string
  13012. relateduserid:
  13013. description: 关联使用者userid
  13014. type: integer
  13015. signstatus:
  13016. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13017. 10:审核拒绝 11:换签待审核
  13018. type: integer
  13019. updatetime:
  13020. description: 更新时间(签解约更新时间)
  13021. type: string
  13022. type: object
  13023. models.QhjBankInfo:
  13024. properties:
  13025. bankid:
  13026. description: 银行ID
  13027. type: string
  13028. bankname:
  13029. description: 银行名称
  13030. type: string
  13031. clearbankno:
  13032. description: 清算系统银行编号
  13033. type: string
  13034. orderindex:
  13035. description: 排序顺序
  13036. type: integer
  13037. status:
  13038. description: 状态 - 0:正常 1:注销
  13039. type: integer
  13040. type: object
  13041. models.QhjBrokerApply:
  13042. properties:
  13043. applicantid:
  13044. description: 申请人
  13045. type: integer
  13046. applysrc:
  13047. description: 申请来源 - 1:管理端 2:终端
  13048. type: integer
  13049. applystatus:
  13050. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13051. type: integer
  13052. applytime:
  13053. description: 申请时间
  13054. type: string
  13055. auditorid:
  13056. description: 审核人
  13057. type: integer
  13058. auditremark:
  13059. description: 审核备注
  13060. type: string
  13061. auditsrc:
  13062. description: 审核来源 - 1:管理端 2:终端
  13063. type: integer
  13064. audittime:
  13065. description: 审核时间
  13066. type: string
  13067. audittradedate:
  13068. description: 审核交易日(yyyyMMdd)
  13069. type: string
  13070. brokerapplyid:
  13071. description: 申请ID(SEQ_BROKERAPPLY)
  13072. type: integer
  13073. cardbackphotourl:
  13074. description: 证件背面图片地址
  13075. type: string
  13076. cardfrontphotourl:
  13077. description: 证件正面图片地址
  13078. type: string
  13079. cardnum:
  13080. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13081. type: string
  13082. customername:
  13083. description: 姓名
  13084. type: string
  13085. logincode:
  13086. description: 登录代码
  13087. type: string
  13088. mobile:
  13089. description: 手机号码
  13090. type: string
  13091. parentuserid:
  13092. description: 所属机构id
  13093. type: integer
  13094. parentusername:
  13095. description: 所属机构名称
  13096. type: string
  13097. refereeuserid:
  13098. description: 推荐人id(经纪人)
  13099. type: integer
  13100. refernum:
  13101. description: 推荐码
  13102. type: string
  13103. remark:
  13104. description: 备注
  13105. type: string
  13106. subarealevelpath:
  13107. description: 层级路径
  13108. type: string
  13109. tradedate:
  13110. description: 交易日(yyyyMMdd)
  13111. type: string
  13112. userid:
  13113. description: 申请人用户ID
  13114. type: integer
  13115. userinfotype:
  13116. description: 用户类型 1-个人 2-企业
  13117. type: integer
  13118. username:
  13119. description: 用户名称
  13120. type: string
  13121. type: object
  13122. models.QhjBrokerApplyEx:
  13123. properties:
  13124. applylist:
  13125. description: 经纪人申请记录(只返回最新一条)
  13126. items:
  13127. $ref: '#/definitions/models.QhjBrokerApply'
  13128. type: array
  13129. canrecommend:
  13130. description: 是否经纪人 0-不是 1-是
  13131. type: integer
  13132. refernum:
  13133. description: 推荐码
  13134. type: string
  13135. userid:
  13136. description: 用户id
  13137. type: integer
  13138. userinfotype:
  13139. description: 用户类型 1-个人 2-企业
  13140. type: integer
  13141. type: object
  13142. models.QhjBrokerRewardLog:
  13143. properties:
  13144. accountid:
  13145. description: 资金账号ID
  13146. type: integer
  13147. createtime:
  13148. description: 创建时间(时间)
  13149. type: string
  13150. handlestatus:
  13151. description: 处理状态
  13152. type: integer
  13153. logid:
  13154. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13155. type: string
  13156. marketid:
  13157. description: 市场ID
  13158. type: integer
  13159. mmaccountid:
  13160. description: 做市商资金账号ID
  13161. type: string
  13162. mmuserid:
  13163. description: 做市商用户ID
  13164. type: string
  13165. rewardamount:
  13166. description: 奖励金额
  13167. type: number
  13168. rewardmodel:
  13169. description: 消费奖励方式 - 1:比率 2:固定
  13170. type: integer
  13171. rewardtype:
  13172. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13173. type: integer
  13174. rewardvalue:
  13175. description: 配置奖励值
  13176. type: number
  13177. srcamount:
  13178. description: 成交金额 [消费奖励] (金额)
  13179. type: number
  13180. srcgoodsid:
  13181. description: 来源商品ID [消费奖励]
  13182. type: string
  13183. srctime:
  13184. description: 来源时间 (成交时间) [消费奖励]
  13185. type: string
  13186. srctradeid:
  13187. description: 来源成交单ID [消费奖励] - 排除提货成交
  13188. type: string
  13189. srcuserid:
  13190. description: 来源用户ID(推广账户)
  13191. type: string
  13192. srcusername:
  13193. description: 推广账户名称
  13194. type: string
  13195. tradedate:
  13196. description: 交易日(yyyyMMdd)
  13197. type: string
  13198. userid:
  13199. description: 经纪人用户ID
  13200. type: integer
  13201. type: object
  13202. models.QhjContract:
  13203. properties:
  13204. contractconfirmtime:
  13205. description: 合同确认时间(时间)
  13206. type: string
  13207. currisklevel:
  13208. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13209. type: integer
  13210. decimalplace:
  13211. description: 商品报价小数位
  13212. type: integer
  13213. enumdicname:
  13214. description: 单位名称
  13215. type: string
  13216. goodscode:
  13217. description: 商品代码
  13218. type: string
  13219. goodsid:
  13220. description: 商品ID [5:融资单]
  13221. type: integer
  13222. goodsname:
  13223. description: 商品名称
  13224. type: string
  13225. goodunitid:
  13226. description: 商品单位id
  13227. type: integer
  13228. initmargin:
  13229. description: 初始保证金(首付款)
  13230. type: number
  13231. lenderamount:
  13232. description: 贷款金额(总额|订单总额)
  13233. type: number
  13234. marginratio:
  13235. description: 保证金比率(首付比例)
  13236. type: number
  13237. payamount:
  13238. description: 已付(已付货款)
  13239. type: number
  13240. reckonrecovermargin:
  13241. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13242. type: number
  13243. recoveredmargin:
  13244. description: 已追缴保证金
  13245. type: number
  13246. remainamount:
  13247. description: 合同剩余金额(融资额)
  13248. type: number
  13249. scfcontractid:
  13250. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13251. type: string
  13252. scfcontractstatus:
  13253. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13254. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13255. type: integer
  13256. scfcontracttype:
  13257. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13258. type: integer
  13259. totalinterest:
  13260. description: 已计总利息(利息)
  13261. type: number
  13262. tradeprice:
  13263. description: 成交价格(成本价格)
  13264. type: number
  13265. userid:
  13266. description: 用户ID
  13267. type: integer
  13268. username:
  13269. description: 用户名称
  13270. type: string
  13271. wrqty:
  13272. description: 仓单数量(数量)
  13273. type: number
  13274. type: object
  13275. models.QhjContractLog:
  13276. properties:
  13277. amount:
  13278. description: 支付金额
  13279. type: number
  13280. amounttype:
  13281. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13282. type: integer
  13283. logid:
  13284. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13285. type: string
  13286. remainamount:
  13287. description: 剩余货款
  13288. type: number
  13289. scfcontractid:
  13290. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13291. type: integer
  13292. updatetime:
  13293. description: 更新时间
  13294. type: string
  13295. type: object
  13296. models.QhjCusBankSignBankEx:
  13297. properties:
  13298. banklst:
  13299. description: 银行列表
  13300. items:
  13301. $ref: '#/definitions/models.QhjBankInfo'
  13302. type: array
  13303. canallot:
  13304. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13305. type: integer
  13306. canallotquery:
  13307. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13308. type: integer
  13309. canbindcard:
  13310. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13311. type: integer
  13312. caninamount:
  13313. description: 是否可入金 - 0:不可 1:可以
  13314. type: integer
  13315. caninamount2:
  13316. description: 是否可入金(网银端) - 0:不可 1:可以
  13317. type: integer
  13318. canmodifybankcard:
  13319. description: 是否可修改银行卡号 - 0:不可 1:可以
  13320. type: integer
  13321. canmodifyphone:
  13322. description: 是否可修改手机号 - 0:不可 1:可以
  13323. type: integer
  13324. canmodifysigninfo:
  13325. description: 是否可修改签约信息 - 0:不可 1:可以
  13326. type: integer
  13327. canoutamount:
  13328. description: 是否可出金 - 0:不可 1:可以
  13329. type: integer
  13330. canoutamount2:
  13331. description: 是否可出金(网银端) - 0:不可 1:可以
  13332. type: integer
  13333. canrelease:
  13334. description: 是否可解约 - 0:不可 1:可以
  13335. type: integer
  13336. canrelease2:
  13337. description: 是否可解约(网银端) - 0:不可 1:可以
  13338. type: integer
  13339. cansign:
  13340. description: 是否可签约 - 0:不可 1:可以
  13341. type: integer
  13342. cansign2:
  13343. description: 是否可签约(网银端) - 0:不可 1:可以
  13344. type: integer
  13345. currency:
  13346. description: 币种
  13347. type: string
  13348. cusbankid:
  13349. description: 托管银行编号(对应清算中心TRAN_NO)
  13350. type: string
  13351. cusbankname:
  13352. description: 银行业务名称
  13353. type: string
  13354. cusbankshortname:
  13355. description: 银行业务简称
  13356. type: string
  13357. exchbankid:
  13358. description: 交易所开户银行ID
  13359. type: string
  13360. exchpaybankaccname:
  13361. description: 交易所支出结算账户户名
  13362. type: string
  13363. exchpaybankaccno:
  13364. description: 交易所支出结算账户
  13365. type: string
  13366. isneedcheck:
  13367. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13368. type: integer
  13369. isneedclear:
  13370. description: 是否需要清算 - 0:不需要 1:需要
  13371. type: integer
  13372. lastcheckstatus:
  13373. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13374. type: integer
  13375. lastchecktime:
  13376. description: 最后对账时间
  13377. type: string
  13378. lastclearstatus:
  13379. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13380. type: integer
  13381. lastcleartime:
  13382. description: 最后清算时间
  13383. type: string
  13384. lastsignintime:
  13385. description: 最后签到时间
  13386. type: string
  13387. lastsignouttime:
  13388. description: 最后签退时间
  13389. type: string
  13390. riskinfo:
  13391. description: 签约风险提示书
  13392. type: string
  13393. signstatus:
  13394. description: 当前签到/签退状态 - 1:签到 2:签退
  13395. type: integer
  13396. tradedate:
  13397. description: 交易日(yyyyMMdd)
  13398. type: string
  13399. updatetime:
  13400. description: 当前签到/签退更新时间
  13401. type: string
  13402. type: object
  13403. models.QhjCustomer:
  13404. properties:
  13405. address:
  13406. description: 通讯地址
  13407. type: string
  13408. attachment1:
  13409. description: 附件1
  13410. type: string
  13411. attachment2:
  13412. description: 附件2
  13413. type: string
  13414. audittime:
  13415. description: 审核时间
  13416. type: string
  13417. cardbackphotourl:
  13418. description: 证件反面图片地址
  13419. type: string
  13420. cardfrontphotourl:
  13421. description: 证件正面图片地址
  13422. type: string
  13423. cardnum:
  13424. description: 证件号码
  13425. type: string
  13426. cardtype:
  13427. description: 证件类型
  13428. type: integer
  13429. cardtypename:
  13430. description: 证件类型名称
  13431. type: string
  13432. cityid:
  13433. description: 市
  13434. type: integer
  13435. cityname:
  13436. description: 城市名称
  13437. type: string
  13438. contactname:
  13439. description: 联系人
  13440. type: string
  13441. countryid:
  13442. description: 国家
  13443. type: integer
  13444. countryname:
  13445. description: 国家名称
  13446. type: string
  13447. createtime:
  13448. description: 创建时间
  13449. type: string
  13450. customername:
  13451. description: 客户名称
  13452. type: string
  13453. districtid:
  13454. description: 区域
  13455. type: integer
  13456. districtname:
  13457. description: 地区名称
  13458. type: string
  13459. email:
  13460. description: 邮件
  13461. type: string
  13462. legalpersonname:
  13463. description: 法人姓名(企业)
  13464. type: string
  13465. logincode:
  13466. description: 登录账号(代码)
  13467. type: string
  13468. memberuserid:
  13469. description: 所属机构ID(所属会员)
  13470. type: integer
  13471. memberusername:
  13472. description: 所属会员名称
  13473. type: string
  13474. mobile:
  13475. description: 手机号码
  13476. type: string
  13477. modifytime:
  13478. description: 修改时间
  13479. type: string
  13480. nickname:
  13481. description: 昵称
  13482. type: string
  13483. parentuserid:
  13484. description: 上级机构(所属机构)
  13485. type: integer
  13486. parentusername:
  13487. description: 所属机构名称
  13488. type: string
  13489. provinceid:
  13490. description: 省
  13491. type: integer
  13492. provincename:
  13493. description: 省名称
  13494. type: string
  13495. proxystatementurl:
  13496. description: 授权委托书
  13497. type: string
  13498. remark:
  13499. description: 备注
  13500. type: string
  13501. status:
  13502. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13503. type: integer
  13504. statusdesc:
  13505. description: 账户状态中文描述
  13506. type: string
  13507. taxpayernum:
  13508. description: 纳税人识别号
  13509. type: string
  13510. telphone:
  13511. description: 联系电话
  13512. type: string
  13513. userid:
  13514. description: 用户ID
  13515. type: integer
  13516. userinfotype:
  13517. description: 客户类型 1-个人 2-企业
  13518. type: integer
  13519. username:
  13520. description: 用户名称
  13521. type: string
  13522. type: object
  13523. models.QhjCustomerSignLog:
  13524. properties:
  13525. agreementcontent:
  13526. description: 协议内容
  13527. type: string
  13528. agreementid:
  13529. description: 协议ID
  13530. type: integer
  13531. agreementname:
  13532. description: 协议名称
  13533. type: string
  13534. agreementno:
  13535. description: 协议编号
  13536. type: string
  13537. agreementtype:
  13538. description: 协议类型 - 1:注册 2:登录 3:交易
  13539. type: integer
  13540. agreementversion:
  13541. description: 协议版本号
  13542. type: integer
  13543. createtime:
  13544. description: 创建时间
  13545. type: string
  13546. goodscode:
  13547. description: 商品代码
  13548. type: string
  13549. goodsid:
  13550. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13551. type: integer
  13552. goodsname:
  13553. description: 商品名称
  13554. type: string
  13555. logid:
  13556. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13557. type: integer
  13558. nodetype:
  13559. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13560. type: integer
  13561. signadressurl:
  13562. description: 签约文件地址
  13563. type: string
  13564. signtimestamp:
  13565. description: 签约状态时间戳
  13566. type: string
  13567. userid:
  13568. description: 客户ID
  13569. type: integer
  13570. username:
  13571. description: 客户名称
  13572. type: string
  13573. type: object
  13574. models.QhjCustomerSignStatus:
  13575. properties:
  13576. createtime:
  13577. description: 创建时间
  13578. type: string
  13579. goodscode:
  13580. description: 商品代码
  13581. type: string
  13582. goodsid:
  13583. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13584. type: integer
  13585. goodsname:
  13586. description: 商品名称
  13587. type: string
  13588. nodetype:
  13589. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13590. type: integer
  13591. signtimestamp:
  13592. description: 签约状态时间戳
  13593. type: string
  13594. tradedate:
  13595. description: 创建交易日(yyyyMMdd)
  13596. type: string
  13597. updatetime:
  13598. description: 更新时间
  13599. type: string
  13600. userid:
  13601. description: 客户ID
  13602. type: integer
  13603. username:
  13604. description: 客户名称
  13605. type: string
  13606. type: object
  13607. models.QhjMgrAccountOutInApply:
  13608. properties:
  13609. accountcode:
  13610. description: 资金账号
  13611. type: string
  13612. accountname:
  13613. description: 用户名称(名称)
  13614. type: string
  13615. accountpwd:
  13616. description: 资金密码
  13617. type: string
  13618. accountticket:
  13619. description: 最新账户服务流水号
  13620. type: string
  13621. amount:
  13622. description: 金额
  13623. type: number
  13624. applyremark:
  13625. description: 申请备注
  13626. type: string
  13627. applystatus:
  13628. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13629. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13630. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13631. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13632. type: integer
  13633. auditid:
  13634. description: 审核人
  13635. type: integer
  13636. audittime:
  13637. description: 审核时间
  13638. type: string
  13639. bank_apply_ticket:
  13640. description: 银行申请流水
  13641. type: string
  13642. bankaccountname:
  13643. description: 银行账户名
  13644. type: string
  13645. bankaccountno:
  13646. description: 银行卡号
  13647. type: string
  13648. bankid:
  13649. description: 银行编号
  13650. type: string
  13651. bankname:
  13652. description: 银行名称
  13653. type: string
  13654. bankticket:
  13655. description: 银行流水
  13656. type: string
  13657. branchbankid:
  13658. description: 银行支行号
  13659. type: string
  13660. branchbankname:
  13661. description: 银行支行名称
  13662. type: string
  13663. capamountout:
  13664. description: 出金(劣后本金) - 外部子账户
  13665. type: number
  13666. certificatephotourl:
  13667. description: 凭证地址
  13668. type: string
  13669. charge:
  13670. description: 手续费
  13671. type: number
  13672. checkerrorflag:
  13673. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13674. type: integer
  13675. currency:
  13676. description: 币种
  13677. type: string
  13678. cusbankid:
  13679. description: 托管银行编号
  13680. type: string
  13681. exchticket:
  13682. description: 银行服务流水号
  13683. type: string
  13684. executetype:
  13685. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13686. 7:外部子账户:入金 8:外部子账户:出金'
  13687. type: integer
  13688. extendinfo:
  13689. description: 扩展信息
  13690. type: string
  13691. extoperateid:
  13692. description: 交易服务流水号
  13693. type: integer
  13694. infamount:
  13695. description: 劣后金额(自有)
  13696. type: number
  13697. logincode:
  13698. description: 登录账号(账号)
  13699. type: string
  13700. netaddr:
  13701. description: 调转网址
  13702. type: string
  13703. priamount:
  13704. description: 优先金额(授信)
  13705. type: number
  13706. reauditid:
  13707. description: 复审人
  13708. type: integer
  13709. reauditremark:
  13710. description: 复审备注
  13711. type: string
  13712. reaudittime:
  13713. description: 复审时间
  13714. type: string
  13715. relatedorderid:
  13716. description: 三方关联ID
  13717. type: string
  13718. remark:
  13719. description: 备注
  13720. type: string
  13721. remark2:
  13722. description: 备注(失败原因)
  13723. type: string
  13724. soucreamount:
  13725. description: 原始出入金金额
  13726. type: number
  13727. soucrecurrencyid:
  13728. description: 原始出入金币种
  13729. type: integer
  13730. tradedate:
  13731. description: 交易日(yyyyMMdd)
  13732. type: string
  13733. updatetime:
  13734. description: 更新时间(申请时间)
  13735. type: string
  13736. userid:
  13737. description: 用户id
  13738. type: integer
  13739. userinfotype:
  13740. description: 账户类型 1-个人 2-企业
  13741. type: integer
  13742. type: object
  13743. models.QhjMgrBrokerApply:
  13744. properties:
  13745. applicantid:
  13746. description: 申请人
  13747. type: integer
  13748. applysrc:
  13749. description: 申请来源 - 1:管理端 2:终端
  13750. type: integer
  13751. applystatus:
  13752. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13753. type: integer
  13754. applytime:
  13755. description: 申请时间
  13756. type: string
  13757. auditorid:
  13758. description: 审核人
  13759. type: integer
  13760. auditremark:
  13761. description: 审核备注
  13762. type: string
  13763. auditsrc:
  13764. description: 审核来源 - 1:管理端 2:终端
  13765. type: integer
  13766. audittime:
  13767. description: 审核时间
  13768. type: string
  13769. audittradedate:
  13770. description: 审核交易日(yyyyMMdd)
  13771. type: string
  13772. brokerapplyid:
  13773. description: 申请ID(SEQ_BROKERAPPLY)
  13774. type: integer
  13775. cardbackphotourl:
  13776. description: 证件背面图片地址
  13777. type: string
  13778. cardfrontphotourl:
  13779. description: 证件正面图片地址
  13780. type: string
  13781. cardnum:
  13782. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13783. type: string
  13784. customername:
  13785. description: 姓名
  13786. type: string
  13787. filterstatus:
  13788. description: 筛选条件
  13789. type: string
  13790. logincode:
  13791. description: 登录代码
  13792. type: string
  13793. mobile:
  13794. description: 手机号码
  13795. type: string
  13796. parentuserid:
  13797. description: 所属机构id
  13798. type: integer
  13799. parentusername:
  13800. description: 所属机构名称
  13801. type: string
  13802. refereeuserid:
  13803. description: 推荐人id(经纪人)
  13804. type: integer
  13805. refernum:
  13806. description: 推荐码
  13807. type: string
  13808. remark:
  13809. description: 备注
  13810. type: string
  13811. subarealevelpath:
  13812. description: 层级路径
  13813. type: string
  13814. tradedate:
  13815. description: 交易日(yyyyMMdd)
  13816. type: string
  13817. userid:
  13818. description: 申请人用户ID
  13819. type: integer
  13820. userinfotype:
  13821. description: 用户类型 1-个人 2-企业
  13822. type: integer
  13823. username:
  13824. description: 用户名称
  13825. type: string
  13826. type: object
  13827. models.QhjMgrBrokerRewardReport:
  13828. properties:
  13829. createtime:
  13830. description: 创建时间(注册时间)
  13831. type: string
  13832. cycletime:
  13833. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13834. type: string
  13835. cycletype:
  13836. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13837. type: integer
  13838. directtotalnum:
  13839. description: 直推总人数【期末】
  13840. type: integer
  13841. indirecttotalnum:
  13842. description: 间推总人数【期末】
  13843. type: integer
  13844. mobile:
  13845. description: 电话号码
  13846. type: string
  13847. refereeuserid:
  13848. description: 推荐人id(经纪人id)
  13849. type: integer
  13850. refereeusername:
  13851. description: 推荐人名称(经纪人) 上级经纪人名称
  13852. type: string
  13853. refernum:
  13854. description: 推荐码
  13855. type: string
  13856. subarealevelpath:
  13857. description: 用户层级路径
  13858. type: string
  13859. todayrewardamount:
  13860. description: 奖励总金额【汇总】
  13861. type: number
  13862. updatetime:
  13863. description: 更新时间
  13864. type: string
  13865. userid:
  13866. description: 经纪人用户ID
  13867. type: integer
  13868. userinfotype:
  13869. description: 用户类型 1-个人 2-企业
  13870. type: integer
  13871. username:
  13872. description: 用户名称
  13873. type: string
  13874. type: object
  13875. models.QhjMgrContract:
  13876. properties:
  13877. contractconfirmtime:
  13878. description: 合同确认时间(时间)
  13879. type: string
  13880. currisklevel:
  13881. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13882. type: integer
  13883. decimalplace:
  13884. description: 商品报价小数位
  13885. type: integer
  13886. enumdicname:
  13887. description: 单位名称
  13888. type: string
  13889. goodscode:
  13890. description: 商品代码
  13891. type: string
  13892. goodsid:
  13893. description: 商品ID [5:融资单]
  13894. type: integer
  13895. goodsname:
  13896. description: 商品名称
  13897. type: string
  13898. goodunitid:
  13899. description: 商品单位id
  13900. type: integer
  13901. initmargin:
  13902. description: 初始保证金(首付款)
  13903. type: number
  13904. lenderamount:
  13905. description: 贷款金额(总额|订单总额)
  13906. type: number
  13907. logincode:
  13908. description: 账号(登录代码)
  13909. type: string
  13910. marginratio:
  13911. description: 保证金比率(首付比例)
  13912. type: number
  13913. mobile:
  13914. description: 电话号码(用户资料里的电话)
  13915. type: string
  13916. payamount:
  13917. description: 已付(已付货款)
  13918. type: number
  13919. reckonrecovermargin:
  13920. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13921. type: number
  13922. recoveredmargin:
  13923. description: 已追缴保证金
  13924. type: number
  13925. remainamount:
  13926. description: 合同剩余金额(融资额)
  13927. type: number
  13928. scfcontractid:
  13929. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13930. type: string
  13931. scfcontractstatus:
  13932. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13933. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13934. type: integer
  13935. scfcontracttype:
  13936. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13937. type: integer
  13938. totalinterest:
  13939. description: 已计总利息(利息)
  13940. type: number
  13941. tradedate:
  13942. description: 交易日
  13943. type: string
  13944. tradeprice:
  13945. description: 成交价格(成本价格)
  13946. type: number
  13947. userid:
  13948. description: 用户ID
  13949. type: integer
  13950. userinfotype:
  13951. description: 用户类型 1-个人 2-企业
  13952. type: integer
  13953. username:
  13954. description: 用户名称
  13955. type: string
  13956. wrqty:
  13957. description: 仓单数量(数量)
  13958. type: number
  13959. type: object
  13960. models.QhjMgrCustomer:
  13961. properties:
  13962. address:
  13963. description: 通讯地址
  13964. type: string
  13965. attachment1:
  13966. description: 附件1
  13967. type: string
  13968. audittime:
  13969. description: 审核时间
  13970. type: string
  13971. birthday:
  13972. description: 生日
  13973. type: string
  13974. brokerid:
  13975. description: 所属客户经理id
  13976. type: integer
  13977. brokername:
  13978. description: 所属客户经理名称
  13979. type: string
  13980. cardbackphotourl:
  13981. description: 证件反面图片地址
  13982. type: string
  13983. cardfrontphotourl:
  13984. description: 证件正面图片地址
  13985. type: string
  13986. cardnum:
  13987. description: 证件号码
  13988. type: string
  13989. cardtype:
  13990. description: 证件类型
  13991. type: integer
  13992. cardtypename:
  13993. description: 证件类型名称
  13994. type: string
  13995. cityid:
  13996. description: 市
  13997. type: integer
  13998. cityname:
  13999. description: 城市名称
  14000. type: string
  14001. contactname:
  14002. description: 联系人
  14003. type: string
  14004. countryid:
  14005. description: 国家
  14006. type: integer
  14007. countryname:
  14008. description: 国家名称
  14009. type: string
  14010. createtime:
  14011. description: 创建时间
  14012. type: string
  14013. customername:
  14014. description: 客户名称
  14015. type: string
  14016. districtid:
  14017. description: 区域
  14018. type: integer
  14019. districtname:
  14020. description: 地区名称
  14021. type: string
  14022. email:
  14023. description: 邮件
  14024. type: string
  14025. legalpersonname:
  14026. description: 法人姓名(企业)
  14027. type: string
  14028. logincode:
  14029. description: 登录账号(代码)
  14030. type: string
  14031. memberuserid:
  14032. description: 所属机构ID(所属会员)
  14033. type: integer
  14034. memberusername:
  14035. description: 所属会员名称
  14036. type: string
  14037. mobile:
  14038. description: 手机号码
  14039. type: string
  14040. modifytime:
  14041. description: 修改时间
  14042. type: string
  14043. nickname:
  14044. description: 昵称
  14045. type: string
  14046. parentuserid:
  14047. description: 上级机构(所属机构)
  14048. type: integer
  14049. parentusername:
  14050. description: 所属机构名称
  14051. type: string
  14052. provinceid:
  14053. description: 省
  14054. type: integer
  14055. provincename:
  14056. description: 省名称
  14057. type: string
  14058. proxystatementurl:
  14059. description: 授权委托书
  14060. type: string
  14061. querytype:
  14062. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14063. type: integer
  14064. remark:
  14065. description: 备注
  14066. type: string
  14067. sex:
  14068. description: 性别 0-女 1-男
  14069. type: integer
  14070. status:
  14071. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14072. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14073. type: integer
  14074. statusdesc:
  14075. description: 账户状态中文描述
  14076. type: string
  14077. taxpayernum:
  14078. description: 纳税人识别号
  14079. type: string
  14080. telphone:
  14081. description: 联系电话
  14082. type: string
  14083. userid:
  14084. description: 用户ID
  14085. type: integer
  14086. userinfotype:
  14087. description: 客户类型 1-个人 2-企业
  14088. type: integer
  14089. username:
  14090. description: 用户名称
  14091. type: string
  14092. type: object
  14093. models.QhjMgrPickGoods:
  14094. properties:
  14095. enumdicname:
  14096. description: 单位名称(提货商品)
  14097. type: string
  14098. goodsid:
  14099. description: 商品id
  14100. type: integer
  14101. imageaddress:
  14102. description: 图片
  14103. type: string
  14104. modifierid:
  14105. description: 修改人
  14106. type: integer
  14107. modifiername:
  14108. description: 修改人名称
  14109. type: string
  14110. modifysrc:
  14111. description: 修改来源 - 1:管理端 2:终端
  14112. type: integer
  14113. pickupgoodsagreeunit:
  14114. description: 合约乘数
  14115. type: number
  14116. pickupgoodsdesc:
  14117. description: 描述
  14118. type: string
  14119. pickupgoodsid:
  14120. description: 提货商品ID
  14121. type: string
  14122. pickupgoodsname:
  14123. description: 提货商品名称
  14124. type: string
  14125. pickupgoodsstatus:
  14126. description: 状态 - 1:正常 2:停用 3:注销
  14127. type: integer
  14128. pickupgoodsunitid:
  14129. description: 单位ID
  14130. type: integer
  14131. pickupratio:
  14132. description: 提货系数
  14133. type: number
  14134. preparedays:
  14135. description: 备货期(天)
  14136. type: integer
  14137. remark:
  14138. description: 备注
  14139. type: string
  14140. updatetime:
  14141. description: 更新时间
  14142. type: string
  14143. type: object
  14144. models.QhjMgrPositionRsp:
  14145. properties:
  14146. accountid:
  14147. description: 账号Id
  14148. type: integer
  14149. accountname:
  14150. description: 用户名称
  14151. type: string
  14152. agreeunit:
  14153. description: 合约乘数
  14154. type: number
  14155. averageprice:
  14156. description: 均价
  14157. type: number
  14158. avialqty:
  14159. description: 可用数量
  14160. type: number
  14161. decimalplace:
  14162. description: 报价小数位
  14163. type: integer
  14164. enumdicname:
  14165. description: 单位名称(商品)
  14166. type: string
  14167. frozenqty:
  14168. description: 冻结数量
  14169. type: number
  14170. goodscode:
  14171. description: 商品代码(内部)
  14172. type: string
  14173. goodsid:
  14174. description: 商品Id
  14175. type: integer
  14176. goodsname:
  14177. description: 商品名称
  14178. type: string
  14179. goodunitid:
  14180. description: 报价单位ID
  14181. type: integer
  14182. holderamount:
  14183. description: 金额
  14184. type: number
  14185. holderqty:
  14186. description: 持有数量
  14187. type: number
  14188. holdertype:
  14189. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14190. type: integer
  14191. logincode:
  14192. description: 登录代码(账户)
  14193. type: string
  14194. marketid:
  14195. description: 市场id
  14196. type: integer
  14197. qtydecimalplace:
  14198. description: 成交量小数位
  14199. type: integer
  14200. trademode:
  14201. description: 交易模式
  14202. type: integer
  14203. userid:
  14204. description: 用户id
  14205. type: integer
  14206. userinfotype:
  14207. description: 账户类型 1-个人 2-企业
  14208. type: integer
  14209. type: object
  14210. models.QhjMgrSubArea:
  14211. properties:
  14212. accountname:
  14213. description: 账户名称(机构名称)
  14214. type: string
  14215. memberuserid:
  14216. description: 所属会员ID
  14217. type: integer
  14218. parenttopuser:
  14219. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14220. type: string
  14221. parentuserid:
  14222. description: 所属机构ID
  14223. type: integer
  14224. rootuserid:
  14225. description: 根用户ID
  14226. type: string
  14227. subaccountlevel:
  14228. description: 子账户层数
  14229. type: integer
  14230. subarealevelpath:
  14231. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14232. type: string
  14233. userid:
  14234. description: 用户ID
  14235. type: integer
  14236. usertype:
  14237. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14238. type: integer
  14239. type: object
  14240. models.QhjMgrTradeDetailRsp:
  14241. properties:
  14242. accountid:
  14243. description: 资金账号
  14244. type: integer
  14245. accountname:
  14246. description: 用户名称
  14247. type: string
  14248. agreeunit:
  14249. description: 合约乘数
  14250. type: number
  14251. buyorsell:
  14252. description: 成交类型(方向) 0:买 1:卖
  14253. type: integer
  14254. decimalplace:
  14255. description: 报价小数位
  14256. type: integer
  14257. enumdicname:
  14258. description: 单位名称(商品)
  14259. type: string
  14260. goodscode:
  14261. description: 商品代码(内部)
  14262. type: string
  14263. goodsid:
  14264. description: 商品id
  14265. type: integer
  14266. goodsname:
  14267. description: 商品名称
  14268. type: string
  14269. goodunitid:
  14270. description: 报价单位ID
  14271. type: integer
  14272. logincode:
  14273. description: 登录代码(账户)
  14274. type: string
  14275. marketid:
  14276. description: 市场id
  14277. type: integer
  14278. orderid:
  14279. description: 关联委托单号
  14280. type: string
  14281. qtydecimalplace:
  14282. description: 成交量小数位
  14283. type: integer
  14284. tradeamount:
  14285. description: 金额
  14286. type: number
  14287. tradedate:
  14288. description: 交易日
  14289. type: string
  14290. tradeid:
  14291. description: 成交单号
  14292. type: string
  14293. trademode:
  14294. description: 交易模式
  14295. type: integer
  14296. tradeprice:
  14297. description: 价格
  14298. type: number
  14299. tradeqty:
  14300. description: 数量
  14301. type: number
  14302. tradetime:
  14303. description: 成交时间
  14304. type: string
  14305. userid:
  14306. description: 用户id
  14307. type: integer
  14308. userinfotype:
  14309. description: 账户类型 1-个人 2-企业
  14310. type: integer
  14311. type: object
  14312. models.QhjMgrTradeOrderDetailRsp:
  14313. properties:
  14314. accountid:
  14315. description: 资金账号
  14316. type: integer
  14317. accountname:
  14318. description: 用户名称
  14319. type: string
  14320. agreeunit:
  14321. description: 合约乘数
  14322. type: number
  14323. amount:
  14324. description: 金额
  14325. type: number
  14326. decimalplace:
  14327. description: 报价小数位
  14328. type: integer
  14329. enumdicname:
  14330. description: 单位名称(商品)
  14331. type: string
  14332. goodscode:
  14333. description: 商品代码(内部)
  14334. type: string
  14335. goodsid:
  14336. description: 商品id
  14337. type: integer
  14338. goodsname:
  14339. description: 商品名称
  14340. type: string
  14341. goodunitid:
  14342. description: 报价单位ID
  14343. type: integer
  14344. logincode:
  14345. description: 登录代码(账户)
  14346. type: string
  14347. marketid:
  14348. description: 市场id
  14349. type: integer
  14350. orderid:
  14351. description: 关联委托单号
  14352. type: string
  14353. orderprice:
  14354. description: 价格
  14355. type: number
  14356. orderqty:
  14357. description: 数量
  14358. type: number
  14359. orderstatus:
  14360. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14361. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14362. 16:成交失败违约(荷兰式竞拍专用)
  14363. type: integer
  14364. ordertime:
  14365. description: 委托时间
  14366. type: string
  14367. qtydecimalplace:
  14368. description: 成交量小数位
  14369. type: integer
  14370. tradedate:
  14371. description: 交易日
  14372. type: string
  14373. trademode:
  14374. description: 交易模式
  14375. type: integer
  14376. userid:
  14377. description: 用户id
  14378. type: integer
  14379. userinfotype:
  14380. description: 账户类型 1-个人 2-企业
  14381. type: integer
  14382. type: object
  14383. models.QhjMgrTradePayOrder:
  14384. properties:
  14385. accountname:
  14386. description: 用户名称
  14387. type: string
  14388. advanceratio:
  14389. description: 首付比率
  14390. type: number
  14391. agreeunit:
  14392. description: 合约乘数
  14393. type: number
  14394. buyaccountid:
  14395. description: 买方账号ID[报价币种]
  14396. type: integer
  14397. buyorderid:
  14398. description: 买方委托单号(关联单号)
  14399. type: string
  14400. createtime:
  14401. description: 创建时间
  14402. type: string
  14403. decimalplace:
  14404. description: 报价小数位
  14405. type: integer
  14406. enumdicname:
  14407. description: 单位名称(商品)
  14408. type: string
  14409. goodscode:
  14410. description: 商品代码(内部)
  14411. type: string
  14412. goodsid:
  14413. description: 商品ID
  14414. type: integer
  14415. goodsname:
  14416. description: 商品名称
  14417. type: string
  14418. goodunitid:
  14419. description: 报价单位ID
  14420. type: integer
  14421. logincode:
  14422. description: 登录代码(账户)
  14423. type: string
  14424. marketid:
  14425. description: 市场id
  14426. type: integer
  14427. offamount:
  14428. description: 优惠金额
  14429. type: number
  14430. operatetype:
  14431. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14432. type: integer
  14433. payamount:
  14434. description: 支付金额(金额)
  14435. type: number
  14436. payflag:
  14437. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14438. type: integer
  14439. paylimitedtime:
  14440. description: 支付期限
  14441. type: string
  14442. paytime:
  14443. description: 付款时间
  14444. type: string
  14445. qtydecimalplace:
  14446. description: 成交量小数位
  14447. type: integer
  14448. sellaccountid:
  14449. description: 卖方账号ID[报价币种]
  14450. type: integer
  14451. sellorderid:
  14452. description: 卖方委托单号
  14453. type: string
  14454. tradeamount:
  14455. description: 成交金额(优惠后金额)
  14456. type: number
  14457. tradecharge:
  14458. description: 成交手续费(买方)
  14459. type: number
  14460. tradedate:
  14461. description: 交易日(yyyyMMdd)
  14462. type: string
  14463. tradeid:
  14464. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14465. type: string
  14466. trademode:
  14467. description: 交易模式
  14468. type: integer
  14469. tradeprice:
  14470. description: 成交价格(价格)
  14471. type: number
  14472. tradeqty:
  14473. description: 成交数量(数量)
  14474. type: number
  14475. tradetime:
  14476. description: 成交时间
  14477. type: string
  14478. userid:
  14479. description: 用户id
  14480. type: integer
  14481. userinfotype:
  14482. description: 账户类型 1-个人 2-企业
  14483. type: integer
  14484. type: object
  14485. models.QhjMyTeamEx:
  14486. properties:
  14487. accountname:
  14488. description: 用户名称
  14489. type: string
  14490. accountstatus:
  14491. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14492. type: integer
  14493. createtime:
  14494. description: 创建时间
  14495. type: string
  14496. mobile:
  14497. description: 手机号码
  14498. type: string
  14499. refereeuserid:
  14500. description: 推荐人id
  14501. type: integer
  14502. refernum:
  14503. description: 推荐码
  14504. type: string
  14505. subList:
  14506. items:
  14507. $ref: '#/definitions/models.QhjMyTeamEx'
  14508. type: array
  14509. userid:
  14510. description: 用户id
  14511. type: integer
  14512. userinfotype:
  14513. description: 用户类型 1-个人 2-企业
  14514. type: integer
  14515. type: object
  14516. models.QhjNodeAgreementConfig:
  14517. properties:
  14518. agreementcontent:
  14519. description: 协议内容
  14520. type: string
  14521. agreementid:
  14522. description: 协议ID
  14523. type: integer
  14524. agreementname:
  14525. description: 协议名称
  14526. type: string
  14527. agreementno:
  14528. description: 协议编号
  14529. type: string
  14530. agreementtype:
  14531. description: 协议类型 - 1:注册 2:登录 3:交易
  14532. type: integer
  14533. agreementversion:
  14534. description: 协议版本号
  14535. type: integer
  14536. configid:
  14537. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14538. type: integer
  14539. createtime:
  14540. description: 创建时间
  14541. type: string
  14542. goodsid:
  14543. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14544. type: integer
  14545. nodetype:
  14546. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14547. type: integer
  14548. type: object
  14549. models.QhjParentAreaList:
  14550. properties:
  14551. accountname:
  14552. description: 账户名称(机构名称)
  14553. type: string
  14554. userid:
  14555. description: 用户ID
  14556. type: integer
  14557. usertype:
  14558. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14559. type: integer
  14560. type: object
  14561. models.QhjPayOrder:
  14562. properties:
  14563. advanceratio:
  14564. description: 首付比率
  14565. type: number
  14566. buyaccountid:
  14567. description: 买方账号ID[报价币种]
  14568. type: integer
  14569. buyorderid:
  14570. description: 买方委托单号
  14571. type: string
  14572. createtime:
  14573. description: 创建时间
  14574. type: string
  14575. decimalplace:
  14576. description: 商品报价小数位
  14577. type: integer
  14578. enumdicname:
  14579. description: 单位名称
  14580. type: string
  14581. goodscode:
  14582. description: 商品代码
  14583. type: string
  14584. goodsid:
  14585. description: 商品ID
  14586. type: integer
  14587. goodsname:
  14588. description: 商品名称
  14589. type: string
  14590. goodunitid:
  14591. description: 商品单位id
  14592. type: integer
  14593. marketid:
  14594. description: 市场ID
  14595. type: integer
  14596. offamount:
  14597. description: 优惠金额
  14598. type: number
  14599. operatetype:
  14600. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14601. type: integer
  14602. payamount:
  14603. description: 支付金额
  14604. type: number
  14605. payflag:
  14606. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14607. type: integer
  14608. paylimitedtime:
  14609. description: 支付期限
  14610. type: string
  14611. paytime:
  14612. description: 付款时间
  14613. type: string
  14614. qtydecimalplace:
  14615. description: 成交量小数位
  14616. type: integer
  14617. sellaccountid:
  14618. description: 卖方账号ID[报价币种]
  14619. type: integer
  14620. sellorderid:
  14621. description: 卖方委托单号
  14622. type: string
  14623. tradeamount:
  14624. description: 成交金额(优惠后金额)
  14625. type: number
  14626. tradecharge:
  14627. description: 成交手续费(买方)
  14628. type: number
  14629. tradedate:
  14630. description: 交易日(yyyyMMdd)
  14631. type: string
  14632. tradeid:
  14633. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14634. type: string
  14635. tradeprice:
  14636. description: 成交价格
  14637. type: number
  14638. tradeqty:
  14639. description: 成交数量
  14640. type: number
  14641. type: object
  14642. models.QhjPickArea:
  14643. properties:
  14644. address:
  14645. description: 详细地址
  14646. type: string
  14647. cityid:
  14648. description: 市
  14649. type: integer
  14650. cityname:
  14651. description: 城市名称
  14652. type: string
  14653. countryid:
  14654. description: 国家
  14655. type: integer
  14656. countryname:
  14657. description: 国家名称
  14658. type: string
  14659. districtid:
  14660. description: 地区
  14661. type: integer
  14662. districtname:
  14663. description: 地区名称
  14664. type: string
  14665. fromuserid:
  14666. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14667. type: integer
  14668. fromusername:
  14669. description: 所属机构名称
  14670. type: string
  14671. provinceid:
  14672. description: 省
  14673. type: integer
  14674. provincename:
  14675. description: 省名称
  14676. type: string
  14677. suborgtype:
  14678. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14679. type: integer
  14680. userid:
  14681. description: 机构用户ID 其他做市关系,都设置为 1
  14682. type: integer
  14683. username:
  14684. description: 机构用户名称(门店门称)
  14685. type: string
  14686. type: object
  14687. models.QhjPickGoods:
  14688. properties:
  14689. enumdicname:
  14690. description: 单位名称(提货商品)
  14691. type: string
  14692. goodsid:
  14693. description: 商品id
  14694. type: integer
  14695. imageaddress:
  14696. description: 图片
  14697. type: string
  14698. modifierid:
  14699. description: 修改人
  14700. type: integer
  14701. modifiername:
  14702. description: 修改人名称
  14703. type: string
  14704. modifysrc:
  14705. description: 修改来源 - 1:管理端 2:终端
  14706. type: integer
  14707. pickupgoodsagreeunit:
  14708. description: 合约乘数
  14709. type: number
  14710. pickupgoodsdesc:
  14711. description: 描述
  14712. type: string
  14713. pickupgoodsid:
  14714. description: 提货商品ID
  14715. type: string
  14716. pickupgoodsname:
  14717. description: 提货商品名称
  14718. type: string
  14719. pickupgoodsstatus:
  14720. description: 状态 - 1:正常 2:停用 3:注销
  14721. type: integer
  14722. pickupgoodsunitid:
  14723. description: 单位ID
  14724. type: integer
  14725. pickupratio:
  14726. description: 提货系数
  14727. type: number
  14728. preparedays:
  14729. description: 备货期(天)
  14730. type: integer
  14731. remark:
  14732. description: 备注
  14733. type: string
  14734. updatetime:
  14735. description: 更新时间
  14736. type: string
  14737. type: object
  14738. models.QhjRSTriggerLog:
  14739. properties:
  14740. accountid:
  14741. description: 用户资金账户
  14742. type: integer
  14743. accountname:
  14744. description: 账号名称(ACCOUNTID对应的名称)
  14745. type: string
  14746. currencyid:
  14747. description: 币种id
  14748. type: integer
  14749. currencyname:
  14750. description: 币种名称
  14751. type: string
  14752. decimalplace:
  14753. description: 商品报价小数位
  14754. type: integer
  14755. enumdicname:
  14756. description: 单位名称
  14757. type: string
  14758. goodscode:
  14759. description: 定投商品代码
  14760. type: string
  14761. goodsid:
  14762. description: 定投商品ID
  14763. type: integer
  14764. goodsname:
  14765. description: 定投商品名称
  14766. type: string
  14767. goodunitid:
  14768. description: 定投商品单位id
  14769. type: integer
  14770. logid:
  14771. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14772. type: string
  14773. logincode:
  14774. description: 账号(登录代码)
  14775. type: string
  14776. qtydecimalplace:
  14777. description: 成交量小数位
  14778. type: integer
  14779. regularlycycle:
  14780. description: 定投频率 - 1:每周 2:每月
  14781. type: integer
  14782. regularlycyclevalue:
  14783. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14784. type: string
  14785. regularlymode:
  14786. description: 定投方式 - 1:按数量 2:按金额
  14787. type: integer
  14788. regularlymodevalue:
  14789. description: 定投方式值 - 数量或金额
  14790. type: number
  14791. regularlystrategyid:
  14792. description: 定投策略ID
  14793. type: integer
  14794. retcode:
  14795. description: 错误码
  14796. type: string
  14797. tradeid:
  14798. description: 成交单ID
  14799. type: string
  14800. triggeramount:
  14801. description: 触发金额
  14802. type: number
  14803. triggerqty:
  14804. description: 触发数量
  14805. type: number
  14806. triggerstatus:
  14807. description: 触发状态 - 1:成功 2:失败
  14808. type: integer
  14809. triggertime:
  14810. description: 触发时间
  14811. type: string
  14812. triggertradedate:
  14813. description: 触发交易日
  14814. type: string
  14815. userid:
  14816. description: 所属用户ID
  14817. type: integer
  14818. userinfotype:
  14819. description: 用户类型 1-个人 2-企业
  14820. type: integer
  14821. username:
  14822. description: 用户名称(userid对应的名称)
  14823. type: string
  14824. type: object
  14825. models.QhjRStrategy:
  14826. properties:
  14827. accountid:
  14828. description: 用户资金账户
  14829. type: integer
  14830. accountname:
  14831. description: 账号名称(ACCOUNTID对应的名称)
  14832. type: string
  14833. currencyid:
  14834. description: 币种id
  14835. type: integer
  14836. currencyname:
  14837. description: 币种名称
  14838. type: string
  14839. decimalplace:
  14840. description: 商品报价小数位
  14841. type: integer
  14842. enumdicname:
  14843. description: 单位名称
  14844. type: string
  14845. goodscode:
  14846. description: 定投商品代码
  14847. type: string
  14848. goodsid:
  14849. description: 定投商品ID
  14850. type: integer
  14851. goodsname:
  14852. description: 定投商品名称
  14853. type: string
  14854. goodunitid:
  14855. description: 定投商品单位id
  14856. type: integer
  14857. lasteffecttradedate:
  14858. description: 最新生效交易日
  14859. type: string
  14860. laststoptradedate:
  14861. description: 最新暂停交易日
  14862. type: string
  14863. lasttriggertradedate:
  14864. description: 最新触发交易日
  14865. type: string
  14866. logincode:
  14867. description: 账号(登录代码)
  14868. type: string
  14869. nexttriggeramount:
  14870. description: 下次触发金额
  14871. type: number
  14872. nexttriggerdate:
  14873. description: 下次触发日期
  14874. type: string
  14875. nexttriggerqty:
  14876. description: 下次触发数量 [按小数位放大值]
  14877. type: number
  14878. qtydecimalplace:
  14879. description: 成交量小数位
  14880. type: integer
  14881. regularlycycle:
  14882. description: 定投频率 - 1:每周 2:每月
  14883. type: integer
  14884. regularlycyclevalue:
  14885. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14886. type: string
  14887. regularlymode:
  14888. description: 定投方式 - 1:按数量 2:按金额
  14889. type: integer
  14890. regularlymodevalue:
  14891. description: 定投方式值 - 数量或金额
  14892. type: number
  14893. regularlystrategyid:
  14894. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  14895. type: integer
  14896. regularlystrategystatus:
  14897. description: 策略状态 - 1:正常 2:暂停 3:终止
  14898. type: integer
  14899. remark:
  14900. description: 备注
  14901. type: string
  14902. triggersuccesstimes:
  14903. description: 累计定投成功次数
  14904. type: string
  14905. triggertotalamount:
  14906. description: 累计定投金额(成功)
  14907. type: number
  14908. triggertotalqty:
  14909. description: 累计定投数量(成功) [按小数位放大值]
  14910. type: number
  14911. triggertotaltimes:
  14912. description: 累计定投总次数
  14913. type: string
  14914. updatesrc:
  14915. description: 更新来源 - 1:管理端 2:终端
  14916. type: integer
  14917. updatetime:
  14918. description: 更新时间
  14919. type: string
  14920. updatorid:
  14921. description: 更新人
  14922. type: string
  14923. userid:
  14924. description: 所属用户ID
  14925. type: integer
  14926. userinfotype:
  14927. description: 用户类型 1-个人 2-企业
  14928. type: integer
  14929. username:
  14930. description: 用户名称(userid对应的名称)
  14931. type: string
  14932. type: object
  14933. models.QhjReckonPriceLog:
  14934. properties:
  14935. decimalplace:
  14936. description: 商品报价小数位
  14937. type: integer
  14938. goodscode:
  14939. description: 商品代码
  14940. type: string
  14941. goodsid:
  14942. description: 商品ID
  14943. type: integer
  14944. goodsname:
  14945. description: 商品名称
  14946. type: string
  14947. lastreckonprice:
  14948. description: 上日结算价
  14949. type: number
  14950. nextdnlimitprice:
  14951. description: 下个交易日跌停价
  14952. type: number
  14953. nexttrade:
  14954. description: 下个交易日
  14955. type: string
  14956. nextuplimitprice:
  14957. description: 下个交易日涨停价
  14958. type: number
  14959. reckonprice:
  14960. description: 今日结算价(定投价)
  14961. type: number
  14962. reckontime:
  14963. description: 结算时间
  14964. type: string
  14965. totalholderqty:
  14966. description: 总持仓数
  14967. type: integer
  14968. totalstock:
  14969. description: 总库存
  14970. type: integer
  14971. tradedate:
  14972. description: 交易日
  14973. type: string
  14974. updowncount:
  14975. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  14976. type: integer
  14977. updownflag:
  14978. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  14979. type: integer
  14980. updownrate:
  14981. description: 今日涨跌幅
  14982. type: number
  14983. updownrate_2d:
  14984. description: 连续两日涨跌幅
  14985. type: number
  14986. updownrate_3d:
  14987. description: 连续三日涨跌幅
  14988. type: number
  14989. type: object
  14990. models.QhjScoreLog:
  14991. properties:
  14992. accountid:
  14993. description: 账户ID
  14994. type: integer
  14995. createtime:
  14996. description: 创建时间(时间)
  14997. type: string
  14998. goodsid:
  14999. description: 商品ID
  15000. type: integer
  15001. hasuploaded:
  15002. description: 是否已同步(千海金) 0:未同步 1;已同步
  15003. type: integer
  15004. logid:
  15005. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15006. type: string
  15007. marketid:
  15008. description: 市场ID
  15009. type: integer
  15010. relatedamount:
  15011. description: 关联金额
  15012. type: number
  15013. relatedorderid:
  15014. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15015. type: string
  15016. scoreconfigvalue1:
  15017. description: 积分配置1
  15018. type: integer
  15019. scoreconfigvalue2:
  15020. description: 积分配置1
  15021. type: integer
  15022. scoretype:
  15023. description: 积分类型 - 1:提货积分
  15024. type: integer
  15025. scorevalue:
  15026. description: 积分
  15027. type: number
  15028. tradedate:
  15029. description: 交易日(yyyyMMdd)
  15030. type: string
  15031. uploadedtime:
  15032. description: 同步时间
  15033. type: string
  15034. userid:
  15035. description: 用户ID
  15036. type: integer
  15037. type: object
  15038. models.QhjSiteColumnDetail:
  15039. properties:
  15040. author:
  15041. description: 作者
  15042. type: string
  15043. brief:
  15044. description: 简介
  15045. type: string
  15046. columnid:
  15047. description: 所属栏目
  15048. type: integer
  15049. context:
  15050. description: 内容
  15051. type: string
  15052. coverimage:
  15053. description: 封面图片
  15054. type: string
  15055. creaedate:
  15056. description: 创建时间
  15057. type: string
  15058. creatorid:
  15059. description: 创建人
  15060. type: integer
  15061. hits:
  15062. description: 点击数
  15063. type: integer
  15064. id:
  15065. description: ID(SEQ_SITE_COLUMNDETAIL)
  15066. type: integer
  15067. isshow:
  15068. description: 是否展示 - 0:不展示 1:展示
  15069. type: integer
  15070. istop:
  15071. description: 是否置顶 - 0:不置 1:置顶
  15072. type: integer
  15073. modifierid:
  15074. description: 操作人
  15075. type: integer
  15076. publishdate:
  15077. description: 发布日期
  15078. type: string
  15079. status:
  15080. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15081. type: integer
  15082. title:
  15083. description: 标题
  15084. type: string
  15085. updatedate:
  15086. description: 修改时间
  15087. type: string
  15088. userid:
  15089. description: 用户ID(默认为0, 核心为为机构用户ID)
  15090. type: integer
  15091. username:
  15092. description: 用户名称
  15093. type: string
  15094. type: object
  15095. models.QhjTeamOrder:
  15096. properties:
  15097. accountid:
  15098. description: 账户ID[报价币种]
  15099. type: integer
  15100. accountname:
  15101. description: 账户名称
  15102. type: string
  15103. agreeunit:
  15104. description: 合约乘数
  15105. type: number
  15106. buyorsell:
  15107. description: 方向 - 0:买 1:卖
  15108. type: integer
  15109. decimalplace:
  15110. description: 报价小数位
  15111. type: integer
  15112. enumdicname:
  15113. description: 单位名称
  15114. type: string
  15115. goodscode:
  15116. description: 商品代码(内部)
  15117. type: string
  15118. goodsid:
  15119. description: 商品ID
  15120. type: integer
  15121. goodsname:
  15122. description: 商品名称
  15123. type: string
  15124. goodunitid:
  15125. description: 报价单位ID
  15126. type: integer
  15127. marketid:
  15128. description: 市场ID
  15129. type: integer
  15130. marketname:
  15131. description: 市场名称
  15132. type: string
  15133. qtydecimalplace:
  15134. description: 成交量小数位
  15135. type: integer
  15136. refereeuserid:
  15137. description: 推荐人ID
  15138. type: integer
  15139. tradeamount:
  15140. description: 成交金额[账户币种,用于所有权]
  15141. type: number
  15142. tradedate:
  15143. description: 交易日(yyyyMMdd)
  15144. type: string
  15145. trademode:
  15146. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15147. 21:竞拍-大宗式 22:受托竞价
  15148. type: integer
  15149. tradeprice:
  15150. description: 成交价格
  15151. type: number
  15152. tradeqty:
  15153. description: 成交数量
  15154. type: number
  15155. tradetime:
  15156. description: 成交时间
  15157. type: string
  15158. userid:
  15159. description: 用户ID
  15160. type: integer
  15161. type: object
  15162. models.QhjTradeGoodsPickup:
  15163. properties:
  15164. accountid:
  15165. description: 账户ID
  15166. type: integer
  15167. address:
  15168. description: 提货人详细地址
  15169. type: string
  15170. amount:
  15171. description: 提货金额
  15172. type: number
  15173. artradedate:
  15174. description: 自动收货交易日(yyyyMMdd)
  15175. type: string
  15176. auditer:
  15177. description: 审核人
  15178. type: integer
  15179. auditsrc:
  15180. description: 更新来源 - 1:管理端 2:终端
  15181. type: integer
  15182. audittime:
  15183. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15184. type: string
  15185. audittradedate:
  15186. description: 审核交易日(yyyyMMdd)
  15187. type: string
  15188. cardnum:
  15189. description: 提货人证件号码
  15190. type: string
  15191. cardtypeid:
  15192. description: 提货人证件类型
  15193. type: integer
  15194. checkremark:
  15195. description: 审核备注
  15196. type: string
  15197. cityid:
  15198. description: 市
  15199. type: integer
  15200. cityname:
  15201. description: 城市名称
  15202. type: string
  15203. confirmtime:
  15204. description: 取货时间 或 收货时间
  15205. type: string
  15206. countryid:
  15207. description: 国家
  15208. type: integer
  15209. countryname:
  15210. description: 国家名称
  15211. type: string
  15212. decimalplace:
  15213. description: 商品报价小数位
  15214. type: integer
  15215. districtid:
  15216. description: 地区
  15217. type: integer
  15218. districtname:
  15219. description: 地区名称
  15220. type: string
  15221. enumdicname:
  15222. description: 单位名称(提货商品)
  15223. type: string
  15224. expresscompany:
  15225. description: 物流公司
  15226. type: string
  15227. expressnum:
  15228. description: 物流单号
  15229. type: string
  15230. goodsagreeunit:
  15231. description: 交易商品乘数
  15232. type: number
  15233. goodscode:
  15234. description: 商品代码
  15235. type: string
  15236. goodsid:
  15237. description: 商品ID
  15238. type: integer
  15239. goodsname:
  15240. description: 商品名称
  15241. type: string
  15242. goodsqty:
  15243. description: 交易商品手数(69模式按成交量小数位放大取整)
  15244. type: number
  15245. handlestatus:
  15246. description: 处理状态
  15247. type: integer
  15248. logincode:
  15249. description: 账号(登录代码, 有可能为空)
  15250. type: string
  15251. marketid:
  15252. description: 市场ID
  15253. type: integer
  15254. phonenum:
  15255. description: 提货人联系方式
  15256. type: string
  15257. pickupgoodsagreeunit:
  15258. description: 提货商品合约乘数
  15259. type: number
  15260. pickupgoodsid:
  15261. description: 提货商品ID
  15262. type: string
  15263. pickupgoodsname:
  15264. description: 提货商品名称
  15265. type: string
  15266. pickupgoodsqty:
  15267. description: 提货商品手数(数量)
  15268. type: number
  15269. pickupgoodsunitid:
  15270. description: 单位ID(提货商品)
  15271. type: integer
  15272. pickupratio:
  15273. description: 提货系数
  15274. type: number
  15275. preparedays:
  15276. description: 备货期(天)-提货单明细表
  15277. type: integer
  15278. provinceid:
  15279. description: 省
  15280. type: integer
  15281. provincename:
  15282. description: 省名称
  15283. type: string
  15284. qty:
  15285. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15286. type: number
  15287. qtydecimalplace:
  15288. description: 商品数量小数位
  15289. type: integer
  15290. recivername:
  15291. description: 提货人姓名
  15292. type: string
  15293. reqtime:
  15294. description: 提货申请时间
  15295. type: string
  15296. storeuserid:
  15297. description: 门店用户ID (千海金)
  15298. type: integer
  15299. storeusername:
  15300. description: 门店用户名称
  15301. type: string
  15302. takemode:
  15303. description: 提货方式 - 2:自提 3:配送(邮寄)
  15304. type: integer
  15305. takeorderid:
  15306. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15307. type: string
  15308. takeorderstatus:
  15309. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15310. 7:已拒绝 8:已撤销
  15311. type: integer
  15312. takeremark:
  15313. description: 提货备注
  15314. type: string
  15315. tradedate:
  15316. description: 交易日(yyyyMMdd)
  15317. type: string
  15318. updatetime:
  15319. description: 更新时间
  15320. type: string
  15321. userid:
  15322. description: 用户ID
  15323. type: integer
  15324. userinfotype:
  15325. description: 客户类型 1-个人 2-企业
  15326. type: integer
  15327. username:
  15328. description: 用户名称
  15329. type: string
  15330. type: object
  15331. models.QhjUserNodeCfgAndStatus:
  15332. properties:
  15333. agreementcontent:
  15334. description: 协议内容
  15335. type: string
  15336. agreementid:
  15337. description: 协议ID
  15338. type: integer
  15339. agreementname:
  15340. description: 协议名称
  15341. type: string
  15342. agreementno:
  15343. description: 协议编号
  15344. type: string
  15345. agreementtype:
  15346. description: 协议类型 - 1:注册 2:登录 3:交易
  15347. type: integer
  15348. agreementversion:
  15349. description: 协议版本号
  15350. type: integer
  15351. configid:
  15352. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15353. type: integer
  15354. createtime:
  15355. description: 创建时间
  15356. type: string
  15357. goodsid:
  15358. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15359. type: integer
  15360. nodetype:
  15361. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15362. type: integer
  15363. signtimestamp:
  15364. description: 签约状态时间戳(最近一次)
  15365. type: string
  15366. tradedate:
  15367. description: 签约交易日(yyyyMMdd)
  15368. type: string
  15369. userid:
  15370. description: 客户ID
  15371. type: integer
  15372. type: object
  15373. models.Qhjgoodsex:
  15374. properties:
  15375. canfinance:
  15376. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15377. type: integer
  15378. canregularlybuy:
  15379. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15380. type: integer
  15381. defaulttradeuserid:
  15382. description: 默认交易用户ID
  15383. type: integer
  15384. deliverygoodsid:
  15385. description: 现货品种ID
  15386. type: integer
  15387. goodsid:
  15388. description: 商品ID(自增ID SEQ_GOODS)
  15389. type: integer
  15390. minamount:
  15391. description: 最小购买金额
  15392. type: number
  15393. regularlybuyminamount:
  15394. description: 定投最小金额
  15395. type: number
  15396. regularlybuyminqty:
  15397. description: 定投最小数量
  15398. type: number
  15399. spotgoodsbrandid:
  15400. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15401. type: integer
  15402. visibilityforenterprise:
  15403. description: 企业客户是否可见 - 0:不可见 1:可见
  15404. type: integer
  15405. visibilityforpersonal:
  15406. description: 个人客户是否可见 - 0:不可见 1:可见
  15407. type: integer
  15408. wrstandardid:
  15409. description: 现货商品ID
  15410. type: integer
  15411. type: object
  15412. models.QueryErrorInfosRsp:
  15413. properties:
  15414. description:
  15415. description: 异常描述
  15416. type: string
  15417. errorcode:
  15418. description: 异常代码
  15419. type: string
  15420. errorid:
  15421. description: 异常ID
  15422. type: integer
  15423. modulecode:
  15424. description: 所属模块
  15425. type: string
  15426. operatecode:
  15427. description: 所属操作
  15428. type: string
  15429. rownumber:
  15430. description: 行号
  15431. type: string
  15432. required:
  15433. - errorid
  15434. type: object
  15435. models.QueryHedgeOrderDetailRsp:
  15436. properties:
  15437. accountid:
  15438. description: 账户ID
  15439. type: integer
  15440. buyorsell:
  15441. description: 买卖 - 0:买 1:卖
  15442. type: integer
  15443. cancellogincode:
  15444. description: 撤单人
  15445. type: string
  15446. channelbuildtype:
  15447. description: 开平标志 - 0:无 1:建仓 2:平仓
  15448. type: integer
  15449. channelinnerorderstatus:
  15450. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15451. 9:全部成交
  15452. type: integer
  15453. channeloperatetype:
  15454. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15455. type: integer
  15456. closetype:
  15457. description: 平仓方式 - 0:无 1:平今 2:平昨
  15458. type: integer
  15459. curexchangerate:
  15460. description: 当前汇率
  15461. type: number
  15462. decimalplace:
  15463. description: 商品报价小数位
  15464. type: integer
  15465. exchangefullname:
  15466. description: 外部交易所全称
  15467. type: string
  15468. goodscode:
  15469. description: 商品代码(内部)
  15470. type: string
  15471. goodsid:
  15472. description: 商品ID
  15473. type: integer
  15474. goodsname:
  15475. description: 商品名称
  15476. type: string
  15477. marketid:
  15478. description: 市场ID
  15479. type: integer
  15480. openfreezemargin:
  15481. description: 冻结保证金(冻结交易金额)
  15482. type: number
  15483. orderid:
  15484. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15485. type: string
  15486. orderlogincode:
  15487. description: 委托人
  15488. type: string
  15489. orderprice:
  15490. description: 委托价格(账户)
  15491. type: number
  15492. orderqty:
  15493. description: 委托数量
  15494. type: integer
  15495. ordertime:
  15496. description: 委托时间
  15497. type: string
  15498. pricemode:
  15499. description: '取价方式 - 1:市价 2: 限价'
  15500. type: integer
  15501. tradedate:
  15502. description: 交易日(yyyyMMdd)
  15503. type: string
  15504. tradeqty:
  15505. description: 成交数量
  15506. type: integer
  15507. type: object
  15508. models.QueryHedgeTradeDetailRsp:
  15509. properties:
  15510. accountid:
  15511. description: 账号ID
  15512. type: integer
  15513. buyorsell:
  15514. description: 方向 - 0:买 1:卖
  15515. type: integer
  15516. channelbuildtype:
  15517. description: 委托单据类型 0:无 1:建仓 2:平仓
  15518. type: integer
  15519. closecharge:
  15520. description: 平仓手续费(账户)
  15521. type: number
  15522. closecharge2:
  15523. description: 平仓手续费(商品)
  15524. type: number
  15525. closepl:
  15526. description: 平仓盈亏(账户)
  15527. type: number
  15528. closepl2:
  15529. description: 平仓盈亏(商品)
  15530. type: number
  15531. closepl3:
  15532. description: 平仓盈亏(账户)(逐笔)
  15533. type: number
  15534. closepl4:
  15535. description: 平仓盈亏(商品)(逐笔)
  15536. type: number
  15537. closetype:
  15538. description: 平仓方式 - 0:无 1:平今 2:平昨
  15539. type: integer
  15540. curexchangerate:
  15541. description: 当前汇率
  15542. type: number
  15543. decimalplace:
  15544. description: 商品报价小数位
  15545. type: integer
  15546. exchangefullname:
  15547. description: 外部交易所全称
  15548. type: string
  15549. goodscode:
  15550. description: 商品代码(内部)
  15551. type: string
  15552. goodsid:
  15553. description: 商品ID
  15554. type: integer
  15555. goodsname:
  15556. description: 商品名称
  15557. type: string
  15558. marketid:
  15559. description: 市场ID
  15560. type: integer
  15561. opencharge:
  15562. description: 建仓手续费(账户)
  15563. type: number
  15564. opencharge2:
  15565. description: 建仓手续费(商品)
  15566. type: number
  15567. orderid:
  15568. description: 委托单号
  15569. type: string
  15570. orderlogincode:
  15571. description: 委托人
  15572. type: string
  15573. tradeamount:
  15574. description: 成交金额(账户)
  15575. type: number
  15576. tradedate:
  15577. description: 交易日(yyyyMMdd)
  15578. type: string
  15579. tradeid:
  15580. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15581. type: string
  15582. tradeprice:
  15583. description: 成交价格
  15584. type: number
  15585. tradeqty:
  15586. description: 成交数量
  15587. type: integer
  15588. tradetime:
  15589. description: 成交时间
  15590. type: string
  15591. tradetype:
  15592. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15593. type: integer
  15594. type: object
  15595. models.QuotePrimaryMenu:
  15596. properties:
  15597. Index:
  15598. description: 序号
  15599. type: integer
  15600. Key:
  15601. description: 键名
  15602. type: string
  15603. Name:
  15604. description: 菜单名称
  15605. type: string
  15606. SubMenus:
  15607. description: 子菜单
  15608. items:
  15609. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15610. type: array
  15611. SubTitleType:
  15612. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15613. type: integer
  15614. TradeModes:
  15615. description: 包含市场交易类型
  15616. type: string
  15617. type: object
  15618. models.QuoteSecondaryMenu:
  15619. properties:
  15620. ExExchangeCode:
  15621. description: 外部交易所代码
  15622. type: string
  15623. ExExchangeID:
  15624. description: 外部交易所ID
  15625. type: integer
  15626. GoodsGroupIDs:
  15627. description: 商品组ID列表
  15628. items:
  15629. type: integer
  15630. type: array
  15631. Index:
  15632. description: 序号
  15633. type: integer
  15634. MarketID:
  15635. description: 市场ID
  15636. type: integer
  15637. MenuTitle:
  15638. description: 菜单标题(市场名称或外部交易所名称)
  15639. type: string
  15640. TradeMode:
  15641. description: 交易模式
  15642. type: integer
  15643. type: object
  15644. models.RelatedTaAccount:
  15645. properties:
  15646. accountid:
  15647. description: 资金账户ID
  15648. type: integer
  15649. type: object
  15650. models.RoleMenu:
  15651. properties:
  15652. hasright:
  15653. description: 是否有权限 0-没有权限 1-有权限
  15654. type: integer
  15655. iconame:
  15656. description: 菜单图标
  15657. type: string
  15658. menutype:
  15659. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  15660. type: integer
  15661. parentcode:
  15662. description: 上级资源代码
  15663. type: string
  15664. remark:
  15665. description: 菜单备注
  15666. type: string
  15667. resourcecode:
  15668. description: 菜单代码
  15669. type: string
  15670. resourcelevel:
  15671. description: 级别
  15672. type: integer
  15673. resourcename:
  15674. description: 菜单名称
  15675. type: string
  15676. roleid:
  15677. description: 角色id
  15678. type: integer
  15679. sort:
  15680. description: 排序
  15681. type: integer
  15682. subMenu:
  15683. description: 子级菜单(结构同上层一样, swag解析不出来)
  15684. items:
  15685. $ref: '#/definitions/models.RoleMenu'
  15686. type: array
  15687. url:
  15688. description: URL
  15689. type: string
  15690. userid:
  15691. description: 用户id
  15692. type: integer
  15693. type: object
  15694. models.SearchGoods:
  15695. properties:
  15696. goodscode:
  15697. description: 商品代码(内部)
  15698. type: string
  15699. goodsid:
  15700. description: 商品ID(自增ID SEQ_GOODS)
  15701. type: integer
  15702. goodsname:
  15703. description: 商品名称
  15704. type: string
  15705. marketid:
  15706. description: 所属市场ID
  15707. type: integer
  15708. marketname:
  15709. description: 市场名称
  15710. type: string
  15711. trademode:
  15712. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15713. 21:竞拍-大宗式 22:受托竞价
  15714. type: integer
  15715. required:
  15716. - goodscode
  15717. - goodsid
  15718. - goodsname
  15719. - marketid
  15720. - trademode
  15721. type: object
  15722. models.SellOrder:
  15723. properties:
  15724. accountid:
  15725. description: 资金账号
  15726. type: integer
  15727. applyid:
  15728. description: 申请单ID
  15729. type: integer
  15730. attachment1:
  15731. description: 附件1
  15732. type: string
  15733. attachment2:
  15734. description: 附件2
  15735. type: string
  15736. buyorsell:
  15737. description: 买卖 - 0:买 1:卖
  15738. type: integer
  15739. canbargain:
  15740. description: 是否可议价 - 0:不可 1:可
  15741. type: integer
  15742. cancelqty:
  15743. description: 撤销数量
  15744. type: integer
  15745. canceltime:
  15746. description: 撤销时间
  15747. type: string
  15748. cerno:
  15749. type: string
  15750. chargealgorithm:
  15751. description: 手续费收取方式 1:比率 2:固定
  15752. type: integer
  15753. chargealgorithmvalue:
  15754. description: 手续费设置值(交易所部分)
  15755. type: number
  15756. chargealgorithmvalue2:
  15757. description: 手续费设置值(会员部分)
  15758. type: number
  15759. clientordertime:
  15760. description: 客户端委托时间
  15761. type: string
  15762. cpcertno:
  15763. type: string
  15764. exchangerate:
  15765. description: 汇率[67]
  15766. type: number
  15767. firstratio:
  15768. description: 首付比率 - [挂牌时指定,摘牌时使用]
  15769. type: number
  15770. fixedprice:
  15771. description: '[克拉单价]固定价格 - [挂牌]'
  15772. type: number
  15773. freezecharge:
  15774. description: 冻结手续费
  15775. type: number
  15776. freezefirstamount:
  15777. description: 冻结首付金额 - [摘牌]
  15778. type: number
  15779. freezemargin:
  15780. description: 冻结保证金
  15781. type: number
  15782. goodsno:
  15783. description: 商品编号
  15784. type: string
  15785. imagepath:
  15786. type: string
  15787. isQueryDiamond:
  15788. description: 是否钻石查询
  15789. type: boolean
  15790. isspecified:
  15791. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  15792. type: integer
  15793. kppath:
  15794. type: string
  15795. kpweight:
  15796. type: string
  15797. marginalgorithm:
  15798. description: 保证金方式 - 1:比率 2:固定
  15799. type: integer
  15800. marginvalue:
  15801. description: 保证金设置值
  15802. type: number
  15803. marketid:
  15804. description: 市场ID
  15805. type: integer
  15806. marketprice:
  15807. type: string
  15808. orderamount:
  15809. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  15810. type: number
  15811. ordertime:
  15812. description: 委托时间
  15813. type: string
  15814. performancetemplateid:
  15815. description: 履约计划模板ID
  15816. type: integer
  15817. price:
  15818. description: 价格
  15819. type: number
  15820. pricefactor:
  15821. description: 价格系数(浮动价时填写) - [挂牌]
  15822. type: number
  15823. pricemove:
  15824. description: 升贴水(浮动价时填写) - [挂牌]
  15825. type: number
  15826. priceper:
  15827. type: string
  15828. relatedwrtradeorderid:
  15829. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  15830. type: integer
  15831. remainqty:
  15832. description: 剩余重量
  15833. type: number
  15834. remark:
  15835. type: string
  15836. retcode:
  15837. description: 错误代码
  15838. type: integer
  15839. sellusername:
  15840. description: 卖方(查询字段-模糊查询)
  15841. type: string
  15842. settingmaterial:
  15843. type: string
  15844. size1:
  15845. type: string
  15846. size2:
  15847. type: string
  15848. size3:
  15849. type: string
  15850. sizedisplay:
  15851. description: 尺寸
  15852. type: string
  15853. stonedesc:
  15854. type: string
  15855. totalqty:
  15856. description: 总重量
  15857. type: number
  15858. tradedate:
  15859. description: 交易日(yyyyMMdd)
  15860. type: string
  15861. tradeprice:
  15862. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15863. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15864. type: number
  15865. unfreezecharge:
  15866. description: 解冻手续费
  15867. type: number
  15868. unfreezefirstamount:
  15869. description: 解冻首付金额 - [摘牌]
  15870. type: number
  15871. unfreezemargin:
  15872. description: 解冻保证金
  15873. type: number
  15874. userid:
  15875. description: 用户ID
  15876. type: integer
  15877. uuid:
  15878. description: 发起端唯一id
  15879. type: string
  15880. validtime:
  15881. description: 有效期限
  15882. type: string
  15883. validtype:
  15884. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15885. type: integer
  15886. warehousenamedisplay:
  15887. type: string
  15888. wrbargainid:
  15889. description: 议价申请单ID
  15890. type: integer
  15891. wrfactortypeid:
  15892. description: 仓单要素类型ID/商品ID(77)
  15893. type: integer
  15894. wrpath:
  15895. type: string
  15896. wrpricetype:
  15897. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15898. type: integer
  15899. wrstandardid:
  15900. description: 现货商品ID
  15901. type: integer
  15902. wrtradeorderid:
  15903. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15904. type: string
  15905. wrtradeorderstatus:
  15906. 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:撤单解冻贷款失败
  15907. type: integer
  15908. wrtradetype:
  15909. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15910. type: integer
  15911. wrtransferuserid:
  15912. description: 仓单受让用户 - [摘牌]
  15913. type: integer
  15914. zscategory:
  15915. description: 钻石分类 - 枚举”ZSCategory“
  15916. type: integer
  15917. zscategorydisplay:
  15918. description: 钻石分类 - 描述
  15919. type: string
  15920. zscerttypedisplay:
  15921. type: string
  15922. zsclaritytype1display:
  15923. type: string
  15924. zsclaritytype2display:
  15925. type: string
  15926. zscolortype1display:
  15927. type: string
  15928. zscolortype2display:
  15929. type: string
  15930. zscrystaltype:
  15931. type: string
  15932. zscrystaltypedisplay:
  15933. type: string
  15934. zscurrencytype:
  15935. description: 货币类型 - 枚举“ZSCurrencyType”
  15936. type: integer
  15937. zscurrencytypedisplay:
  15938. type: string
  15939. zscurrencytypedisplayunit:
  15940. type: string
  15941. zscuttype1display:
  15942. type: string
  15943. zscuttype2display:
  15944. type: string
  15945. zsczcolor1typedisplay:
  15946. type: string
  15947. zsczcolor2typedisplay:
  15948. type: string
  15949. zsczcolor3typedisplay:
  15950. type: string
  15951. zsfluorescencetype1display:
  15952. type: string
  15953. zsfluorescencetype2display:
  15954. type: string
  15955. zspolishtype1display:
  15956. type: string
  15957. zspolishtype2display:
  15958. type: string
  15959. zsshapetypedisplay:
  15960. type: string
  15961. zsstyletypedisplay:
  15962. type: string
  15963. zssymmetrytype1display:
  15964. type: string
  15965. zssymmetrytype2display:
  15966. type: string
  15967. type: object
  15968. models.SellOrderQueryReq:
  15969. properties:
  15970. origin:
  15971. description: 原产地
  15972. type: string
  15973. page:
  15974. description: 页码
  15975. type: integer
  15976. pagesize:
  15977. description: 每页大小
  15978. type: integer
  15979. total:
  15980. description: 总条数
  15981. type: integer
  15982. warehouseid:
  15983. description: 仓库ID
  15984. type: integer
  15985. weight1:
  15986. description: 总重量(克拉重量)-从
  15987. type: number
  15988. weight2:
  15989. description: 总重量(克拉重量)-至
  15990. type: number
  15991. weightavg1:
  15992. description: 平均单颗重量-从
  15993. type: number
  15994. weightavg2:
  15995. description: 平均单颗重量-至
  15996. type: number
  15997. zscategory:
  15998. description: 钻石分类 - 枚举”ZSCategory“
  15999. type: integer
  16000. zscerttype:
  16001. description: 证书类型
  16002. items:
  16003. type: string
  16004. type: array
  16005. zsclaritytype:
  16006. description: 净度
  16007. items:
  16008. type: integer
  16009. type: array
  16010. zscolortype:
  16011. description: 颜色
  16012. items:
  16013. type: integer
  16014. type: array
  16015. zscurrencytype:
  16016. description: 货币类型 - 枚举“ZSCurrencyType”
  16017. items:
  16018. type: string
  16019. type: array
  16020. zscuttype:
  16021. description: 切工
  16022. items:
  16023. type: integer
  16024. type: array
  16025. zsczcolor1type:
  16026. description: 彩钻颜色1
  16027. items:
  16028. type: string
  16029. type: array
  16030. zsfluorescencetype:
  16031. description: 荧光
  16032. items:
  16033. type: integer
  16034. type: array
  16035. zspolishtype:
  16036. description: 抛光度
  16037. items:
  16038. type: integer
  16039. type: array
  16040. zsshapetype:
  16041. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16042. items:
  16043. type: string
  16044. type: array
  16045. zsstyletype:
  16046. description: 款式
  16047. items:
  16048. type: string
  16049. type: array
  16050. zssymmetrytype:
  16051. description: 对称度
  16052. items:
  16053. type: integer
  16054. type: array
  16055. required:
  16056. - zscategory
  16057. type: object
  16058. models.Systemparam:
  16059. properties:
  16060. loginid:
  16061. description: 更新用户账号,登录账号
  16062. type: string
  16063. modifyflag:
  16064. description: 修改标志0 不允许修改 1 允许修改
  16065. type: integer
  16066. paramcode:
  16067. description: 参数代码
  16068. type: string
  16069. paramname:
  16070. description: 参数名
  16071. type: string
  16072. paramtype:
  16073. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16074. type: integer
  16075. paramvalue:
  16076. description: 参数值
  16077. type: string
  16078. paramvalue2:
  16079. description: 参数值(CLOB)
  16080. type: string
  16081. regexpress:
  16082. description: 正则表达式
  16083. type: string
  16084. remark:
  16085. description: 备注
  16086. type: string
  16087. serverip:
  16088. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16089. type: string
  16090. showflag:
  16091. description: 是否显示0 不显示 1 显示
  16092. type: integer
  16093. updatetime:
  16094. description: 更新时间
  16095. type: string
  16096. userid:
  16097. description: 更新用户ID
  16098. type: integer
  16099. required:
  16100. - paramcode
  16101. type: object
  16102. models.Szdz3convertconfig:
  16103. properties:
  16104. canin:
  16105. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16106. type: integer
  16107. canout:
  16108. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16109. type: integer
  16110. converttype:
  16111. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16112. 6:交易转花生米(不设置)
  16113. type: integer
  16114. createtime:
  16115. description: 创建时间
  16116. type: string
  16117. creatorid:
  16118. description: 创建人
  16119. type: integer
  16120. daymaxvalue:
  16121. description: 当日最大转入限制
  16122. type: number
  16123. freezedays:
  16124. description: 冻结天数 [5:花生米转交易]
  16125. type: integer
  16126. innergoodsid:
  16127. description: 内部商品ID[交易]
  16128. type: integer
  16129. inratio:
  16130. description: 目标值
  16131. type: integer
  16132. modifierid:
  16133. description: 修改人
  16134. type: integer
  16135. modifytime:
  16136. description: 修改时间
  16137. type: string
  16138. outergoodscode:
  16139. description: 外部商品代码[JD\PD]
  16140. type: string
  16141. outratio:
  16142. description: 源值
  16143. type: integer
  16144. pddecimalplace:
  16145. description: PD小数位
  16146. type: integer
  16147. timemaxvalue:
  16148. description: 单次最大转入限制
  16149. type: number
  16150. timeminvalue:
  16151. description: 单次最小转入限制
  16152. type: number
  16153. required:
  16154. - converttype
  16155. - innergoodsid
  16156. - outergoodscode
  16157. type: object
  16158. models.Szdz3searchwhitelist:
  16159. properties:
  16160. createtime:
  16161. description: 创建时间
  16162. type: string
  16163. creatorid:
  16164. description: 创建人
  16165. type: integer
  16166. modifierid:
  16167. description: 修改人
  16168. type: integer
  16169. modifytime:
  16170. description: 修改时间
  16171. type: string
  16172. userid:
  16173. description: 用户ID
  16174. type: integer
  16175. required:
  16176. - userid
  16177. type: object
  16178. models.TBGoods:
  16179. properties:
  16180. agreeunit:
  16181. description: 合约乘数
  16182. type: number
  16183. enumdicname:
  16184. description: 单位名称
  16185. type: string
  16186. goodscode:
  16187. description: 商品代码(内部)
  16188. type: string
  16189. goodsid:
  16190. description: 商品ID(自增ID SEQ_GOODS)
  16191. type: integer
  16192. goodsname:
  16193. description: 商品名称
  16194. type: string
  16195. type: object
  16196. models.TBGoodsGroup:
  16197. properties:
  16198. GDLST:
  16199. description: 商品列表
  16200. items:
  16201. $ref: '#/definitions/models.TBGoods'
  16202. type: array
  16203. convertratio:
  16204. description: 折算系数
  16205. type: number
  16206. enumdicname:
  16207. description: 单位名称
  16208. type: string
  16209. exexchangecode:
  16210. description: 交易所代码
  16211. type: string
  16212. exexchangename:
  16213. description: 交易所名称
  16214. type: string
  16215. goodsgroupid:
  16216. description: 商品组ID(自增ID)
  16217. type: integer
  16218. goodsgroupname:
  16219. description: 商品组名称
  16220. type: string
  16221. goodunitid:
  16222. description: 报价单位ID
  16223. type: integer
  16224. type: object
  16225. models.TBMiddleGoods:
  16226. properties:
  16227. GPLST:
  16228. description: 期货品种列表
  16229. items:
  16230. $ref: '#/definitions/models.TBGoodsGroup'
  16231. type: array
  16232. WDLST:
  16233. description: 商品信息列表(现货品类)
  16234. items:
  16235. $ref: '#/definitions/models.TBWrstandard'
  16236. type: array
  16237. areauserid:
  16238. description: 机构用户ID
  16239. type: integer
  16240. enumdicname:
  16241. description: 单位名称
  16242. type: string
  16243. goodsunitid:
  16244. description: 套保品种单位id
  16245. type: integer
  16246. middlegoodscode:
  16247. description: 套保品种代码
  16248. type: string
  16249. middlegoodsid:
  16250. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16251. type: integer
  16252. middlegoodsname:
  16253. description: 套保品种名称
  16254. type: string
  16255. needarbitrageratio:
  16256. description: 套利比率
  16257. type: number
  16258. needhedgeratio:
  16259. description: 套保比率
  16260. type: number
  16261. type: object
  16262. models.TBWrstandard:
  16263. properties:
  16264. convertratio:
  16265. description: 折算系数
  16266. type: number
  16267. deliverygoodsname:
  16268. description: 品种名称
  16269. type: string
  16270. enumdicname:
  16271. description: 单位名称
  16272. type: string
  16273. vatrate:
  16274. description: 增值税率
  16275. type: number
  16276. wrstandardcode:
  16277. description: 现货商品代码
  16278. type: string
  16279. wrstandardid:
  16280. description: 现货商品ID(SEQ_WRSTANDARD)
  16281. type: integer
  16282. wrstandardname:
  16283. description: 现货商品名称
  16284. type: string
  16285. type: object
  16286. models.Taaccount:
  16287. properties:
  16288. accountflag:
  16289. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16290. type: integer
  16291. accountid:
  16292. description: 资金账户ID
  16293. type: integer
  16294. accountname:
  16295. description: 账户名称
  16296. type: string
  16297. balance:
  16298. description: 期初余额
  16299. type: number
  16300. capitalbalance:
  16301. description: 本金余额[外部子账户实际出入金余额]
  16302. type: number
  16303. changeflag:
  16304. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16305. type: integer
  16306. changetime:
  16307. description: 账户状态变更时间
  16308. type: string
  16309. closepl:
  16310. description: 今日平仓盈亏
  16311. type: number
  16312. creditdecrease:
  16313. description: 今日授信减少
  16314. type: number
  16315. creditincrease:
  16316. description: 今日授信增加
  16317. type: number
  16318. curamount:
  16319. description: 总市值(从持仓中统计)
  16320. type: number
  16321. currencyid:
  16322. description: 货币ID
  16323. type: integer
  16324. currentbalance:
  16325. description: 期末余额
  16326. type: number
  16327. freezecharge:
  16328. description: 手续费冻结
  16329. type: number
  16330. freezemargin:
  16331. description: 冻结保证金
  16332. type: number
  16333. fromaccountid:
  16334. description: 所属上级账户
  16335. type: integer
  16336. inamount:
  16337. description: 今日入金金额(包括三方入金)
  16338. type: number
  16339. ismain:
  16340. description: 是否母账号 0:不是母账户 1:是母账户
  16341. type: integer
  16342. ismarketaccount:
  16343. description: 是否机构接单账号 0:不是 1:是
  16344. type: integer
  16345. isreckonaccount:
  16346. description: 是否机构分润账号 0:不是 1:是
  16347. type: integer
  16348. mortgagecredit:
  16349. description: 授信金额
  16350. type: number
  16351. orifreezecharge:
  16352. description: 期初手续费冻结
  16353. type: number
  16354. orifreezemargin:
  16355. description: 期初冻结保证金
  16356. type: number
  16357. orimortgagecredit:
  16358. description: 期初授信金额
  16359. type: number
  16360. oriothercredit:
  16361. description: 期初其它授信金额
  16362. type: number
  16363. oriotherfreezemargin:
  16364. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16365. type: number
  16366. orioutamountfreeze:
  16367. description: 期初出金冻结
  16368. type: number
  16369. oriusedmargin:
  16370. description: 期初占用保证金
  16371. type: number
  16372. othercredit:
  16373. description: 其它授信金额
  16374. type: number
  16375. othercreditdecrease:
  16376. description: 今日其它授信减少
  16377. type: number
  16378. othercreditincrease:
  16379. description: 今日其它授信增加
  16380. type: number
  16381. otherfreezemargin:
  16382. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16383. type: number
  16384. otherincome:
  16385. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16386. type: number
  16387. otherpay:
  16388. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16389. type: number
  16390. outamount:
  16391. description: 今日出金金额(包括三方出金)
  16392. type: number
  16393. outamountfreeze:
  16394. description: 出金冻结
  16395. type: number
  16396. outthreshold:
  16397. description: 出金阈值
  16398. type: number
  16399. parentaccountid:
  16400. description: 所属根账号
  16401. type: integer
  16402. paycharge:
  16403. description: 今日手续费支出
  16404. type: number
  16405. relatedaccountstatus:
  16406. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16407. type: integer
  16408. relateduserid:
  16409. description: 关联用户
  16410. type: integer
  16411. remainamount:
  16412. description: 融资额(从融资合同中统计)
  16413. type: number
  16414. serivcegroup:
  16415. description: 服务分组
  16416. type: integer
  16417. signstatus:
  16418. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16419. type: integer
  16420. sublevelpath:
  16421. description: 账号层级路径(逗号分隔,首尾加逗号)
  16422. type: string
  16423. taaccounttype:
  16424. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16425. type: integer
  16426. thirdinamount:
  16427. description: 今日三方入金
  16428. type: number
  16429. thirdoutamount:
  16430. description: 今日三方出金
  16431. type: number
  16432. tradestatus:
  16433. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  16434. type: integer
  16435. tradestatuschangetime:
  16436. description: 激活时间
  16437. type: string
  16438. transferamount:
  16439. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  16440. type: number
  16441. usedmargin:
  16442. description: 占用保证金
  16443. type: number
  16444. userid:
  16445. description: 用户ID
  16446. type: integer
  16447. required:
  16448. - accountid
  16449. - userid
  16450. type: object
  16451. models.Tablecolumnconfig:
  16452. properties:
  16453. aligntype:
  16454. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  16455. type: integer
  16456. autoid:
  16457. description: AutoID
  16458. type: integer
  16459. columnfield:
  16460. description: 列字段
  16461. type: string
  16462. columntitle:
  16463. description: 列Title
  16464. type: string
  16465. columnwidth:
  16466. description: 列宽
  16467. type: string
  16468. fixed:
  16469. description: 固定类型 - 空 | left | right
  16470. type: string
  16471. formatterstring:
  16472. description: 格式化字符
  16473. type: string
  16474. formattertype:
  16475. description: 格式化类型
  16476. type: string
  16477. groupname:
  16478. description: 表头分组名称
  16479. type: string
  16480. ismerge:
  16481. description: 是否合并显示 - 0:不合并 1:合并
  16482. type: integer
  16483. isshow:
  16484. description: 是否显示 - 0:不显示 1:显示
  16485. type: integer
  16486. needsummary:
  16487. description: 是否需要汇总 - 0:不需要 1:需要
  16488. type: integer
  16489. orderindex:
  16490. description: 顺序
  16491. type: integer
  16492. remark:
  16493. description: 备注
  16494. type: string
  16495. summarytype:
  16496. description: 汇总类型 - 1:加总 2:最后一个
  16497. type: integer
  16498. tablekey:
  16499. description: 列表Key
  16500. type: string
  16501. required:
  16502. - autoid
  16503. type: object
  16504. models.TjmdHolderDetailTradeInfo:
  16505. properties:
  16506. agreeunit:
  16507. description: 合约乘数
  16508. type: number
  16509. buyaccountid:
  16510. description: 买方账户
  16511. type: string
  16512. buyusername:
  16513. description: 买方
  16514. type: string
  16515. delistingdate:
  16516. description: 最后结算日
  16517. type: string
  16518. expiredate:
  16519. description: 到期结算价定价日
  16520. type: string
  16521. exprieprice:
  16522. description: 到期清算价格
  16523. type: string
  16524. goodscode:
  16525. description: 商品代码
  16526. type: string
  16527. goodsid:
  16528. description: 商品ID
  16529. type: integer
  16530. goodsname:
  16531. description: 商品名称(交易标的)
  16532. type: string
  16533. lasttradedate:
  16534. description: 最后交易日
  16535. type: string
  16536. listingdate:
  16537. description: 开始交易日
  16538. type: string
  16539. openprice:
  16540. description: 成交价
  16541. type: number
  16542. openqty:
  16543. description: 交易数量
  16544. type: integer
  16545. sellaccountid:
  16546. description: 卖方账户
  16547. type: string
  16548. sellusername:
  16549. description: 卖方
  16550. type: string
  16551. tradeamount:
  16552. description: 初始名义价值
  16553. type: number
  16554. tradedate:
  16555. description: 成交日期
  16556. type: string
  16557. tradeid:
  16558. description: 成交编号
  16559. type: string
  16560. type: object
  16561. models.TjmdMarketSection:
  16562. properties:
  16563. marketsectionid:
  16564. description: 市场版块ID(SEQ_MARKETSECTION)
  16565. type: integer
  16566. marketsectionname:
  16567. description: 市场版块名称
  16568. type: string
  16569. mlist:
  16570. description: 市场列表(板块下面有多少个市场)
  16571. items:
  16572. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  16573. type: array
  16574. orderindex:
  16575. description: 排序
  16576. type: integer
  16577. pictureurl:
  16578. description: 图片url, 规格(90*90)
  16579. type: string
  16580. remark:
  16581. description: 备注
  16582. type: string
  16583. type: object
  16584. models.TjmdMarketSectionConfig:
  16585. properties:
  16586. auctionwrtype:
  16587. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  16588. type: integer
  16589. canacceptquote:
  16590. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  16591. type: integer
  16592. cangoodsexercise:
  16593. description: '[期权]是否可现货行权- 0:否 1:是'
  16594. type: integer
  16595. cangoodsexercisetype:
  16596. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  16597. type: integer
  16598. canmanualquotestrike:
  16599. description: 是否可手动报行权价- 0:否 1:是 [期权]
  16600. type: integer
  16601. canmutistage:
  16602. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  16603. type: integer
  16604. canpreexercise:
  16605. description: '[期权]是否可预申报- 0:否 1:是'
  16606. type: integer
  16607. clearinterval:
  16608. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  16609. type: integer
  16610. contracttmp:
  16611. description: 合同模板[荷兰式][竞价式][仓单贸易]
  16612. type: string
  16613. exchareaid:
  16614. description: 所属交易所,可以没有
  16615. type: integer
  16616. financemarketid:
  16617. description: 融资回购市场ID [仓单贸易]
  16618. type: integer
  16619. goodstype:
  16620. description: 商品类型 - 1:交易商品 2:仓单商品
  16621. type: integer
  16622. hasrebate:
  16623. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  16624. type: integer
  16625. hastradecredit:
  16626. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  16627. type: integer
  16628. haswr:
  16629. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  16630. type: integer
  16631. isdeductmargin:
  16632. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  16633. type: integer
  16634. isrecordsource:
  16635. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  16636. type: integer
  16637. isreleasemargin:
  16638. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  16639. type: integer
  16640. isupdatereckonprice:
  16641. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  16642. type: integer
  16643. listingmode:
  16644. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16645. type: integer
  16646. marginformula:
  16647. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16648. type: integer
  16649. marginformula2:
  16650. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  16651. type: integer
  16652. marketid:
  16653. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  16654. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  16655. type: integer
  16656. marketname:
  16657. description: 市场名称
  16658. type: string
  16659. marketsectionid:
  16660. description: 市场版块ID(SEQ_MARKETSECTION)
  16661. type: integer
  16662. marketserviceid:
  16663. description: 市场服务ID
  16664. type: integer
  16665. marketstatus:
  16666. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  16667. type: integer
  16668. markettype:
  16669. description: 市场类型- 1:非交易服务 2:交易服务
  16670. type: integer
  16671. matchermode:
  16672. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  16673. type: integer
  16674. nowrquotaflag:
  16675. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  16676. type: integer
  16677. openmethod:
  16678. description: 开盘模式 - 0 自动 1手动
  16679. type: integer
  16680. orderindex:
  16681. description: 排序
  16682. type: integer
  16683. otcuserid:
  16684. description: 场外期权做市商[场外期权]
  16685. type: integer
  16686. outersynctime:
  16687. description: 外部同步时间点(h24:mi:ss)[场外期权]
  16688. type: string
  16689. paylaterflag:
  16690. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  16691. type: integer
  16692. pendingflag:
  16693. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  16694. type: integer
  16695. pendingtime:
  16696. description: 待开市时间[通道交易-对冲](HH:mm)
  16697. type: string
  16698. performancetempid:
  16699. description: 履约计划模板ID - 作废
  16700. type: integer
  16701. premiumquotemode:
  16702. description: 权利金报价方式 - 1:自动 2:手动
  16703. type: integer
  16704. rebateratio:
  16705. description: 返利比率[竞价式]
  16706. type: number
  16707. reckonorder:
  16708. description: 结算顺序
  16709. type: integer
  16710. reckonpricealgorithm:
  16711. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  16712. 6.卖一价 7.买一卖一均价 8.外部结算价'
  16713. type: integer
  16714. reckonpriceparam:
  16715. description: 结算价参数
  16716. type: integer
  16717. reckontime:
  16718. description: 结算时间[通道交易-对冲](HH:mm)
  16719. type: string
  16720. roleprioritytype:
  16721. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  16722. type: integer
  16723. selllistingauditflag:
  16724. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  16725. type: integer
  16726. trademarkettype:
  16727. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  16728. type: integer
  16729. trademode:
  16730. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16731. 21:竞拍-大宗式 22:受托竞价
  16732. type: integer
  16733. tradeproperty:
  16734. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  16735. 8:场外期权
  16736. type: integer
  16737. tradetype:
  16738. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  16739. type: integer
  16740. updatereckonpriceinterval:
  16741. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  16742. type: integer
  16743. type: object
  16744. models.TjmdQuoteGoods:
  16745. properties:
  16746. buyqty:
  16747. description: 买量(暂不做, 无值, 保留字段)
  16748. type: number
  16749. decimalplace:
  16750. description: 报价小数位
  16751. type: integer
  16752. goodscode:
  16753. description: 合约代码
  16754. type: string
  16755. goodsgroupid:
  16756. description: 商品组ID(自增ID)
  16757. type: integer
  16758. goodsgroupname:
  16759. description: 商品组名称
  16760. type: string
  16761. goodsid:
  16762. description: 合约id
  16763. type: integer
  16764. goodsname:
  16765. description: 合约名称
  16766. type: string
  16767. refgoodscode:
  16768. description: 标的合约代码
  16769. type: string
  16770. refgoodsid:
  16771. description: 标的合约id
  16772. type: integer
  16773. refgoodsname:
  16774. description: 标的合约名称
  16775. type: string
  16776. sellqty:
  16777. description: 卖量(暂不做, 无值, 保留字段)
  16778. type: number
  16779. type: object
  16780. models.TjmdTodayAccountMargin:
  16781. properties:
  16782. accountid:
  16783. description: 账号ID
  16784. type: integer
  16785. goodsid:
  16786. description: 商品ID
  16787. type: integer
  16788. infoc:
  16789. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  16790. description: 配置参数
  16791. marketid:
  16792. description: 市场ID
  16793. type: integer
  16794. type: object
  16795. models.TjmdTradeOrderDetail:
  16796. properties:
  16797. buyorsell:
  16798. description: 买卖方向 0-买 1-卖
  16799. type: integer
  16800. goodsid:
  16801. description: 商品id
  16802. type: integer
  16803. marketmaxsub:
  16804. description: 市价最大偏移范围 [浮动价 - 点差]
  16805. type: number
  16806. orderid:
  16807. description: 委托单号
  16808. type: string
  16809. orderprice:
  16810. description: 期初均价
  16811. type: number
  16812. orderqty:
  16813. description: 委托数量
  16814. type: integer
  16815. pricemode:
  16816. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  16817. type: integer
  16818. userid:
  16819. description: 用户id
  16820. type: integer
  16821. username:
  16822. description: 用户名称(已脱敏)
  16823. type: string
  16824. type: object
  16825. models.TjmdTransferApply:
  16826. properties:
  16827. applyid:
  16828. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  16829. type: integer
  16830. applystatus:
  16831. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  16832. type: integer
  16833. applytime:
  16834. description: 申请时间(时间)
  16835. type: string
  16836. auditremark:
  16837. description: 审核备注(拒绝原因?)
  16838. type: string
  16839. begindate:
  16840. description: 开始交易日(yyyymmdd)
  16841. type: string
  16842. buyorsell:
  16843. description: 买卖 - 0:买 1:卖
  16844. type: integer
  16845. enddate:
  16846. description: 结束交易日(yyyymmdd)
  16847. type: string
  16848. goodscode:
  16849. description: 商品代码
  16850. type: string
  16851. goodsid:
  16852. description: 商品ID
  16853. type: integer
  16854. goodsname:
  16855. description: 商品名称
  16856. type: string
  16857. marketid:
  16858. description: 市场ID
  16859. type: integer
  16860. qty:
  16861. description: 期初均价
  16862. type: number
  16863. tradeid:
  16864. description: 成交单号(关联持仓)
  16865. type: string
  16866. transferamount:
  16867. description: 转让总金额(金额)
  16868. type: number
  16869. transferprice:
  16870. description: 转让价格(协议价格)
  16871. type: number
  16872. type: object
  16873. models.TradeHolderDetail:
  16874. properties:
  16875. accountid:
  16876. description: 账号ID
  16877. type: integer
  16878. agreeunit:
  16879. description: 合约乘数
  16880. type: number
  16881. buyorsell:
  16882. description: 方向 - 0:买 1:卖
  16883. type: integer
  16884. currencyid:
  16885. description: 商品币种id
  16886. type: integer
  16887. currencyname:
  16888. description: 币种名称
  16889. type: string
  16890. decimalplace:
  16891. description: 商品价格小数位
  16892. type: integer
  16893. enumdicname:
  16894. description: 商品单位名称
  16895. type: string
  16896. expirecycle:
  16897. description: 行权周期(天) - 1:滚动行权时填写
  16898. type: integer
  16899. expiredate:
  16900. description: 行权日(yyyyMMdd) - 到期日
  16901. type: string
  16902. expiretype:
  16903. description: 行权日类型 - 1:滚动行权 2:固定日行权
  16904. type: integer
  16905. freezeqty:
  16906. description: 期初均价
  16907. type: number
  16908. goodscode:
  16909. description: 商品代码
  16910. type: string
  16911. goodsid:
  16912. description: 商品ID
  16913. type: integer
  16914. goodsname:
  16915. description: 商品名称
  16916. type: string
  16917. goodunitid:
  16918. description: 商品单位id
  16919. type: integer
  16920. holderamount:
  16921. description: 持仓金额
  16922. type: number
  16923. holdercredit:
  16924. description: 持仓授信金额
  16925. type: number
  16926. holderdays:
  16927. description: 剩余冻结天数
  16928. type: integer
  16929. holderprice:
  16930. description: 持仓价格
  16931. type: number
  16932. holderqty:
  16933. description: 期初均价
  16934. type: number
  16935. isconfirmexercise:
  16936. description: 是否确认行权- 0:否 1:是
  16937. type: integer
  16938. ispreexercise:
  16939. description: 是否预申报- 0:否 1:是 2:不可行权
  16940. type: integer
  16941. marketid:
  16942. description: 市场id
  16943. type: integer
  16944. marketname:
  16945. description: 市场名称
  16946. type: string
  16947. openprice:
  16948. description: 建仓价格
  16949. type: number
  16950. openqty:
  16951. description: 期初均价
  16952. type: number
  16953. optiontype:
  16954. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16955. type: integer
  16956. preexerciseprice:
  16957. description: 预申报价格
  16958. type: number
  16959. premium:
  16960. description: 权利金
  16961. type: number
  16962. qtydecimalplace:
  16963. description: 商品成交量小数位
  16964. type: integer
  16965. refgoodscode:
  16966. description: 标的合约代码
  16967. type: string
  16968. refgoodsid:
  16969. description: 标的合约id
  16970. type: integer
  16971. releaseamount:
  16972. description: 释放持仓金额
  16973. type: number
  16974. releaseholdercredit:
  16975. description: 释放持仓授信金额
  16976. type: number
  16977. taname:
  16978. description: 资金账号名称
  16979. type: string
  16980. tradeamount:
  16981. description: 成交金额
  16982. type: number
  16983. tradedate:
  16984. description: 交易日(yyyyMMdd)
  16985. type: string
  16986. tradeid:
  16987. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16988. type: string
  16989. trademode:
  16990. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16991. 21:竞拍-大宗式 22:受托竞价 46:掉期
  16992. type: integer
  16993. tradeproperty:
  16994. description: 交易属性
  16995. type: integer
  16996. tradetime:
  16997. description: 交易时间
  16998. type: string
  16999. userid:
  17000. description: 用户id
  17001. type: integer
  17002. username:
  17003. description: 用户名称
  17004. type: string
  17005. type: object
  17006. models.Unlinkermcphedgeplan:
  17007. properties:
  17008. accountid:
  17009. description: 期货账户ID - 作废
  17010. type: integer
  17011. accountname:
  17012. description: 交易用户
  17013. type: string
  17014. applyid:
  17015. description: 申请人
  17016. type: integer
  17017. applysrc:
  17018. description: 申请来源 - 1:管理端 2:终端
  17019. type: integer
  17020. applytime:
  17021. description: 申请时间
  17022. type: string
  17023. areauserid:
  17024. description: '[企业ID]机构ID'
  17025. type: integer
  17026. auditid:
  17027. description: 审核人
  17028. type: integer
  17029. auditremark:
  17030. description: 审核备注
  17031. type: string
  17032. auditsrc:
  17033. description: 审核来源 - 1:管理端 2:终端
  17034. type: integer
  17035. audittime:
  17036. description: 审核时间
  17037. type: string
  17038. audittradedate:
  17039. description: 审核交易日(yyyyMMdd)
  17040. type: string
  17041. biztype:
  17042. description: 业务类型 - 1:套保
  17043. type: integer
  17044. contracttype:
  17045. description: 计划类型 - 1:采购 -1:销售
  17046. type: integer
  17047. convertfactor:
  17048. description: 标仓系数 - 作废
  17049. type: number
  17050. createtime:
  17051. description: 创建时间
  17052. type: string
  17053. currencyid:
  17054. description: 结算币种ID - 作废
  17055. type: integer
  17056. deliverygoodsid:
  17057. description: 现货品种ID
  17058. type: integer
  17059. enumdicname:
  17060. description: 结算币种
  17061. type: string
  17062. hedgeplanid:
  17063. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17064. type: string
  17065. hedgeplanno:
  17066. description: '[计划编号]套保计划编号,模糊查询'
  17067. type: string
  17068. hedgeplanstatus:
  17069. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17070. type: integer
  17071. isrelated:
  17072. description: 是否已关联计划项目 - 0:否 1:是
  17073. type: integer
  17074. planqty:
  17075. description: '[计划量]计划数量'
  17076. type: number
  17077. plantime:
  17078. description: 计划时间
  17079. type: string
  17080. producttype:
  17081. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17082. type: integer
  17083. remark:
  17084. description: 备注
  17085. type: string
  17086. spotgoodsdesc:
  17087. description: 商品型号
  17088. type: string
  17089. tradedate:
  17090. description: 交易日(yyyyMMdd)
  17091. type: string
  17092. tradeuserid:
  17093. description: 交易用户ID
  17094. type: integer
  17095. updatetime:
  17096. description: 更新时间
  17097. type: string
  17098. wrstandardid:
  17099. description: 现货商品ID
  17100. type: integer
  17101. wrstandardname:
  17102. description: 现货商品,模糊查询
  17103. type: string
  17104. required:
  17105. - areauserid
  17106. type: object
  17107. models.UserCollectConfig:
  17108. properties:
  17109. accountstatus:
  17110. description: 账户状态 - 1:正常 2:停用 3:注销
  17111. type: integer
  17112. collectaccountname:
  17113. description: 收款人账户名称
  17114. type: string
  17115. collectaccountno:
  17116. description: 收款人账户
  17117. type: string
  17118. collectbankname:
  17119. description: 收款人开户行
  17120. type: string
  17121. collectbranchbankname:
  17122. description: 收款人开户支行
  17123. type: string
  17124. collectconfigid:
  17125. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17126. type: string
  17127. remark:
  17128. description: 备注
  17129. type: string
  17130. userid:
  17131. description: 收款人用户ID
  17132. type: integer
  17133. type: object
  17134. models.UserReceiveInfo:
  17135. properties:
  17136. address:
  17137. description: 提货人详细地址
  17138. type: string
  17139. autoid:
  17140. description: AutoID
  17141. type: integer
  17142. cardnum:
  17143. description: 证件号码(加密存储)
  17144. type: string
  17145. cardtypeid:
  17146. description: 证件类型
  17147. type: integer
  17148. cityid:
  17149. description: 市
  17150. type: integer
  17151. cityname:
  17152. description: 城市名称
  17153. type: string
  17154. countryid:
  17155. description: 国家
  17156. type: integer
  17157. countryname:
  17158. description: 国家名称
  17159. type: string
  17160. districtid:
  17161. description: 地区
  17162. type: integer
  17163. districtname:
  17164. description: 地区名称
  17165. type: string
  17166. hasencrypt:
  17167. description: 数据是否已加密 - 0:未加密 1:已加密
  17168. type: integer
  17169. isdefault:
  17170. description: 是否默认地址 - 0:否 1:是
  17171. type: integer
  17172. phonenum:
  17173. description: 提货人联系方式(加密存储)
  17174. type: string
  17175. provinceid:
  17176. description: 省
  17177. type: integer
  17178. provincename:
  17179. description: 省名称
  17180. type: string
  17181. receivername:
  17182. description: 提货人姓名
  17183. type: string
  17184. takeremark:
  17185. description: 提货备注
  17186. type: string
  17187. userid:
  17188. description: 用户ID
  17189. type: integer
  17190. type: object
  17191. models.Useraccount:
  17192. properties:
  17193. accountname:
  17194. description: 账户名称(机构名称)
  17195. type: string
  17196. accountstatus:
  17197. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17198. type: integer
  17199. applysrc:
  17200. description: 申请来源 - 1:管理端 2:终端
  17201. type: integer
  17202. auditremark:
  17203. description: 审核备注
  17204. type: string
  17205. auditsrc:
  17206. description: 审核来源 - 1:管理端 2:终端
  17207. type: integer
  17208. audittime:
  17209. description: 审核时间
  17210. type: string
  17211. audituserid:
  17212. description: 审核人
  17213. type: integer
  17214. broker:
  17215. description: 所属经纪人ID
  17216. type: integer
  17217. canceltime:
  17218. description: 销户时间
  17219. type: string
  17220. canceluserid:
  17221. description: 销户人
  17222. type: integer
  17223. canrecommend:
  17224. description: 是否可推荐 - 0:不可 1;可
  17225. type: integer
  17226. createtime:
  17227. description: 创建时间
  17228. type: string
  17229. creatorid:
  17230. description: 创建人
  17231. type: integer
  17232. hasauth:
  17233. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17234. type: integer
  17235. isanonymous:
  17236. description: 是否匿名下单 - 0:否 1:是
  17237. type: integer
  17238. maxinvestornum:
  17239. description: 最大用户数(经纪会员下投资者个数)
  17240. type: integer
  17241. memberuserid:
  17242. description: 所属会员ID
  17243. type: integer
  17244. modifierid:
  17245. description: 修改人
  17246. type: integer
  17247. modifyremark:
  17248. description: 变更备注
  17249. type: string
  17250. modifystatus:
  17251. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  17252. type: integer
  17253. modifytime:
  17254. description: 修改时间
  17255. type: string
  17256. parenttopuser:
  17257. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  17258. type: string
  17259. parentuserid:
  17260. description: 所属机构ID
  17261. type: integer
  17262. reckonaccountid:
  17263. description: 默认结算资金账号ID(机构分润使用) 作废
  17264. type: integer
  17265. refercount:
  17266. description: 推荐总人数
  17267. type: integer
  17268. refereeuserid:
  17269. description: 推荐人ID
  17270. type: integer
  17271. refernum:
  17272. description: 推荐码
  17273. type: string
  17274. rootuserid:
  17275. description: 根用户ID
  17276. type: integer
  17277. subaccountlevel:
  17278. description: 子账户层数
  17279. type: integer
  17280. subarealevelpath:
  17281. description: 子机构层级路径(逗号分隔,首尾加逗号)
  17282. type: string
  17283. userid:
  17284. description: 用户ID
  17285. type: integer
  17286. usertype:
  17287. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17288. type: integer
  17289. required:
  17290. - userid
  17291. type: object
  17292. models.Userfavoritegoods:
  17293. properties:
  17294. goodsid:
  17295. description: 商品ID
  17296. type: integer
  17297. required:
  17298. - goodsid
  17299. type: object
  17300. models.Userinfo:
  17301. properties:
  17302. address:
  17303. description: 地址
  17304. type: string
  17305. attachment1:
  17306. description: 附件1
  17307. type: string
  17308. attachment2:
  17309. description: 附件2
  17310. type: string
  17311. bankaccount:
  17312. description: 银行帐号 (加密存储)
  17313. type: string
  17314. bankaccountname:
  17315. description: 收款人名称
  17316. type: string
  17317. bankcardfrontphotourl:
  17318. description: 银行卡正面照地址
  17319. type: string
  17320. bankid:
  17321. description: 银行编码
  17322. type: string
  17323. bankname:
  17324. description: 银行名称
  17325. type: string
  17326. biznature:
  17327. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  17328. type: integer
  17329. bizscope:
  17330. description: 企业经营范围(企业)
  17331. type: string
  17332. cardbackphotourl:
  17333. description: 证件背面图片地址
  17334. type: string
  17335. cardfrontphotourl:
  17336. description: 证件正面图片地址
  17337. type: string
  17338. cardnum:
  17339. description: 证件号码(加密存储)
  17340. type: string
  17341. cardtypeid:
  17342. description: 证件类型ID
  17343. type: integer
  17344. cityid:
  17345. description: 市
  17346. type: integer
  17347. company:
  17348. description: 公司(个人)
  17349. type: string
  17350. contactname:
  17351. description: 联系人
  17352. type: string
  17353. countryid:
  17354. description: 国家
  17355. type: integer
  17356. createtime:
  17357. description: 创建时间
  17358. type: string
  17359. creatorid:
  17360. description: 创建人
  17361. type: integer
  17362. customername:
  17363. description: 客户名称(企业名称)
  17364. type: string
  17365. districtid:
  17366. description: 地区
  17367. type: integer
  17368. email:
  17369. description: 邮件(加密存储)
  17370. type: string
  17371. fax:
  17372. description: 传真(加密存储)
  17373. type: string
  17374. halfbodyphotourl:
  17375. description: 半身照地址
  17376. type: string
  17377. hasencrypt:
  17378. description: 数据是否已加密 - 0:未加密 1:已加密
  17379. type: integer
  17380. headurl:
  17381. description: 头像地址
  17382. type: string
  17383. legalcardbackphotourl:
  17384. description: 法人身份证背面照地址
  17385. type: string
  17386. legalcardfrontphotourl:
  17387. description: 法人身份证正面照地址
  17388. type: string
  17389. legalpersonname:
  17390. description: 法人姓名(企业)
  17391. type: string
  17392. mobile:
  17393. description: 手机号码(加密存储)
  17394. type: string
  17395. mobile2:
  17396. description: 手机号码[明文-尚志]
  17397. type: string
  17398. modifierid:
  17399. description: 修改人
  17400. type: integer
  17401. modifiertime:
  17402. description: 修改时间
  17403. type: string
  17404. needinvoice:
  17405. description: 是否需要发票 - 0:不需要 1:需要
  17406. type: integer
  17407. nickname:
  17408. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  17409. type: string
  17410. openmode:
  17411. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  17412. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  17413. type: integer
  17414. otherurl:
  17415. description: 其它图片地址[使用分号分隔]
  17416. type: string
  17417. postalcode:
  17418. description: 邮政编码
  17419. type: string
  17420. provinceid:
  17421. description: 省
  17422. type: integer
  17423. qq:
  17424. description: QQ(加密存储
  17425. type: string
  17426. remark:
  17427. description: 备注
  17428. type: string
  17429. sex:
  17430. description: '用户性别 0: 女 1: 男'
  17431. type: integer
  17432. signpdfurl:
  17433. description: 签约pdf文件
  17434. type: string
  17435. telphone:
  17436. description: 联系电话(加密存储)
  17437. type: string
  17438. userid:
  17439. description: 用户ID
  17440. type: integer
  17441. userinfotype:
  17442. description: 用户信息类型 - 1:个人 2:企业
  17443. type: integer
  17444. userstatus:
  17445. description: 用户状态 - 1:正常 2:注销
  17446. type: integer
  17447. usertype:
  17448. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  17449. type: integer
  17450. wechat:
  17451. description: 微信(加密存储)
  17452. type: string
  17453. wskhinfo:
  17454. description: 开户申请信息(JSON)
  17455. type: string
  17456. required:
  17457. - userid
  17458. type: object
  17459. models.WRSConverTDetail:
  17460. properties:
  17461. convertratio:
  17462. description: 套保系数
  17463. type: number
  17464. deliverygoodscode:
  17465. description: 现货商品代码
  17466. type: string
  17467. deliverygoodsid:
  17468. description: 现货品种ID
  17469. type: integer
  17470. deliverygoodsname:
  17471. description: 现货商品名称
  17472. type: string
  17473. enumdicname:
  17474. description: 单位名称
  17475. type: string
  17476. goodsunitid:
  17477. description: 套保品种单位id
  17478. type: integer
  17479. middlegoodscode:
  17480. description: 套保品种代码
  17481. type: string
  17482. middlegoodsid:
  17483. description: 套保品种ID
  17484. type: integer
  17485. middlegoodsname:
  17486. description: 套保品种名称
  17487. type: string
  17488. modifytime:
  17489. description: 修改时间
  17490. type: string
  17491. wrstandardid:
  17492. description: 品类ID
  17493. type: integer
  17494. type: object
  17495. models.WRStandardInfo:
  17496. properties:
  17497. areauserid:
  17498. description: 所属机构
  17499. type: integer
  17500. convertfactor:
  17501. description: 标仓系数
  17502. type: number
  17503. createtime:
  17504. description: 创建时间
  17505. type: string
  17506. creatorid:
  17507. description: 创建人
  17508. type: integer
  17509. deliverygoodsid:
  17510. description: 品种ID
  17511. type: integer
  17512. deliverygoodsname:
  17513. description: 交割商品名称
  17514. type: string
  17515. factoryitemjson:
  17516. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  17517. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  17518. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  17519. 逗号分隔'
  17520. type: string
  17521. isvalid:
  17522. description: 是否有效 - 0:无效 1:有效
  17523. type: integer
  17524. minivalue:
  17525. description: 最小变动值
  17526. type: integer
  17527. minivaluedp:
  17528. description: 最小变动值小数位
  17529. type: integer
  17530. realminivalue:
  17531. description: 实际最小变动值
  17532. type: integer
  17533. realminivaluedp:
  17534. description: 实际最小变动值小数位
  17535. type: integer
  17536. remark:
  17537. description: 备注
  17538. type: string
  17539. unitid:
  17540. description: 单位ID
  17541. type: integer
  17542. unitname:
  17543. description: 单位
  17544. type: string
  17545. updatetime:
  17546. description: 更新时间
  17547. type: string
  17548. updatorid:
  17549. description: 更新人
  17550. type: integer
  17551. wrsstatus:
  17552. description: 状态 - 作废 - 0:未激活 1:正常
  17553. type: integer
  17554. wrstandardcode:
  17555. description: 现货品类代码
  17556. type: string
  17557. wrstandardid:
  17558. description: 现货品类ID(SEQ_WRSTANDARD)
  17559. type: integer
  17560. wrstandardname:
  17561. description: 现货品类名称
  17562. type: string
  17563. required:
  17564. - wrstandardid
  17565. type: object
  17566. models.WRTradeBargainApply:
  17567. properties:
  17568. accountid:
  17569. description: 摘牌资金账号
  17570. type: integer
  17571. applyprice:
  17572. description: 申请价格(议价价格)
  17573. type: string
  17574. applyqty:
  17575. description: 摘牌数量(议价数量)
  17576. type: number
  17577. applyremark:
  17578. description: 申请备注
  17579. type: string
  17580. applystatus:
  17581. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  17582. type: integer
  17583. applytime:
  17584. description: 申请时间(议价时间)
  17585. type: string
  17586. begindate:
  17587. description: 开始交易日(yyyymmdd)
  17588. type: string
  17589. buyorsell:
  17590. description: 买卖(挂牌类型) - 0:买 1:卖
  17591. type: integer
  17592. confirmremark:
  17593. description: 确认备注
  17594. type: string
  17595. confirmtime:
  17596. description: 确认时间
  17597. type: string
  17598. confirmuserid:
  17599. description: 确认人
  17600. type: integer
  17601. deliverygoodscode:
  17602. description: 品种代码
  17603. type: string
  17604. deliverygoodsid:
  17605. description: 品种ID
  17606. type: integer
  17607. deliverygoodsname:
  17608. description: 品种名称
  17609. type: string
  17610. deliverymonth:
  17611. description: 交收月
  17612. type: string
  17613. enddate:
  17614. description: 结束交易日(yyyymmdd)
  17615. type: string
  17616. enumdicname:
  17617. description: 单位名称
  17618. type: string
  17619. fixedprice:
  17620. description: 期初均价
  17621. type: number
  17622. handlestatus:
  17623. description: 处理状态
  17624. type: integer
  17625. marginvalue:
  17626. description: 期初均价
  17627. type: number
  17628. marketid:
  17629. description: 市场ID
  17630. type: integer
  17631. matchaccountid:
  17632. description: 挂牌方资金账号
  17633. type: integer
  17634. matchuserid:
  17635. description: 挂牌方用户id
  17636. type: integer
  17637. matchusername:
  17638. description: 挂牌方用户名称(已脱敏)
  17639. type: string
  17640. minivalue:
  17641. description: 现货商品最小变动值
  17642. type: integer
  17643. optioncompare:
  17644. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17645. type: string
  17646. orderqty:
  17647. description: 挂牌数量
  17648. type: integer
  17649. refprice:
  17650. description: 参考价格
  17651. type: string
  17652. retcode:
  17653. description: 委托返回代码
  17654. type: integer
  17655. templatename:
  17656. description: 履约方式(履约模板名称)
  17657. type: string
  17658. tradedate:
  17659. description: 交易日(yyyyMMdd)
  17660. type: string
  17661. userid:
  17662. description: 摘牌人用户ID(议价人ID)
  17663. type: integer
  17664. username:
  17665. description: 议价人名字(已脱敏)
  17666. type: string
  17667. validtime:
  17668. description: 有效期限
  17669. type: string
  17670. warehouseid:
  17671. description: 仓库ID
  17672. type: integer
  17673. warehousename:
  17674. description: 仓库名称
  17675. type: string
  17676. wrbargainid:
  17677. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  17678. type: string
  17679. wrfactortypeid:
  17680. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17681. type: string
  17682. wrfactortypename:
  17683. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17684. type: string
  17685. wrstandardcode:
  17686. description: 现货商品代码
  17687. type: string
  17688. wrstandardid:
  17689. description: 现货商品ID
  17690. type: integer
  17691. wrstandardname:
  17692. description: 商品名称
  17693. type: string
  17694. wrtradeorderid:
  17695. description: 关联委托单ID
  17696. type: string
  17697. wrtypename:
  17698. description: 商品
  17699. type: string
  17700. type: object
  17701. models.Warehouseinfo:
  17702. properties:
  17703. address:
  17704. description: 详细地址
  17705. type: string
  17706. areauserid:
  17707. description: 所属机构
  17708. type: integer
  17709. autoid:
  17710. description: 自增ID
  17711. type: integer
  17712. cityid:
  17713. description: 市
  17714. type: integer
  17715. contactname:
  17716. description: 联系人
  17717. type: string
  17718. contactnum:
  17719. description: 联系电话
  17720. type: string
  17721. countryid:
  17722. description: 国家
  17723. type: integer
  17724. createtime:
  17725. description: 创建时间
  17726. type: string
  17727. districtid:
  17728. description: 区
  17729. type: integer
  17730. hasvideo:
  17731. description: 是否有视频 - 0:无 1:有
  17732. type: integer
  17733. provinceid:
  17734. description: 省
  17735. type: integer
  17736. remark:
  17737. description: 审核备注
  17738. type: string
  17739. videourl:
  17740. description: 视频地址
  17741. type: string
  17742. warehousecode:
  17743. description: 仓库代码
  17744. type: string
  17745. warehousename:
  17746. description: 仓库名称
  17747. type: string
  17748. warehousestatus:
  17749. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  17750. type: integer
  17751. warehousetype:
  17752. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  17753. type: integer
  17754. required:
  17755. - autoid
  17756. - warehousecode
  17757. type: object
  17758. models.WrAverageTradePrice:
  17759. properties:
  17760. averageprice:
  17761. description: 期初均价
  17762. type: number
  17763. tradedate:
  17764. description: 交易日yyyymm
  17765. type: string
  17766. type: object
  17767. models.WrBrandAndYears:
  17768. properties:
  17769. brandlst:
  17770. description: 品牌列表
  17771. items:
  17772. $ref: '#/definitions/models.DgFactoryItem'
  17773. type: array
  17774. yearslst:
  17775. description: 年份列表
  17776. items:
  17777. $ref: '#/definitions/models.DgFactoryItem'
  17778. type: array
  17779. type: object
  17780. models.WrBsGoodsInfo:
  17781. properties:
  17782. buyorsell:
  17783. description: 买卖方向 0-买 1-卖
  17784. type: integer
  17785. goodsid:
  17786. description: 交易合约ID
  17787. type: integer
  17788. lstitem:
  17789. description: 商品信息项
  17790. items:
  17791. $ref: '#/definitions/models.WrTypeItem'
  17792. type: array
  17793. lststep:
  17794. description: 履约规则
  17795. items:
  17796. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  17797. type: array
  17798. type: object
  17799. models.WrBuybackDetail:
  17800. properties:
  17801. buybackamount:
  17802. description: 回购金额
  17803. type: number
  17804. buybackqty:
  17805. description: 回购数量
  17806. type: number
  17807. buybackreleasemargin:
  17808. description: 回购释放保证金
  17809. type: number
  17810. buybacktime:
  17811. description: 回购时间
  17812. type: string
  17813. errordesc:
  17814. description: 错误描述
  17815. type: string
  17816. handlestatus:
  17817. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  17818. type: integer
  17819. relatedwrid:
  17820. description: 关联仓单ID
  17821. type: integer
  17822. scfcontractid:
  17823. description: SCF合同ID
  17824. type: string
  17825. scfwrbuybackid:
  17826. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  17827. type: integer
  17828. tradedate:
  17829. description: 交易日(yyyyMMdd)
  17830. type: string
  17831. type: object
  17832. models.WrClientAdSpaceConfig:
  17833. properties:
  17834. adspaceid:
  17835. description: 广告位ID
  17836. type: integer
  17837. adspacename:
  17838. description: 广告位名称
  17839. type: string
  17840. adspacetype:
  17841. description: 广告位类型 - 1:固定广告位
  17842. type: integer
  17843. areauserid:
  17844. description: 所属机构ID
  17845. type: integer
  17846. createdate:
  17847. description: 创建时间
  17848. type: string
  17849. imagepath:
  17850. description: 图片
  17851. type: string
  17852. modifierid:
  17853. description: 操作人
  17854. type: integer
  17855. recsize:
  17856. description: 推荐尺寸
  17857. type: string
  17858. title:
  17859. description: 标题
  17860. type: string
  17861. updatedate:
  17862. description: 更新时间
  17863. type: string
  17864. urlcontent:
  17865. description: 链接(地址\商品ID\功能菜单Key\appid)
  17866. type: string
  17867. urltype:
  17868. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  17869. type: integer
  17870. type: object
  17871. models.WrDeliveryAvalidHoldLB:
  17872. properties:
  17873. accountid:
  17874. description: 资金账号
  17875. type: integer
  17876. avalidqty:
  17877. description: 数量(可点选数量)
  17878. type: number
  17879. deliverygoodsid:
  17880. description: 品种id
  17881. type: integer
  17882. enumdicname:
  17883. description: 单位名称
  17884. type: string
  17885. goodsid:
  17886. description: x合约商品id
  17887. type: integer
  17888. ladingbillid:
  17889. description: 提单id
  17890. type: string
  17891. pgoodscode:
  17892. description: p商品代码(点价合约)
  17893. type: string
  17894. pgoodsid:
  17895. description: p商品id(点价合约)
  17896. type: integer
  17897. pgoodsname:
  17898. description: p商品名称(点价合约)
  17899. type: string
  17900. pricemove:
  17901. description: 升贴水
  17902. type: number
  17903. subnum:
  17904. description: 提单子id
  17905. type: integer
  17906. userid:
  17907. description: 用户id
  17908. type: integer
  17909. username:
  17910. description: 仓单持有人
  17911. type: string
  17912. warehousecode:
  17913. description: 仓库代码
  17914. type: string
  17915. warehouseid:
  17916. description: 仓库id
  17917. type: integer
  17918. warehousename:
  17919. description: 仓库名称
  17920. type: string
  17921. wrfactortypeid:
  17922. description: 仓单要素id
  17923. type: string
  17924. wrstandardcode:
  17925. description: 品代码
  17926. type: string
  17927. wrstandardid:
  17928. description: 品类d
  17929. type: integer
  17930. wrstandardname:
  17931. description: 品类名称
  17932. type: string
  17933. wrtypename:
  17934. description: 商品
  17935. type: string
  17936. xgoodscode:
  17937. description: x合约代码
  17938. type: string
  17939. xgoodsname:
  17940. description: x合约名称
  17941. type: string
  17942. type: object
  17943. models.WrDeliveryDetail:
  17944. properties:
  17945. accountid:
  17946. description: 账号ID
  17947. type: integer
  17948. averageprice:
  17949. description: 期初均价
  17950. type: number
  17951. begindate:
  17952. description: 开始交易日(yyyymmdd)
  17953. type: string
  17954. buyorsell:
  17955. description: 方向 - 0:买 1:卖
  17956. type: integer
  17957. deliveryamount:
  17958. description: 货款金额(X总货款+P总货款)
  17959. type: number
  17960. deliveryid:
  17961. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  17962. type: string
  17963. deliveryorderid:
  17964. description: 申报单号
  17965. type: string
  17966. deliverypricemove:
  17967. description: 升贴水(升贴水总额)
  17968. type: number
  17969. deliveryqty:
  17970. description: 交收数量(点选数量)
  17971. type: number
  17972. deliverystatus:
  17973. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  17974. type: integer
  17975. deliverytime:
  17976. description: 交割时间
  17977. type: string
  17978. deliverytotalamount:
  17979. description: 交收金额
  17980. type: number
  17981. enddate:
  17982. description: 结束交易日(yyyymmdd)
  17983. type: string
  17984. enumdicname:
  17985. description: 单位名称
  17986. type: string
  17987. matchaccountid:
  17988. description: 对手账号ID
  17989. type: integer
  17990. matchusername:
  17991. description: 对手方名称(仓单持有人)
  17992. type: string
  17993. p1goodsremainamount:
  17994. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  17995. type: number
  17996. pdeliverycloseqty:
  17997. description: p合约平仓数量
  17998. type: number
  17999. pdeliveryprice:
  18000. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18001. type: number
  18002. pgoodscode:
  18003. description: 商品代码
  18004. type: string
  18005. pgoodsid:
  18006. description: p点选合约id
  18007. type: integer
  18008. pgoodsname:
  18009. description: 商品名称
  18010. type: string
  18011. ppricemode:
  18012. description: 点价价格方式 - 1:商品价 2:固定值
  18013. type: integer
  18014. tradedate:
  18015. description: 交易日(yyyymmdd)
  18016. type: string
  18017. userid:
  18018. description: 用户id
  18019. type: integer
  18020. username:
  18021. description: 用户名称
  18022. type: string
  18023. warehousename:
  18024. description: 仓库名称
  18025. type: string
  18026. wrfactortypeid:
  18027. description: 仓单要素类型ID
  18028. type: string
  18029. wrtypename:
  18030. description: 商品
  18031. type: string
  18032. xdeliverycloseqty:
  18033. description: 合约数量
  18034. type: number
  18035. xgoodsamount:
  18036. description: 期初均价
  18037. type: number
  18038. xgoodscode:
  18039. description: 商品代码
  18040. type: string
  18041. xgoodsid:
  18042. description: x交易合约ID
  18043. type: integer
  18044. xgoodsname:
  18045. description: 商品名称
  18046. type: string
  18047. type: object
  18048. models.WrDeliveryGoodsSection:
  18049. properties:
  18050. dglst:
  18051. description: 板块商品列表
  18052. items:
  18053. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18054. type: array
  18055. imagepath:
  18056. description: 图片地址
  18057. type: string
  18058. orderindex:
  18059. description: 排序
  18060. type: integer
  18061. sectionid:
  18062. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18063. = 1的版块1 - 云融指数
  18064. type: integer
  18065. sectionname:
  18066. description: 版块名称
  18067. type: string
  18068. sectiontype:
  18069. description: 版块类型 - 1:指数版块 2:普通版块
  18070. type: integer
  18071. type: object
  18072. models.WrDeliveryGoodsSectionConfig:
  18073. properties:
  18074. deliverygoodscode:
  18075. description: 现货商品代码
  18076. type: string
  18077. deliverygoodsid:
  18078. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18079. type: integer
  18080. deliverygoodsname:
  18081. description: 现货商品名称
  18082. type: string
  18083. orderindex:
  18084. description: 排序
  18085. type: integer
  18086. type: object
  18087. models.WrDraftUserInfo:
  18088. properties:
  18089. address:
  18090. description: 地址
  18091. type: string
  18092. attachment1:
  18093. description: 附件1
  18094. type: string
  18095. attachment2:
  18096. description: 附件2
  18097. type: string
  18098. attachment3:
  18099. description: 附件3
  18100. type: string
  18101. attachment4:
  18102. description: 附件4
  18103. type: string
  18104. attachment5:
  18105. description: 附件5
  18106. type: string
  18107. bankaccount:
  18108. description: 银行帐号 (加密存储)
  18109. type: string
  18110. bankaccountname:
  18111. description: 收款人名称
  18112. type: string
  18113. bankcardfrontphotourl:
  18114. description: 银行卡正面照地址
  18115. type: string
  18116. bankid:
  18117. description: 银行编码
  18118. type: string
  18119. bankname:
  18120. description: 银行名称
  18121. type: string
  18122. birthday:
  18123. description: 生日(个人:年月日)
  18124. type: string
  18125. biznature:
  18126. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18127. type: integer
  18128. bizscope:
  18129. description: 企业经营范围(企业)
  18130. type: string
  18131. biztype:
  18132. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  18133. type: integer
  18134. cardbackphotourl:
  18135. description: 证件背面图片地址
  18136. type: string
  18137. cardfrontphotourl:
  18138. description: 证件正面图片地址
  18139. type: string
  18140. cardnum:
  18141. description: 证件号码(加密存储)
  18142. type: string
  18143. cardtypeid:
  18144. description: 证件类型ID
  18145. type: integer
  18146. cityid:
  18147. description: 市
  18148. type: integer
  18149. company:
  18150. description: 公司(个人)
  18151. type: string
  18152. contactcardbackphotourl:
  18153. description: 联系人证件背面图片地址
  18154. type: string
  18155. contactcardfrontphotourl:
  18156. description: 联系人证件正面图片地址
  18157. type: string
  18158. contactname:
  18159. description: 联系人
  18160. type: string
  18161. countryid:
  18162. description: 国家
  18163. type: integer
  18164. createtime:
  18165. description: 创建时间
  18166. type: string
  18167. creatorid:
  18168. description: 创建人
  18169. type: integer
  18170. creditquota:
  18171. description: 授信额度(金瑞)
  18172. type: number
  18173. customername:
  18174. description: 客户名称(企业名称)
  18175. type: string
  18176. districtid:
  18177. description: 地区
  18178. type: integer
  18179. email:
  18180. description: 邮件(加密存储)
  18181. type: string
  18182. fax:
  18183. description: 传真(加密存储)
  18184. type: string
  18185. halfbodyphotourl:
  18186. description: 半身照地址
  18187. type: string
  18188. hasencrypt:
  18189. description: 数据是否已加密 - 0:未加密 1:已加密
  18190. type: integer
  18191. headurl:
  18192. description: 头像地址
  18193. type: string
  18194. legalcardbackphotourl:
  18195. description: 法人身份证背面照地址
  18196. type: string
  18197. legalcardfrontphotourl:
  18198. description: 法人身份证正面照地址
  18199. type: string
  18200. legalpersonname:
  18201. description: 法人姓名(企业)
  18202. type: string
  18203. mobile:
  18204. description: 手机号码(加密存储)
  18205. type: string
  18206. mobile2:
  18207. description: 手机号码[明文-尚志]
  18208. type: string
  18209. modifierid:
  18210. description: 修改人
  18211. type: integer
  18212. modifiertime:
  18213. description: 修改时间
  18214. type: string
  18215. needinvoice:
  18216. description: 是否需要发票 - 0:不需要 1:需要
  18217. type: integer
  18218. nickname:
  18219. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18220. type: string
  18221. openmode:
  18222. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  18223. 6:苹果手机端注册 7:PC交易端注册"
  18224. type: integer
  18225. otherurl:
  18226. description: 其它图片地址[使用分号分隔]
  18227. type: string
  18228. postalcode:
  18229. description: 邮政编码
  18230. type: string
  18231. provinceid:
  18232. description: 省
  18233. type: integer
  18234. proxystatementurl:
  18235. description: 授权委托书
  18236. type: string
  18237. qq:
  18238. description: QQ(加密存储
  18239. type: string
  18240. remark:
  18241. description: 备注
  18242. type: string
  18243. sex:
  18244. description: '用户性别 0: 女 1: 男'
  18245. type: integer
  18246. signpdfurl:
  18247. description: 签约pdf文件
  18248. type: string
  18249. taxpayernum:
  18250. description: 纳税人识别号
  18251. type: string
  18252. telphone:
  18253. description: 联系电话(加密存储)
  18254. type: string
  18255. userid:
  18256. description: 用户ID
  18257. type: integer
  18258. userinfotype:
  18259. description: 用户信息类型 - 1:个人 2:企业
  18260. type: integer
  18261. userstatus:
  18262. description: 用户状态 - 1:正常 2:注销
  18263. type: integer
  18264. usertype:
  18265. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  18266. type: integer
  18267. wechat:
  18268. description: 微信(加密存储)
  18269. type: string
  18270. wskhinfo:
  18271. description: 开户申请信息(JSON)
  18272. type: string
  18273. type: object
  18274. models.WrFAProductDetail:
  18275. properties:
  18276. accountid:
  18277. description: 资金账号
  18278. type: integer
  18279. areauserid:
  18280. description: 金融机构ID
  18281. type: integer
  18282. financingdays:
  18283. description: 天数(天)
  18284. type: integer
  18285. interestminlen:
  18286. description: 最小起息天数
  18287. type: integer
  18288. interestrate:
  18289. description: 利率
  18290. type: number
  18291. interestratemode:
  18292. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18293. type: integer
  18294. interestsettlemode:
  18295. description: 结息方式 - 1:按日结息 3:按月结息
  18296. type: integer
  18297. interestsettlevalue:
  18298. description: 结息方式值
  18299. type: integer
  18300. isautoloan:
  18301. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  18302. type: integer
  18303. loantag:
  18304. description: '放款标识: "放款快" 或者为空'
  18305. type: string
  18306. marginratio:
  18307. description: 保证金比率质押率 - [仓单质押]
  18308. type: number
  18309. productdetailid:
  18310. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  18311. type: integer
  18312. productid:
  18313. description: 金融产品ID
  18314. type: integer
  18315. productname:
  18316. description: 产品名称
  18317. type: string
  18318. updatetime:
  18319. description: 更新时间
  18320. type: string
  18321. username:
  18322. description: 融出方
  18323. type: string
  18324. type: object
  18325. models.WrFactorTypeInfo:
  18326. properties:
  18327. deliverygoodscode:
  18328. description: 品种代码
  18329. type: string
  18330. deliverygoodsname:
  18331. description: 品种名称
  18332. type: string
  18333. dgfactoryitemid:
  18334. description: 选择项id
  18335. type: integer
  18336. dgfactoryitemtypeid:
  18337. description: 要素选择项ID (1-仓库 2-品牌)
  18338. type: integer
  18339. dgfactoryitemvalue:
  18340. description: 要素项值
  18341. type: string
  18342. itemtypename:
  18343. description: 要素项名称
  18344. type: string
  18345. optioncompare:
  18346. description: 选择比较串
  18347. type: string
  18348. warehouseid:
  18349. description: 仓库id
  18350. type: integer
  18351. wrfactortypeid:
  18352. description: 仓单要素ID
  18353. type: string
  18354. wrfactortypename:
  18355. description: 要素名称
  18356. type: string
  18357. wrfactortypename2:
  18358. description: 要素名称(不含仓库)
  18359. type: string
  18360. wrstandardcode:
  18361. description: 品类代码
  18362. type: string
  18363. wrstandardid:
  18364. description: 品类id
  18365. type: integer
  18366. wrstandardname:
  18367. description: 品类名称
  18368. type: string
  18369. type: object
  18370. models.WrFilterItem:
  18371. properties:
  18372. itemcode:
  18373. description: 代码
  18374. type: string
  18375. itemid:
  18376. description: 项id
  18377. type: integer
  18378. itemname:
  18379. description: 名称
  18380. type: string
  18381. itemtype:
  18382. description: 类型 1-品种 2-品类(商品) 3-仓库
  18383. type: integer
  18384. type: object
  18385. models.WrFinanceBuyApply:
  18386. properties:
  18387. applydate:
  18388. description: 申请时间
  18389. type: string
  18390. applystatus:
  18391. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  18392. type: integer
  18393. applyuserid:
  18394. description: 申请人
  18395. type: integer
  18396. auditdate:
  18397. description: 审核时间
  18398. type: string
  18399. auditremark:
  18400. description: 审核备注
  18401. type: string
  18402. audituserid:
  18403. description: 审核人
  18404. type: integer
  18405. buyaccountid:
  18406. description: 买方资金账号
  18407. type: integer
  18408. buyorsell:
  18409. description: 买卖 - 0:买 1:卖
  18410. type: integer
  18411. buyuserid:
  18412. description: 买方用户ID
  18413. type: integer
  18414. buyusername:
  18415. description: 买方名称
  18416. type: string
  18417. buywrtradeorderid:
  18418. description: 融资方买委托单ID
  18419. type: string
  18420. deliverygoodscode:
  18421. description: 品种代码
  18422. type: string
  18423. deliverygoodsid:
  18424. description: 品种ID
  18425. type: integer
  18426. deliverygoodsname:
  18427. description: 品种名称
  18428. type: string
  18429. deliverymonth:
  18430. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  18431. type: string
  18432. enumdicname:
  18433. description: 单位名称
  18434. type: string
  18435. financeaccountid:
  18436. description: 融资方资金帐户ID
  18437. type: integer
  18438. financeapplyid:
  18439. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18440. type: string
  18441. financeareauserid:
  18442. description: 融资方用户ID
  18443. type: string
  18444. financename:
  18445. description: 融出方名称
  18446. type: string
  18447. financetype:
  18448. description: 融资类型 1-融资回购
  18449. type: integer
  18450. financingdays:
  18451. description: 天数(天)
  18452. type: integer
  18453. freezebuymargin:
  18454. description: 冻结融资保证金(买方)
  18455. type: number
  18456. handleremark:
  18457. description: 处理备注
  18458. type: string
  18459. handlestatus:
  18460. description: 处理状态
  18461. type: integer
  18462. interestminlen:
  18463. description: 最小起息天数
  18464. type: integer
  18465. interestrate:
  18466. description: 利率
  18467. type: number
  18468. interestratemode:
  18469. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  18470. type: integer
  18471. interestsettlemode:
  18472. description: 结息方式 - 1:按日结息 3:按月结息
  18473. type: integer
  18474. interestsettlevalue:
  18475. description: 结息方式值
  18476. type: integer
  18477. isautoloan:
  18478. description: 是否自动放款 - 0:手动 1:自动
  18479. type: integer
  18480. marginratio:
  18481. description: 保证金比率质押率 - [仓单质押]
  18482. type: number
  18483. marketid:
  18484. description: 市场ID
  18485. type: integer
  18486. minivalue:
  18487. description: 现货商品最小变动值
  18488. type: integer
  18489. optioncompare:
  18490. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18491. type: string
  18492. orderqty:
  18493. description: 委托数量(商品数量)
  18494. type: number
  18495. productdetailid:
  18496. description: 产品组合ID
  18497. type: integer
  18498. productid:
  18499. description: 金融产品ID
  18500. type: integer
  18501. productname:
  18502. description: 产品名称
  18503. type: string
  18504. remark:
  18505. description: 备注
  18506. type: string
  18507. scfcontractid:
  18508. description: 仓单回购合同ID
  18509. type: string
  18510. sellaccountid:
  18511. description: 卖方资金账号
  18512. type: integer
  18513. selluserid:
  18514. description: 卖方用户ID
  18515. type: integer
  18516. sellwrtradeorderid:
  18517. description: 卖方委托单ID
  18518. type: string
  18519. tradeamount:
  18520. description: 成交金额(借款金额)
  18521. type: number
  18522. tradedate:
  18523. description: 交易日(yyyyMMdd)
  18524. type: string
  18525. tradeprice:
  18526. description: 成交价格
  18527. type: number
  18528. warehouseid:
  18529. description: 仓库ID
  18530. type: integer
  18531. warehousename:
  18532. description: 仓库名称
  18533. type: string
  18534. wrfactortypeid:
  18535. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18536. type: string
  18537. wrfactortypename:
  18538. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18539. type: string
  18540. wrpricetype:
  18541. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  18542. type: integer
  18543. wrstandardcode:
  18544. description: 现货商品代码
  18545. type: string
  18546. wrstandardid:
  18547. description: 现货商品ID
  18548. type: integer
  18549. wrstandardname:
  18550. description: 商品名称
  18551. type: string
  18552. wrtypename:
  18553. description: 商品
  18554. type: string
  18555. type: object
  18556. models.WrFriendApply:
  18557. properties:
  18558. applicantid:
  18559. description: 申请人
  18560. type: integer
  18561. applyname:
  18562. description: 申请人名称
  18563. type: string
  18564. applysrc:
  18565. description: 申请来源 - 1:管理端 2:终端
  18566. type: integer
  18567. applystatus:
  18568. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18569. type: integer
  18570. applytime:
  18571. description: 申请时间
  18572. type: string
  18573. auditname:
  18574. description: 审核人名称
  18575. type: string
  18576. auditorid:
  18577. description: 审核人
  18578. type: integer
  18579. auditremark:
  18580. description: 审核备注
  18581. type: string
  18582. auditsrc:
  18583. description: 审核来源 - 1:管理端 2:终端
  18584. type: integer
  18585. audittime:
  18586. description: 审核时间
  18587. type: string
  18588. friendapplyid:
  18589. description: 申请ID(SEQ_FRIENDAPPLY)
  18590. type: string
  18591. friendname:
  18592. description: 好友名字(已脱敏)
  18593. type: string
  18594. frienduserid:
  18595. description: 好友用户ID
  18596. type: string
  18597. remark:
  18598. description: 备注
  18599. type: string
  18600. userid:
  18601. description: 申请人用户ID
  18602. type: integer
  18603. type: object
  18604. models.WrFtDeliveryGoods:
  18605. properties:
  18606. deliverygoodscode:
  18607. description: 品种代码
  18608. type: string
  18609. deliverygoodsid:
  18610. description: 品种ID
  18611. type: integer
  18612. deliverygoodsname:
  18613. description: 品种名称
  18614. type: string
  18615. wdlst:
  18616. description: 商品列表
  18617. items:
  18618. $ref: '#/definitions/models.WrFtWrstandard'
  18619. type: array
  18620. type: object
  18621. models.WrFtWrstandard:
  18622. properties:
  18623. enumdicname:
  18624. description: 单位名称
  18625. type: string
  18626. minivalue:
  18627. description: 最小变动值
  18628. type: integer
  18629. wrstandardcode:
  18630. description: 现货商品代码
  18631. type: string
  18632. wrstandardid:
  18633. description: 现货商品ID
  18634. type: integer
  18635. wrstandardname:
  18636. description: 商品名称
  18637. type: string
  18638. type: object
  18639. models.WrGoodsInfo:
  18640. properties:
  18641. haswr:
  18642. description: 0:仓单预售 1:仓单贸易
  18643. type: integer
  18644. lstitem:
  18645. description: 商品信息项
  18646. items:
  18647. $ref: '#/definitions/models.WrTypeItem'
  18648. type: array
  18649. lststep:
  18650. description: 履约规则
  18651. items:
  18652. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18653. type: array
  18654. marketid:
  18655. description: 市场id
  18656. type: integer
  18657. type: object
  18658. models.WrGoodsPerformanceStep:
  18659. properties:
  18660. autoid:
  18661. description: AutoID
  18662. type: integer
  18663. isauto:
  18664. description: 是否自动 - 0:不自动 1:自动
  18665. type: integer
  18666. remark:
  18667. description: 备注
  18668. type: string
  18669. stepdate:
  18670. description: 天数信息(T+N)
  18671. type: string
  18672. stepdays:
  18673. description: 距离上一步天数
  18674. type: integer
  18675. stepindex:
  18676. description: 步骤序号
  18677. type: integer
  18678. stepinfo:
  18679. description: 步骤信息(步骤名称+步骤值)
  18680. type: string
  18681. steptypeid:
  18682. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  18683. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  18684. type: integer
  18685. steptypename:
  18686. description: 步骤名称
  18687. type: string
  18688. stepvalue:
  18689. description: 期初均价
  18690. type: number
  18691. templateid:
  18692. description: 履约计划模板ID
  18693. type: integer
  18694. type: object
  18695. models.WrHoldLB:
  18696. properties:
  18697. accountid:
  18698. description: 持有人帐户ID
  18699. type: integer
  18700. bannerpicurl:
  18701. description: Banner图
  18702. type: string
  18703. createtime:
  18704. description: 创建时间(过户时间)
  18705. type: string
  18706. deliverygoodscode:
  18707. description: 品种代码
  18708. type: string
  18709. deliverygoodsid:
  18710. description: 品种ID
  18711. type: integer
  18712. deliverygoodsname:
  18713. description: 品种名称
  18714. type: string
  18715. enableqty:
  18716. description: 可用数量
  18717. type: number
  18718. enumdicname:
  18719. description: 单位名称
  18720. type: string
  18721. freezerqty:
  18722. description: 冻结数量
  18723. type: number
  18724. ladingbillid:
  18725. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18726. type: string
  18727. minivalue:
  18728. description: 现货商品最小变动值
  18729. type: integer
  18730. optioncompare:
  18731. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18732. type: string
  18733. parentsubnum:
  18734. description: 拆分父子单号
  18735. type: integer
  18736. pledgeqty:
  18737. description: 质押数量
  18738. type: number
  18739. qty:
  18740. description: 数量
  18741. type: number
  18742. subnum:
  18743. description: 提单子单号
  18744. type: integer
  18745. thumurls:
  18746. description: 缩略图
  18747. type: string
  18748. tradedate:
  18749. description: 交易日(yyyyMMdd)
  18750. type: string
  18751. userid:
  18752. description: 持有人ID
  18753. type: integer
  18754. warehouseid:
  18755. description: 仓库ID
  18756. type: integer
  18757. warehousename:
  18758. description: 仓库名称
  18759. type: string
  18760. wrfactortypeid:
  18761. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18762. type: string
  18763. wrfactortypename:
  18764. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18765. type: string
  18766. wrholdeno:
  18767. description: 仓单编号
  18768. type: string
  18769. wrid:
  18770. description: 仓单变更ID
  18771. type: string
  18772. wrstandardcode:
  18773. description: 现货商品代码
  18774. type: string
  18775. wrstandardid:
  18776. description: 现货商品ID
  18777. type: integer
  18778. wrstandardname:
  18779. description: 商品名称
  18780. type: string
  18781. wrtypename:
  18782. description: 商品
  18783. type: string
  18784. type: object
  18785. models.WrMarketTradeConfig:
  18786. properties:
  18787. basisdownratio:
  18788. description: 浮动价基差下限比例(仓单贸易)
  18789. type: number
  18790. basisupratio:
  18791. description: 浮动价基差上限比例(仓单贸易)
  18792. type: number
  18793. buychargealgorithm:
  18794. description: 买方手续费收取方式 1:比率 2:固定
  18795. type: integer
  18796. buychargealgorithm2:
  18797. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  18798. type: integer
  18799. buychargealgorithmvalue:
  18800. description: 买方手续费设置值(交易所部分)
  18801. type: number
  18802. buychargealgorithmvalue2:
  18803. description: 买方手续费设置值(会员部分)
  18804. type: number
  18805. buychargealgorithmvalue3:
  18806. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  18807. type: number
  18808. buychargealgorithmvalue4:
  18809. description: 回购买方手续费设置值(会员部分) --77:现货商城
  18810. type: number
  18811. buyfirstmarginalgorithm:
  18812. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  18813. type: integer
  18814. buyfirstmarginvalue:
  18815. description: 买方出价保证金设置值 - [竞拍]
  18816. type: number
  18817. buymarginalgorithm:
  18818. description: 买方保证金方式 - 1:比率 2:固定
  18819. type: integer
  18820. buymarginvalue:
  18821. description: 买方保证金设置值
  18822. type: number
  18823. buyreleaseratio:
  18824. description: 买方释放比率[2:分步履约]
  18825. type: number
  18826. executemode:
  18827. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  18828. type: integer
  18829. executeside:
  18830. description: 执行方[2:分步履约] - 1:买方 2:卖方
  18831. type: integer
  18832. failedchargealgorithm:
  18833. description: 流拍手续费收取方式 1:比率 2:固定
  18834. type: integer
  18835. failedchargevalue:
  18836. description: 流拍手续费设置值
  18837. type: number
  18838. failedchargevalue2:
  18839. description: 流拍卖方手续费设置值
  18840. type: number
  18841. holddays:
  18842. description: 合同期限[2:分步履约]
  18843. type: integer
  18844. listingmode:
  18845. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  18846. type: integer
  18847. marketid:
  18848. description: 市场ID-仓单贸易、竞拍、预售
  18849. type: integer
  18850. minqty:
  18851. description: 最小执行量[2:分步履约]
  18852. type: number
  18853. modifierid:
  18854. description: 修改人
  18855. type: integer
  18856. nowrquotaflag:
  18857. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  18858. type: integer
  18859. performancetempid:
  18860. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18861. 立即执行(-1)
  18862. type: integer
  18863. performancetempid2:
  18864. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  18865. 立即执行
  18866. type: integer
  18867. performancetempid2s:
  18868. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18869. - 履约方式: 立即执行
  18870. type: string
  18871. performancetempids:
  18872. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  18873. - 履约方式: 立即执行(-1)
  18874. type: string
  18875. performanceway:
  18876. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  18877. type: integer
  18878. sellchargealgorithm:
  18879. description: 卖方手续费收取方式 1:比率 2:固定
  18880. type: integer
  18881. sellchargealgorithm2:
  18882. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  18883. type: integer
  18884. sellchargealgorithmvalue:
  18885. description: 卖方手续费设置值(交易所部分)
  18886. type: number
  18887. sellchargealgorithmvalue2:
  18888. description: 卖方手续费设置值(会员部分)
  18889. type: number
  18890. sellchargealgorithmvalue3:
  18891. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  18892. type: number
  18893. sellchargealgorithmvalue4:
  18894. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  18895. type: number
  18896. sellmarginalgorithm:
  18897. description: 卖方保证金方式 - 1:比率 2:固定
  18898. type: integer
  18899. sellmarginvalue:
  18900. description: 卖方保证金设置值
  18901. type: number
  18902. sellmarginvalue2:
  18903. description: 卖方保证金设置值(无仓单)
  18904. type: number
  18905. sellreleaseratio:
  18906. description: 卖方释放比率[2:分步履约]
  18907. type: number
  18908. updatetime:
  18909. description: 更新时间
  18910. type: string
  18911. type: object
  18912. models.WrOrderDetail:
  18913. properties:
  18914. accountid:
  18915. description: 交易账号(资金账号)
  18916. type: integer
  18917. allfriendsflag:
  18918. description: 是否全好友可见 - 0:否 1:是
  18919. type: integer
  18920. amount:
  18921. description: 期初均价
  18922. type: number
  18923. bannerpicurl:
  18924. description: Banner图
  18925. type: string
  18926. begindate:
  18927. description: 开始交易日(yyyymmdd)
  18928. type: string
  18929. buyorsell:
  18930. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  18931. type: integer
  18932. canbargain:
  18933. description: 是否可议价 - 0:不可 1:可
  18934. type: integer
  18935. cancelqty:
  18936. description: 撤销数量
  18937. type: number
  18938. canpart:
  18939. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  18940. type: integer
  18941. delistminqty:
  18942. description: 起摘数量
  18943. type: integer
  18944. deliverygoodscode:
  18945. description: 品种代码
  18946. type: string
  18947. deliverygoodsid:
  18948. description: 品种ID
  18949. type: integer
  18950. deliverygoodsname:
  18951. description: 品种名称
  18952. type: string
  18953. deliverymonth:
  18954. description: 交收月
  18955. type: string
  18956. enddate:
  18957. description: 结束交易日(yyyymmdd)
  18958. type: string
  18959. enumdicname:
  18960. description: 单位名称
  18961. type: string
  18962. fixedprice:
  18963. description: 固定价格 - [挂牌]
  18964. type: number
  18965. freezecharge:
  18966. description: 期初均价
  18967. type: number
  18968. freezemargin:
  18969. description: 期初均价
  18970. type: number
  18971. futupricemove:
  18972. description: 期货升贴水
  18973. type: number
  18974. futushow:
  18975. description: 期货合约/升贴水
  18976. type: string
  18977. goodscode:
  18978. description: 期货合约
  18979. type: string
  18980. goodsid:
  18981. description: 期货商品id
  18982. type: integer
  18983. goodsname:
  18984. description: 商品名称
  18985. type: string
  18986. haswr:
  18987. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  18988. type: integer
  18989. isspecified:
  18990. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  18991. type: integer
  18992. ladingbillid:
  18993. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  18994. type: string
  18995. marginvalue:
  18996. description: 期初均价
  18997. type: number
  18998. marketid:
  18999. description: 市场ID
  19000. type: integer
  19001. matchusername:
  19002. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19003. type: string
  19004. minivalue:
  19005. description: 现货商品最小变动值
  19006. type: integer
  19007. optioncompare:
  19008. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19009. type: string
  19010. orderqty:
  19011. description: 委托数量
  19012. type: number
  19013. ordertime:
  19014. description: 委托时间(挂牌时间)
  19015. type: string
  19016. performancetemplateid:
  19017. description: 履约模板id
  19018. type: integer
  19019. pricemove:
  19020. description: 升贴水(浮动价时填写) - [挂牌]
  19021. type: number
  19022. taname:
  19023. description: 交易用户名称(资金账号名称)
  19024. type: string
  19025. thumurls:
  19026. description: 缩略图
  19027. type: string
  19028. tradedate:
  19029. description: 交易日(yyyyMMdd)
  19030. type: string
  19031. tradeprice:
  19032. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19033. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19034. type: number
  19035. tradeqty:
  19036. description: 成交数量
  19037. type: number
  19038. userid:
  19039. description: 用户ID
  19040. type: integer
  19041. validtime:
  19042. description: 挂牌有效期
  19043. type: string
  19044. validtype:
  19045. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19046. type: integer
  19047. warehouseid:
  19048. description: 仓库ID
  19049. type: integer
  19050. warehousename:
  19051. description: 仓库名称
  19052. type: string
  19053. wrfactortypeid:
  19054. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19055. type: string
  19056. wrfactortypename:
  19057. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19058. type: string
  19059. wrpricetype:
  19060. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19061. type: integer
  19062. wrstandardcode:
  19063. description: 现货商品代码
  19064. type: string
  19065. wrstandardid:
  19066. description: 现货商品ID
  19067. type: integer
  19068. wrstandardname:
  19069. description: 商品名称
  19070. type: string
  19071. wrtradeorderid:
  19072. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19073. type: string
  19074. wrtradeorderstatus:
  19075. 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:撤单解冻贷款失败
  19076. type: integer
  19077. wrtradetype:
  19078. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19079. type: integer
  19080. wrtypename:
  19081. description: 商品
  19082. type: string
  19083. type: object
  19084. models.WrOrderQuote:
  19085. properties:
  19086. bannerpicurl:
  19087. description: Banner图
  19088. type: string
  19089. buyprice:
  19090. description: 买价
  19091. type: number
  19092. buypricemove:
  19093. description: 买升贴水(基差)
  19094. type: number
  19095. buyqty:
  19096. description: 买量
  19097. type: number
  19098. deliverygoodscode:
  19099. description: 品种代码
  19100. type: string
  19101. deliverygoodsid:
  19102. description: 品种id
  19103. type: integer
  19104. deliverygoodsname:
  19105. description: 品种名称
  19106. type: string
  19107. deliverymonth:
  19108. description: 交收月
  19109. type: string
  19110. enumdicname:
  19111. description: 单位名称
  19112. type: string
  19113. goodscode:
  19114. description: 商品合约(浮动价列表才有)
  19115. type: string
  19116. goodsid:
  19117. description: 商品id(浮动价列表才有)
  19118. type: integer
  19119. minivalue:
  19120. description: 现货商品最小变动值
  19121. type: integer
  19122. pictureurls:
  19123. description: 详情图片(逗号分隔)
  19124. type: string
  19125. sellprice:
  19126. description: 卖价
  19127. type: number
  19128. sellpricemove:
  19129. description: 卖升贴水(基差)
  19130. type: number
  19131. sellqty:
  19132. description: 卖量
  19133. type: number
  19134. thumurls:
  19135. description: 缩略图片(1:1)(逗号分隔)
  19136. type: string
  19137. warehousecode:
  19138. description: 仓库代码
  19139. type: string
  19140. warehouseid:
  19141. description: 仓库id
  19142. type: integer
  19143. warehousename:
  19144. description: 仓库名称
  19145. type: string
  19146. wrfactortypeid:
  19147. description: 仓单要素id
  19148. type: string
  19149. wrfactortypename:
  19150. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19151. type: string
  19152. wrgoodsname:
  19153. description: 商品(商品名称+仓库要素名称 拼接)
  19154. type: string
  19155. wrstandardcode:
  19156. description: 商品代码
  19157. type: string
  19158. wrstandardid:
  19159. description: 商品id
  19160. type: integer
  19161. wrstandardname:
  19162. description: 商品名称
  19163. type: string
  19164. type: object
  19165. models.WrOrderQuoteDetail:
  19166. properties:
  19167. buyorsell:
  19168. description: 买卖 - 0:买 1:卖
  19169. type: integer
  19170. delistminqty:
  19171. description: 期初均价
  19172. type: number
  19173. deliverymonth:
  19174. description: 交收月
  19175. type: string
  19176. enumdicname:
  19177. description: 单位名称
  19178. type: string
  19179. fixedprice:
  19180. description: 买(卖)价
  19181. type: number
  19182. marketid:
  19183. description: 市场id
  19184. type: integer
  19185. minivalue:
  19186. description: 现货商品最小变动值
  19187. type: integer
  19188. orderqty:
  19189. description: 买(卖)量(=委托量-成交量)
  19190. type: number
  19191. ordertime:
  19192. description: 委托时间
  19193. type: string
  19194. pricemove:
  19195. description: 买(卖)升贴水- 基差
  19196. type: number
  19197. userid:
  19198. description: 购买方(销售方)用户ID
  19199. type: integer
  19200. username:
  19201. description: 购买方(销售方)
  19202. type: string
  19203. wrtradeorderid:
  19204. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19205. type: string
  19206. type: object
  19207. models.WrOutInApply:
  19208. properties:
  19209. applyid:
  19210. description: 申请单id
  19211. type: string
  19212. applystatus:
  19213. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  19214. 8:已撤销
  19215. type: integer
  19216. applytime:
  19217. description: 申请时间
  19218. type: string
  19219. applytype:
  19220. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  19221. type: integer
  19222. bannerpicurl:
  19223. description: Banner图
  19224. type: string
  19225. begindate:
  19226. description: 开始交易日(yyyymmdd)
  19227. type: string
  19228. deliverygoodscode:
  19229. description: 品种代码
  19230. type: string
  19231. deliverygoodsid:
  19232. description: 品种ID
  19233. type: integer
  19234. deliverygoodsname:
  19235. description: 品种名称
  19236. type: string
  19237. enddate:
  19238. description: 结束交易日(yyyymmdd)
  19239. type: string
  19240. enumdicname:
  19241. description: 单位名称
  19242. type: string
  19243. expresscompany:
  19244. description: 物流公司
  19245. type: string
  19246. expressnum:
  19247. description: 物流单号
  19248. type: string
  19249. minivalue:
  19250. description: 现货商品最小变动值
  19251. type: integer
  19252. optioncompare:
  19253. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19254. type: string
  19255. qty:
  19256. description: 数量
  19257. type: integer
  19258. userid:
  19259. description: 用户id
  19260. type: integer
  19261. warehouseid:
  19262. description: 仓库ID
  19263. type: integer
  19264. warehousename:
  19265. description: 仓库名称
  19266. type: string
  19267. wrfactortypeid:
  19268. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19269. type: string
  19270. wrfactortypename:
  19271. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19272. type: string
  19273. wrstandardcode:
  19274. description: 现货商品代码
  19275. type: string
  19276. wrstandardid:
  19277. description: 现货商品ID
  19278. type: integer
  19279. wrstandardname:
  19280. description: 商品名称
  19281. type: string
  19282. wrtypename:
  19283. description: 商品
  19284. type: string
  19285. type: object
  19286. models.WrPerformancePlan:
  19287. properties:
  19288. activatemonth:
  19289. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  19290. type: string
  19291. amount:
  19292. description: 履约金额(总金额)
  19293. type: number
  19294. begindate:
  19295. description: 开始交易日(yyyymmdd)
  19296. type: string
  19297. buyaccountid:
  19298. description: 买方账号
  19299. type: integer
  19300. buyerfreezeamount:
  19301. description: 履约冻结(买履约)
  19302. type: number
  19303. buyerfreezeamountremain:
  19304. description: 履约冻结剩余(买履约)
  19305. type: number
  19306. buyorsell:
  19307. description: 买卖方向 0-买 1-卖
  19308. type: integer
  19309. buypaidamount:
  19310. description: 买方已冻/已扣金额 (已付金额)
  19311. type: number
  19312. buyusername:
  19313. description: 买方名字
  19314. type: string
  19315. contractid:
  19316. description: 合同ID
  19317. type: integer
  19318. createtime:
  19319. description: 创建时间
  19320. type: string
  19321. creatorid:
  19322. description: 创建人
  19323. type: integer
  19324. curstepdeadline:
  19325. description: 当前步骤到期时间
  19326. type: string
  19327. curstepid:
  19328. description: 当前步骤ID
  19329. type: string
  19330. curstepname:
  19331. description: 当前步骤名称
  19332. type: string
  19333. deliverygoodscode:
  19334. description: 品种代码
  19335. type: string
  19336. deliverygoodsid:
  19337. description: 品种ID
  19338. type: integer
  19339. deliverygoodsname:
  19340. description: 品种名称
  19341. type: string
  19342. enddate:
  19343. description: 结束交易日(yyyymmdd)
  19344. type: string
  19345. enumdicname:
  19346. description: 单位名称
  19347. type: string
  19348. expressfee:
  19349. description: 运费
  19350. type: number
  19351. expressfeeconfirmed:
  19352. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  19353. type: integer
  19354. hasovershort:
  19355. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  19356. type: integer
  19357. haswr:
  19358. description: 类型 0-仓单预售 1-仓单贸易
  19359. type: integer
  19360. marketid:
  19361. description: 市场ID
  19362. type: integer
  19363. middleaccountid:
  19364. description: 中间商资金账号ID
  19365. type: integer
  19366. middleuserid:
  19367. description: 中间商用户ID
  19368. type: integer
  19369. minivalue:
  19370. description: 现货商品最小变动值
  19371. type: integer
  19372. optioncompare:
  19373. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19374. type: string
  19375. overshortamount:
  19376. description: 溢短金额
  19377. type: number
  19378. overshortqty:
  19379. description: 溢短数量
  19380. type: number
  19381. paymenttype:
  19382. description: 付款方式 - 1:冻结 2:扣款
  19383. type: integer
  19384. performanceplanid:
  19385. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  19386. type: string
  19387. performancestatus:
  19388. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  19389. 9:超时待处理 10:超时关闭
  19390. type: integer
  19391. performancetype:
  19392. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  19393. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  19394. type: integer
  19395. qty:
  19396. description: 履约数量
  19397. type: number
  19398. relatedorderid:
  19399. description: 关联单号(履约类型的关联单号)
  19400. type: string
  19401. remark:
  19402. description: 备注
  19403. type: string
  19404. sellaccountid:
  19405. description: 卖方账号
  19406. type: integer
  19407. sellerfreezeamount:
  19408. description: 履约冻结(卖履约)
  19409. type: number
  19410. sellerfreezeamountremain:
  19411. description: 履约冻结剩余(卖履约)
  19412. type: number
  19413. sellreceivedamount:
  19414. description: 卖方已收金额
  19415. type: number
  19416. sellusername:
  19417. description: 卖方名字
  19418. type: string
  19419. shipremark:
  19420. description: 发货备注[物流单号]
  19421. type: string
  19422. starttime:
  19423. description: 开始时间
  19424. type: string
  19425. steptypeid:
  19426. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19427. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19428. type: integer
  19429. typename:
  19430. description: 履约类型 名称
  19431. type: string
  19432. unpaidamount:
  19433. description: 期初均价
  19434. type: number
  19435. userid:
  19436. description: 用户id
  19437. type: integer
  19438. warehouseid:
  19439. description: 仓库ID
  19440. type: integer
  19441. warehousename:
  19442. description: 仓库名称
  19443. type: string
  19444. wrfactortypeid:
  19445. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19446. type: string
  19447. wrfactortypename:
  19448. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19449. type: string
  19450. wrstandardcode:
  19451. description: 现货商品代码
  19452. type: string
  19453. wrstandardid:
  19454. description: 现货商品ID
  19455. type: integer
  19456. wrstandardname:
  19457. description: 商品名称
  19458. type: string
  19459. wrtransferuserid:
  19460. description: 仓单受让用户
  19461. type: integer
  19462. wrtypename:
  19463. description: 商品
  19464. type: string
  19465. required:
  19466. - userid
  19467. type: object
  19468. models.WrPerformancePlanStep:
  19469. properties:
  19470. delaydays:
  19471. description: 延期申请天数
  19472. type: integer
  19473. deliverygoodscode:
  19474. description: 品种代码
  19475. type: string
  19476. deliverygoodsid:
  19477. description: 品种ID
  19478. type: integer
  19479. deliverygoodsname:
  19480. description: 品种名称
  19481. type: string
  19482. endtime:
  19483. description: 结束日期
  19484. type: string
  19485. enumdicname:
  19486. description: 单位名称
  19487. type: string
  19488. executeside:
  19489. description: 步骤执行方 - 1:买方 2:卖方
  19490. type: integer
  19491. handlestatus:
  19492. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  19493. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  19494. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  19495. type: integer
  19496. isauto:
  19497. description: 是否自动 - 0:不自动 1:自动
  19498. type: integer
  19499. islastreceivestep:
  19500. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  19501. type: integer
  19502. minivalue:
  19503. description: 现货商品最小变动值
  19504. type: integer
  19505. optioncompare:
  19506. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19507. type: string
  19508. overdays:
  19509. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  19510. type: integer
  19511. performancestepid:
  19512. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  19513. type: string
  19514. planid:
  19515. description: 所属履约计划ID
  19516. type: string
  19517. realamount:
  19518. description: 实际完成金额
  19519. type: number
  19520. relatedorderid:
  19521. description: 关联单号
  19522. type: string
  19523. remaindays:
  19524. description: 剩余天数
  19525. type: integer
  19526. remark:
  19527. description: 错误备注
  19528. type: string
  19529. starttime:
  19530. description: 开始日期
  19531. type: string
  19532. stepamount:
  19533. description: 步骤金额
  19534. type: number
  19535. stepdays:
  19536. description: 距离上一步天数(分钟)
  19537. type: integer
  19538. stepindex:
  19539. description: 步骤序号
  19540. type: integer
  19541. steplanchtype:
  19542. description: 步骤启动类型 - 1:系统自动 2:手动
  19543. type: integer
  19544. stepremark:
  19545. description: 步骤备注
  19546. type: string
  19547. stepstatus:
  19548. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  19549. type: integer
  19550. steptypeid:
  19551. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19552. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19553. type: integer
  19554. steptypename:
  19555. description: 步骤名称
  19556. type: string
  19557. stepvalue:
  19558. description: 步骤值
  19559. type: number
  19560. warehouseid:
  19561. description: 仓库ID
  19562. type: integer
  19563. warehousename:
  19564. description: 仓库名称
  19565. type: string
  19566. wrfactortypeid:
  19567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19568. type: string
  19569. wrfactortypename:
  19570. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19571. type: string
  19572. wrstandardcode:
  19573. description: 现货商品代码
  19574. type: string
  19575. wrstandardid:
  19576. description: 现货商品ID
  19577. type: integer
  19578. wrstandardname:
  19579. description: 商品名称
  19580. type: string
  19581. wrtypename:
  19582. description: 商品
  19583. type: string
  19584. type: object
  19585. models.WrPerformanceStepType:
  19586. properties:
  19587. canauto:
  19588. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  19589. type: integer
  19590. steptypeid:
  19591. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  19592. type: integer
  19593. steptypename:
  19594. description: 步骤类型名称
  19595. type: string
  19596. type: object
  19597. models.WrPerformanceTemplateEx:
  19598. properties:
  19599. autoid:
  19600. description: AutoID 模板id
  19601. type: integer
  19602. createtime:
  19603. description: 创建时间
  19604. type: string
  19605. creatorid:
  19606. description: 创建人
  19607. type: integer
  19608. lstStep:
  19609. description: 步骤信息列表
  19610. items:
  19611. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19612. type: array
  19613. paymenttype:
  19614. description: 支付方式 - 1:冻结 2:扣款
  19615. type: integer
  19616. takemode:
  19617. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  19618. type: integer
  19619. templatename:
  19620. description: 模板名称
  19621. type: string
  19622. templatetype:
  19623. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  19624. (无仓单) 5:挂牌期权 6:竞拍-降价式
  19625. type: integer
  19626. userid:
  19627. description: 所属用户
  19628. type: integer
  19629. type: object
  19630. models.WrPosition:
  19631. properties:
  19632. accountid:
  19633. description: 帐户ID
  19634. type: integer
  19635. buyexcuteqty:
  19636. description: 采购履约中数量
  19637. type: number
  19638. creditcurqty:
  19639. description: 授信当前数量(预售仓单:预售当前量)
  19640. type: number
  19641. creditenableqty:
  19642. description: '授信可用数量(预售仓单: 可用数量)'
  19643. type: number
  19644. creditfreezeqty:
  19645. description: '授信冻结数量(预售仓单: 当前数量)'
  19646. type: number
  19647. credittotalqty:
  19648. description: 授信总数量(预售仓单:预售总量)
  19649. type: number
  19650. credittradeqty:
  19651. description: 授信成交数量(预售仓单:成交总量)
  19652. type: number
  19653. deliverygoodscode:
  19654. description: 品种代码
  19655. type: string
  19656. deliverygoodsid:
  19657. description: 品种ID
  19658. type: integer
  19659. deliverygoodsname:
  19660. description: 品种名称
  19661. type: string
  19662. enalbeqty:
  19663. description: 可用数量
  19664. type: number
  19665. enumdicname:
  19666. description: 单位名称
  19667. type: string
  19668. freezeqty:
  19669. description: 总冻结数量
  19670. type: number
  19671. haswr:
  19672. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19673. type: integer
  19674. minivalue:
  19675. description: 现货商品最小变动值
  19676. type: integer
  19677. modifytime:
  19678. description: 修改时间(过户时间)
  19679. type: string
  19680. optioncompare:
  19681. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19682. type: string
  19683. pledgeqty:
  19684. description: 质押数量
  19685. type: number
  19686. querytype:
  19687. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  19688. type: integer
  19689. sellexcuteqty:
  19690. description: 销售履约中数量
  19691. type: number
  19692. totalqty:
  19693. description: 总数量(库存数量)
  19694. type: number
  19695. warehouseid:
  19696. description: 仓库ID
  19697. type: integer
  19698. warehousename:
  19699. description: 仓库名称
  19700. type: string
  19701. wrfactortypeid:
  19702. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19703. type: string
  19704. wrfactortypename:
  19705. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19706. type: string
  19707. wrpositionid:
  19708. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  19709. type: string
  19710. wrpositionno:
  19711. description: 仓单编号
  19712. type: string
  19713. wrstandardcode:
  19714. description: 现货商品代码
  19715. type: string
  19716. wrstandardid:
  19717. description: 现货商品ID
  19718. type: integer
  19719. wrstandardname:
  19720. description: 商品名称
  19721. type: string
  19722. wrtypename:
  19723. description: 商品
  19724. type: string
  19725. wruserid:
  19726. description: 持有人ID
  19727. type: integer
  19728. type: object
  19729. models.WrPreSaleInfo:
  19730. properties:
  19731. bannerpicurl:
  19732. description: Banner图
  19733. type: string
  19734. baseqty:
  19735. description: 中签基数
  19736. type: number
  19737. createtime:
  19738. description: 创建时间
  19739. type: string
  19740. deliverygoodsid:
  19741. description: 现货品种ID
  19742. type: integer
  19743. enddate:
  19744. description: 预售结束日期
  19745. type: string
  19746. enumdicname:
  19747. description: 单位名称
  19748. type: string
  19749. lotteryflag:
  19750. description: 摇号标识 - 0:未摇号 1:已摇号
  19751. type: integer
  19752. lotteryqty:
  19753. description: 摇号总量
  19754. type: number
  19755. luckyqty:
  19756. description: 已中签量
  19757. type: number
  19758. marketid:
  19759. description: 市场ID
  19760. type: integer
  19761. maxbuyqty:
  19762. description: 单人最大申购量
  19763. type: number
  19764. maxluckyqty:
  19765. description: 单人最大中签量
  19766. type: number
  19767. pictureurls:
  19768. description: 详情图片(逗号分隔)
  19769. type: string
  19770. placeqty:
  19771. description: 已配售量
  19772. type: number
  19773. presaleapplyid:
  19774. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19775. example: "0"
  19776. type: string
  19777. presaleqty:
  19778. description: 预售总量
  19779. type: number
  19780. presalestatus:
  19781. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  19782. type: integer
  19783. sellaccountid:
  19784. description: 发行方资金账户ID
  19785. type: integer
  19786. selluserid:
  19787. description: 发行方用户ID
  19788. type: integer
  19789. sellwrtradeorderid:
  19790. description: 发行方卖委托单ID
  19791. type: string
  19792. startdate:
  19793. description: 预售开始日期
  19794. type: string
  19795. takestartdate:
  19796. description: 提货开始日期
  19797. type: string
  19798. thumurls:
  19799. description: 缩略图片(1:1)(逗号分隔)
  19800. type: string
  19801. tradedate:
  19802. description: 交易日
  19803. type: string
  19804. unitid:
  19805. description: 单位ID
  19806. type: integer
  19807. unitprice:
  19808. description: 商品单价
  19809. type: number
  19810. username:
  19811. description: 发行方用户名称
  19812. type: string
  19813. warehousecode:
  19814. description: 仓库代码(仓库简称)
  19815. type: string
  19816. warehouseid:
  19817. description: 仓库ID
  19818. type: integer
  19819. warehousename:
  19820. description: 仓库名称
  19821. type: string
  19822. wrfactortypeid:
  19823. description: 仓单要素类型ID - 根据现货商品\仓库生成
  19824. example: "0"
  19825. type: string
  19826. wrstandardid:
  19827. description: 现货商品ID
  19828. type: integer
  19829. wrstandardname:
  19830. description: 现货商品名称
  19831. type: string
  19832. type: object
  19833. models.WrQuoteOrderMyq:
  19834. properties:
  19835. buyorsell:
  19836. description: 买卖 - 0:买 1:卖
  19837. type: integer
  19838. canbargain:
  19839. description: 是否可议价 - 0:不可 1:可
  19840. type: integer
  19841. canpart:
  19842. description: 是否允许部份摘牌 - 0:不允许 1:允许
  19843. type: integer
  19844. delistminqty:
  19845. description: 期初均价
  19846. type: number
  19847. deliverygoodscode:
  19848. description: 品种代码
  19849. type: string
  19850. deliverygoodsid:
  19851. description: 品种ID
  19852. type: integer
  19853. deliverygoodsname:
  19854. description: 品种名称
  19855. type: string
  19856. deliverymonth:
  19857. description: 交收月
  19858. type: string
  19859. enumdicname:
  19860. description: 单位名称
  19861. type: string
  19862. fixedprice:
  19863. description: 买(卖)价
  19864. type: number
  19865. goodscode:
  19866. description: 商品合约代码
  19867. type: string
  19868. marginflag:
  19869. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  19870. type: integer
  19871. marginvalue:
  19872. description: 保证金设置值
  19873. type: number
  19874. minivalue:
  19875. description: 现货商品最小变动值
  19876. type: integer
  19877. orderqty:
  19878. description: 买(卖)量(=委托量-成交量)
  19879. type: number
  19880. ordertime:
  19881. description: 委托时间
  19882. type: string
  19883. performancetemplateid:
  19884. description: 履约模板id
  19885. type: integer
  19886. pricemove:
  19887. description: 买(卖)升贴水- 基差
  19888. type: number
  19889. templatename:
  19890. description: 履约模板名称
  19891. type: string
  19892. userid:
  19893. description: 购买方(销售方)用户ID
  19894. type: integer
  19895. username:
  19896. description: 购买方(销售方)
  19897. type: string
  19898. validtime:
  19899. description: 有效期限
  19900. type: string
  19901. validtype:
  19902. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19903. type: integer
  19904. warehousename:
  19905. description: 仓库名称
  19906. type: string
  19907. wrfactortypeid:
  19908. description: 仓单要素id
  19909. type: string
  19910. wrstandardcode:
  19911. description: 现货商品代码
  19912. type: string
  19913. wrstandardid:
  19914. description: 现货商品ID
  19915. type: integer
  19916. wrstandardname:
  19917. description: 商品名称
  19918. type: string
  19919. wrtradeorderid:
  19920. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19921. type: string
  19922. wrtypename:
  19923. description: 商品
  19924. type: string
  19925. type: object
  19926. models.WrReckonSpotGoodsTradeSum:
  19927. properties:
  19928. begindate:
  19929. description: 开始日期(结果含开始日期) yyyymmdd
  19930. type: string
  19931. enddate:
  19932. description: 结束日期(结果含结束日期) yyyymmdd
  19933. type: string
  19934. istoday:
  19935. description: 是否当日
  19936. type: boolean
  19937. marketid:
  19938. description: 市场ID
  19939. type: integer
  19940. price:
  19941. description: 价格 = 日成交金额 / 日成交数量
  19942. type: string
  19943. reckondate:
  19944. description: 日期 格式 yyyymmdd
  19945. type: string
  19946. tradeamount:
  19947. description: 期初均价
  19948. type: number
  19949. tradeqty:
  19950. description: 期初均价
  19951. type: number
  19952. wrstandardid:
  19953. description: 现货商品ID
  19954. type: integer
  19955. type: object
  19956. models.WrScfContract:
  19957. properties:
  19958. borroweruserid:
  19959. description: 借款用户ID
  19960. type: integer
  19961. buybackwrpositionqty:
  19962. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  19963. type: number
  19964. closeinterest:
  19965. description: 已结利息 -> 已结费用
  19966. type: number
  19967. currisklevel:
  19968. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  19969. type: integer
  19970. deadline:
  19971. description: 截止日期(yyyyMMdd) -> 借款到期时间
  19972. type: string
  19973. deliverygoodscode:
  19974. description: 品种代码
  19975. type: string
  19976. deliverygoodsid:
  19977. description: 品种ID
  19978. type: integer
  19979. deliverygoodsname:
  19980. description: 品种名称
  19981. type: string
  19982. enumdicname:
  19983. description: 单位名称
  19984. type: string
  19985. financingdays:
  19986. description: 天数(天)
  19987. type: integer
  19988. initmargin:
  19989. description: 保证金 - [仓单回购]
  19990. type: number
  19991. interestamount:
  19992. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  19993. type: number
  19994. interestdebt:
  19995. description: 利息欠款(记录负数) -> 费用欠款
  19996. type: number
  19997. interestminlen:
  19998. description: 最小起息天数
  19999. type: integer
  20000. interestrate:
  20001. description: 利率
  20002. type: number
  20003. interestratemode:
  20004. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20005. type: integer
  20006. interestsettlemode:
  20007. description: 结息方式 - 1:按日结息 3:按月结息
  20008. type: integer
  20009. interestsettlevalue:
  20010. description: 结息方式值
  20011. type: integer
  20012. isautoloan:
  20013. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20014. type: integer
  20015. lastcloseinterestday:
  20016. description: 最近结息日(yyyyMMdd)
  20017. type: string
  20018. lenderamount:
  20019. description: 贷款金额 -> 借款金额
  20020. type: number
  20021. lenderuserid:
  20022. description: 贷款方用户ID -> 融出方用户ID
  20023. type: integer
  20024. lenderusername:
  20025. description: 融出方
  20026. type: string
  20027. marginratio:
  20028. description: 保证金比率质押率 - [仓单质押]
  20029. type: number
  20030. marketid:
  20031. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20032. type: integer
  20033. minivalue:
  20034. description: 现货商品最小变动值
  20035. type: integer
  20036. optioncompare:
  20037. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20038. type: string
  20039. pricemove:
  20040. description: 估值升贴水值
  20041. type: number
  20042. productdetailid:
  20043. description: 产品组合ID
  20044. type: integer
  20045. productid:
  20046. description: 金融产品ID
  20047. type: integer
  20048. productname:
  20049. description: 产品名称
  20050. type: string
  20051. remainamount:
  20052. description: 合同剩余金额 -> 剩余金额
  20053. type: number
  20054. remainwrpositionqty:
  20055. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20056. type: number
  20057. remark:
  20058. description: 备注
  20059. type: string
  20060. scfcontractid:
  20061. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20062. type: string
  20063. scfcontractstatus:
  20064. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20065. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20066. type: integer
  20067. scfcontracttype:
  20068. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20069. type: integer
  20070. startinterestday:
  20071. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20072. type: string
  20073. totalinterest:
  20074. description: 已计利息 -> 已计费用
  20075. type: number
  20076. unpaidinterest:
  20077. description: 期初均价
  20078. type: number
  20079. updatetime:
  20080. description: 更新时间
  20081. type: string
  20082. warehouseid:
  20083. description: 仓库ID
  20084. type: integer
  20085. warehousename:
  20086. description: 仓库名称
  20087. type: string
  20088. wrfactortypeid:
  20089. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20090. type: string
  20091. wrfactortypename:
  20092. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20093. type: string
  20094. wrqty:
  20095. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20096. type: number
  20097. wrstandardcode:
  20098. description: 现货商品代码
  20099. type: string
  20100. wrstandardid:
  20101. description: 现货商品ID
  20102. type: integer
  20103. wrstandardname:
  20104. description: 商品名称
  20105. type: string
  20106. wrtypename:
  20107. description: 商品
  20108. type: string
  20109. type: object
  20110. models.WrScfContractInterest:
  20111. properties:
  20112. closeinterest:
  20113. description: 已结利息
  20114. type: number
  20115. closeintereststatus:
  20116. description: 结息状态 - 1:未结 2:已结
  20117. type: integer
  20118. closetime:
  20119. description: 结息时间
  20120. type: string
  20121. closetradedate:
  20122. description: 结息交易日
  20123. type: string
  20124. creatorid:
  20125. description: 操作人ID
  20126. type: integer
  20127. dayrate:
  20128. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  20129. type: number
  20130. interest:
  20131. description: 利息
  20132. type: number
  20133. interestamount:
  20134. description: 计息金额
  20135. type: number
  20136. interestday:
  20137. description: 计息日(yyyyMMdd)
  20138. type: string
  20139. scfcontractid:
  20140. description: SCF合同ID
  20141. type: string
  20142. scfcontractinterestid:
  20143. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  20144. type: integer
  20145. updatetime:
  20146. description: 更新时间
  20147. type: string
  20148. type: object
  20149. models.WrSearchUser:
  20150. properties:
  20151. userid:
  20152. description: 用户ID
  20153. type: integer
  20154. username:
  20155. description: 用户名称(已脱敏)
  20156. type: string
  20157. username2:
  20158. description: 用户名称(未脱敏)
  20159. type: string
  20160. usertype:
  20161. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20162. type: integer
  20163. required:
  20164. - username
  20165. type: object
  20166. models.WrSiteColumnDetail:
  20167. properties:
  20168. brief:
  20169. description: 简介
  20170. type: string
  20171. context:
  20172. description: 内容
  20173. type: string
  20174. coverimage:
  20175. description: 封面图片
  20176. type: string
  20177. creaedate:
  20178. description: 创建时间
  20179. type: string
  20180. id:
  20181. description: ID(SEQ_SITE_COLUMNDETAIL)
  20182. type: integer
  20183. istop:
  20184. description: 是否置顶 - 0:不置 1:置顶
  20185. type: integer
  20186. publishdate:
  20187. description: 发布日期
  20188. type: string
  20189. title:
  20190. description: 标题
  20191. type: string
  20192. updatedate:
  20193. description: 修改时间
  20194. type: string
  20195. type: object
  20196. models.WrSpecialMatchOrder:
  20197. properties:
  20198. amount:
  20199. description: 金额 = 数量 * 价格
  20200. type: number
  20201. buyorsell:
  20202. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20203. type: integer
  20204. cancelqty:
  20205. description: 撤销数量
  20206. type: number
  20207. deliverygoodscode:
  20208. description: 品种代码
  20209. type: string
  20210. deliverygoodsid:
  20211. description: 品种ID
  20212. type: integer
  20213. deliverygoodsname:
  20214. description: 品种名称
  20215. type: string
  20216. enumdicname:
  20217. description: 单位名称
  20218. type: string
  20219. fixedprice:
  20220. description: 固定价格(价格)
  20221. type: number
  20222. haswr:
  20223. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20224. type: integer
  20225. isspecified:
  20226. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  20227. type: integer
  20228. marketid:
  20229. description: 市场ID
  20230. type: integer
  20231. matchuserid:
  20232. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  20233. type: integer
  20234. matchusername:
  20235. description: 指定方
  20236. type: string
  20237. minivalue:
  20238. description: 现货商品最小变动值
  20239. type: integer
  20240. optioncompare:
  20241. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20242. type: string
  20243. orderqty:
  20244. description: 委托数量
  20245. type: number
  20246. ordertime:
  20247. description: 委托时间
  20248. type: string
  20249. pricemove:
  20250. description: 升贴水(浮动价时填写) - [挂牌]
  20251. type: number
  20252. tradedate:
  20253. description: 交易日(yyyyMMdd)
  20254. type: string
  20255. tradeprice:
  20256. description: 成交价格
  20257. type: number
  20258. tradeqty:
  20259. description: 成交数量
  20260. type: number
  20261. userid:
  20262. description: 用户ID
  20263. type: integer
  20264. username:
  20265. description: 发起方
  20266. type: string
  20267. warehouseid:
  20268. description: 仓库ID
  20269. type: integer
  20270. warehousename:
  20271. description: 仓库名称
  20272. type: string
  20273. wrfactortypeid:
  20274. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20275. type: string
  20276. wrfactortypename:
  20277. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20278. type: string
  20279. wrpricetype:
  20280. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  20281. type: integer
  20282. wrstandardcode:
  20283. description: 现货商品代码
  20284. type: string
  20285. wrstandardid:
  20286. description: 现货商品ID
  20287. type: integer
  20288. wrstandardname:
  20289. description: 商品名称
  20290. type: string
  20291. wrtradeorderid:
  20292. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20293. type: string
  20294. wrtradeorderstatus:
  20295. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  20296. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  20297. type: integer
  20298. wrtradetype:
  20299. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20300. type: integer
  20301. wrtypename:
  20302. description: 商品
  20303. type: string
  20304. type: object
  20305. models.WrSpotGroupTradeSum:
  20306. properties:
  20307. deliverygoodscode:
  20308. description: 现货品种代码
  20309. type: string
  20310. deliverygoodsid:
  20311. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20312. type: integer
  20313. deliverygoodsname:
  20314. description: 现货品种名称
  20315. type: string
  20316. lastavgprice:
  20317. description: 上上个交易日价格(前2天价格)
  20318. type: string
  20319. lastreckondate:
  20320. description: 上上个交易日(前2天交易日)
  20321. type: string
  20322. reckondate:
  20323. description: 上个交易日(前1天交易日)
  20324. type: string
  20325. todayavgprice:
  20326. description: 上个交易日价格(前1天价格)
  20327. type: string
  20328. updown:
  20329. description: 涨跌
  20330. type: string
  20331. updownratio:
  20332. description: 涨幅(已格式化, 直接显示即可)
  20333. type: string
  20334. type: object
  20335. models.WrSpotGroupTradeSumDetail:
  20336. properties:
  20337. deliverygoodsid:
  20338. description: 现货商品id
  20339. type: integer
  20340. price:
  20341. description: 价格
  20342. type: number
  20343. reckondate:
  20344. description: 日期(yyymmdd, 如:20211031)
  20345. type: string
  20346. type: object
  20347. models.WrSpotGroupTradeSumEx:
  20348. properties:
  20349. lst:
  20350. description: 指数列表
  20351. items:
  20352. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  20353. type: array
  20354. prereckondate:
  20355. description: 上上个交易日(yyymmdd)
  20356. type: string
  20357. reckondate:
  20358. description: 上个交易日(yyyymmdd)
  20359. type: string
  20360. type: object
  20361. models.WrStandardFactoryItem:
  20362. properties:
  20363. dgfactoryitemid:
  20364. description: 选择项id
  20365. type: integer
  20366. dgfactoryitemvalue:
  20367. description: 要素项值
  20368. type: string
  20369. warehouseid:
  20370. description: 仓库id
  20371. type: integer
  20372. type: object
  20373. models.WrStandardFactoryItemEx:
  20374. properties:
  20375. dgfactoryitemtypeid:
  20376. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  20377. type: integer
  20378. itemlst:
  20379. description: 要素项列表
  20380. items:
  20381. $ref: '#/definitions/models.WrStandardFactoryItem'
  20382. type: array
  20383. itemtypename:
  20384. description: 要素项类型名称
  20385. type: string
  20386. wrstandardid:
  20387. description: 品类
  20388. type: integer
  20389. type: object
  20390. models.WrTradeDetail:
  20391. properties:
  20392. accountid:
  20393. description: 资金账号
  20394. type: integer
  20395. bannerpicurl:
  20396. description: Banner图
  20397. type: string
  20398. begindate:
  20399. description: 开始交易日(yyyymmdd)
  20400. type: string
  20401. buyorsell:
  20402. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  20403. type: integer
  20404. chargevalue:
  20405. description: 手续费
  20406. type: number
  20407. deliverygoodscode:
  20408. description: 品种代码
  20409. type: string
  20410. deliverygoodsid:
  20411. description: 品种ID
  20412. type: integer
  20413. deliverygoodsname:
  20414. description: 品种名称
  20415. type: string
  20416. deliverymonth:
  20417. description: 交收月
  20418. type: string
  20419. enddate:
  20420. description: 结束交易日(yyyymmdd)
  20421. type: string
  20422. enumdicname:
  20423. description: 单位名称
  20424. type: string
  20425. haswr:
  20426. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20427. type: integer
  20428. marketid:
  20429. description: 市场ID
  20430. type: integer
  20431. matchaccountid:
  20432. description: 对手账号
  20433. type: integer
  20434. matchusername:
  20435. description: 对手方
  20436. type: string
  20437. minivalue:
  20438. description: 现货商品最小变动值
  20439. type: integer
  20440. optioncompare:
  20441. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20442. type: string
  20443. thumurls:
  20444. description: 缩略图
  20445. type: string
  20446. tradedate:
  20447. description: 交易日(yyyyMMdd)
  20448. type: string
  20449. tradeprice:
  20450. description: 成交价格
  20451. type: number
  20452. tradeqty:
  20453. description: 成交数量
  20454. type: number
  20455. tradetime:
  20456. description: 成交时间
  20457. type: string
  20458. userid:
  20459. description: 用户ID
  20460. type: integer
  20461. warehouseid:
  20462. description: 仓库ID
  20463. type: integer
  20464. warehousename:
  20465. description: 仓库名称
  20466. type: string
  20467. wrfactortypeid:
  20468. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20469. type: string
  20470. wrfactortypename:
  20471. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20472. type: string
  20473. wrstandardcode:
  20474. description: 现货商品代码
  20475. type: string
  20476. wrstandardid:
  20477. description: 现货商品ID
  20478. type: integer
  20479. wrstandardname:
  20480. description: 商品名称
  20481. type: string
  20482. wrtradedetailid:
  20483. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20484. type: string
  20485. wrtradetype:
  20486. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  20487. type: integer
  20488. wrtypename:
  20489. description: 商品
  20490. type: string
  20491. type: object
  20492. models.WrTradeOrderDetail:
  20493. properties:
  20494. buyorsell:
  20495. description: 买卖方向 0-买 1-卖
  20496. type: integer
  20497. goodsid:
  20498. description: 商品id
  20499. type: integer
  20500. orderid:
  20501. description: 委托单号
  20502. type: string
  20503. orderprice:
  20504. description: 期初均价
  20505. type: number
  20506. orderqty:
  20507. description: 委托数量
  20508. type: integer
  20509. userid:
  20510. description: 用户id
  20511. type: integer
  20512. username:
  20513. description: 用户名称(已脱敏)
  20514. type: string
  20515. type: object
  20516. models.WrTypeItem:
  20517. properties:
  20518. name:
  20519. description: 名称
  20520. type: string
  20521. value:
  20522. description: 值
  20523. type: string
  20524. type: object
  20525. models.WrUserFriend:
  20526. properties:
  20527. friendname:
  20528. description: 朋友名称(已脱敏)
  20529. type: string
  20530. frienduserid:
  20531. description: 朋友id
  20532. type: integer
  20533. isfriend:
  20534. description: 是否好友 0-不是 1-是
  20535. type: integer
  20536. userid:
  20537. description: 用户id
  20538. type: integer
  20539. type: object
  20540. models.WrUserReceiptInfo:
  20541. properties:
  20542. address:
  20543. description: 地址[发票类型:企业]
  20544. type: string
  20545. autoid:
  20546. description: AutoID
  20547. type: integer
  20548. contactinfo:
  20549. description: 联系方式
  20550. type: string
  20551. idnum:
  20552. description: 身份证号码[发票类型:个人]
  20553. type: string
  20554. isdefault:
  20555. description: 是否默认地址 - 0:否 1:是
  20556. type: integer
  20557. receiptaccount:
  20558. description: 发票帐号[发票类型:企业]
  20559. type: string
  20560. receiptbank:
  20561. description: 发票开户行[发票类型:企业]
  20562. type: string
  20563. receipttype:
  20564. description: 发票类型 - 1:个人 2:企业
  20565. type: integer
  20566. taxpayerid:
  20567. description: 纳税人识别号
  20568. type: string
  20569. userid:
  20570. description: 用户ID
  20571. type: integer
  20572. username:
  20573. description: 户名(个人姓名或企业名称)
  20574. type: string
  20575. type: object
  20576. models.Wrtradetradequote:
  20577. properties:
  20578. buyaccountid:
  20579. description: 买方账号ID
  20580. type: integer
  20581. buychargevalue:
  20582. description: 买方手续费
  20583. type: number
  20584. buyuserid:
  20585. description: 买方用户ID
  20586. type: integer
  20587. deliverygoodsid:
  20588. description: 现货品种ID
  20589. type: integer
  20590. exchangerate:
  20591. description: 汇率
  20592. type: number
  20593. marketid:
  20594. description: 市场ID
  20595. type: integer
  20596. oritradeamount:
  20597. description: 成交金额[商品币种]
  20598. type: number
  20599. performanceplanid:
  20600. description: 履约计划ID/合同ID
  20601. type: integer
  20602. sellaccountid:
  20603. description: 卖方账号ID
  20604. type: integer
  20605. sellchargevalue:
  20606. description: 卖方手续费
  20607. type: number
  20608. selluserid:
  20609. description: 卖方用户ID
  20610. type: integer
  20611. tradeamount:
  20612. description: 成交金额
  20613. type: number
  20614. tradedate:
  20615. description: 交易日(yyyyMMdd)
  20616. type: string
  20617. tradeprice:
  20618. description: 成交价格
  20619. type: number
  20620. tradeqty:
  20621. description: 成交数量
  20622. type: integer
  20623. tradetime:
  20624. description: 成交时间
  20625. type: string
  20626. wrfactortypeid:
  20627. description: 仓单要素类型ID
  20628. type: integer
  20629. wrstandardid:
  20630. description: 现货商品ID
  20631. type: integer
  20632. wrtradedetailid:
  20633. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  20634. type: integer
  20635. type: object
  20636. models.XHBRAND:
  20637. properties:
  20638. brandid:
  20639. description: 品牌id
  20640. type: integer
  20641. brandname:
  20642. description: 品牌名称
  20643. type: string
  20644. isvalid:
  20645. description: 是否有效 0-无效 1-有效
  20646. type: integer
  20647. type: object
  20648. models.XHDeliveryGoods:
  20649. properties:
  20650. areauserid:
  20651. description: 所属机构
  20652. type: integer
  20653. bdlst:
  20654. description: 品牌列表
  20655. items:
  20656. $ref: '#/definitions/models.XHBRAND'
  20657. type: array
  20658. deliverygoodscode:
  20659. description: 现货品种代码
  20660. type: string
  20661. deliverygoodsid:
  20662. description: 现货品种ID(SEQ_DELIVERYGOODS)
  20663. type: integer
  20664. deliverygoodsname:
  20665. description: 现货品种名称
  20666. type: string
  20667. dgstatus:
  20668. description: 品种状态 - 作废 - 0:未激活 1:正常
  20669. type: integer
  20670. filterSubEmpty:
  20671. description: 过滤下级为空的
  20672. type: integer
  20673. isvalid:
  20674. description: 是否有效 - 0:无效 1:有效
  20675. type: integer
  20676. remark:
  20677. description: 备注
  20678. type: string
  20679. unitid:
  20680. description: 单位id(目前看,数据库中是空值)
  20681. type: integer
  20682. wdlst:
  20683. description: 品类(现货商品)列表
  20684. items:
  20685. $ref: '#/definitions/models.XHWrstandard'
  20686. type: array
  20687. type: object
  20688. models.XHMiddleGoods:
  20689. properties:
  20690. GPLST:
  20691. description: 期货品种列表
  20692. items:
  20693. $ref: '#/definitions/models.TBGoodsGroup'
  20694. type: array
  20695. convertratio:
  20696. description: 拆算系数
  20697. type: number
  20698. costratio:
  20699. description: 成本权重
  20700. type: number
  20701. deliverygoodsid:
  20702. description: 现货商品id
  20703. type: integer
  20704. enumdicname:
  20705. description: 单位名称
  20706. type: string
  20707. middlegoodscode:
  20708. description: 套保品种代码
  20709. type: string
  20710. middlegoodsid:
  20711. description: 套保品种id
  20712. type: integer
  20713. middlegoodsname:
  20714. description: 套保品种名称
  20715. type: string
  20716. unitid:
  20717. description: 单位id
  20718. type: integer
  20719. type: object
  20720. models.XHWrstandard:
  20721. properties:
  20722. bannerpicurl:
  20723. description: banner图
  20724. type: string
  20725. deliverygoodsid:
  20726. description: 品种ID
  20727. type: integer
  20728. enumdicname:
  20729. description: 单位名称
  20730. type: string
  20731. mglst:
  20732. description: 套保品列表
  20733. items:
  20734. $ref: '#/definitions/models.XHMiddleGoods'
  20735. type: array
  20736. pictureurls:
  20737. description: 详情图片(逗号分隔)
  20738. type: string
  20739. thumurls:
  20740. description: 缩略图片(1:1)(逗号分隔)
  20741. type: string
  20742. unitid:
  20743. description: 单位id
  20744. type: integer
  20745. vatrate:
  20746. description: 增值税率
  20747. type: number
  20748. wrstandardcode:
  20749. description: 现货商品代码
  20750. type: string
  20751. wrstandardid:
  20752. description: 现货商品ID(SEQ_WRSTANDARD)
  20753. type: integer
  20754. wrstandardname:
  20755. description: 现货商品名称
  20756. type: string
  20757. type: object
  20758. models.XhcpSellBackApplyEx:
  20759. properties:
  20760. applyremark:
  20761. description: 申请备注
  20762. type: string
  20763. expirytype:
  20764. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20765. type: integer
  20766. goodsspec:
  20767. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20768. type: integer
  20769. holeflag:
  20770. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20771. type: integer
  20772. isunopened:
  20773. description: 是否原封 - 1:否 2:是
  20774. type: integer
  20775. mpflag:
  20776. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20777. type: integer
  20778. openflag:
  20779. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20780. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20781. type: integer
  20782. phonenum:
  20783. description: 联系电话
  20784. type: string
  20785. userid:
  20786. description: 所属用户ID
  20787. type: integer
  20788. zpflag:
  20789. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20790. type: integer
  20791. required:
  20792. - userid
  20793. type: object
  20794. models.Xhcpsellbackapply:
  20795. properties:
  20796. applyid:
  20797. description: 申请人
  20798. type: integer
  20799. applyremark:
  20800. description: 申请备注
  20801. type: string
  20802. applysrc:
  20803. description: 申请来源 - 1:管理端 2:终端
  20804. type: integer
  20805. applystatus:
  20806. description: 申请状态 - 1:待确认 2:已处理
  20807. type: integer
  20808. applytime:
  20809. description: 申请时间
  20810. type: string
  20811. auditremark:
  20812. description: 审核备注
  20813. type: string
  20814. auditsrc:
  20815. description: 审核来源 - 1:管理端 2:终端
  20816. type: integer
  20817. expirytype:
  20818. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  20819. type: integer
  20820. goodsspec:
  20821. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  20822. type: integer
  20823. holeflag:
  20824. description: 是否破洞[原封] - 1:无破洞 2:破洞
  20825. type: integer
  20826. isunopened:
  20827. description: 是否原封 - 1:否 2:是
  20828. type: integer
  20829. mpflag:
  20830. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  20831. type: integer
  20832. openflag:
  20833. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  20834. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  20835. type: integer
  20836. phonenum:
  20837. description: 联系电话
  20838. type: string
  20839. sellbackapplyid:
  20840. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  20841. type: string
  20842. userid:
  20843. description: 所属用户ID
  20844. type: integer
  20845. zpflag:
  20846. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  20847. type: integer
  20848. required:
  20849. - userid
  20850. type: object
  20851. order.QueryHisTradeDetailRsp:
  20852. properties:
  20853. accountid:
  20854. description: 账户ID[报价币种]
  20855. type: integer
  20856. advanceratio:
  20857. description: 首付比率
  20858. type: number
  20859. buildtype:
  20860. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  20861. type: integer
  20862. buyorsell:
  20863. description: 方向 - 0:买 1:卖
  20864. type: integer
  20865. charge:
  20866. description: 手续费
  20867. type: number
  20868. closecharge:
  20869. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20870. type: number
  20871. closeexchagechargevalue:
  20872. description: 平仓交易所手续费设置值
  20873. type: number
  20874. closefeealgorithm:
  20875. description: 平仓手续费收取方式 1:比率 2:固定
  20876. type: integer
  20877. closememberchargevalue:
  20878. description: 平仓会员手续费设置值
  20879. type: number
  20880. closepl:
  20881. description: 平仓盈亏
  20882. type: number
  20883. closepl2:
  20884. description: 平仓盈亏[逐笔]
  20885. type: number
  20886. closeqty:
  20887. description: 平仓数量(先建后平操作 需要记录)
  20888. type: number
  20889. creditamount:
  20890. description: 授信金额
  20891. type: number
  20892. decimalplace:
  20893. description: 商品报价小数位
  20894. type: integer
  20895. enumdicname:
  20896. description: 单位名称
  20897. type: string
  20898. gcaccountid:
  20899. description: 账户ID[合约币种]
  20900. type: integer
  20901. goodscode:
  20902. description: 商品代码
  20903. type: string
  20904. goodsid:
  20905. description: 商品ID
  20906. type: integer
  20907. goodsname:
  20908. description: 商品名称
  20909. type: string
  20910. goodunitid:
  20911. description: 商品单位id
  20912. type: integer
  20913. histradedate:
  20914. description: 历史交易日
  20915. type: string
  20916. intclosepl:
  20917. description: 整型盈亏(用于交易结算试算平衡-收益权)
  20918. type: integer
  20919. isconfirmexercise:
  20920. description: 是否确认行权- 0:否 1:是
  20921. type: integer
  20922. ismain:
  20923. description: 是否主单 - 0:不是 1:是
  20924. type: integer
  20925. ispreexercise:
  20926. description: 是否预申报- 0:否 1:是
  20927. type: integer
  20928. isreckoned:
  20929. description: 是否结算 - 0:未结算 1:已结算
  20930. type: integer
  20931. isvaliddata:
  20932. description: 是否有效 - 0:无效 1:有效
  20933. type: integer
  20934. listingselecttype:
  20935. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  20936. type: integer
  20937. marketid:
  20938. description: 市场ID
  20939. type: integer
  20940. marketname:
  20941. description: 市场名称
  20942. type: string
  20943. matchaccountid:
  20944. description: 对手账号id
  20945. type: integer
  20946. memberuserid:
  20947. description: 会员id 个人投资者 需要填写
  20948. type: integer
  20949. opencharge:
  20950. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  20951. type: number
  20952. openexchagechargevalue:
  20953. description: 建仓交易所手续费设置值
  20954. type: number
  20955. openfeealgorithm:
  20956. description: 建仓手续费收取方式 1:比率 2:固定
  20957. type: integer
  20958. openmemberchargevalue:
  20959. description: 建仓会员手续费设置值
  20960. type: number
  20961. openqty:
  20962. description: 开仓数量(先建后平操作 需要记录)
  20963. type: number
  20964. optiontype:
  20965. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  20966. type: integer
  20967. orderid:
  20968. description: 委托单号
  20969. type: string
  20970. payamount:
  20971. description: 支付金额(付款金额)
  20972. type: number
  20973. performanceplanid:
  20974. description: 履约计划ID[期权]
  20975. type: integer
  20976. performancestatus:
  20977. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  20978. type: integer
  20979. preexerciseprice:
  20980. description: 预申报价格
  20981. type: number
  20982. premium:
  20983. description: 权利金 - [持仓单的权利金]
  20984. type: number
  20985. qtydecimalplace:
  20986. description: 商品报价小数位
  20987. type: integer
  20988. recvamount:
  20989. description: 到账金额 = 成交金额 - 手续费
  20990. type: number
  20991. relatedouttradeid:
  20992. description: 关联外部成交单ID
  20993. type: integer
  20994. status:
  20995. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  20996. type: integer
  20997. totalamount:
  20998. description: 订单总额 = 成交金额 + 手续费
  20999. type: number
  21000. tradeamount:
  21001. description: 成交金额[账户币种,用于所有权]
  21002. type: number
  21003. tradedate:
  21004. description: 交易日(yyyyMMdd)
  21005. type: string
  21006. tradeid:
  21007. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21008. type: string
  21009. trademode:
  21010. description: 交易模式
  21011. type: integer
  21012. tradeprice:
  21013. description: 成交价格
  21014. type: number
  21015. tradeproperty:
  21016. description: 交易属性
  21017. type: integer
  21018. tradeqty:
  21019. description: 成交数量
  21020. type: number
  21021. tradetime:
  21022. description: 成交时间
  21023. type: string
  21024. tradetype:
  21025. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21026. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21027. type: integer
  21028. required:
  21029. - accountid
  21030. - buyorsell
  21031. - goodsid
  21032. - histradedate
  21033. - marketid
  21034. - memberuserid
  21035. - orderid
  21036. - tradeamount
  21037. - tradedate
  21038. - tradeid
  21039. - tradeprice
  21040. - tradeqty
  21041. - tradetime
  21042. type: object
  21043. order.QueryHisTradeOrderDetailRsp:
  21044. properties:
  21045. accountid:
  21046. description: 账户ID[报价币种]
  21047. type: integer
  21048. buildtype:
  21049. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21050. type: integer
  21051. buyorsell:
  21052. description: 买卖 - 0:买 1:卖
  21053. type: integer
  21054. cancelorderid:
  21055. description: 撤单单号(撤单时填写)
  21056. type: string
  21057. cancelqty:
  21058. description: 撤单数量
  21059. type: number
  21060. clientordertime:
  21061. description: 客户端委托时间
  21062. type: string
  21063. clientticket:
  21064. description: 客户端流水号
  21065. type: string
  21066. clienttype:
  21067. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21068. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21069. type: integer
  21070. closeexchagechargevalue:
  21071. description: 平仓交易所手续费设置值
  21072. type: number
  21073. closefeealgorithm:
  21074. description: 平仓手续费收取方式 1:比率 2:固定
  21075. type: integer
  21076. closefreezecharge:
  21077. description: 平仓冻结手续费(先建后平操作,需要记录)
  21078. type: number
  21079. closememberchargevalue:
  21080. description: 平仓会员手续费设置值
  21081. type: number
  21082. closeqty:
  21083. description: 平仓数量(先建后平操作 需要记录)
  21084. type: number
  21085. closetradeqty:
  21086. description: 平仓成交数量(先建后平操作,需要记录)
  21087. type: number
  21088. closeunfreezecharge:
  21089. description: 平仓解冻手续费(先建后平操作,需要记录)
  21090. type: number
  21091. decimalplace:
  21092. description: 商品报价小数位
  21093. type: integer
  21094. delistingtype:
  21095. description: 摘牌类型 - 1:价格最优 2:点选成交
  21096. type: integer
  21097. enumdicname:
  21098. description: 单位名称
  21099. type: string
  21100. freezecharge:
  21101. description: 冻结手续费
  21102. type: number
  21103. freezemargin:
  21104. description: 冻结保证金(冻结交易金额)
  21105. type: number
  21106. gcaccountid:
  21107. description: 账户ID[合约币种]
  21108. type: integer
  21109. goodscode:
  21110. description: 商品代码
  21111. type: string
  21112. goodsid:
  21113. description: 商品ID
  21114. type: integer
  21115. goodsname:
  21116. description: 商品名称
  21117. type: string
  21118. goodunitid:
  21119. description: 商品单位id
  21120. type: integer
  21121. histradedate:
  21122. description: 历史交易日
  21123. type: string
  21124. isconfirmexercise:
  21125. description: 是否确认行权- 0:否 1:是
  21126. type: integer
  21127. ispreexercise:
  21128. description: 是否预申报- 0:否 1:是
  21129. type: integer
  21130. isvaliddata:
  21131. description: 是否有效 - 0:无效 1:有效
  21132. type: integer
  21133. listingselecttype:
  21134. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21135. type: integer
  21136. marginalgorithm:
  21137. description: 保证金收取方式 1:比率 2:固定
  21138. type: integer
  21139. marginvalue:
  21140. description: 即市保证金设置值
  21141. type: number
  21142. marketid:
  21143. description: 市场ID
  21144. type: integer
  21145. marketmaxsub:
  21146. description: 市价最大偏移范围
  21147. type: number
  21148. marketname:
  21149. description: 市场名称
  21150. type: string
  21151. memberuserid:
  21152. description: 所属会员UserID
  21153. type: integer
  21154. openexchagechargevalue:
  21155. description: 建仓交易所手续费设置值
  21156. type: number
  21157. openfeealgorithm:
  21158. description: 建仓手续费收取方式 1:比率 2:固定
  21159. type: integer
  21160. openfreezecharge:
  21161. description: 开仓冻结手续费(先建后平操作,需要记录)
  21162. type: number
  21163. openmemberchargevalue:
  21164. description: 建仓会员手续费设置值
  21165. type: number
  21166. openqty:
  21167. description: 开仓数量(先建后平操作,需要记录)
  21168. type: number
  21169. opentradeqty:
  21170. description: 开仓成交数量(先建后平操作,需要记录)
  21171. type: number
  21172. openunfreezecharge:
  21173. description: 开仓解冻手续费(先建后平操作,需要记录)
  21174. type: number
  21175. operatetype:
  21176. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21177. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21178. 15:管理端协议转让
  21179. type: integer
  21180. operatorid:
  21181. description: 登录账号(LoginID)
  21182. type: integer
  21183. optiontype:
  21184. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21185. type: integer
  21186. orderid:
  21187. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21188. type: string
  21189. orderprice:
  21190. description: 委托价格
  21191. type: number
  21192. orderqty:
  21193. description: 委托数量
  21194. type: number
  21195. ordersrc:
  21196. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21197. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21198. type: integer
  21199. orderstatus:
  21200. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21201. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21202. 16:成交失败违约(荷兰式竞拍专用)
  21203. type: integer
  21204. ordertime:
  21205. description: 委托时间
  21206. type: string
  21207. preexerciseprice:
  21208. description: 预申报价格
  21209. type: number
  21210. premium:
  21211. description: 权利金
  21212. type: number
  21213. preorderid:
  21214. description: 关联预埋单号(止盈止损单时填写)
  21215. type: string
  21216. pricemode:
  21217. description: '取价方式 - 1:市价 2: 限价'
  21218. type: integer
  21219. qtydecimalplace:
  21220. description: 成交量小数位
  21221. type: integer
  21222. quoteid:
  21223. description: 报价单ID
  21224. type: integer
  21225. relatedid:
  21226. description: 关联单号(交割单)
  21227. type: string
  21228. retcode:
  21229. description: 错误代码
  21230. type: integer
  21231. sessionid:
  21232. description: 会话ID
  21233. type: integer
  21234. tradedate:
  21235. description: 交易日(yyyyMMdd)
  21236. type: string
  21237. trademode:
  21238. description: 交易模式
  21239. type: integer
  21240. tradeproperty:
  21241. description: 交易属性
  21242. type: integer
  21243. tradeqty:
  21244. description: 成交数量
  21245. type: number
  21246. unfreezecharge:
  21247. description: 解冻手续费
  21248. type: number
  21249. unfreezemargin:
  21250. description: 解冻保证金
  21251. type: number
  21252. updatetime:
  21253. description: 更新时间
  21254. type: string
  21255. uuid:
  21256. description: 发起端唯一id
  21257. type: string
  21258. validtime:
  21259. description: 有效期限
  21260. type: string
  21261. validtype:
  21262. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21263. type: integer
  21264. volumetype:
  21265. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21266. type: integer
  21267. required:
  21268. - accountid
  21269. - buildtype
  21270. - buyorsell
  21271. - goodsid
  21272. - histradedate
  21273. - marketid
  21274. - memberuserid
  21275. - operatetype
  21276. - orderid
  21277. - orderqty
  21278. - ordertime
  21279. - pricemode
  21280. - tradedate
  21281. - validtype
  21282. type: object
  21283. order.QueryTradeDetailRsp:
  21284. properties:
  21285. accountid:
  21286. description: 账户ID[报价币种]
  21287. type: integer
  21288. advanceratio:
  21289. description: 首付比率
  21290. type: number
  21291. buildtype:
  21292. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21293. type: integer
  21294. buyorsell:
  21295. description: 方向 - 0:买 1:卖
  21296. type: integer
  21297. charge:
  21298. description: 手续费
  21299. type: number
  21300. closecharge:
  21301. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21302. type: number
  21303. closeexchagechargevalue:
  21304. description: 平仓交易所手续费设置值
  21305. type: number
  21306. closefeealgorithm:
  21307. description: 平仓手续费收取方式 1:比率 2:固定
  21308. type: integer
  21309. closememberchargevalue:
  21310. description: 平仓会员手续费设置值
  21311. type: number
  21312. closepl:
  21313. description: 平仓盈亏
  21314. type: number
  21315. closepl2:
  21316. description: 平仓盈亏[逐笔]
  21317. type: number
  21318. closeqty:
  21319. description: 平仓数量(先建后平操作 需要记录)
  21320. type: number
  21321. creditamount:
  21322. description: 授信金额
  21323. type: number
  21324. decimalplace:
  21325. description: 商品报价小数位
  21326. type: integer
  21327. enumdicname:
  21328. description: 单位名称
  21329. type: string
  21330. gcaccountid:
  21331. description: 账户ID[合约币种]
  21332. type: integer
  21333. goodscode:
  21334. description: 商品代码
  21335. type: string
  21336. goodsid:
  21337. description: 商品ID
  21338. type: integer
  21339. goodsname:
  21340. description: 商品名称
  21341. type: string
  21342. goodunitid:
  21343. description: 商品单位id
  21344. type: integer
  21345. intclosepl:
  21346. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21347. type: integer
  21348. isconfirmexercise:
  21349. description: 是否确认行权- 0:否 1:是
  21350. type: integer
  21351. ismain:
  21352. description: 是否主单 - 0:不是 1:是
  21353. type: integer
  21354. ispreexercise:
  21355. description: 是否预申报- 0:否 1:是
  21356. type: integer
  21357. isreckoned:
  21358. description: 是否结算 - 0:未结算 1:已结算
  21359. type: integer
  21360. listingselecttype:
  21361. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21362. type: integer
  21363. marketid:
  21364. description: 市场ID
  21365. type: integer
  21366. marketname:
  21367. description: 市场名称
  21368. type: string
  21369. matchaccountid:
  21370. description: 对手账号id
  21371. type: integer
  21372. memberuserid:
  21373. description: 会员id 个人投资者 需要填写
  21374. type: integer
  21375. opencharge:
  21376. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21377. type: number
  21378. openexchagechargevalue:
  21379. description: 建仓交易所手续费设置值
  21380. type: number
  21381. openfeealgorithm:
  21382. description: 建仓手续费收取方式 1:比率 2:固定
  21383. type: integer
  21384. openmemberchargevalue:
  21385. description: 建仓会员手续费设置值
  21386. type: number
  21387. openqty:
  21388. description: 开仓数量(先建后平操作 需要记录)
  21389. type: number
  21390. optiontype:
  21391. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21392. type: integer
  21393. orderid:
  21394. description: 委托单号
  21395. type: string
  21396. payamount:
  21397. description: 支付金额(付款金额)
  21398. type: number
  21399. performanceplanid:
  21400. description: 履约计划ID[期权]
  21401. type: integer
  21402. performancestatus:
  21403. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21404. type: integer
  21405. preexerciseprice:
  21406. description: 预申报价格
  21407. type: number
  21408. premium:
  21409. description: 权利金 - [持仓单的权利金]
  21410. type: number
  21411. qtydecimalplace:
  21412. description: 商品报价小数位
  21413. type: integer
  21414. recvamount:
  21415. description: 到账金额 = 成交金额 - 手续费
  21416. type: number
  21417. relatedouttradeid:
  21418. description: 关联外部成交单ID
  21419. type: integer
  21420. status:
  21421. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21422. type: integer
  21423. totalamount:
  21424. description: 订单总额 = 成交金额 + 手续费
  21425. type: number
  21426. tradeamount:
  21427. description: 成交金额[账户币种,用于所有权]
  21428. type: number
  21429. tradedate:
  21430. description: 交易日(yyyyMMdd)
  21431. type: string
  21432. tradeid:
  21433. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21434. type: string
  21435. trademode:
  21436. description: 交易模式
  21437. type: integer
  21438. tradeprice:
  21439. description: 成交价格
  21440. type: number
  21441. tradeproperty:
  21442. description: 交易属性
  21443. type: integer
  21444. tradeqty:
  21445. description: 成交数量
  21446. type: number
  21447. tradetime:
  21448. description: 成交时间
  21449. type: string
  21450. tradetype:
  21451. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21452. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21453. type: integer
  21454. required:
  21455. - accountid
  21456. - buyorsell
  21457. - goodsid
  21458. - marketid
  21459. - memberuserid
  21460. - orderid
  21461. - tradeamount
  21462. - tradedate
  21463. - tradeid
  21464. - tradeprice
  21465. - tradeqty
  21466. - tradetime
  21467. type: object
  21468. order.QueryTradeOrderDetailRsp:
  21469. properties:
  21470. accountid:
  21471. description: 账户ID[报价币种]
  21472. type: integer
  21473. buildtype:
  21474. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21475. type: integer
  21476. buyorsell:
  21477. description: 买卖 - 0:买 1:卖
  21478. type: integer
  21479. cancelorderid:
  21480. description: 撤单单号(撤单时填写)
  21481. type: string
  21482. cancelqty:
  21483. description: 撤单数量
  21484. type: number
  21485. clienttype:
  21486. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21487. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21488. type: integer
  21489. closefreezecharge:
  21490. description: 平仓冻结手续费(先建后平操作,需要记录)
  21491. type: number
  21492. closeqty:
  21493. description: 平仓数量(先建后平操作 需要记录)
  21494. type: number
  21495. closetradeqty:
  21496. description: 平仓成交数量(先建后平操作,需要记录)
  21497. type: number
  21498. closeunfreezecharge:
  21499. description: 平仓解冻手续费(先建后平操作,需要记录)
  21500. type: number
  21501. decimalplace:
  21502. description: 商品报价小数位
  21503. type: integer
  21504. delistingtype:
  21505. description: 摘牌类型 - 1:价格最优 2:点选成交
  21506. type: integer
  21507. enableqty:
  21508. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  21509. type: number
  21510. enumdicname:
  21511. description: 单位名称
  21512. type: string
  21513. freezecharge:
  21514. description: 冻结手续费
  21515. type: number
  21516. freezemargin:
  21517. description: 冻结保证金(冻结交易金额)
  21518. type: number
  21519. goodscode:
  21520. description: 商品代码
  21521. type: string
  21522. goodsid:
  21523. description: 商品ID
  21524. type: integer
  21525. goodsname:
  21526. description: 商品名称
  21527. type: string
  21528. goodunitid:
  21529. description: 商品单位id
  21530. type: integer
  21531. listingselecttype:
  21532. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21533. type: integer
  21534. marketid:
  21535. description: 市场ID
  21536. type: integer
  21537. marketname:
  21538. description: 市场名称
  21539. type: string
  21540. openfreezecharge:
  21541. description: 开仓冻结手续费(先建后平操作,需要记录)
  21542. type: number
  21543. openqty:
  21544. description: 开仓数量(先建后平操作,需要记录)
  21545. type: number
  21546. opentradeqty:
  21547. description: 开仓成交数量(先建后平操作,需要记录)
  21548. type: number
  21549. openunfreezecharge:
  21550. description: 开仓解冻手续费(先建后平操作,需要记录)
  21551. type: number
  21552. operatetype:
  21553. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  21554. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  21555. 15:管理端协议转让
  21556. type: integer
  21557. operatorid:
  21558. description: 登录账号(LoginID)
  21559. type: integer
  21560. orderid:
  21561. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21562. type: string
  21563. orderprice:
  21564. description: 委托价格
  21565. type: number
  21566. orderqty:
  21567. description: 委托数量
  21568. type: number
  21569. ordersrc:
  21570. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  21571. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  21572. type: integer
  21573. orderstatus:
  21574. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  21575. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  21576. 16:成交失败违约(荷兰式竞拍专用)
  21577. type: integer
  21578. ordertime:
  21579. description: 委托时间
  21580. type: string
  21581. preorderid:
  21582. description: 关联预埋单号(止盈止损单时填写)
  21583. type: string
  21584. pricemode:
  21585. description: '取价方式 - 1:市价 2: 限价'
  21586. type: integer
  21587. qtydecimalplace:
  21588. description: 商品报价小数位
  21589. type: integer
  21590. relatedid:
  21591. description: 关联单号(交割单)
  21592. type: string
  21593. tradedate:
  21594. description: 交易日(yyyyMMdd)
  21595. type: string
  21596. trademode:
  21597. description: 交易模式
  21598. type: integer
  21599. tradeqty:
  21600. description: 成交数量
  21601. type: number
  21602. unfreezecharge:
  21603. description: 解冻手续费
  21604. type: number
  21605. unfreezemargin:
  21606. description: 解冻保证金
  21607. type: number
  21608. validtime:
  21609. description: 有效期限
  21610. type: string
  21611. validtype:
  21612. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  21613. type: integer
  21614. volumetype:
  21615. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  21616. type: integer
  21617. required:
  21618. - accountid
  21619. - buildtype
  21620. - buyorsell
  21621. - goodsid
  21622. - marketid
  21623. - operatetype
  21624. - orderqty
  21625. - ordertime
  21626. - pricemode
  21627. - tradedate
  21628. - validtype
  21629. type: object
  21630. order.QueryTradePositionRsp:
  21631. properties:
  21632. accountid:
  21633. description: 资金账户
  21634. type: integer
  21635. agreeunit:
  21636. description: 合约单位
  21637. type: number
  21638. averageprice:
  21639. description: 持仓均价
  21640. type: number
  21641. buyorsell:
  21642. description: 方向 - 0:买 1:卖
  21643. type: integer
  21644. closetotalqty:
  21645. description: 平仓总数量
  21646. type: number
  21647. curholderamount:
  21648. description: 当前持仓总金额[商品币种]
  21649. type: number
  21650. curpositionqty:
  21651. description: 当前持仓总数量
  21652. type: number
  21653. currencyid:
  21654. description: 报价货币ID
  21655. type: integer
  21656. curtdposition:
  21657. description: 期末今日头寸
  21658. type: number
  21659. decimalplace:
  21660. description: 报价小数位
  21661. type: integer
  21662. enableqty:
  21663. description: 可用量
  21664. type: number
  21665. fretdposition:
  21666. description: 冻结今日头寸
  21667. type: number
  21668. frozenqty:
  21669. description: 持仓冻结数量
  21670. type: number
  21671. goodscode:
  21672. description: 商品代码
  21673. type: string
  21674. goodsid:
  21675. description: 商品Id
  21676. type: integer
  21677. goodsname:
  21678. description: 商品名称
  21679. type: string
  21680. goodunit:
  21681. description: 报价单位
  21682. type: string
  21683. goodunitid:
  21684. description: 报价单位ID
  21685. type: integer
  21686. holderamount:
  21687. description: 期初持仓总金额[商品币种]
  21688. type: number
  21689. lastprice:
  21690. description: 最新价
  21691. type: number
  21692. marketamount:
  21693. description: 市值
  21694. type: number
  21695. marketid:
  21696. description: 所属市场ID
  21697. type: integer
  21698. openreqqty:
  21699. description: 开仓申请数量(用于比较最大持仓数量)
  21700. type: number
  21701. opentotalqty:
  21702. description: 开仓总数量
  21703. type: number
  21704. otherfrozenqty:
  21705. description: 持仓其他冻结数量(交割冻结)
  21706. type: number
  21707. positionpl:
  21708. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  21709. * 合约单位
  21710. type: number
  21711. positionplrate:
  21712. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  21713. type: number
  21714. positionqty:
  21715. description: 期初持仓数量
  21716. type: number
  21717. qtydecimalplace:
  21718. description: 成交量小数位
  21719. type: integer
  21720. refgoodscode:
  21721. description: 参考商品代码
  21722. type: string
  21723. refgoodsid:
  21724. description: 参考商品ID
  21725. type: integer
  21726. tnqty:
  21727. description: T+N冻结总量
  21728. type: number
  21729. tnusedqty:
  21730. description: T+N使用量(可以使用T+N的冻结数量)
  21731. type: number
  21732. trademode:
  21733. description: 交易模式
  21734. type: integer
  21735. tradeproperty:
  21736. description: 交易属性
  21737. type: integer
  21738. usedmargin:
  21739. description: 占用保证金[商品币种]
  21740. type: number
  21741. required:
  21742. - goodsid
  21743. type: object
  21744. pb.GoodsMarginCfgStruct:
  21745. properties:
  21746. CustomerTypeID:
  21747. description: 投资者客户类型
  21748. type: integer
  21749. GoodsID:
  21750. description: 商品ID
  21751. type: integer
  21752. IsDefault:
  21753. description: 是否默认标志位
  21754. type: integer
  21755. LockMarginValue:
  21756. description: 锁仓保证金
  21757. type: number
  21758. MarginAlgorithm:
  21759. description: 保证金计算方式
  21760. type: integer
  21761. MarketMarginValue:
  21762. description: 即市保证金值
  21763. type: number
  21764. RealMarginAlgorithm:
  21765. description: 实付保证金计算方式
  21766. type: integer
  21767. RealMarginValue:
  21768. description: 实付比例
  21769. type: number
  21770. ReckonMarginValue:
  21771. description: 结算保证金值
  21772. type: number
  21773. type: object
  21774. quote.HistoryData:
  21775. properties:
  21776. c:
  21777. description: 收盘价
  21778. type: number
  21779. f:
  21780. description: 是否补充数据
  21781. type: boolean
  21782. h:
  21783. description: 最高价
  21784. type: number
  21785. hv:
  21786. description: 持仓量
  21787. type: integer
  21788. l:
  21789. description: 最低价
  21790. type: number
  21791. o:
  21792. description: 开盘价
  21793. type: number
  21794. s:
  21795. description: 结算价,日线周期(包括)以上才有
  21796. type: number
  21797. ts:
  21798. description: 时间
  21799. type: string
  21800. tt:
  21801. description: 总金额
  21802. type: number
  21803. tv:
  21804. description: 总量(成交量)
  21805. type: integer
  21806. type: object
  21807. quote.HistoryTikData:
  21808. properties:
  21809. AV:
  21810. description: 卖量
  21811. type: integer
  21812. Ask:
  21813. description: 卖价
  21814. type: number
  21815. BV:
  21816. description: 买量
  21817. type: integer
  21818. Bid:
  21819. description: 买价
  21820. type: number
  21821. HI:
  21822. description: 单笔持仓
  21823. type: integer
  21824. HV:
  21825. description: 持仓量
  21826. type: integer
  21827. PE:
  21828. description: 现价
  21829. type: number
  21830. TDR:
  21831. description: 交易方向,0:买 1:卖
  21832. type: integer
  21833. TK:
  21834. description: 交易类型
  21835. type: integer
  21836. TS:
  21837. description: 行情时间文本
  21838. type: string
  21839. TT:
  21840. description: 现金额
  21841. type: number
  21842. Vol:
  21843. description: 现量
  21844. type: integer
  21845. type: object
  21846. quote.QueryQuoteDayRsp:
  21847. properties:
  21848. ask:
  21849. description: 卖1
  21850. type: number
  21851. ask2:
  21852. description: 卖2
  21853. type: number
  21854. ask3:
  21855. description: 卖3
  21856. type: number
  21857. ask4:
  21858. description: 卖4
  21859. type: number
  21860. ask5:
  21861. description: 卖5
  21862. type: number
  21863. ask6:
  21864. description: 卖6
  21865. type: number
  21866. ask7:
  21867. description: 卖7
  21868. type: number
  21869. ask8:
  21870. description: 卖8
  21871. type: number
  21872. ask9:
  21873. description: 卖9
  21874. type: number
  21875. ask10:
  21876. description: 卖10
  21877. type: number
  21878. askorderid:
  21879. description: 卖单号1
  21880. type: integer
  21881. askorderid2:
  21882. description: 卖单号2
  21883. type: integer
  21884. askorderid3:
  21885. description: 卖单号3
  21886. type: integer
  21887. askorderid4:
  21888. description: 卖单号4
  21889. type: integer
  21890. askorderid5:
  21891. description: 卖单号5
  21892. type: integer
  21893. askordervolume:
  21894. description: 卖单量1
  21895. type: integer
  21896. askordervolume2:
  21897. description: 卖单量2
  21898. type: integer
  21899. askordervolume3:
  21900. description: 卖单量3
  21901. type: integer
  21902. askordervolume4:
  21903. description: 卖单量4
  21904. type: integer
  21905. askordervolume5:
  21906. description: 卖单量5
  21907. type: integer
  21908. askordervolume6:
  21909. description: 卖单量6
  21910. type: integer
  21911. askordervolume7:
  21912. description: 卖单量7
  21913. type: integer
  21914. askordervolume8:
  21915. description: 卖单量8
  21916. type: integer
  21917. askordervolume9:
  21918. description: 卖单量9
  21919. type: integer
  21920. askordervolume10:
  21921. description: 卖单量10
  21922. type: integer
  21923. askqueueinfo:
  21924. description: 大利市卖港股用
  21925. type: string
  21926. askvolume:
  21927. description: 卖量1
  21928. type: integer
  21929. askvolume2:
  21930. description: 卖量2
  21931. type: integer
  21932. askvolume3:
  21933. description: 卖量3
  21934. type: integer
  21935. askvolume4:
  21936. description: 卖量4
  21937. type: integer
  21938. askvolume5:
  21939. description: 卖量5
  21940. type: integer
  21941. askvolume6:
  21942. description: 卖量6
  21943. type: integer
  21944. askvolume7:
  21945. description: 卖量7
  21946. type: integer
  21947. askvolume8:
  21948. description: 卖量8
  21949. type: integer
  21950. askvolume9:
  21951. description: 卖量9
  21952. type: integer
  21953. askvolume10:
  21954. description: 卖量10
  21955. type: integer
  21956. averageprice:
  21957. description: 均价
  21958. type: number
  21959. bid:
  21960. description: 买1
  21961. type: number
  21962. bid2:
  21963. description: 买2
  21964. type: number
  21965. bid3:
  21966. description: 买3
  21967. type: number
  21968. bid4:
  21969. description: 买4
  21970. type: number
  21971. bid5:
  21972. description: 买5
  21973. type: number
  21974. bid6:
  21975. description: 买6
  21976. type: number
  21977. bid7:
  21978. description: 买7
  21979. type: number
  21980. bid8:
  21981. description: 买8
  21982. type: number
  21983. bid9:
  21984. description: 买9
  21985. type: number
  21986. bid10:
  21987. description: 买10
  21988. type: number
  21989. bidorderid:
  21990. description: 买单号1
  21991. type: integer
  21992. bidorderid2:
  21993. description: 买单号2
  21994. type: integer
  21995. bidorderid3:
  21996. description: 买单号3
  21997. type: integer
  21998. bidorderid4:
  21999. description: 买单号4
  22000. type: integer
  22001. bidorderid5:
  22002. description: 买单号5
  22003. type: integer
  22004. bidordervolume:
  22005. description: 买单量1
  22006. type: integer
  22007. bidordervolume2:
  22008. description: 买单量2
  22009. type: integer
  22010. bidordervolume3:
  22011. description: 买单量3
  22012. type: integer
  22013. bidordervolume4:
  22014. description: 买单量4
  22015. type: integer
  22016. bidordervolume5:
  22017. description: 买单量5
  22018. type: integer
  22019. bidordervolume6:
  22020. description: 买单量6
  22021. type: integer
  22022. bidordervolume7:
  22023. description: 买单量7
  22024. type: integer
  22025. bidordervolume8:
  22026. description: 买单量8
  22027. type: integer
  22028. bidordervolume9:
  22029. description: 买单量9
  22030. type: integer
  22031. bidordervolume10:
  22032. description: 买单量10
  22033. type: integer
  22034. bidqueueinfo:
  22035. description: 大利市买港股用
  22036. type: string
  22037. bidvolume:
  22038. description: 买量1
  22039. type: integer
  22040. bidvolume2:
  22041. description: 买量2
  22042. type: integer
  22043. bidvolume3:
  22044. description: 买量3
  22045. type: integer
  22046. bidvolume4:
  22047. description: 买量4
  22048. type: integer
  22049. bidvolume5:
  22050. description: 买量5
  22051. type: integer
  22052. bidvolume6:
  22053. description: 买量6
  22054. type: integer
  22055. bidvolume7:
  22056. description: 买量7
  22057. type: integer
  22058. bidvolume8:
  22059. description: 买量8
  22060. type: integer
  22061. bidvolume9:
  22062. description: 买量9
  22063. type: integer
  22064. bidvolume10:
  22065. description: 买量10
  22066. type: integer
  22067. calloptionpremiums:
  22068. description: 认购期权1
  22069. type: integer
  22070. calloptionpremiums2:
  22071. description: 认购期权2
  22072. type: integer
  22073. calloptionpremiums3:
  22074. description: 认购期权3
  22075. type: integer
  22076. calloptionpremiums4:
  22077. description: 认购期权4
  22078. type: integer
  22079. calloptionpremiums5:
  22080. description: 认购期权5
  22081. type: integer
  22082. cleartime:
  22083. description: 清盘时间
  22084. type: integer
  22085. exchangecode:
  22086. description: 交易所代码
  22087. type: integer
  22088. exchangedate:
  22089. description: 交易日
  22090. type: integer
  22091. goodscode:
  22092. description: 商品代码
  22093. type: string
  22094. grepmarketprice:
  22095. description: 暗盘价 港股专用
  22096. type: number
  22097. highest:
  22098. description: 最高价
  22099. type: number
  22100. holdincrement:
  22101. description: 单笔持仓
  22102. type: integer
  22103. holdvolume:
  22104. description: 持仓
  22105. type: integer
  22106. iep:
  22107. description: 平衡价 港股专用
  22108. type: number
  22109. iev:
  22110. description: 平衡量 港股专用
  22111. type: number
  22112. inventory:
  22113. description: 库存
  22114. type: integer
  22115. iscleared:
  22116. description: 是否清盘标志
  22117. type: integer
  22118. issettled:
  22119. description: 是否结算标志
  22120. type: integer
  22121. last:
  22122. description: 最新价
  22123. type: number
  22124. lastlot:
  22125. description: 最新成交手数
  22126. type: integer
  22127. lasttime:
  22128. description: 行情时间(只有现价变化行情时间才变化)
  22129. type: string
  22130. lastturnover:
  22131. description: 最新成交金额
  22132. type: number
  22133. lastvolume:
  22134. description: 最新成交量
  22135. type: integer
  22136. limitdown:
  22137. description: 跌停价
  22138. type: number
  22139. limitup:
  22140. description: 涨停价
  22141. type: number
  22142. lowest:
  22143. description: 最低价
  22144. type: number
  22145. nontotalholdervolume:
  22146. description: 非交易持仓量
  22147. type: integer
  22148. nontotallot:
  22149. description: 非交易总手数
  22150. type: integer
  22151. nontotalturnover:
  22152. description: 非交易总金额
  22153. type: integer
  22154. nontotalvolume:
  22155. description: 非交易总量
  22156. type: integer
  22157. opened:
  22158. description: 开盘价
  22159. type: number
  22160. opentime:
  22161. description: 开盘时间
  22162. type: string
  22163. orderid:
  22164. description: 序号
  22165. type: integer
  22166. preclose:
  22167. description: 昨收
  22168. type: number
  22169. preholdvolume:
  22170. description: 昨持仓
  22171. type: integer
  22172. presettle:
  22173. description: 昨结价
  22174. type: number
  22175. publictradetype:
  22176. description: 公共交易标志类型 港股专用
  22177. type: string
  22178. putoptionpremiums:
  22179. description: 认沽期权1
  22180. type: integer
  22181. putoptionpremiums2:
  22182. description: 认沽期权2
  22183. type: integer
  22184. putoptionpremiums3:
  22185. description: 认沽期权3
  22186. type: integer
  22187. putoptionpremiums4:
  22188. description: 认沽期权4
  22189. type: integer
  22190. putoptionpremiums5:
  22191. description: 认沽期权5
  22192. type: integer
  22193. settle:
  22194. description: 结算价
  22195. type: number
  22196. strikeprice:
  22197. description: 发行价
  22198. type: number
  22199. totalaskvolume:
  22200. description: 内盘
  22201. type: integer
  22202. totalbidvolume:
  22203. description: 外盘
  22204. type: integer
  22205. totallot:
  22206. description: 总手数
  22207. type: integer
  22208. totalturnover:
  22209. description: 总金额
  22210. type: number
  22211. totalvolume:
  22212. description: 总量
  22213. type: integer
  22214. utclasttime:
  22215. description: utc的行情时间
  22216. type: string
  22217. type: object
  22218. quote.QueryTSDataRsp:
  22219. properties:
  22220. Count:
  22221. description: 交易日应有数据个数
  22222. type: integer
  22223. decimalPlace:
  22224. description: 小数位
  22225. type: integer
  22226. endTime:
  22227. description: 结束时间
  22228. type: string
  22229. goodsCode:
  22230. description: 商品代码
  22231. type: string
  22232. historyDatas:
  22233. description: 历史数据
  22234. items:
  22235. $ref: '#/definitions/quote.HistoryData'
  22236. type: array
  22237. outGoodsCode:
  22238. description: 外部商品代码
  22239. type: string
  22240. preSettle:
  22241. description: 昨结价
  22242. type: number
  22243. runSteps:
  22244. description: 交易日开休市计划
  22245. items:
  22246. $ref: '#/definitions/quote.TSDataRunStep'
  22247. type: array
  22248. startTime:
  22249. description: 开始时间
  22250. type: string
  22251. tradeDate:
  22252. description: 交易日
  22253. type: string
  22254. type: object
  22255. quote.TSDataRunStep:
  22256. properties:
  22257. end:
  22258. description: 真实结束时间
  22259. type: string
  22260. endflag:
  22261. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  22262. type: integer
  22263. endtime:
  22264. description: 结束时间(HH:mm)
  22265. type: string
  22266. endweekday:
  22267. description: 结束周几
  22268. type: integer
  22269. groupid:
  22270. description: 分组ID
  22271. type: integer
  22272. runstep:
  22273. description: 运行阶段 - 2:连续交易
  22274. type: integer
  22275. sectionid:
  22276. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  22277. 结束时间=结算时间 结束周几=结算周几
  22278. type: integer
  22279. start:
  22280. description: 真实开始时间
  22281. type: string
  22282. startflag:
  22283. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  22284. type: integer
  22285. starttime:
  22286. description: 起始时间(HH:mm)
  22287. type: string
  22288. startweekday:
  22289. description: 起始周几
  22290. type: integer
  22291. tradeweekday:
  22292. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  22293. type: integer
  22294. type: object
  22295. szdz.QueryConvertLogRsp:
  22296. properties:
  22297. accountid:
  22298. description: 资金账户ID
  22299. type: integer
  22300. clientticket:
  22301. description: 客户端流水号
  22302. type: string
  22303. converttype:
  22304. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  22305. type: integer
  22306. createtime:
  22307. description: 记账时间
  22308. type: string
  22309. daymaxvalue:
  22310. description: 配置当日最大转入限制
  22311. type: number
  22312. daymaxvalue2:
  22313. description: 配置当日最大转入限制(转入)
  22314. type: number
  22315. goodscode:
  22316. description: 商品代码
  22317. type: string
  22318. goodsname:
  22319. description: 商品名称
  22320. type: string
  22321. handlestatus:
  22322. description: 处理状态
  22323. type: integer
  22324. innergoodsid:
  22325. description: 内部商品ID
  22326. type: integer
  22327. inratio:
  22328. description: 配置转入比值
  22329. type: integer
  22330. invalue:
  22331. description: 目标值
  22332. type: number
  22333. logid:
  22334. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22335. type: integer
  22336. mobile:
  22337. description: 手机号码(加密存储)
  22338. type: string
  22339. outergoodscode:
  22340. description: 外部商品代码[JD\PD]
  22341. type: string
  22342. outratio:
  22343. description: 配置转出比值
  22344. type: integer
  22345. outvalue:
  22346. description: 源值
  22347. type: number
  22348. pddecimalplace:
  22349. description: PD小数位
  22350. type: integer
  22351. qty:
  22352. description: 数量
  22353. type: string
  22354. remark:
  22355. description: 备注
  22356. type: string
  22357. sessionid:
  22358. description: 会话ID
  22359. type: integer
  22360. timemaxvalue:
  22361. description: 配置单次最大转入限制
  22362. type: number
  22363. timemaxvalue2:
  22364. description: 配置单次最大转入限制(转入)
  22365. type: number
  22366. timeminvalue:
  22367. description: 配置单次最小数量限制
  22368. type: number
  22369. timeminvalue2:
  22370. description: 配置单次最小数量限制(转入)
  22371. type: number
  22372. tradedate:
  22373. description: 交易日(yyyyMMdd)
  22374. type: string
  22375. userid:
  22376. description: 用户ID
  22377. type: integer
  22378. required:
  22379. - logid
  22380. type: object
  22381. szdz.QueryGoodsPickupRsp:
  22382. properties:
  22383. accountid:
  22384. description: 账户ID
  22385. type: integer
  22386. address:
  22387. description: 提货人详细地址
  22388. type: string
  22389. auditer:
  22390. description: 审核人
  22391. type: integer
  22392. audittime:
  22393. description: 审核时间
  22394. type: string
  22395. cardnum:
  22396. description: 提货人证件号码
  22397. type: string
  22398. cardtypeid:
  22399. description: 提货人证件类型
  22400. type: integer
  22401. checkremark:
  22402. description: 审核备注
  22403. type: string
  22404. goodscode:
  22405. description: 商品代码
  22406. type: string
  22407. goodsid:
  22408. description: 商品ID
  22409. type: integer
  22410. goodsname:
  22411. description: 商品名称
  22412. type: string
  22413. handlestatus:
  22414. description: 处理状态
  22415. type: integer
  22416. marketid:
  22417. description: 市场ID
  22418. type: integer
  22419. phonenum:
  22420. description: 提货人联系方式
  22421. type: string
  22422. qty:
  22423. description: 提货数量
  22424. type: number
  22425. recivername:
  22426. description: 提货人姓名
  22427. type: string
  22428. reqtime:
  22429. description: 更新时间
  22430. type: string
  22431. takemode:
  22432. description: 提货方式 - 2:自提 3:配送
  22433. type: integer
  22434. takeorderid:
  22435. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  22436. type: string
  22437. takeorderstatus:
  22438. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22439. type: integer
  22440. takeremark:
  22441. description: 提货备注
  22442. type: string
  22443. tradedate:
  22444. description: 交易日(yyyyMMdd)
  22445. type: string
  22446. userid:
  22447. description: 用户ID
  22448. type: integer
  22449. required:
  22450. - takeorderid
  22451. type: object
  22452. szdz.QueryRecieptOrderRsp:
  22453. properties:
  22454. accountName:
  22455. description: 所属账号名称(已脱敏)
  22456. type: string
  22457. accountid:
  22458. description: 资金账号
  22459. type: integer
  22460. buyorsell:
  22461. description: 方向 - 0:买 1:卖
  22462. type: integer
  22463. enableqty:
  22464. description: 可摘数量
  22465. type: integer
  22466. goodscode:
  22467. description: 商品代码
  22468. type: string
  22469. goodsid:
  22470. description: 商品ID
  22471. type: integer
  22472. goodsname:
  22473. description: 商品名称
  22474. type: string
  22475. orderid:
  22476. description: 委托单号
  22477. type: string
  22478. orderprice:
  22479. description: 委托价格
  22480. type: number
  22481. ordertime:
  22482. description: 委托时间
  22483. type: string
  22484. tradedate:
  22485. description: 交易日(yyyyMMdd)
  22486. type: string
  22487. required:
  22488. - ordertime
  22489. type: object
  22490. szdz.QuerySZDZTradePositionRsp:
  22491. properties:
  22492. accountid:
  22493. description: 账号Id
  22494. type: integer
  22495. agreeunit:
  22496. description: 合约单位
  22497. type: number
  22498. averageprice:
  22499. description: 持仓均价
  22500. type: number
  22501. buyorsell:
  22502. description: 方向 - 0:买 1:卖
  22503. type: integer
  22504. closetotalqty:
  22505. description: 平仓总数量
  22506. type: integer
  22507. curholderamount:
  22508. description: 当前持仓总金额
  22509. type: number
  22510. curpositionqty:
  22511. description: 当前持仓总数量
  22512. type: integer
  22513. currencyid:
  22514. description: 报价货币ID
  22515. type: integer
  22516. curtdposition:
  22517. description: 期末今日头寸
  22518. type: integer
  22519. decimalplace:
  22520. description: 报价小数位
  22521. type: integer
  22522. enableqty:
  22523. description: 可用量
  22524. type: integer
  22525. fretdposition:
  22526. description: 冻结今日头寸
  22527. type: integer
  22528. frozenqty:
  22529. description: 持仓冻结数量
  22530. type: integer
  22531. goodscode:
  22532. description: 商品代码(内部)
  22533. type: string
  22534. goodsid:
  22535. description: 商品Id
  22536. type: integer
  22537. goodsname:
  22538. description: 商品名称
  22539. type: string
  22540. goodunit:
  22541. description: 报价单位
  22542. type: string
  22543. goodunitid:
  22544. description: 报价单位ID
  22545. type: integer
  22546. holderamount:
  22547. description: 期初持仓总金额
  22548. type: number
  22549. marketid:
  22550. description: 市场ID
  22551. type: integer
  22552. openreqqty:
  22553. description: 开仓申请数量
  22554. type: integer
  22555. opentotalqty:
  22556. description: 开仓总数量
  22557. type: integer
  22558. otherfrozenqty:
  22559. description: 持仓其他冻结数量(交割冻结)
  22560. type: integer
  22561. positionqty:
  22562. description: 期初持仓数量
  22563. type: integer
  22564. szdz3freezqty:
  22565. description: 尚志大宗转换冻结总数量
  22566. type: integer
  22567. tnqty:
  22568. description: T+N冻结总量
  22569. type: integer
  22570. tnusedqty:
  22571. description: T+N使用量
  22572. type: integer
  22573. trademode:
  22574. description: 交易模式
  22575. type: integer
  22576. usedmargin:
  22577. description: 占用保证金
  22578. type: number
  22579. type: object
  22580. taaccount.QueryAmountLogRsp:
  22581. properties:
  22582. OPERATETYPENAME:
  22583. description: 资金操作类型名称
  22584. type: string
  22585. accountid:
  22586. description: 资金账户ID
  22587. type: integer
  22588. agoodscode:
  22589. description: 竞拍商品代码
  22590. type: string
  22591. agoodsname:
  22592. description: 竞拍商品名称
  22593. type: string
  22594. amount:
  22595. description: 资金金额
  22596. type: number
  22597. amountadjusttype:
  22598. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22599. type: integer
  22600. autoid:
  22601. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22602. type: integer
  22603. balance:
  22604. description: 期初余额
  22605. type: number
  22606. businesscode:
  22607. description: 业务编号
  22608. type: integer
  22609. createtime:
  22610. description: 发生时间
  22611. type: string
  22612. currencyid:
  22613. description: 币种ID
  22614. type: integer
  22615. currentbalance:
  22616. description: 期末余额(变动后金额)
  22617. type: number
  22618. dgoodscode:
  22619. description: 交割商品代码
  22620. type: string
  22621. dgoodsname:
  22622. description: 交割商品名称
  22623. type: string
  22624. goodscode:
  22625. description: 商品代码
  22626. type: string
  22627. goodsid:
  22628. description: 商品ID
  22629. type: integer
  22630. goodsname:
  22631. description: 商品名称
  22632. type: string
  22633. marketid:
  22634. description: 市场ID
  22635. type: integer
  22636. marketname:
  22637. description: 市场名称
  22638. type: string
  22639. moneyticket:
  22640. description: 资金流水号:银行端流水号
  22641. type: integer
  22642. operatetype:
  22643. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22644. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22645. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22646. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22647. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22648. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22649. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22650. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22651. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22652. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22653. type: integer
  22654. relationorderid:
  22655. description: 关联单号
  22656. type: string
  22657. remark:
  22658. description: 备注
  22659. type: string
  22660. trademode:
  22661. description: 交易模式
  22662. type: integer
  22663. required:
  22664. - accountid
  22665. - amount
  22666. - amountadjusttype
  22667. - autoid
  22668. - balance
  22669. - createtime
  22670. - currentbalance
  22671. - operatetype
  22672. type: object
  22673. taaccount.QueryHisAmountLogRsp:
  22674. properties:
  22675. OPERATETYPENAME:
  22676. description: 资金操作类型名称
  22677. type: string
  22678. accountid:
  22679. description: 资金账户ID
  22680. type: integer
  22681. agoodscode:
  22682. description: 竞拍商品代码
  22683. type: string
  22684. agoodsname:
  22685. description: 竞拍商品名称
  22686. type: string
  22687. amount:
  22688. description: 资金金额
  22689. type: number
  22690. amountadjusttype:
  22691. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  22692. type: integer
  22693. autoid:
  22694. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  22695. type: integer
  22696. balance:
  22697. description: 期初余额
  22698. type: number
  22699. businesscode:
  22700. description: 业务编号
  22701. type: integer
  22702. createtime:
  22703. description: 发生时间
  22704. type: string
  22705. currencyid:
  22706. description: 币种ID
  22707. type: integer
  22708. currentbalance:
  22709. description: 期末余额(变动后金额)
  22710. type: number
  22711. dgoodscode:
  22712. description: 交割商品代码
  22713. type: string
  22714. dgoodsname:
  22715. description: 交割商品名称
  22716. type: string
  22717. goodscode:
  22718. description: 商品代码
  22719. type: string
  22720. goodsid:
  22721. description: 商品ID
  22722. type: integer
  22723. goodsname:
  22724. description: 商品名称
  22725. type: string
  22726. histradedate:
  22727. description: 历史交易日
  22728. type: string
  22729. isvaliddata:
  22730. description: 是否有效 - 0:无效 1:有效
  22731. type: integer
  22732. marketid:
  22733. description: 市场ID
  22734. type: integer
  22735. marketname:
  22736. description: 市场名称
  22737. type: string
  22738. moneyticket:
  22739. description: 资金流水号:银行端流水号
  22740. type: integer
  22741. operatetype:
  22742. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  22743. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  22744. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  22745. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  22746. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  22747. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  22748. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  22749. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  22750. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  22751. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  22752. type: integer
  22753. relationorderid:
  22754. description: 关联单号
  22755. type: string
  22756. remark:
  22757. description: 备注
  22758. type: string
  22759. trademode:
  22760. description: 交易模式
  22761. type: integer
  22762. required:
  22763. - accountid
  22764. - amount
  22765. - amountadjusttype
  22766. - autoid
  22767. - balance
  22768. - createtime
  22769. - currentbalance
  22770. - histradedate
  22771. - operatetype
  22772. type: object
  22773. trade.QueryRecieptOrderRsp:
  22774. properties:
  22775. accountName:
  22776. description: 所属账号名称(已脱敏)
  22777. type: string
  22778. accountid:
  22779. description: 资金账号
  22780. type: integer
  22781. buyorsell:
  22782. description: 方向 - 0:买 1:卖
  22783. type: integer
  22784. enableqty:
  22785. description: 可摘数量
  22786. type: integer
  22787. goodscode:
  22788. description: 商品代码
  22789. type: string
  22790. goodsid:
  22791. description: 商品ID
  22792. type: integer
  22793. goodsname:
  22794. description: 商品名称
  22795. type: string
  22796. orderid:
  22797. description: 委托单号
  22798. type: string
  22799. orderprice:
  22800. description: 委托价格
  22801. type: number
  22802. ordertime:
  22803. description: 委托时间
  22804. type: string
  22805. tradedate:
  22806. description: 交易日(yyyyMMdd)
  22807. type: string
  22808. required:
  22809. - ordertime
  22810. type: object
  22811. user.LoginQueryRsp:
  22812. properties:
  22813. areaRoles:
  22814. description: 所属角色信息
  22815. items:
  22816. $ref: '#/definitions/models.Arearole'
  22817. type: array
  22818. exchangeRateConfigs:
  22819. description: 汇率信息
  22820. items:
  22821. $ref: '#/definitions/models.Exchangerateconfig'
  22822. type: array
  22823. externalExchanges:
  22824. description: 外部交易所
  22825. items:
  22826. $ref: '#/definitions/models.Externalexchange'
  22827. type: array
  22828. goodsgroups:
  22829. description: 商品组
  22830. items:
  22831. $ref: '#/definitions/models.Goodsgroup'
  22832. type: array
  22833. loginAccount:
  22834. $ref: '#/definitions/models.Loginaccount'
  22835. description: 登录账号
  22836. markets:
  22837. description: 市场
  22838. items:
  22839. $ref: '#/definitions/models.Market'
  22840. type: array
  22841. systemParams:
  22842. description: 系统参数
  22843. items:
  22844. $ref: '#/definitions/models.Systemparam'
  22845. type: array
  22846. userAccount:
  22847. $ref: '#/definitions/models.Useraccount'
  22848. description: 用户账号
  22849. userInfo:
  22850. $ref: '#/definitions/models.Userinfo'
  22851. description: 用户信息
  22852. username:
  22853. description: 用户姓名
  22854. type: string
  22855. type: object
  22856. info:
  22857. contact: {}
  22858. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  22859. termsOfService: http://www.muchinfo.cn
  22860. title: MTP2.0 查询服务 API
  22861. version: "1.0"
  22862. paths:
  22863. /CPTrade/QueryCPTradeMyBidInfos:
  22864. get:
  22865. parameters:
  22866. - description: 资金账户
  22867. in: query
  22868. name: accountid
  22869. required: true
  22870. type: integer
  22871. - description: 预售市场ID
  22872. in: query
  22873. name: marketid
  22874. type: integer
  22875. - description: 预售商品ID
  22876. in: query
  22877. name: goodsid
  22878. type: integer
  22879. produces:
  22880. - application/json
  22881. responses:
  22882. "200":
  22883. description: OK
  22884. schema:
  22885. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  22886. "500":
  22887. description: Internal Server Error
  22888. schema:
  22889. $ref: '#/definitions/app.Response'
  22890. security:
  22891. - ApiKeyAuth: []
  22892. summary: 查询产能预售我的出价信息
  22893. tags:
  22894. - 产能预售
  22895. /CPTrade/QueryCPTradeOrderDetail:
  22896. get:
  22897. parameters:
  22898. - description: 预售商品ID
  22899. in: query
  22900. name: goodsid
  22901. type: integer
  22902. - description: 预售市场ID
  22903. in: query
  22904. name: marketid
  22905. type: integer
  22906. - description: 预售商品ID列表 - 格式:1,2,3
  22907. in: query
  22908. name: goodsids
  22909. type: string
  22910. produces:
  22911. - application/json
  22912. responses:
  22913. "200":
  22914. description: OK
  22915. schema:
  22916. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  22917. "500":
  22918. description: Internal Server Error
  22919. schema:
  22920. $ref: '#/definitions/app.Response'
  22921. security:
  22922. - ApiKeyAuth: []
  22923. summary: 查询产能预售委托单信息
  22924. tags:
  22925. - 产能预售
  22926. /CPTrade/QueryMyCPTradeGoods:
  22927. get:
  22928. parameters:
  22929. - description: 资金账户
  22930. in: query
  22931. name: accountid
  22932. required: true
  22933. type: integer
  22934. produces:
  22935. - application/json
  22936. responses:
  22937. "200":
  22938. description: OK
  22939. schema:
  22940. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  22941. "500":
  22942. description: Internal Server Error
  22943. schema:
  22944. $ref: '#/definitions/app.Response'
  22945. security:
  22946. - ApiKeyAuth: []
  22947. summary: 查询我的预售信息
  22948. tags:
  22949. - 产能预售
  22950. /CPTrade/QueryPositionCancel:
  22951. get:
  22952. parameters:
  22953. - description: 账户ID
  22954. in: query
  22955. name: userid
  22956. required: true
  22957. type: integer
  22958. - description: 注销ID
  22959. in: query
  22960. name: cancelid
  22961. type: integer
  22962. - description: 资金账户ID
  22963. in: query
  22964. name: accountid
  22965. type: integer
  22966. produces:
  22967. - application/json
  22968. responses:
  22969. "200":
  22970. description: OK
  22971. schema:
  22972. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  22973. "500":
  22974. description: Internal Server Error
  22975. schema:
  22976. $ref: '#/definitions/app.Response'
  22977. security:
  22978. - ApiKeyAuth: []
  22979. summary: 查询远期订单注销申请信息
  22980. tags:
  22981. - 产能预售
  22982. /CPTrade/QueryPreasleApply:
  22983. get:
  22984. parameters:
  22985. - description: 账户ID
  22986. in: query
  22987. name: userid
  22988. required: true
  22989. type: integer
  22990. - description: 申请ID
  22991. in: query
  22992. name: applyid
  22993. type: integer
  22994. - description: 资金账户ID
  22995. in: query
  22996. name: accountid
  22997. type: integer
  22998. produces:
  22999. - application/json
  23000. responses:
  23001. "200":
  23002. description: OK
  23003. schema:
  23004. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 查询产能预售申请信息
  23012. tags:
  23013. - 产能预售
  23014. /CPTrade/QueryPresaleGoodsEx:
  23015. get:
  23016. parameters:
  23017. - description: 预售商品ID
  23018. in: query
  23019. name: goodsid
  23020. type: integer
  23021. - description: 预售市场ID
  23022. in: query
  23023. name: marketid
  23024. type: integer
  23025. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23026. in: query
  23027. name: presalemode
  23028. type: integer
  23029. - description: 预售商品ID列表 - 格式:1,2,3
  23030. in: query
  23031. name: goodsids
  23032. type: string
  23033. - description: 预售商品代码
  23034. in: query
  23035. name: goodscode
  23036. type: string
  23037. produces:
  23038. - application/json
  23039. responses:
  23040. "200":
  23041. description: OK
  23042. schema:
  23043. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23044. "500":
  23045. description: Internal Server Error
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. security:
  23049. - ApiKeyAuth: []
  23050. summary: 查询产能预售商品扩展信息
  23051. tags:
  23052. - 产能预售
  23053. /CPTrade/QueryUserGoodsData:
  23054. get:
  23055. parameters:
  23056. - description: 资金账户ID
  23057. in: query
  23058. name: accountid
  23059. required: true
  23060. type: integer
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23068. "500":
  23069. description: Internal Server Error
  23070. schema:
  23071. $ref: '#/definitions/app.Response'
  23072. security:
  23073. - ApiKeyAuth: []
  23074. summary: 查询远期订单信息
  23075. tags:
  23076. - 产能预售
  23077. /Common/DeleteNewFuncmenu:
  23078. delete:
  23079. consumes:
  23080. - application/json
  23081. parameters:
  23082. - description: 菜单表数据,只需要resourcecode字段即可
  23083. in: body
  23084. name: data
  23085. required: true
  23086. schema:
  23087. $ref: '#/definitions/models.NewFuncmenulist'
  23088. produces:
  23089. - application/json
  23090. responses:
  23091. "200":
  23092. description: OK
  23093. schema:
  23094. $ref: '#/definitions/app.Response'
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 删除菜单表数据
  23102. tags:
  23103. - 通用服务
  23104. /Common/FindNewFuncmenu:
  23105. get:
  23106. parameters:
  23107. - description: 资源代码
  23108. in: query
  23109. name: resourcecode
  23110. type: string
  23111. - description: 上级资源代码
  23112. in: query
  23113. name: parentcode
  23114. type: string
  23115. - description: 资源名(Title), 模糊查询
  23116. in: query
  23117. name: resourcename
  23118. type: string
  23119. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23120. in: query
  23121. name: menutype
  23122. type: string
  23123. produces:
  23124. - application/json
  23125. responses:
  23126. "200":
  23127. description: OK
  23128. schema:
  23129. items:
  23130. $ref: '#/definitions/models.NewFuncmenulist'
  23131. type: array
  23132. "500":
  23133. description: Internal Server Error
  23134. schema:
  23135. $ref: '#/definitions/app.Response'
  23136. security:
  23137. - ApiKeyAuth: []
  23138. summary: 获取菜单表数据
  23139. tags:
  23140. - 通用服务
  23141. /Common/GetAllEnums:
  23142. get:
  23143. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  23144. parameters:
  23145. - description: 起始自增ID
  23146. in: query
  23147. name: autoid
  23148. type: integer
  23149. produces:
  23150. - application/json
  23151. responses:
  23152. "200":
  23153. description: OK
  23154. schema:
  23155. $ref: '#/definitions/models.Enumdicitem'
  23156. "500":
  23157. description: Internal Server Error
  23158. schema:
  23159. $ref: '#/definitions/app.Response'
  23160. summary: 获取所有枚举信息
  23161. tags:
  23162. - 通用服务
  23163. /Common/GetClientMenus:
  23164. get:
  23165. parameters:
  23166. - description: 登录账号
  23167. in: query
  23168. name: loginID
  23169. required: true
  23170. type: integer
  23171. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  23172. in: query
  23173. name: clientType
  23174. type: integer
  23175. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  23176. in: query
  23177. name: name
  23178. type: string
  23179. produces:
  23180. - application/json
  23181. responses:
  23182. "200":
  23183. description: OK
  23184. schema:
  23185. items:
  23186. $ref: '#/definitions/common.ClientMenu'
  23187. type: array
  23188. "500":
  23189. description: Internal Server Error
  23190. schema:
  23191. $ref: '#/definitions/app.Response'
  23192. security:
  23193. - ApiKeyAuth: []
  23194. summary: 获取交易端菜单
  23195. tags:
  23196. - 通用服务
  23197. /Common/GetClientNewFuncmenu:
  23198. get:
  23199. parameters:
  23200. - description: 登录账号
  23201. in: query
  23202. name: loginid
  23203. required: true
  23204. type: integer
  23205. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23206. in: query
  23207. name: menutype
  23208. required: true
  23209. type: integer
  23210. produces:
  23211. - application/json
  23212. responses:
  23213. "200":
  23214. description: OK
  23215. schema:
  23216. items:
  23217. $ref: '#/definitions/models.NewFuncmenulist'
  23218. type: array
  23219. "500":
  23220. description: Internal Server Error
  23221. schema:
  23222. $ref: '#/definitions/app.Response'
  23223. security:
  23224. - ApiKeyAuth: []
  23225. summary: 获取终端菜单
  23226. tags:
  23227. - 通用服务
  23228. /Common/GetDivisions:
  23229. get:
  23230. produces:
  23231. - application/json
  23232. responses:
  23233. "200":
  23234. description: OK
  23235. schema:
  23236. $ref: '#/definitions/models.Division'
  23237. "500":
  23238. description: Internal Server Error
  23239. schema:
  23240. $ref: '#/definitions/app.Response'
  23241. summary: 查询区域信息
  23242. tags:
  23243. - 通用服务
  23244. /Common/GetPCWebMenus:
  23245. get:
  23246. parameters:
  23247. - description: 登录账号
  23248. in: query
  23249. name: loginID
  23250. required: true
  23251. type: integer
  23252. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  23253. in: query
  23254. name: name
  23255. type: string
  23256. produces:
  23257. - application/json
  23258. responses:
  23259. "200":
  23260. description: OK
  23261. schema:
  23262. items:
  23263. $ref: '#/definitions/common.PCWebMenu'
  23264. type: array
  23265. "500":
  23266. description: Internal Server Error
  23267. schema:
  23268. $ref: '#/definitions/app.Response'
  23269. security:
  23270. - ApiKeyAuth: []
  23271. summary: 获取PCWeb交易端菜单
  23272. tags:
  23273. - 通用服务
  23274. /Common/GetServerTime:
  23275. get:
  23276. produces:
  23277. - application/json
  23278. responses:
  23279. "200":
  23280. description: OK
  23281. schema:
  23282. $ref: '#/definitions/app.Response'
  23283. "500":
  23284. description: Internal Server Error
  23285. schema:
  23286. $ref: '#/definitions/app.Response'
  23287. summary: 获取服务器时间
  23288. tags:
  23289. - 通用服务
  23290. /Common/InsertNewFuncmenu:
  23291. post:
  23292. consumes:
  23293. - application/json
  23294. parameters:
  23295. - description: 菜单表数据
  23296. in: body
  23297. name: data
  23298. required: true
  23299. schema:
  23300. $ref: '#/definitions/models.NewFuncmenulist'
  23301. produces:
  23302. - application/json
  23303. responses:
  23304. "200":
  23305. description: OK
  23306. schema:
  23307. $ref: '#/definitions/app.Response'
  23308. "500":
  23309. description: Internal Server Error
  23310. schema:
  23311. $ref: '#/definitions/app.Response'
  23312. security:
  23313. - ApiKeyAuth: []
  23314. summary: 插入菜单表数据
  23315. tags:
  23316. - 通用服务
  23317. /Common/NoticeReaded:
  23318. post:
  23319. parameters:
  23320. - description: 登录账号
  23321. in: query
  23322. name: loginID
  23323. required: true
  23324. type: integer
  23325. - description: 通知公告ID
  23326. in: query
  23327. name: noticeID
  23328. required: true
  23329. type: integer
  23330. produces:
  23331. - application/json
  23332. responses:
  23333. "200":
  23334. description: OK
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. "500":
  23338. description: Internal Server Error
  23339. schema:
  23340. $ref: '#/definitions/app.Response'
  23341. security:
  23342. - ApiKeyAuth: []
  23343. summary: 通知公告设置已读请求
  23344. tags:
  23345. - 通用服务
  23346. /Common/QueryErrorInfos:
  23347. get:
  23348. description: 如果传入rowNumber,则返回此rowNumber后的数据
  23349. parameters:
  23350. - description: 起始行号前索引
  23351. in: query
  23352. name: rowNumber
  23353. type: string
  23354. produces:
  23355. - application/json
  23356. responses:
  23357. "200":
  23358. description: OK
  23359. schema:
  23360. $ref: '#/definitions/models.QueryErrorInfosRsp'
  23361. "500":
  23362. description: Internal Server Error
  23363. schema:
  23364. $ref: '#/definitions/app.Response'
  23365. summary: 获取数据库错误信息
  23366. tags:
  23367. - 通用服务
  23368. /Common/QueryImageConfigs:
  23369. get:
  23370. parameters:
  23371. - description: 用户id
  23372. in: query
  23373. name: userId
  23374. type: integer
  23375. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  23376. in: query
  23377. name: imageType
  23378. type: integer
  23379. produces:
  23380. - application/json
  23381. responses:
  23382. "200":
  23383. description: OK
  23384. schema:
  23385. $ref: '#/definitions/common.QueryImageConfigsRsp'
  23386. "500":
  23387. description: Internal Server Error
  23388. schema:
  23389. $ref: '#/definitions/app.Response'
  23390. summary: 查询轮播图配置信息
  23391. tags:
  23392. - 通用服务
  23393. /Common/QueryNotice:
  23394. get:
  23395. parameters:
  23396. - description: 页码
  23397. in: query
  23398. name: page
  23399. type: integer
  23400. - description: 每页条数
  23401. in: query
  23402. name: pagesize
  23403. type: integer
  23404. - description: 登录账号
  23405. in: query
  23406. name: loginID
  23407. required: true
  23408. type: integer
  23409. - description: 消息类型 - 1:公告通知 2:系统消息
  23410. in: query
  23411. name: msgType
  23412. type: integer
  23413. - description: 是否只获取未读信息
  23414. in: query
  23415. name: onlyUnRead
  23416. type: boolean
  23417. - description: 自增ID,传入后会返回这个ID后面的记录
  23418. in: query
  23419. name: lastID
  23420. type: integer
  23421. produces:
  23422. - application/json
  23423. responses:
  23424. "200":
  23425. description: OK
  23426. schema:
  23427. $ref: '#/definitions/common.QueryNoticeRsp'
  23428. "500":
  23429. description: Internal Server Error
  23430. schema:
  23431. $ref: '#/definitions/app.Response'
  23432. security:
  23433. - ApiKeyAuth: []
  23434. summary: 通知公告系统消息查询
  23435. tags:
  23436. - 通用服务
  23437. /Common/QueryProvincesAndCities:
  23438. get:
  23439. parameters:
  23440. - description: 省ID
  23441. in: query
  23442. name: provinceID
  23443. type: integer
  23444. produces:
  23445. - application/json
  23446. responses:
  23447. "200":
  23448. description: OK
  23449. schema:
  23450. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  23451. "500":
  23452. description: Internal Server Error
  23453. schema:
  23454. $ref: '#/definitions/app.Response'
  23455. summary: 查询省市信息(不包括区)
  23456. tags:
  23457. - 通用服务
  23458. /Common/QueryRates:
  23459. get:
  23460. parameters:
  23461. - description: 页码
  23462. in: query
  23463. name: page
  23464. type: integer
  23465. - description: 每页条数
  23466. in: query
  23467. name: pagesize
  23468. type: integer
  23469. - description: 源币种ID
  23470. in: query
  23471. name: oricurrencyid
  23472. type: integer
  23473. - description: 目标币种ID
  23474. in: query
  23475. name: descurrencyid
  23476. type: integer
  23477. produces:
  23478. - application/json
  23479. responses:
  23480. "200":
  23481. description: OK
  23482. schema:
  23483. items:
  23484. $ref: '#/definitions/models.Exchangerateconfig'
  23485. type: array
  23486. "500":
  23487. description: Internal Server Error
  23488. schema:
  23489. $ref: '#/definitions/app.Response'
  23490. security:
  23491. - ApiKeyAuth: []
  23492. - LoginID: []
  23493. - Group: []
  23494. summary: 查询汇率信息
  23495. tags:
  23496. - 通用服务
  23497. /Common/QueryTableDefine:
  23498. get:
  23499. parameters:
  23500. - description: 表key
  23501. in: query
  23502. name: tableKey
  23503. type: string
  23504. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  23505. in: query
  23506. name: tableType
  23507. type: integer
  23508. produces:
  23509. - application/json
  23510. responses:
  23511. "200":
  23512. description: OK
  23513. schema:
  23514. $ref: '#/definitions/common.QueryTableDefineRsp'
  23515. "500":
  23516. description: Internal Server Error
  23517. schema:
  23518. $ref: '#/definitions/app.Response'
  23519. summary: 查询交易端列表头信息
  23520. tags:
  23521. - 通用服务
  23522. /Common/QueryTraderMenu:
  23523. get:
  23524. parameters:
  23525. - description: 登录账号
  23526. in: query
  23527. name: loginid
  23528. required: true
  23529. type: integer
  23530. produces:
  23531. - application/json
  23532. responses:
  23533. "200":
  23534. description: OK
  23535. schema:
  23536. $ref: '#/definitions/common.QueryTraderMenuRsp'
  23537. "500":
  23538. description: Internal Server Error
  23539. schema:
  23540. $ref: '#/definitions/app.Response'
  23541. summary: 查询交易端菜单
  23542. tags:
  23543. - 通用服务
  23544. /Common/UpdateNewFuncmenu:
  23545. put:
  23546. consumes:
  23547. - application/json
  23548. parameters:
  23549. - description: 菜单表数据
  23550. in: body
  23551. name: data
  23552. required: true
  23553. schema:
  23554. $ref: '#/definitions/models.NewFuncmenulist'
  23555. produces:
  23556. - application/json
  23557. responses:
  23558. "200":
  23559. description: OK
  23560. schema:
  23561. $ref: '#/definitions/app.Response'
  23562. "500":
  23563. description: Internal Server Error
  23564. schema:
  23565. $ref: '#/definitions/app.Response'
  23566. security:
  23567. - ApiKeyAuth: []
  23568. summary: 更新菜单表数据
  23569. tags:
  23570. - 通用服务
  23571. /Delivery/QueryDeliveryRelation:
  23572. get:
  23573. parameters:
  23574. - description: 商品ID
  23575. in: query
  23576. name: goodsid
  23577. type: integer
  23578. - description: 品种ID
  23579. in: query
  23580. name: deliverygoodsid
  23581. type: integer
  23582. - description: 市场ID
  23583. in: query
  23584. name: marketid
  23585. type: integer
  23586. produces:
  23587. - application/json
  23588. responses:
  23589. "200":
  23590. description: OK
  23591. schema:
  23592. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  23593. "500":
  23594. description: Internal Server Error
  23595. schema:
  23596. $ref: '#/definitions/app.Response'
  23597. security:
  23598. - ApiKeyAuth: []
  23599. summary: 查询商品交割关系表
  23600. tags:
  23601. - 交割服务
  23602. /Ermcp/GetErmcpGoods:
  23603. get:
  23604. parameters:
  23605. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  23606. in: query
  23607. name: userid
  23608. type: integer
  23609. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  23610. in: query
  23611. name: lastUpdateTime
  23612. type: string
  23613. produces:
  23614. - application/json
  23615. responses:
  23616. "200":
  23617. description: OK
  23618. schema:
  23619. $ref: '#/definitions/models.ErmcpGoods'
  23620. "500":
  23621. description: Internal Server Error
  23622. schema:
  23623. $ref: '#/definitions/app.Response'
  23624. security:
  23625. - ApiKeyAuth: []
  23626. summary: 查询企业风管期货商品信息
  23627. tags:
  23628. - 企业风险管理(app)
  23629. /Ermcp/GetErmcpGoodsSortByPosition:
  23630. get:
  23631. parameters:
  23632. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  23633. in: query
  23634. name: sortIndex
  23635. type: string
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. $ref: '#/definitions/models.Goodssortbypreposition'
  23643. "500":
  23644. description: Internal Server Error
  23645. schema:
  23646. $ref: '#/definitions/app.Response'
  23647. security:
  23648. - ApiKeyAuth: []
  23649. summary: 查询企业风管期货主力、次主力商品信息
  23650. tags:
  23651. - 企业风险管理(app)
  23652. /Ermcp/GetErmcpOutAccountStatus:
  23653. get:
  23654. parameters:
  23655. - description: 登录账号
  23656. in: query
  23657. name: loginID
  23658. required: true
  23659. type: integer
  23660. produces:
  23661. - application/json
  23662. responses:
  23663. "200":
  23664. description: OK
  23665. schema:
  23666. $ref: '#/definitions/models.Hedgemarketopenlog'
  23667. "500":
  23668. description: Internal Server Error
  23669. schema:
  23670. $ref: '#/definitions/app.Response'
  23671. security:
  23672. - ApiKeyAuth: []
  23673. summary: 获取目标登录账号当前对冲账号在线状态
  23674. tags:
  23675. - 企业风险管理(app)
  23676. /Ermcp/GetErmcpRoleFuncMenuLists:
  23677. get:
  23678. parameters:
  23679. - description: 登录账号
  23680. in: query
  23681. name: loginID
  23682. required: true
  23683. type: integer
  23684. produces:
  23685. - application/json
  23686. responses:
  23687. "200":
  23688. description: OK
  23689. schema:
  23690. $ref: '#/definitions/models.Funcmenulist'
  23691. "500":
  23692. description: Internal Server Error
  23693. schema:
  23694. $ref: '#/definitions/app.Response'
  23695. security:
  23696. - ApiKeyAuth: []
  23697. summary: 获取企业风管终端权限
  23698. tags:
  23699. - 企业风险管理(app)
  23700. /Ermcp/QueryAccMgrBizGroupSet:
  23701. get:
  23702. parameters:
  23703. - description: 用户ID
  23704. in: query
  23705. name: userid
  23706. required: true
  23707. type: integer
  23708. - description: 现货商品id
  23709. in: query
  23710. name: deliverygoodsid
  23711. type: integer
  23712. produces:
  23713. - application/json
  23714. responses:
  23715. "200":
  23716. description: OK
  23717. schema:
  23718. items:
  23719. $ref: '#/definitions/models.ErmcpBizGroupEx'
  23720. type: array
  23721. "500":
  23722. description: Internal Server Error
  23723. schema:
  23724. $ref: '#/definitions/app.Response'
  23725. security:
  23726. - ApiKeyAuth: []
  23727. summary: 查询业务类型分组(账户管理/账户设置)
  23728. tags:
  23729. - 企业风险管理(app)
  23730. /Ermcp/QueryAccMgrLoginUser:
  23731. get:
  23732. parameters:
  23733. - description: 用户ID
  23734. in: query
  23735. name: userid
  23736. required: true
  23737. type: integer
  23738. - description: 用户类型 2-机构 7-企业成员
  23739. in: query
  23740. name: usertype
  23741. type: integer
  23742. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  23743. in: query
  23744. name: querytype
  23745. required: true
  23746. type: integer
  23747. produces:
  23748. - application/json
  23749. responses:
  23750. "200":
  23751. description: OK
  23752. schema:
  23753. items:
  23754. $ref: '#/definitions/models.ErmcpLoginUserEx'
  23755. type: array
  23756. "500":
  23757. description: Internal Server Error
  23758. schema:
  23759. $ref: '#/definitions/app.Response'
  23760. security:
  23761. - ApiKeyAuth: []
  23762. summary: 查询账户管理登录账号(账户管理/登录账号)
  23763. tags:
  23764. - 企业风险管理(app)
  23765. /Ermcp/QueryAccMgrMainAccountInfo:
  23766. get:
  23767. parameters:
  23768. - description: 用户ID
  23769. in: query
  23770. name: userid
  23771. type: integer
  23772. - description: 主账号id
  23773. in: query
  23774. name: accountid
  23775. type: integer
  23776. produces:
  23777. - application/json
  23778. responses:
  23779. "200":
  23780. description: OK
  23781. schema:
  23782. items:
  23783. $ref: '#/definitions/models.MainAccountInfo'
  23784. type: array
  23785. "500":
  23786. description: Internal Server Error
  23787. schema:
  23788. $ref: '#/definitions/app.Response'
  23789. security:
  23790. - ApiKeyAuth: []
  23791. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  23792. tags:
  23793. - 企业风险管理(app)
  23794. /Ermcp/QueryAccMgrRole:
  23795. get:
  23796. parameters:
  23797. - description: 用户ID
  23798. in: query
  23799. name: userid
  23800. required: true
  23801. type: integer
  23802. produces:
  23803. - application/json
  23804. responses:
  23805. "200":
  23806. description: OK
  23807. schema:
  23808. items:
  23809. $ref: '#/definitions/models.ErmcpRole'
  23810. type: array
  23811. "500":
  23812. description: Internal Server Error
  23813. schema:
  23814. $ref: '#/definitions/app.Response'
  23815. security:
  23816. - ApiKeyAuth: []
  23817. summary: 查询账户管理角色设置(账户管理/角色设置)
  23818. tags:
  23819. - 企业风险管理(app)
  23820. /Ermcp/QueryAccMgrRoleMenu:
  23821. get:
  23822. parameters:
  23823. - description: 用户ID
  23824. in: query
  23825. name: userid
  23826. required: true
  23827. type: integer
  23828. - description: 角色id(可多个,逗号隔开)
  23829. in: query
  23830. name: roleid
  23831. type: string
  23832. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  23833. in: query
  23834. name: menutype
  23835. type: integer
  23836. produces:
  23837. - application/json
  23838. responses:
  23839. "200":
  23840. description: OK
  23841. schema:
  23842. items:
  23843. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  23844. type: array
  23845. "500":
  23846. description: Internal Server Error
  23847. schema:
  23848. $ref: '#/definitions/app.Response'
  23849. security:
  23850. - ApiKeyAuth: []
  23851. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  23852. tags:
  23853. - 企业风险管理(app)
  23854. /Ermcp/QueryAccMgrTaAccountInfo:
  23855. get:
  23856. parameters:
  23857. - description: 用户ID
  23858. in: query
  23859. name: userid
  23860. required: true
  23861. type: integer
  23862. - description: 账号id
  23863. in: query
  23864. name: accountid
  23865. type: integer
  23866. produces:
  23867. - application/json
  23868. responses:
  23869. "200":
  23870. description: OK
  23871. schema:
  23872. items:
  23873. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  23874. type: array
  23875. "500":
  23876. description: Internal Server Error
  23877. schema:
  23878. $ref: '#/definitions/app.Response'
  23879. security:
  23880. - ApiKeyAuth: []
  23881. summary: 查询账户管理授信(账户管理/账户设置/授信)
  23882. tags:
  23883. - 企业风险管理(app)
  23884. /Ermcp/QueryAccMgrTaaccount:
  23885. get:
  23886. parameters:
  23887. - description: 用户ID
  23888. in: query
  23889. name: userid
  23890. required: true
  23891. type: integer
  23892. produces:
  23893. - application/json
  23894. responses:
  23895. "200":
  23896. description: OK
  23897. schema:
  23898. items:
  23899. $ref: '#/definitions/models.ErmcpTaAccountEx'
  23900. type: array
  23901. "500":
  23902. description: Internal Server Error
  23903. schema:
  23904. $ref: '#/definitions/app.Response'
  23905. security:
  23906. - ApiKeyAuth: []
  23907. summary: 查询账户管理期货账号(账户管理/期货账号)
  23908. tags:
  23909. - 企业风险管理(app)
  23910. /Ermcp/QueryAvaildGoodsGroup:
  23911. get:
  23912. parameters:
  23913. - description: 所属机构ID
  23914. in: query
  23915. name: userid
  23916. required: true
  23917. type: integer
  23918. produces:
  23919. - application/json
  23920. responses:
  23921. "200":
  23922. description: OK
  23923. schema:
  23924. items:
  23925. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  23926. type: array
  23927. "500":
  23928. description: Internal Server Error
  23929. schema:
  23930. $ref: '#/definitions/app.Response'
  23931. security:
  23932. - ApiKeyAuth: []
  23933. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  23934. tags:
  23935. - 企业风险管理(app)
  23936. /Ermcp/QueryBusinessDj:
  23937. get:
  23938. parameters:
  23939. - description: 用户ID
  23940. in: query
  23941. name: UserId
  23942. required: true
  23943. type: integer
  23944. - description: 用户类型 2-机构 7-企业成员
  23945. in: query
  23946. name: usertype
  23947. type: integer
  23948. - description: 现货合同ID, 不填则查所有
  23949. in: query
  23950. name: relatedid
  23951. type: string
  23952. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23953. in: query
  23954. name: applystatus
  23955. type: string
  23956. produces:
  23957. - application/json
  23958. responses:
  23959. "200":
  23960. description: OK
  23961. schema:
  23962. items:
  23963. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  23964. type: array
  23965. "500":
  23966. description: Internal Server Error
  23967. schema:
  23968. $ref: '#/definitions/app.Response'
  23969. security:
  23970. - ApiKeyAuth: []
  23971. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  23972. tags:
  23973. - 企业风险管理(app)
  23974. /Ermcp/QueryBusinessFp:
  23975. get:
  23976. parameters:
  23977. - description: 用户ID
  23978. in: query
  23979. name: UserId
  23980. required: true
  23981. type: integer
  23982. - description: 用户类型 2-机构 7-企业成员
  23983. in: query
  23984. name: usertype
  23985. type: integer
  23986. - description: 现货合同ID, 不填则查所有
  23987. in: query
  23988. name: relatedid
  23989. type: string
  23990. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23991. in: query
  23992. name: applystatus
  23993. type: string
  23994. produces:
  23995. - application/json
  23996. responses:
  23997. "200":
  23998. description: OK
  23999. schema:
  24000. items:
  24001. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24002. type: array
  24003. "500":
  24004. description: Internal Server Error
  24005. schema:
  24006. $ref: '#/definitions/app.Response'
  24007. security:
  24008. - ApiKeyAuth: []
  24009. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24010. tags:
  24011. - 企业风险管理(app)
  24012. /Ermcp/QueryBusinessJs:
  24013. get:
  24014. parameters:
  24015. - description: 用户ID
  24016. in: query
  24017. name: UserId
  24018. required: true
  24019. type: integer
  24020. - description: 用户类型 2-机构 7-企业成员
  24021. in: query
  24022. name: usertype
  24023. type: integer
  24024. - description: 现货合同ID, 不填则查所有
  24025. in: query
  24026. name: relatedid
  24027. type: string
  24028. - description: 操作申请id
  24029. in: query
  24030. name: operateapplyid
  24031. type: string
  24032. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24033. in: query
  24034. name: applystatus
  24035. type: string
  24036. produces:
  24037. - application/json
  24038. responses:
  24039. "200":
  24040. description: OK
  24041. schema:
  24042. items:
  24043. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24044. type: array
  24045. "500":
  24046. description: Internal Server Error
  24047. schema:
  24048. $ref: '#/definitions/app.Response'
  24049. security:
  24050. - ApiKeyAuth: []
  24051. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24052. tags:
  24053. - 企业风险管理(app)
  24054. /Ermcp/QueryBusinessJsEx:
  24055. get:
  24056. parameters:
  24057. - description: 用户ID
  24058. in: query
  24059. name: UserId
  24060. required: true
  24061. type: integer
  24062. - description: 用户类型 2-机构 7-企业成员
  24063. in: query
  24064. name: usertype
  24065. type: integer
  24066. - description: 现货合同ID, 不填则查所有
  24067. in: query
  24068. name: relatedid
  24069. type: string
  24070. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24071. in: query
  24072. name: applystatus
  24073. type: string
  24074. produces:
  24075. - application/json
  24076. responses:
  24077. "200":
  24078. description: OK
  24079. schema:
  24080. items:
  24081. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24082. type: array
  24083. "500":
  24084. description: Internal Server Error
  24085. schema:
  24086. $ref: '#/definitions/app.Response'
  24087. security:
  24088. - ApiKeyAuth: []
  24089. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24090. tags:
  24091. - 企业风险管理(app)
  24092. /Ermcp/QueryBusinessKx:
  24093. get:
  24094. parameters:
  24095. - description: 用户ID
  24096. in: query
  24097. name: UserId
  24098. required: true
  24099. type: integer
  24100. - description: 用户类型 2-机构 7-企业成员
  24101. in: query
  24102. name: usertype
  24103. type: integer
  24104. - description: 现货合同ID, 不填则查所有
  24105. in: query
  24106. name: relatedid
  24107. type: string
  24108. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24109. in: query
  24110. name: applystatus
  24111. type: string
  24112. produces:
  24113. - application/json
  24114. responses:
  24115. "200":
  24116. description: OK
  24117. schema:
  24118. items:
  24119. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24120. type: array
  24121. "500":
  24122. description: Internal Server Error
  24123. schema:
  24124. $ref: '#/definitions/app.Response'
  24125. security:
  24126. - ApiKeyAuth: []
  24127. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  24128. tags:
  24129. - 企业风险管理(app)
  24130. /Ermcp/QueryChangeLog:
  24131. get:
  24132. parameters:
  24133. - description: 合同ID
  24134. in: query
  24135. name: RelatedId
  24136. required: true
  24137. type: string
  24138. produces:
  24139. - application/json
  24140. responses:
  24141. "200":
  24142. description: OK
  24143. schema:
  24144. items:
  24145. $ref: '#/definitions/ermcp.QryOPLogRsp'
  24146. type: array
  24147. "500":
  24148. description: Internal Server Error
  24149. schema:
  24150. $ref: '#/definitions/app.Response'
  24151. security:
  24152. - ApiKeyAuth: []
  24153. summary: 查询变更记录
  24154. tags:
  24155. - 企业风险管理(app)
  24156. /Ermcp/QueryErmcpHisOrderDetails:
  24157. get:
  24158. parameters:
  24159. - description: 资金账户ID
  24160. in: query
  24161. name: accountID
  24162. required: true
  24163. type: integer
  24164. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24165. in: query
  24166. name: startDate
  24167. type: string
  24168. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24169. in: query
  24170. name: endDate
  24171. type: string
  24172. produces:
  24173. - application/json
  24174. responses:
  24175. "200":
  24176. description: OK
  24177. schema:
  24178. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24179. "500":
  24180. description: Internal Server Error
  24181. schema:
  24182. $ref: '#/definitions/app.Response'
  24183. security:
  24184. - ApiKeyAuth: []
  24185. summary: 获取企业风管期货历史委托单信息
  24186. tags:
  24187. - 企业风险管理(app)
  24188. /Ermcp/QueryErmcpHisTradeDetails:
  24189. get:
  24190. parameters:
  24191. - description: 资金账户ID
  24192. in: query
  24193. name: accountID
  24194. required: true
  24195. type: integer
  24196. - description: 商品ID
  24197. in: query
  24198. name: goodsID
  24199. type: integer
  24200. - description: 买卖方向,0:买 1:卖
  24201. in: query
  24202. name: buyOrSell
  24203. type: integer
  24204. - description: 关联委托单号
  24205. in: query
  24206. name: orderID
  24207. type: integer
  24208. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24209. in: query
  24210. name: startDate
  24211. type: string
  24212. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24213. in: query
  24214. name: endDate
  24215. type: string
  24216. produces:
  24217. - application/json
  24218. responses:
  24219. "200":
  24220. description: OK
  24221. schema:
  24222. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24223. "500":
  24224. description: Internal Server Error
  24225. schema:
  24226. $ref: '#/definitions/app.Response'
  24227. security:
  24228. - ApiKeyAuth: []
  24229. summary: 获取企业风管期货历史成交单信息
  24230. tags:
  24231. - 企业风险管理(app)
  24232. /Ermcp/QueryErmcpInnerHolderDetails:
  24233. get:
  24234. parameters:
  24235. - description: 资金账户ID
  24236. in: query
  24237. name: accountID
  24238. required: true
  24239. type: integer
  24240. - description: 商品ID
  24241. in: query
  24242. name: goodsID
  24243. type: integer
  24244. - description: 买卖方向,0:买 1:卖
  24245. in: query
  24246. name: buyOrSell
  24247. type: integer
  24248. produces:
  24249. - application/json
  24250. responses:
  24251. "200":
  24252. description: OK
  24253. schema:
  24254. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  24255. "500":
  24256. description: Internal Server Error
  24257. schema:
  24258. $ref: '#/definitions/app.Response'
  24259. security:
  24260. - ApiKeyAuth: []
  24261. summary: 获取企业风管期货内部持仓单信息
  24262. tags:
  24263. - 企业风险管理(app)
  24264. /Ermcp/QueryErmcpOrderDetails:
  24265. get:
  24266. parameters:
  24267. - description: 资金账户ID
  24268. in: query
  24269. name: accountID
  24270. required: true
  24271. type: integer
  24272. produces:
  24273. - application/json
  24274. responses:
  24275. "200":
  24276. description: OK
  24277. schema:
  24278. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  24279. "500":
  24280. description: Internal Server Error
  24281. schema:
  24282. $ref: '#/definitions/app.Response'
  24283. security:
  24284. - ApiKeyAuth: []
  24285. summary: 获取企业风管期货委托单信息
  24286. tags:
  24287. - 企业风险管理(app)
  24288. /Ermcp/QueryErmcpTradeDetails:
  24289. get:
  24290. parameters:
  24291. - description: 资金账户ID
  24292. in: query
  24293. name: accountID
  24294. required: true
  24295. type: integer
  24296. - description: 商品ID
  24297. in: query
  24298. name: goodsID
  24299. type: integer
  24300. - description: 买卖方向,0:买 1:卖
  24301. in: query
  24302. name: buyOrSell
  24303. type: integer
  24304. - description: 关联委托单号
  24305. in: query
  24306. name: orderID
  24307. type: integer
  24308. produces:
  24309. - application/json
  24310. responses:
  24311. "200":
  24312. description: OK
  24313. schema:
  24314. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  24315. "500":
  24316. description: Internal Server Error
  24317. schema:
  24318. $ref: '#/definitions/app.Response'
  24319. security:
  24320. - ApiKeyAuth: []
  24321. summary: 获取企业风管期货成交单信息
  24322. tags:
  24323. - 企业风险管理(app)
  24324. /Ermcp/QueryErmcpTradePosition:
  24325. get:
  24326. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  24327. parameters:
  24328. - description: 资金账户ID
  24329. in: query
  24330. name: accountID
  24331. required: true
  24332. type: integer
  24333. - description: 所属市场ID
  24334. in: query
  24335. name: marketID
  24336. type: integer
  24337. produces:
  24338. - application/json
  24339. responses:
  24340. "200":
  24341. description: OK
  24342. schema:
  24343. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  24344. "500":
  24345. description: Internal Server Error
  24346. schema:
  24347. $ref: '#/definitions/app.Response'
  24348. security:
  24349. - ApiKeyAuth: []
  24350. summary: 获取企业风管期货持仓头寸信息
  24351. tags:
  24352. - 企业风险管理(app)
  24353. /Ermcp/QueryExposureDetail:
  24354. get:
  24355. parameters:
  24356. - description: 所属机构ID
  24357. in: query
  24358. name: areaUserId
  24359. required: true
  24360. type: integer
  24361. - description: 套保商品
  24362. in: query
  24363. name: middleGoodsId
  24364. required: true
  24365. type: integer
  24366. produces:
  24367. - application/json
  24368. responses:
  24369. "200":
  24370. description: OK
  24371. schema:
  24372. items:
  24373. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  24374. type: array
  24375. "500":
  24376. description: Internal Server Error
  24377. schema:
  24378. $ref: '#/definitions/app.Response'
  24379. security:
  24380. - ApiKeyAuth: []
  24381. summary: 查询敞口现货明细
  24382. tags:
  24383. - 企业风险管理(app)
  24384. /Ermcp/QueryExposureGoods:
  24385. get:
  24386. parameters:
  24387. - description: 套保商品id
  24388. in: query
  24389. name: middlegoodsid
  24390. required: true
  24391. type: integer
  24392. produces:
  24393. - application/json
  24394. responses:
  24395. "200":
  24396. description: OK
  24397. schema:
  24398. items:
  24399. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  24400. type: array
  24401. "500":
  24402. description: Internal Server Error
  24403. schema:
  24404. $ref: '#/definitions/app.Response'
  24405. security:
  24406. - ApiKeyAuth: []
  24407. summary: 查询敞口主力合约
  24408. tags:
  24409. - 企业风险管理(app)
  24410. /Ermcp/QueryExposureHedgePosition:
  24411. get:
  24412. parameters:
  24413. - description: 用户id
  24414. in: query
  24415. name: userid
  24416. required: true
  24417. type: integer
  24418. produces:
  24419. - application/json
  24420. responses:
  24421. "200":
  24422. description: OK
  24423. schema:
  24424. items:
  24425. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  24426. type: array
  24427. "500":
  24428. description: Internal Server Error
  24429. schema:
  24430. $ref: '#/definitions/app.Response'
  24431. security:
  24432. - ApiKeyAuth: []
  24433. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  24434. tags:
  24435. - 企业风险管理(app)
  24436. /Ermcp/QueryExposureHedgePositionDetail:
  24437. get:
  24438. parameters:
  24439. - description: 所属机构ID
  24440. in: query
  24441. name: userid
  24442. required: true
  24443. type: integer
  24444. - description: 商品id
  24445. in: query
  24446. name: goodsId
  24447. required: true
  24448. type: integer
  24449. produces:
  24450. - application/json
  24451. responses:
  24452. "200":
  24453. description: OK
  24454. schema:
  24455. items:
  24456. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  24457. type: array
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  24465. tags:
  24466. - 企业风险管理(app)
  24467. /Ermcp/QueryExposureSpot:
  24468. get:
  24469. parameters:
  24470. - description: 所属机构ID
  24471. in: query
  24472. name: areaUserId
  24473. required: true
  24474. type: integer
  24475. produces:
  24476. - application/json
  24477. responses:
  24478. "200":
  24479. description: OK
  24480. schema:
  24481. items:
  24482. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  24483. type: array
  24484. "500":
  24485. description: Internal Server Error
  24486. schema:
  24487. $ref: '#/definitions/app.Response'
  24488. security:
  24489. - ApiKeyAuth: []
  24490. summary: 查询敞口现货头寸(敞口/现货头寸)
  24491. tags:
  24492. - 企业风险管理(app)
  24493. /Ermcp/QueryExposureSpotDetail:
  24494. get:
  24495. parameters:
  24496. - description: 所属机构ID
  24497. in: query
  24498. name: areaUserId
  24499. required: true
  24500. type: integer
  24501. - description: 现货品种ID
  24502. in: query
  24503. name: wrstandardId
  24504. required: true
  24505. type: integer
  24506. produces:
  24507. - application/json
  24508. responses:
  24509. "200":
  24510. description: OK
  24511. schema:
  24512. items:
  24513. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  24514. type: array
  24515. "500":
  24516. description: Internal Server Error
  24517. schema:
  24518. $ref: '#/definitions/app.Response'
  24519. security:
  24520. - ApiKeyAuth: []
  24521. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  24522. tags:
  24523. - 企业风险管理(app)
  24524. /Ermcp/QueryFuturesCompany:
  24525. get:
  24526. produces:
  24527. - application/json
  24528. responses:
  24529. "200":
  24530. description: OK
  24531. schema:
  24532. items:
  24533. $ref: '#/definitions/models.ErmcpFuturesCompany'
  24534. type: array
  24535. "500":
  24536. description: Internal Server Error
  24537. schema:
  24538. $ref: '#/definitions/app.Response'
  24539. security:
  24540. - ApiKeyAuth: []
  24541. summary: 查询期货公司
  24542. tags:
  24543. - 企业风险管理(app)
  24544. /Ermcp/QueryGGConvertConfig:
  24545. get:
  24546. parameters:
  24547. - description: 品种id(不填则查所有)
  24548. in: query
  24549. name: goodsgroupid
  24550. type: integer
  24551. produces:
  24552. - application/json
  24553. responses:
  24554. "200":
  24555. description: OK
  24556. schema:
  24557. items:
  24558. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  24559. type: array
  24560. "500":
  24561. description: Internal Server Error
  24562. schema:
  24563. $ref: '#/definitions/app.Response'
  24564. security:
  24565. - ApiKeyAuth: []
  24566. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  24567. tags:
  24568. - 企业风险管理(app)
  24569. /Ermcp/QueryGoodsBrand:
  24570. get:
  24571. parameters:
  24572. - description: 用户ID
  24573. in: query
  24574. name: userid
  24575. required: true
  24576. type: integer
  24577. - description: 现货商品ID
  24578. in: query
  24579. name: wrstandardid
  24580. type: integer
  24581. produces:
  24582. - application/json
  24583. responses:
  24584. "200":
  24585. description: OK
  24586. schema:
  24587. items:
  24588. $ref: '#/definitions/models.ErmcpGoodsBrand'
  24589. type: array
  24590. "500":
  24591. description: Internal Server Error
  24592. schema:
  24593. $ref: '#/definitions/app.Response'
  24594. security:
  24595. - ApiKeyAuth: []
  24596. summary: 查询商品品牌
  24597. tags:
  24598. - 企业风险管理(app)
  24599. /Ermcp/QueryGoodsModel:
  24600. get:
  24601. parameters:
  24602. - description: 用户ID
  24603. in: query
  24604. name: userid
  24605. required: true
  24606. type: integer
  24607. produces:
  24608. - application/json
  24609. responses:
  24610. "200":
  24611. description: OK
  24612. schema:
  24613. items:
  24614. $ref: '#/definitions/models.ErmcpGoodsModel'
  24615. type: array
  24616. "500":
  24617. description: Internal Server Error
  24618. schema:
  24619. $ref: '#/definitions/app.Response'
  24620. security:
  24621. - ApiKeyAuth: []
  24622. summary: 查询商品型号
  24623. tags:
  24624. - 企业风险管理(app)
  24625. /Ermcp/QueryHisExposure:
  24626. get:
  24627. parameters:
  24628. - description: 用户id
  24629. in: query
  24630. name: userid
  24631. required: true
  24632. type: integer
  24633. - description: 每个品种记录数
  24634. in: query
  24635. name: lastNum
  24636. required: true
  24637. type: integer
  24638. produces:
  24639. - application/json
  24640. responses:
  24641. "200":
  24642. description: OK
  24643. schema:
  24644. items:
  24645. $ref: '#/definitions/ermcp.HisExposureRsp'
  24646. type: array
  24647. "500":
  24648. description: Internal Server Error
  24649. schema:
  24650. $ref: '#/definitions/app.Response'
  24651. security:
  24652. - ApiKeyAuth: []
  24653. summary: 查询历史敞口(菜单:敞口/历史敞口)
  24654. tags:
  24655. - 企业风险管理(app)
  24656. /Ermcp/QueryMiddleGoods:
  24657. get:
  24658. parameters:
  24659. - description: 所属机构ID
  24660. in: query
  24661. name: userid
  24662. required: true
  24663. type: integer
  24664. - description: 状态 0-停用 1-正常
  24665. in: query
  24666. name: status
  24667. required: true
  24668. type: integer
  24669. produces:
  24670. - application/json
  24671. responses:
  24672. "200":
  24673. description: OK
  24674. schema:
  24675. items:
  24676. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  24677. type: array
  24678. "500":
  24679. description: Internal Server Error
  24680. schema:
  24681. $ref: '#/definitions/app.Response'
  24682. security:
  24683. - ApiKeyAuth: []
  24684. summary: 查询套保品种(菜单:套保品种)
  24685. tags:
  24686. - 企业风险管理(app)
  24687. /Ermcp/QueryMiddleGoodsChangeLog:
  24688. get:
  24689. parameters:
  24690. - description: 所属机构ID
  24691. in: query
  24692. name: userid
  24693. required: true
  24694. type: integer
  24695. - description: 套保品种id
  24696. in: query
  24697. name: middlegoodsid
  24698. required: true
  24699. type: integer
  24700. produces:
  24701. - application/json
  24702. responses:
  24703. "200":
  24704. description: OK
  24705. schema:
  24706. items:
  24707. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  24708. type: array
  24709. "500":
  24710. description: Internal Server Error
  24711. schema:
  24712. $ref: '#/definitions/app.Response'
  24713. security:
  24714. - ApiKeyAuth: []
  24715. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  24716. tags:
  24717. - 企业风险管理(app)
  24718. /Ermcp/QueryMiddleGoodsDetail:
  24719. get:
  24720. parameters:
  24721. - description: 所属机构ID
  24722. in: query
  24723. name: userid
  24724. required: true
  24725. type: integer
  24726. - description: 套保品种id
  24727. in: query
  24728. name: middlegoodsid
  24729. type: integer
  24730. produces:
  24731. - application/json
  24732. responses:
  24733. "200":
  24734. description: OK
  24735. schema:
  24736. items:
  24737. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  24738. type: array
  24739. "500":
  24740. description: Internal Server Error
  24741. schema:
  24742. $ref: '#/definitions/app.Response'
  24743. security:
  24744. - ApiKeyAuth: []
  24745. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  24746. tags:
  24747. - 企业风险管理(app)
  24748. /Ermcp/QueryPendingAuditInfo:
  24749. get:
  24750. parameters:
  24751. - description: 用户ID
  24752. in: query
  24753. name: UserId
  24754. required: true
  24755. type: integer
  24756. produces:
  24757. - application/json
  24758. responses:
  24759. "200":
  24760. description: OK
  24761. schema:
  24762. items:
  24763. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  24764. type: array
  24765. "500":
  24766. description: Internal Server Error
  24767. schema:
  24768. $ref: '#/definitions/app.Response'
  24769. security:
  24770. - ApiKeyAuth: []
  24771. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  24772. tags:
  24773. - 企业风险管理(app)
  24774. /Ermcp/QueryRealtimeExposure:
  24775. get:
  24776. parameters:
  24777. - description: 所属机构ID
  24778. in: query
  24779. name: userid
  24780. required: true
  24781. type: integer
  24782. produces:
  24783. - application/json
  24784. responses:
  24785. "200":
  24786. description: OK
  24787. schema:
  24788. items:
  24789. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  24790. type: array
  24791. "500":
  24792. description: Internal Server Error
  24793. schema:
  24794. $ref: '#/definitions/app.Response'
  24795. security:
  24796. - ApiKeyAuth: []
  24797. summary: 查询实时敞口
  24798. tags:
  24799. - 企业风险管理(app)
  24800. /Ermcp/QueryRealtimeExposurePosition:
  24801. get:
  24802. parameters:
  24803. - description: 用户id
  24804. in: query
  24805. name: userid
  24806. required: true
  24807. type: integer
  24808. - description: 套保商品ID
  24809. in: query
  24810. name: middleGoodsId
  24811. required: true
  24812. type: integer
  24813. produces:
  24814. - application/json
  24815. responses:
  24816. "200":
  24817. description: OK
  24818. schema:
  24819. items:
  24820. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  24821. type: array
  24822. "500":
  24823. description: Internal Server Error
  24824. schema:
  24825. $ref: '#/definitions/app.Response'
  24826. security:
  24827. - ApiKeyAuth: []
  24828. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  24829. tags:
  24830. - 企业风险管理(app)
  24831. /Ermcp/QueryRoleMenu:
  24832. get:
  24833. parameters:
  24834. - description: 登录ID
  24835. in: query
  24836. name: loginid
  24837. required: true
  24838. type: integer
  24839. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  24840. in: query
  24841. name: menutype
  24842. type: integer
  24843. produces:
  24844. - application/json
  24845. responses:
  24846. "200":
  24847. description: OK
  24848. schema:
  24849. items:
  24850. $ref: '#/definitions/models.RoleMenu'
  24851. type: array
  24852. "500":
  24853. description: Internal Server Error
  24854. schema:
  24855. $ref: '#/definitions/app.Response'
  24856. security:
  24857. - ApiKeyAuth: []
  24858. summary: 查询角色菜单和权限
  24859. tags:
  24860. - 企业风险管理(app)
  24861. /Ermcp/QueryTradeConfigTMP:
  24862. get:
  24863. parameters:
  24864. - description: 所属机构id
  24865. in: query
  24866. name: areauserid
  24867. type: integer
  24868. produces:
  24869. - application/json
  24870. responses:
  24871. "200":
  24872. description: OK
  24873. schema:
  24874. items:
  24875. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  24876. type: array
  24877. "500":
  24878. description: Internal Server Error
  24879. schema:
  24880. $ref: '#/definitions/app.Response'
  24881. security:
  24882. - ApiKeyAuth: []
  24883. summary: 查询交易模板配置
  24884. tags:
  24885. - 企业风险管理(app)
  24886. /Ermcp/QueryUserInfo:
  24887. get:
  24888. parameters:
  24889. - description: 所属机构用户ID
  24890. in: query
  24891. name: MemberUserID
  24892. required: true
  24893. type: integer
  24894. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  24895. in: query
  24896. name: queryType
  24897. required: true
  24898. type: integer
  24899. produces:
  24900. - application/json
  24901. responses:
  24902. "200":
  24903. description: OK
  24904. schema:
  24905. items:
  24906. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  24907. type: array
  24908. "500":
  24909. description: Internal Server Error
  24910. schema:
  24911. $ref: '#/definitions/app.Response'
  24912. security:
  24913. - ApiKeyAuth: []
  24914. summary: 查询客户资料
  24915. tags:
  24916. - 企业风险管理(app)
  24917. /Ermcp/QueryWarehouseInfo:
  24918. get:
  24919. parameters:
  24920. - description: 用户ID
  24921. in: query
  24922. name: userid
  24923. required: true
  24924. type: integer
  24925. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  24926. in: query
  24927. name: status
  24928. type: string
  24929. produces:
  24930. - application/json
  24931. responses:
  24932. "200":
  24933. description: OK
  24934. schema:
  24935. items:
  24936. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  24937. type: array
  24938. "500":
  24939. description: Internal Server Error
  24940. schema:
  24941. $ref: '#/definitions/app.Response'
  24942. security:
  24943. - ApiKeyAuth: []
  24944. summary: 查询仓库信息
  24945. tags:
  24946. - 企业风险管理(app)
  24947. /Ermcp3/QryAreaExpourseContractDetail:
  24948. get:
  24949. parameters:
  24950. - description: 用户ID
  24951. in: query
  24952. name: userid
  24953. required: true
  24954. type: integer
  24955. - description: 套保商品id
  24956. in: query
  24957. name: middlegoodsid
  24958. required: true
  24959. type: integer
  24960. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24961. in: query
  24962. name: cycletype
  24963. required: true
  24964. type: integer
  24965. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  24966. 全(0)【原值】
  24967. in: query
  24968. name: cycletime
  24969. required: true
  24970. type: string
  24971. produces:
  24972. - application/json
  24973. responses:
  24974. "200":
  24975. description: OK
  24976. schema:
  24977. items:
  24978. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  24979. type: array
  24980. "500":
  24981. description: Internal Server Error
  24982. schema:
  24983. $ref: '#/definitions/app.Response'
  24984. security:
  24985. - ApiKeyAuth: []
  24986. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  24987. tags:
  24988. - 企业风险管理v3(app)
  24989. /Ermcp3/QryAreaExpourseFutuDetail:
  24990. get:
  24991. parameters:
  24992. - description: 用户ID
  24993. in: query
  24994. name: userid
  24995. required: true
  24996. type: integer
  24997. - description: 套保商品id
  24998. in: query
  24999. name: middlegoodsid
  25000. required: true
  25001. type: integer
  25002. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25003. in: query
  25004. name: cycletype
  25005. required: true
  25006. type: integer
  25007. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25008. 全(0)【原值】
  25009. in: query
  25010. name: cycletime
  25011. required: true
  25012. type: string
  25013. produces:
  25014. - application/json
  25015. responses:
  25016. "200":
  25017. description: OK
  25018. schema:
  25019. items:
  25020. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25021. type: array
  25022. "500":
  25023. description: Internal Server Error
  25024. schema:
  25025. $ref: '#/definitions/app.Response'
  25026. security:
  25027. - ApiKeyAuth: []
  25028. summary: 查询敞口期货明细(敞口报表/期货明细)
  25029. tags:
  25030. - 企业风险管理v3(app)
  25031. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25032. get:
  25033. parameters:
  25034. - description: 用户ID
  25035. in: query
  25036. name: userid
  25037. required: true
  25038. type: integer
  25039. - description: 套保商品id
  25040. in: query
  25041. name: middlegoodsid
  25042. required: true
  25043. type: integer
  25044. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25045. in: query
  25046. name: cycletype
  25047. required: true
  25048. type: integer
  25049. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25050. 全(0)【原值】
  25051. in: query
  25052. name: cycletime
  25053. required: true
  25054. type: string
  25055. produces:
  25056. - application/json
  25057. responses:
  25058. "200":
  25059. description: OK
  25060. schema:
  25061. items:
  25062. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25063. type: array
  25064. "500":
  25065. description: Internal Server Error
  25066. schema:
  25067. $ref: '#/definitions/app.Response'
  25068. security:
  25069. - ApiKeyAuth: []
  25070. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25071. tags:
  25072. - 企业风险管理v3(app)
  25073. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25074. get:
  25075. parameters:
  25076. - description: 用户ID
  25077. in: query
  25078. name: userid
  25079. required: true
  25080. type: integer
  25081. - description: 套保商品id
  25082. in: query
  25083. name: middlegoodsid
  25084. required: true
  25085. type: integer
  25086. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25087. in: query
  25088. name: cycletype
  25089. required: true
  25090. type: integer
  25091. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25092. 全(0)【原值】
  25093. in: query
  25094. name: cycletime
  25095. required: true
  25096. type: string
  25097. produces:
  25098. - application/json
  25099. responses:
  25100. "200":
  25101. description: OK
  25102. schema:
  25103. items:
  25104. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25105. type: array
  25106. "500":
  25107. description: Internal Server Error
  25108. schema:
  25109. $ref: '#/definitions/app.Response'
  25110. security:
  25111. - ApiKeyAuth: []
  25112. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25113. tags:
  25114. - 企业风险管理v3(app)
  25115. /Ermcp3/QryAreaExpourseReport:
  25116. get:
  25117. parameters:
  25118. - description: 用户ID
  25119. in: query
  25120. name: userid
  25121. required: true
  25122. type: integer
  25123. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  25124. in: query
  25125. name: querytype
  25126. required: true
  25127. type: integer
  25128. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25129. in: query
  25130. name: cycletype
  25131. required: true
  25132. type: integer
  25133. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25134. 全(0)【原值】
  25135. in: query
  25136. name: cycletime
  25137. required: true
  25138. type: string
  25139. produces:
  25140. - application/json
  25141. responses:
  25142. "200":
  25143. description: OK
  25144. schema:
  25145. items:
  25146. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  25147. type: array
  25148. "500":
  25149. description: Internal Server Error
  25150. schema:
  25151. $ref: '#/definitions/app.Response'
  25152. security:
  25153. - ApiKeyAuth: []
  25154. summary: 查询敞口报表
  25155. tags:
  25156. - 企业风险管理v3(app)
  25157. /Ermcp3/QryAreaSpotplReport:
  25158. get:
  25159. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  25160. parameters:
  25161. - description: 用户ID
  25162. in: query
  25163. name: userid
  25164. required: true
  25165. type: integer
  25166. - description: 查询类型 1-报表 2-报表明细
  25167. in: query
  25168. name: querytype
  25169. required: true
  25170. type: integer
  25171. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25172. in: query
  25173. name: cycletype
  25174. required: true
  25175. type: integer
  25176. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25177. 全(0)【原值】
  25178. in: query
  25179. name: cycletime
  25180. required: true
  25181. type: string
  25182. - description: 现货品种id(明细必填)
  25183. in: query
  25184. name: deliverygoodsid
  25185. type: integer
  25186. - description: 币种id(明细必填)
  25187. in: query
  25188. name: currencyid
  25189. type: integer
  25190. - description: 日/周/月报表汇总维度 1:品种+品类
  25191. in: query
  25192. name: sumflag
  25193. type: integer
  25194. produces:
  25195. - application/json
  25196. responses:
  25197. "200":
  25198. description: OK
  25199. schema:
  25200. items:
  25201. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  25202. type: array
  25203. "500":
  25204. description: Internal Server Error
  25205. schema:
  25206. $ref: '#/definitions/app.Response'
  25207. security:
  25208. - ApiKeyAuth: []
  25209. summary: 查询现货报表
  25210. tags:
  25211. - 企业风险管理v3(app)
  25212. /Ermcp3/QryAreaStockReport:
  25213. get:
  25214. parameters:
  25215. - description: 用户ID
  25216. in: query
  25217. name: userid
  25218. required: true
  25219. type: integer
  25220. - description: 查询类型 1-报表 2-报表明细
  25221. in: query
  25222. name: querytype
  25223. required: true
  25224. type: integer
  25225. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25226. in: query
  25227. name: cycletype
  25228. required: true
  25229. type: integer
  25230. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25231. 全(0)【原值】
  25232. in: query
  25233. name: cycletime
  25234. required: true
  25235. type: string
  25236. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  25237. in: query
  25238. name: sumfields
  25239. type: string
  25240. - description: 品种ID
  25241. in: query
  25242. name: deliverygoodsid
  25243. type: integer
  25244. - description: 品类ID
  25245. in: query
  25246. name: wrstandardid
  25247. type: integer
  25248. - description: 品牌ID
  25249. in: query
  25250. name: spotgoodsbrandid
  25251. type: integer
  25252. - description: 仓库ID
  25253. in: query
  25254. name: warehouseinfoid
  25255. type: integer
  25256. produces:
  25257. - application/json
  25258. responses:
  25259. "200":
  25260. description: OK
  25261. schema:
  25262. items:
  25263. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  25264. type: array
  25265. "500":
  25266. description: Internal Server Error
  25267. schema:
  25268. $ref: '#/definitions/app.Response'
  25269. security:
  25270. - ApiKeyAuth: []
  25271. summary: 查询库存报表
  25272. tags:
  25273. - 企业风险管理v3(app)
  25274. /Ermcp3/QryAreaSumPL:
  25275. get:
  25276. parameters:
  25277. - description: 用户ID
  25278. in: query
  25279. name: userid
  25280. required: true
  25281. type: integer
  25282. - description: 查询类型 1-报表 2-报表明细
  25283. in: query
  25284. name: querytype
  25285. required: true
  25286. type: integer
  25287. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25288. in: query
  25289. name: cycletype
  25290. required: true
  25291. type: integer
  25292. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25293. 全(0)【原值】
  25294. in: query
  25295. name: cycletime
  25296. required: true
  25297. type: string
  25298. - description: 币种id(明细必填)
  25299. in: query
  25300. name: currencyid
  25301. type: integer
  25302. - description: 套保品种ID, 查询类型为2时起效
  25303. in: query
  25304. name: middlegoodsid
  25305. type: integer
  25306. produces:
  25307. - application/json
  25308. responses:
  25309. "200":
  25310. description: OK
  25311. schema:
  25312. items:
  25313. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  25314. type: array
  25315. "500":
  25316. description: Internal Server Error
  25317. schema:
  25318. $ref: '#/definitions/app.Response'
  25319. security:
  25320. - ApiKeyAuth: []
  25321. summary: 查询汇总损益表
  25322. tags:
  25323. - 企业风险管理v3(app)
  25324. /Ermcp3/QryFinanceReport:
  25325. get:
  25326. parameters:
  25327. - description: 用户ID
  25328. in: query
  25329. name: userid
  25330. required: true
  25331. type: integer
  25332. - description: 查询类型 1-报表 2-报表明细
  25333. in: query
  25334. name: querytype
  25335. required: true
  25336. type: integer
  25337. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25338. in: query
  25339. name: cycletype
  25340. required: true
  25341. type: integer
  25342. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25343. 全(0)【原值】
  25344. in: query
  25345. name: cycletime
  25346. required: true
  25347. type: string
  25348. - description: 币种id(报表明细必填)
  25349. in: query
  25350. name: currencyid
  25351. type: integer
  25352. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  25353. in: query
  25354. name: sumfields
  25355. type: string
  25356. produces:
  25357. - application/json
  25358. responses:
  25359. "200":
  25360. description: OK
  25361. schema:
  25362. items:
  25363. $ref: '#/definitions/models.Ermcp3FinanceReport'
  25364. type: array
  25365. "500":
  25366. description: Internal Server Error
  25367. schema:
  25368. $ref: '#/definitions/app.Response'
  25369. security:
  25370. - ApiKeyAuth: []
  25371. summary: 查询财务报表
  25372. tags:
  25373. - 企业风险管理v3(app)
  25374. /Ermcp3/QrySCMiddleGoodsReport:
  25375. get:
  25376. parameters:
  25377. - description: 用户ID
  25378. in: query
  25379. name: userid
  25380. required: true
  25381. type: integer
  25382. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25383. in: query
  25384. name: cycletype
  25385. required: true
  25386. type: integer
  25387. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25388. 全(0)【原值】
  25389. in: query
  25390. name: cycletime
  25391. required: true
  25392. type: string
  25393. - description: 合同id
  25394. in: query
  25395. name: spotcontractid
  25396. type: integer
  25397. - description: 套保品种id
  25398. in: query
  25399. name: middlegoodsid
  25400. type: integer
  25401. - description: 现货品种id
  25402. in: query
  25403. name: deliverygoodsid
  25404. type: integer
  25405. - description: 现货商品id
  25406. in: query
  25407. name: wrstandardid
  25408. type: integer
  25409. - description: 合同编号(模糊匹配)
  25410. in: query
  25411. name: contractno
  25412. type: string
  25413. produces:
  25414. - application/json
  25415. responses:
  25416. "200":
  25417. description: OK
  25418. schema:
  25419. items:
  25420. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  25421. type: array
  25422. "500":
  25423. description: Internal Server Error
  25424. schema:
  25425. $ref: '#/definitions/app.Response'
  25426. security:
  25427. - ApiKeyAuth: []
  25428. summary: 查询定价报表
  25429. tags:
  25430. - 企业风险管理v3(app)
  25431. /Ermcp3/QryTaFutureDataReport:
  25432. get:
  25433. parameters:
  25434. - description: 用户ID
  25435. in: query
  25436. name: userid
  25437. required: true
  25438. type: integer
  25439. - description: 查询类型 1-报表 2-报表明细
  25440. in: query
  25441. name: querytype
  25442. required: true
  25443. type: integer
  25444. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25445. in: query
  25446. name: cycletype
  25447. required: true
  25448. type: integer
  25449. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25450. 全(0)【原值】
  25451. in: query
  25452. name: cycletime
  25453. required: true
  25454. type: string
  25455. - description: 币种id(查明细必填)
  25456. in: query
  25457. name: currencyid
  25458. type: integer
  25459. - description: 品种id(查明细必填)
  25460. in: query
  25461. name: goodsgroupid
  25462. type: integer
  25463. - description: 商品id(查明细必填)
  25464. in: query
  25465. name: goodsid
  25466. type: integer
  25467. - description: 买卖方向(查明细必填)
  25468. in: query
  25469. name: buyorsell
  25470. type: integer
  25471. produces:
  25472. - application/json
  25473. responses:
  25474. "200":
  25475. description: OK
  25476. schema:
  25477. items:
  25478. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  25479. type: array
  25480. "500":
  25481. description: Internal Server Error
  25482. schema:
  25483. $ref: '#/definitions/app.Response'
  25484. security:
  25485. - ApiKeyAuth: []
  25486. summary: 查询期货报表
  25487. tags:
  25488. - 企业风险管理v3(app)
  25489. /Ermcp3/QueryAreaStock:
  25490. get:
  25491. parameters:
  25492. - description: 用户ID
  25493. in: query
  25494. name: userid
  25495. required: true
  25496. type: integer
  25497. produces:
  25498. - application/json
  25499. responses:
  25500. "200":
  25501. description: OK
  25502. schema:
  25503. items:
  25504. $ref: '#/definitions/models.Ermcp3AreaStock'
  25505. type: array
  25506. "500":
  25507. description: Internal Server Error
  25508. schema:
  25509. $ref: '#/definitions/app.Response'
  25510. security:
  25511. - ApiKeyAuth: []
  25512. summary: 查询机构库存(库存管理/当前库存)
  25513. tags:
  25514. - 企业风险管理v3(app)
  25515. /Ermcp3/QueryAreaStockApply:
  25516. get:
  25517. parameters:
  25518. - description: 用户ID
  25519. in: query
  25520. name: userid
  25521. required: true
  25522. type: integer
  25523. - description: 用户类型 2-机构 7-企业成员
  25524. in: query
  25525. name: usertype
  25526. type: integer
  25527. - description: 现货商品ID
  25528. in: query
  25529. name: deliverygoodsid
  25530. type: integer
  25531. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  25532. in: query
  25533. name: inouttype
  25534. type: string
  25535. - description: 合同ID
  25536. in: query
  25537. name: spotcontractid
  25538. type: integer
  25539. - description: 品类ID
  25540. in: query
  25541. name: wrstandardid
  25542. type: integer
  25543. - description: 品牌ID
  25544. in: query
  25545. name: spotgoodsbrandid
  25546. type: integer
  25547. - description: 仓库ID
  25548. in: query
  25549. name: warehouseinfoid
  25550. type: integer
  25551. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25552. in: query
  25553. name: applystatus
  25554. type: string
  25555. produces:
  25556. - application/json
  25557. responses:
  25558. "200":
  25559. description: OK
  25560. schema:
  25561. items:
  25562. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  25563. type: array
  25564. "500":
  25565. description: Internal Server Error
  25566. schema:
  25567. $ref: '#/definitions/app.Response'
  25568. security:
  25569. - ApiKeyAuth: []
  25570. summary: 查询库存申请(出入库记录|库存审核)
  25571. tags:
  25572. - 企业风险管理v3(app)
  25573. /Ermcp3/QueryAreaStockApplySum:
  25574. get:
  25575. parameters:
  25576. - description: 合同ID
  25577. in: query
  25578. name: spotcontractid
  25579. required: true
  25580. type: integer
  25581. produces:
  25582. - application/json
  25583. responses:
  25584. "200":
  25585. description: OK
  25586. schema:
  25587. items:
  25588. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  25589. type: array
  25590. "500":
  25591. description: Internal Server Error
  25592. schema:
  25593. $ref: '#/definitions/app.Response'
  25594. security:
  25595. - ApiKeyAuth: []
  25596. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  25597. tags:
  25598. - 企业风险管理v3(app)
  25599. /Ermcp3/QueryDGFactoryItem:
  25600. get:
  25601. parameters:
  25602. - description: 用户id
  25603. in: query
  25604. name: userid
  25605. type: integer
  25606. - description: 用户类型 2-机构 7-企业成员
  25607. in: query
  25608. name: usertype
  25609. type: integer
  25610. - description: 选择项ID(SEQ_DGFACTORYITEM)
  25611. in: query
  25612. name: dgfactoryitemid
  25613. type: integer
  25614. - description: 现货品种ID
  25615. in: query
  25616. name: deliverygoodsid
  25617. type: integer
  25618. - description: 要素项类型
  25619. in: query
  25620. name: dgfactoryitemtypeid
  25621. type: integer
  25622. - description: 顺序
  25623. in: query
  25624. name: orderindex
  25625. type: integer
  25626. produces:
  25627. - application/json
  25628. responses:
  25629. "200":
  25630. description: OK
  25631. schema:
  25632. items:
  25633. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  25634. type: array
  25635. "500":
  25636. description: Internal Server Error
  25637. schema:
  25638. $ref: '#/definitions/app.Response'
  25639. security:
  25640. - ApiKeyAuth: []
  25641. summary: 查询品种要素定义项
  25642. tags:
  25643. - 企业风险管理v3(app)
  25644. /Ermcp3/QueryDeliveryGoods:
  25645. get:
  25646. parameters:
  25647. - description: 用户id
  25648. in: query
  25649. name: userid
  25650. required: true
  25651. type: integer
  25652. - description: 用户类型 2-机构 7-企业成员
  25653. in: query
  25654. name: usertype
  25655. type: integer
  25656. - description: 排除已配置的业务类型商品 1-套保 2-套利
  25657. in: query
  25658. name: excludecfg
  25659. type: integer
  25660. produces:
  25661. - application/json
  25662. responses:
  25663. "200":
  25664. description: OK
  25665. schema:
  25666. items:
  25667. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  25668. type: array
  25669. "500":
  25670. description: Internal Server Error
  25671. schema:
  25672. $ref: '#/definitions/app.Response'
  25673. security:
  25674. - ApiKeyAuth: []
  25675. summary: 查询现货商品
  25676. tags:
  25677. - 企业风险管理v3(app)
  25678. /Ermcp3/QueryDeliveryGoodsDetail:
  25679. get:
  25680. parameters:
  25681. - description: 用户id
  25682. in: query
  25683. name: userid
  25684. required: true
  25685. type: integer
  25686. - description: 用户类型 2-机构 7-企业成员
  25687. in: query
  25688. name: usertype
  25689. type: integer
  25690. - description: 现货商品id
  25691. in: query
  25692. name: deliverygoodsid
  25693. type: integer
  25694. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  25695. in: query
  25696. name: filtersubempty
  25697. type: integer
  25698. produces:
  25699. - application/json
  25700. responses:
  25701. "200":
  25702. description: OK
  25703. schema:
  25704. items:
  25705. $ref: '#/definitions/models.XHDeliveryGoods'
  25706. type: array
  25707. "500":
  25708. description: Internal Server Error
  25709. schema:
  25710. $ref: '#/definitions/app.Response'
  25711. security:
  25712. - ApiKeyAuth: []
  25713. summary: 查询现货商品详情
  25714. tags:
  25715. - 企业风险管理v3(app)
  25716. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  25717. get:
  25718. parameters:
  25719. - description: 合同id
  25720. in: query
  25721. name: spotcontractid
  25722. required: true
  25723. type: string
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. items:
  25731. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  25732. type: array
  25733. "500":
  25734. description: Internal Server Error
  25735. schema:
  25736. $ref: '#/definitions/app.Response'
  25737. security:
  25738. - ApiKeyAuth: []
  25739. summary: 查询现货合同期现配置信息
  25740. tags:
  25741. - 企业风险管理v3(app)
  25742. /Ermcp3/QueryExposureDetail:
  25743. get:
  25744. parameters:
  25745. - description: 用户id
  25746. in: query
  25747. name: userid
  25748. required: true
  25749. type: integer
  25750. - description: 用户类型 2-机构 7-企业成员
  25751. in: query
  25752. name: usertype
  25753. type: integer
  25754. - description: 套保商品
  25755. in: query
  25756. name: middlegoodsid
  25757. required: true
  25758. type: integer
  25759. produces:
  25760. - application/json
  25761. responses:
  25762. "200":
  25763. description: OK
  25764. schema:
  25765. items:
  25766. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  25767. type: array
  25768. "500":
  25769. description: Internal Server Error
  25770. schema:
  25771. $ref: '#/definitions/app.Response'
  25772. security:
  25773. - ApiKeyAuth: []
  25774. summary: 查询敞口现货明细
  25775. tags:
  25776. - 企业风险管理v3(app)
  25777. /Ermcp3/QueryExposureSpot:
  25778. get:
  25779. parameters:
  25780. - description: 用户id
  25781. in: query
  25782. name: userid
  25783. required: true
  25784. type: integer
  25785. - description: 用户类型 2-机构 7-企业成员
  25786. in: query
  25787. name: usertype
  25788. type: integer
  25789. produces:
  25790. - application/json
  25791. responses:
  25792. "200":
  25793. description: OK
  25794. schema:
  25795. items:
  25796. $ref: '#/definitions/models.Ermcp3AreaSpot'
  25797. type: array
  25798. "500":
  25799. description: Internal Server Error
  25800. schema:
  25801. $ref: '#/definitions/app.Response'
  25802. security:
  25803. - ApiKeyAuth: []
  25804. summary: 查询敞口现货头寸(敞口/现货头寸)
  25805. tags:
  25806. - 企业风险管理v3(app)
  25807. /Ermcp3/QueryExposureSpotDetail:
  25808. get:
  25809. parameters:
  25810. - description: 用户id
  25811. in: query
  25812. name: userid
  25813. required: true
  25814. type: integer
  25815. - description: 用户类型 2-机构 7-企业成员
  25816. in: query
  25817. name: usertype
  25818. type: integer
  25819. - description: 现货商品ID
  25820. in: query
  25821. name: wrstandardid
  25822. required: true
  25823. type: integer
  25824. produces:
  25825. - application/json
  25826. responses:
  25827. "200":
  25828. description: OK
  25829. schema:
  25830. items:
  25831. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  25832. type: array
  25833. "500":
  25834. description: Internal Server Error
  25835. schema:
  25836. $ref: '#/definitions/app.Response'
  25837. security:
  25838. - ApiKeyAuth: []
  25839. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25840. tags:
  25841. - 企业风险管理v3(app)
  25842. /Ermcp3/QueryGoodsGroup:
  25843. get:
  25844. parameters:
  25845. - description: 用户id
  25846. in: query
  25847. name: userid
  25848. required: true
  25849. type: integer
  25850. - description: 用户类型 2-机构 7-企业成员
  25851. in: query
  25852. name: usertype
  25853. type: integer
  25854. - description: 排除套保品中已关联的商品组 1-排除
  25855. in: query
  25856. name: excludecfg
  25857. type: integer
  25858. produces:
  25859. - application/json
  25860. responses:
  25861. "200":
  25862. description: OK
  25863. schema:
  25864. items:
  25865. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  25866. type: array
  25867. "500":
  25868. description: Internal Server Error
  25869. schema:
  25870. $ref: '#/definitions/app.Response'
  25871. security:
  25872. - ApiKeyAuth: []
  25873. summary: 查询期货商品组
  25874. tags:
  25875. - 企业风险管理v3(app)
  25876. /Ermcp3/QueryGoodsWrstandard:
  25877. get:
  25878. parameters:
  25879. - description: 用户id
  25880. in: query
  25881. name: userid
  25882. required: true
  25883. type: integer
  25884. - description: 用户类型 2-机构 7-企业成员
  25885. in: query
  25886. name: usertype
  25887. type: integer
  25888. - description: 现货商品id
  25889. in: query
  25890. name: deliverygoodsid
  25891. type: integer
  25892. produces:
  25893. - application/json
  25894. responses:
  25895. "200":
  25896. description: OK
  25897. schema:
  25898. items:
  25899. $ref: '#/definitions/models.Ermcp3Wrstandard'
  25900. type: array
  25901. "500":
  25902. description: Internal Server Error
  25903. schema:
  25904. $ref: '#/definitions/app.Response'
  25905. security:
  25906. - ApiKeyAuth: []
  25907. summary: 查询商品品类
  25908. tags:
  25909. - 企业风险管理v3(app)
  25910. /Ermcp3/QueryGoodsbrand:
  25911. get:
  25912. parameters:
  25913. - description: 用户id
  25914. in: query
  25915. name: userid
  25916. required: true
  25917. type: integer
  25918. - description: 用户类型 2-机构 7-企业成员
  25919. in: query
  25920. name: usertype
  25921. type: integer
  25922. produces:
  25923. - application/json
  25924. responses:
  25925. "200":
  25926. description: OK
  25927. schema:
  25928. items:
  25929. $ref: '#/definitions/models.Ermcp3Brand'
  25930. type: array
  25931. "500":
  25932. description: Internal Server Error
  25933. schema:
  25934. $ref: '#/definitions/app.Response'
  25935. security:
  25936. - ApiKeyAuth: []
  25937. summary: 查询商品品牌
  25938. tags:
  25939. - 企业风险管理v3(app)
  25940. /Ermcp3/QueryHPMiddleGoods:
  25941. get:
  25942. parameters:
  25943. - description: 用户ID(填登录用户的userid)
  25944. in: query
  25945. name: userid
  25946. required: true
  25947. type: integer
  25948. - description: 买卖方向 0-买 1-卖
  25949. in: query
  25950. name: buyorsell
  25951. required: true
  25952. type: integer
  25953. - description: 商品组id
  25954. in: query
  25955. name: goodsgroupid
  25956. required: true
  25957. type: integer
  25958. - description: 套保计划编号(模糊匹配)
  25959. in: query
  25960. name: hedgeplanno
  25961. type: string
  25962. - description: 现货商品名称(模糊匹配)
  25963. in: query
  25964. name: wrstandardname
  25965. type: string
  25966. produces:
  25967. - application/json
  25968. responses:
  25969. "200":
  25970. description: OK
  25971. schema:
  25972. items:
  25973. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  25974. type: array
  25975. "500":
  25976. description: Internal Server Error
  25977. schema:
  25978. $ref: '#/definitions/app.Response'
  25979. security:
  25980. - ApiKeyAuth: []
  25981. summary: 查询可关联套保计划
  25982. tags:
  25983. - 企业风险管理v3(app)
  25984. /Ermcp3/QueryHedgePlan:
  25985. get:
  25986. parameters:
  25987. - description: 用户ID
  25988. in: query
  25989. name: userid
  25990. required: true
  25991. type: integer
  25992. - description: 用户类型 2-机构 7-企业成员
  25993. in: query
  25994. name: usertype
  25995. type: integer
  25996. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  25997. in: query
  25998. name: hedgeplanstatus
  25999. required: true
  26000. type: string
  26001. produces:
  26002. - application/json
  26003. responses:
  26004. "200":
  26005. description: OK
  26006. schema:
  26007. items:
  26008. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26009. type: array
  26010. "500":
  26011. description: Internal Server Error
  26012. schema:
  26013. $ref: '#/definitions/app.Response'
  26014. security:
  26015. - ApiKeyAuth: []
  26016. summary: 查询套保计划
  26017. tags:
  26018. - 企业风险管理v3(app)
  26019. /Ermcp3/QueryInnerTradeLink:
  26020. get:
  26021. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26022. parameters:
  26023. - description: 外部成交单号
  26024. in: query
  26025. name: outtradeid
  26026. required: true
  26027. type: integer
  26028. produces:
  26029. - application/json
  26030. responses:
  26031. "200":
  26032. description: OK
  26033. schema:
  26034. items:
  26035. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26036. type: array
  26037. "500":
  26038. description: Internal Server Error
  26039. schema:
  26040. $ref: '#/definitions/app.Response'
  26041. security:
  26042. - ApiKeyAuth: []
  26043. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26044. tags:
  26045. - 企业风险管理v3(app)
  26046. /Ermcp3/QueryMiddleGoodsDetail:
  26047. get:
  26048. parameters:
  26049. - description: 用户id
  26050. in: query
  26051. name: userid
  26052. required: true
  26053. type: integer
  26054. - description: 用户类型 2-机构 7-企业成员
  26055. in: query
  26056. name: usertype
  26057. type: integer
  26058. - description: 套保品种id
  26059. in: query
  26060. name: middlegoodsid
  26061. type: integer
  26062. produces:
  26063. - application/json
  26064. responses:
  26065. "200":
  26066. description: OK
  26067. schema:
  26068. items:
  26069. $ref: '#/definitions/models.TBMiddleGoods'
  26070. type: array
  26071. "500":
  26072. description: Internal Server Error
  26073. schema:
  26074. $ref: '#/definitions/app.Response'
  26075. security:
  26076. - ApiKeyAuth: []
  26077. summary: 查询套保品种详情(套保品种/商品详情)
  26078. tags:
  26079. - 企业风险管理v3(app)
  26080. /Ermcp3/QueryOutTradeLink:
  26081. get:
  26082. description: 页面 app 现货->期现关联->外部成交单关联
  26083. parameters:
  26084. - description: 用户ID(填登录用户的userid)
  26085. in: query
  26086. name: userid
  26087. required: true
  26088. type: integer
  26089. - description: 外部订单号(模糊匹配)
  26090. in: query
  26091. name: outtradeid
  26092. type: string
  26093. - description: 合约名称/代码(模糊匹配)
  26094. in: query
  26095. name: goodsname
  26096. type: string
  26097. - description: 关联状态 0-未关联 1-已关联
  26098. in: query
  26099. name: hasinnerorder
  26100. type: integer
  26101. produces:
  26102. - application/json
  26103. responses:
  26104. "200":
  26105. description: OK
  26106. schema:
  26107. items:
  26108. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  26109. type: array
  26110. "500":
  26111. description: Internal Server Error
  26112. schema:
  26113. $ref: '#/definitions/app.Response'
  26114. security:
  26115. - ApiKeyAuth: []
  26116. summary: 查询外部成交单关联
  26117. tags:
  26118. - 企业风险管理v3(app)
  26119. /Ermcp3/QueryPaAreaAuditCfg:
  26120. get:
  26121. parameters:
  26122. - description: 用户id
  26123. in: query
  26124. name: userid
  26125. required: true
  26126. type: integer
  26127. produces:
  26128. - application/json
  26129. responses:
  26130. "200":
  26131. description: OK
  26132. schema:
  26133. items:
  26134. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  26135. type: array
  26136. "500":
  26137. description: Internal Server Error
  26138. schema:
  26139. $ref: '#/definitions/app.Response'
  26140. security:
  26141. - ApiKeyAuth: []
  26142. summary: 查询审核设置
  26143. tags:
  26144. - 企业风险管理v3(app)
  26145. /Ermcp3/QueryPaAreaSubject:
  26146. get:
  26147. parameters:
  26148. - description: 用户id
  26149. in: query
  26150. name: userid
  26151. required: true
  26152. type: integer
  26153. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  26154. in: query
  26155. name: subjectid
  26156. type: integer
  26157. - description: 主体类型 - 1:交易主体 2:业务部门
  26158. in: query
  26159. name: subjecttype
  26160. type: integer
  26161. - description: '主体状态 - 1:正常 2: 停用'
  26162. in: query
  26163. name: subjectstatus
  26164. type: integer
  26165. produces:
  26166. - application/json
  26167. responses:
  26168. "200":
  26169. description: OK
  26170. schema:
  26171. items:
  26172. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  26173. type: array
  26174. "500":
  26175. description: Internal Server Error
  26176. schema:
  26177. $ref: '#/definitions/app.Response'
  26178. security:
  26179. - ApiKeyAuth: []
  26180. summary: 查询交易主体
  26181. tags:
  26182. - 企业风险管理v3(app)
  26183. /Ermcp3/QueryPaTradeLink:
  26184. get:
  26185. description: 页面 app 现货->期现关联->期现单据关联
  26186. parameters:
  26187. - description: 用户ID
  26188. in: query
  26189. name: userid
  26190. required: true
  26191. type: integer
  26192. produces:
  26193. - application/json
  26194. responses:
  26195. "200":
  26196. description: OK
  26197. schema:
  26198. items:
  26199. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  26200. type: array
  26201. "500":
  26202. description: Internal Server Error
  26203. schema:
  26204. $ref: '#/definitions/app.Response'
  26205. security:
  26206. - ApiKeyAuth: []
  26207. summary: 查询期现单据关联
  26208. tags:
  26209. - 企业风险管理v3(app)
  26210. /Ermcp3/QueryPaTradeLinkDetail:
  26211. get:
  26212. description: 页面 app 现货->期现关联->关联记录
  26213. parameters:
  26214. - description: 用户ID(填登录用户的userid)
  26215. in: query
  26216. name: userid
  26217. required: true
  26218. type: integer
  26219. - description: 关联状态 1:成功 2:失败 3:解绑
  26220. in: query
  26221. name: linkstatus
  26222. type: integer
  26223. - description: 期货订单号(模糊匹配)
  26224. in: query
  26225. name: tradeid
  26226. type: string
  26227. - description: 现货编号(模糊匹配)
  26228. in: query
  26229. name: contractno
  26230. type: string
  26231. - description: 期货账户(模糊匹配)
  26232. in: query
  26233. name: taname
  26234. type: string
  26235. produces:
  26236. - application/json
  26237. responses:
  26238. "200":
  26239. description: OK
  26240. schema:
  26241. items:
  26242. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  26243. type: array
  26244. "500":
  26245. description: Internal Server Error
  26246. schema:
  26247. $ref: '#/definitions/app.Response'
  26248. security:
  26249. - ApiKeyAuth: []
  26250. summary: 查询期现关联记录
  26251. tags:
  26252. - 企业风险管理v3(app)
  26253. /Ermcp3/QueryParamChangeApp:
  26254. get:
  26255. description: |-
  26256. 原型页面:
  26257. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  26258. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  26259. parameters:
  26260. - description: 用户ID
  26261. in: query
  26262. name: userid
  26263. required: true
  26264. type: integer
  26265. - description: 现货品种id
  26266. in: query
  26267. name: deliverygoodsid
  26268. type: integer
  26269. - description: 现货商品id
  26270. in: query
  26271. name: wrstandardid
  26272. type: integer
  26273. - description: 套保商品id
  26274. in: query
  26275. name: middlegoodsid
  26276. type: integer
  26277. - description: 操作类型 1:新增 2:修改
  26278. in: query
  26279. name: operatetype
  26280. type: integer
  26281. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  26282. in: query
  26283. name: paramchangetype
  26284. type: integer
  26285. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26286. in: query
  26287. name: ftstatus
  26288. type: string
  26289. produces:
  26290. - application/json
  26291. responses:
  26292. "200":
  26293. description: OK
  26294. schema:
  26295. items:
  26296. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  26297. type: array
  26298. "500":
  26299. description: Internal Server Error
  26300. schema:
  26301. $ref: '#/definitions/app.Response'
  26302. security:
  26303. - ApiKeyAuth: []
  26304. summary: 查询现货商品参数变更申请(流水)
  26305. tags:
  26306. - 企业风险管理v3(app)
  26307. /Ermcp3/QueryRootUserAccount:
  26308. get:
  26309. parameters:
  26310. - description: 用户ID
  26311. in: query
  26312. name: userid
  26313. required: true
  26314. type: integer
  26315. produces:
  26316. - application/json
  26317. responses:
  26318. "200":
  26319. description: OK
  26320. schema:
  26321. items:
  26322. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  26323. type: array
  26324. "500":
  26325. description: Internal Server Error
  26326. schema:
  26327. $ref: '#/definitions/app.Response'
  26328. security:
  26329. - ApiKeyAuth: []
  26330. summary: 查询顶级用户信息
  26331. tags:
  26332. - 企业风险管理v3(app)
  26333. /Ermcp3/QuerySCMiddleGoods:
  26334. get:
  26335. description: |-
  26336. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  26337. 现货编号 即 合同编号
  26338. parameters:
  26339. - description: 用户ID(填登录用户的userid)
  26340. in: query
  26341. name: userid
  26342. required: true
  26343. type: integer
  26344. - description: 买卖方向 0-买 1-卖
  26345. in: query
  26346. name: buyorsell
  26347. required: true
  26348. type: integer
  26349. - description: 商品组id
  26350. in: query
  26351. name: goodsgroupid
  26352. required: true
  26353. type: integer
  26354. - description: 业务类型 1:套保 2:套利
  26355. in: query
  26356. name: biztype
  26357. type: integer
  26358. - description: 现货编号(模糊匹配)
  26359. in: query
  26360. name: contractno
  26361. type: string
  26362. - description: 对手方(模糊匹配)
  26363. in: query
  26364. name: customername
  26365. type: string
  26366. - description: 现货商品名称(模糊匹配)
  26367. in: query
  26368. name: wrstandardname
  26369. type: string
  26370. produces:
  26371. - application/json
  26372. responses:
  26373. "200":
  26374. description: OK
  26375. schema:
  26376. items:
  26377. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  26378. type: array
  26379. "500":
  26380. description: Internal Server Error
  26381. schema:
  26382. $ref: '#/definitions/app.Response'
  26383. security:
  26384. - ApiKeyAuth: []
  26385. summary: 查询现货订单
  26386. tags:
  26387. - 企业风险管理v3(app)
  26388. /Ermcp3/QuerySpotContract:
  26389. get:
  26390. parameters:
  26391. - description: 用户id(当指定contractid, userid可不填)
  26392. in: query
  26393. name: userid
  26394. required: true
  26395. type: integer
  26396. - description: 用户类型 2-机构 7-企业成员
  26397. in: query
  26398. name: usertype
  26399. type: integer
  26400. - description: 合同类型 1-采购, -1-销售
  26401. in: query
  26402. name: contracttype
  26403. type: integer
  26404. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  26405. in: query
  26406. name: querytype
  26407. type: string
  26408. - description: 合同ID(SpotContractId)
  26409. in: query
  26410. name: contractid
  26411. type: string
  26412. - description: 合同编号(模糊匹配)
  26413. in: query
  26414. name: contractno
  26415. type: string
  26416. - description: 商品名称(模糊匹配)
  26417. in: query
  26418. name: wrstandardname
  26419. type: string
  26420. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26421. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26422. in: query
  26423. name: status
  26424. type: string
  26425. - description: 是否只查今日的合同 1-查今日合同
  26426. in: query
  26427. name: istoday
  26428. type: integer
  26429. produces:
  26430. - application/json
  26431. responses:
  26432. "200":
  26433. description: OK
  26434. schema:
  26435. items:
  26436. $ref: '#/definitions/models.Ermcp3Contract'
  26437. type: array
  26438. "500":
  26439. description: Internal Server Error
  26440. schema:
  26441. $ref: '#/definitions/app.Response'
  26442. security:
  26443. - ApiKeyAuth: []
  26444. summary: 查询现货合同
  26445. tags:
  26446. - 企业风险管理v3(app)
  26447. /Ermcp3/QuerySpotContractBS:
  26448. get:
  26449. parameters:
  26450. - description: 用户id
  26451. in: query
  26452. name: userid
  26453. required: true
  26454. type: integer
  26455. - description: 用户类型 2-机构 7-企业成员
  26456. in: query
  26457. name: usertype
  26458. type: integer
  26459. - description: 合同类型 1-采购, -1-销售
  26460. in: query
  26461. name: contracttype
  26462. required: true
  26463. type: integer
  26464. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  26465. in: query
  26466. name: querytype
  26467. type: integer
  26468. - description: 合同ID(SpotContractId)
  26469. in: query
  26470. name: contractid
  26471. type: string
  26472. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  26473. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26474. in: query
  26475. name: status
  26476. type: string
  26477. - description: 是否只查今日的合同 1-查今日合同
  26478. in: query
  26479. name: istoday
  26480. type: integer
  26481. produces:
  26482. - application/json
  26483. responses:
  26484. "200":
  26485. description: OK
  26486. schema:
  26487. items:
  26488. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  26489. type: array
  26490. "500":
  26491. description: Internal Server Error
  26492. schema:
  26493. $ref: '#/definitions/app.Response'
  26494. security:
  26495. - ApiKeyAuth: []
  26496. summary: 查询合同(采购/销售)
  26497. tags:
  26498. - 企业风险管理v3(app)
  26499. /Ermcp3/QuerySpotGoodsPrice:
  26500. get:
  26501. parameters:
  26502. - description: 用户ID
  26503. in: query
  26504. name: userid
  26505. required: true
  26506. type: integer
  26507. produces:
  26508. - application/json
  26509. responses:
  26510. "200":
  26511. description: OK
  26512. schema:
  26513. items:
  26514. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  26515. type: array
  26516. "500":
  26517. description: Internal Server Error
  26518. schema:
  26519. $ref: '#/definitions/app.Response'
  26520. security:
  26521. - ApiKeyAuth: []
  26522. summary: 查询现货市价(现货市价)
  26523. tags:
  26524. - 企业风险管理v3(app)
  26525. /Ermcp3/QuerySpotGoodsPriceLog:
  26526. get:
  26527. parameters:
  26528. - description: 用户ID
  26529. in: query
  26530. name: userid
  26531. required: true
  26532. type: integer
  26533. - description: 现货商品ID
  26534. in: query
  26535. name: deliverygoodsid
  26536. required: true
  26537. type: integer
  26538. - description: 品牌ID
  26539. in: query
  26540. name: brandid
  26541. type: integer
  26542. - description: 品类ID
  26543. in: query
  26544. name: wrstandardid
  26545. type: integer
  26546. produces:
  26547. - application/json
  26548. responses:
  26549. "200":
  26550. description: OK
  26551. schema:
  26552. items:
  26553. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  26554. type: array
  26555. "500":
  26556. description: Internal Server Error
  26557. schema:
  26558. $ref: '#/definitions/app.Response'
  26559. security:
  26560. - ApiKeyAuth: []
  26561. summary: 查询现货市价详情(现货市价/详情)
  26562. tags:
  26563. - 企业风险管理v3(app)
  26564. /Ermcp3/QuerySubTaaccount:
  26565. get:
  26566. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  26567. parameters:
  26568. - description: 母账号id
  26569. in: query
  26570. name: parentaccountid
  26571. type: integer
  26572. - description: 母账号代码
  26573. in: query
  26574. name: parentaccountcode
  26575. type: string
  26576. produces:
  26577. - application/json
  26578. responses:
  26579. "200":
  26580. description: OK
  26581. schema:
  26582. items:
  26583. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  26584. type: array
  26585. "500":
  26586. description: Internal Server Error
  26587. schema:
  26588. $ref: '#/definitions/app.Response'
  26589. security:
  26590. - ApiKeyAuth: []
  26591. summary: 查询期货子账户
  26592. tags:
  26593. - 企业风险管理v3(app)
  26594. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  26595. get:
  26596. parameters:
  26597. - description: 套期项目ID
  26598. in: query
  26599. name: hedgeditemid
  26600. required: true
  26601. type: integer
  26602. produces:
  26603. - application/json
  26604. responses:
  26605. "200":
  26606. description: OK
  26607. schema:
  26608. items:
  26609. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  26610. type: array
  26611. "500":
  26612. description: Internal Server Error
  26613. schema:
  26614. $ref: '#/definitions/app.Response'
  26615. security:
  26616. - ApiKeyAuth: []
  26617. summary: 现货成交明细查询
  26618. tags:
  26619. - 企业风险管理v8
  26620. /Ermcp8/QueryERMCP2HedgedItemspot:
  26621. get:
  26622. parameters:
  26623. - description: 套期项目ID
  26624. in: query
  26625. name: hedgeditemid
  26626. required: true
  26627. type: integer
  26628. produces:
  26629. - application/json
  26630. responses:
  26631. "200":
  26632. description: OK
  26633. schema:
  26634. items:
  26635. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  26636. type: array
  26637. "500":
  26638. description: Internal Server Error
  26639. schema:
  26640. $ref: '#/definitions/app.Response'
  26641. security:
  26642. - ApiKeyAuth: []
  26643. summary: 套期计划明细查询
  26644. tags:
  26645. - 企业风险管理v8
  26646. /Ermcp8/QueryERMCPJRLinkPos:
  26647. get:
  26648. parameters:
  26649. - description: 套期项目ID
  26650. in: query
  26651. name: hedgeditemid
  26652. required: true
  26653. type: integer
  26654. produces:
  26655. - application/json
  26656. responses:
  26657. "200":
  26658. description: OK
  26659. schema:
  26660. items:
  26661. $ref: '#/definitions/models.Ermcpjrlinkpos'
  26662. type: array
  26663. "500":
  26664. description: Internal Server Error
  26665. schema:
  26666. $ref: '#/definitions/app.Response'
  26667. security:
  26668. - ApiKeyAuth: []
  26669. summary: 期货持仓明细查询
  26670. tags:
  26671. - 企业风险管理v8
  26672. /Ermcp8/QueryERMCPPatradeLinkDetail:
  26673. get:
  26674. parameters:
  26675. - description: 套期项目ID
  26676. in: query
  26677. name: hedgeditemid
  26678. required: true
  26679. type: integer
  26680. produces:
  26681. - application/json
  26682. responses:
  26683. "200":
  26684. description: OK
  26685. schema:
  26686. items:
  26687. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  26688. type: array
  26689. "500":
  26690. description: Internal Server Error
  26691. schema:
  26692. $ref: '#/definitions/app.Response'
  26693. security:
  26694. - ApiKeyAuth: []
  26695. summary: 期货成交单明细查询
  26696. tags:
  26697. - 企业风险管理v8
  26698. /Ermcp8/QueryErmcp2AreaExposure:
  26699. get:
  26700. parameters:
  26701. - description: 用户ID
  26702. in: query
  26703. name: userid
  26704. required: true
  26705. type: string
  26706. produces:
  26707. - application/json
  26708. responses:
  26709. "200":
  26710. description: OK
  26711. schema:
  26712. items:
  26713. $ref: '#/definitions/models.Ermcp2AreaExposure'
  26714. type: array
  26715. "500":
  26716. description: Internal Server Error
  26717. schema:
  26718. $ref: '#/definitions/app.Response'
  26719. security:
  26720. - ApiKeyAuth: []
  26721. summary: 企业敞口查询
  26722. tags:
  26723. - 企业风险管理v8
  26724. /Ermcp8/QueryErmcp2HedgedItem:
  26725. get:
  26726. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  26727. parameters:
  26728. - description: 用户ID
  26729. in: query
  26730. name: userid
  26731. required: true
  26732. type: string
  26733. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26734. in: query
  26735. name: hedgedtype
  26736. type: integer
  26737. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26738. in: query
  26739. name: hedgeditemstatus
  26740. type: integer
  26741. produces:
  26742. - application/json
  26743. responses:
  26744. "200":
  26745. description: OK
  26746. schema:
  26747. items:
  26748. $ref: '#/definitions/models.Ermcp2hedgeditem'
  26749. type: array
  26750. "500":
  26751. description: Internal Server Error
  26752. schema:
  26753. $ref: '#/definitions/app.Response'
  26754. security:
  26755. - ApiKeyAuth: []
  26756. summary: 查询被套期项目信息
  26757. tags:
  26758. - 企业风险管理v8
  26759. /Ermcp8/QueryErmcp2HedgedItemLink:
  26760. get:
  26761. parameters:
  26762. - description: 现货合同ID
  26763. in: query
  26764. name: spotcontractid
  26765. required: true
  26766. type: integer
  26767. produces:
  26768. - application/json
  26769. responses:
  26770. "200":
  26771. description: OK
  26772. schema:
  26773. items:
  26774. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  26775. type: array
  26776. "500":
  26777. description: Internal Server Error
  26778. schema:
  26779. $ref: '#/definitions/app.Response'
  26780. security:
  26781. - ApiKeyAuth: []
  26782. summary: 现货合同关联被套期项目查询
  26783. tags:
  26784. - 企业风险管理v8
  26785. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  26786. get:
  26787. parameters:
  26788. - description: 用户ID
  26789. in: query
  26790. name: userid
  26791. required: true
  26792. type: integer
  26793. - description: 套保品种ID
  26794. in: query
  26795. name: middlegoodsid
  26796. required: true
  26797. type: integer
  26798. produces:
  26799. - application/json
  26800. responses:
  26801. "200":
  26802. description: OK
  26803. schema:
  26804. items:
  26805. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  26806. type: array
  26807. "500":
  26808. description: Internal Server Error
  26809. schema:
  26810. $ref: '#/definitions/app.Response'
  26811. security:
  26812. - ApiKeyAuth: []
  26813. summary: 敞口明细 - 计划变动明细
  26814. tags:
  26815. - 企业风险管理v8
  26816. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  26817. get:
  26818. parameters:
  26819. - description: 用户ID
  26820. in: query
  26821. name: userid
  26822. required: true
  26823. type: integer
  26824. - description: 套保品种ID
  26825. in: query
  26826. name: middlegoodsid
  26827. required: true
  26828. type: integer
  26829. produces:
  26830. - application/json
  26831. responses:
  26832. "200":
  26833. description: OK
  26834. schema:
  26835. items:
  26836. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  26837. type: array
  26838. "500":
  26839. description: Internal Server Error
  26840. schema:
  26841. $ref: '#/definitions/app.Response'
  26842. security:
  26843. - ApiKeyAuth: []
  26844. summary: 敞口明细 - 现货变动明细查询
  26845. tags:
  26846. - 企业风险管理v8
  26847. /Ermcp8/QueryErmcp8EnableHedgeditem:
  26848. get:
  26849. parameters:
  26850. - description: 用户ID
  26851. in: query
  26852. name: userid
  26853. required: true
  26854. type: integer
  26855. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  26856. in: query
  26857. name: spottype
  26858. required: true
  26859. type: integer
  26860. - description: 现货商品ID
  26861. in: query
  26862. name: wrstandardid
  26863. type: integer
  26864. produces:
  26865. - application/json
  26866. responses:
  26867. "200":
  26868. description: OK
  26869. schema:
  26870. items:
  26871. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  26872. type: array
  26873. "500":
  26874. description: Internal Server Error
  26875. schema:
  26876. $ref: '#/definitions/app.Response'
  26877. security:
  26878. - ApiKeyAuth: []
  26879. summary: 可关联项目查询
  26880. tags:
  26881. - 企业风险管理v8
  26882. /Ermcp8/QueryErmcp8HedgeditemReport:
  26883. get:
  26884. parameters:
  26885. - description: 用户ID
  26886. in: query
  26887. name: userid
  26888. required: true
  26889. type: integer
  26890. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26891. in: query
  26892. name: cycletype
  26893. type: integer
  26894. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26895. 全(0)【原值】
  26896. in: query
  26897. name: cycletime
  26898. required: true
  26899. type: string
  26900. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  26901. in: query
  26902. name: hedgedtype
  26903. type: integer
  26904. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26905. in: query
  26906. name: hedgeditemstatus
  26907. type: integer
  26908. - description: 项目编号,模糊查询
  26909. in: query
  26910. name: hedgeditemnum
  26911. type: string
  26912. - description: 现货商品ID
  26913. in: query
  26914. name: wrstandardid
  26915. type: integer
  26916. produces:
  26917. - application/json
  26918. responses:
  26919. "200":
  26920. description: OK
  26921. schema:
  26922. items:
  26923. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  26924. type: array
  26925. "500":
  26926. description: Internal Server Error
  26927. schema:
  26928. $ref: '#/definitions/app.Response'
  26929. security:
  26930. - ApiKeyAuth: []
  26931. summary: 套期项目报表查询
  26932. tags:
  26933. - 企业风险管理v8
  26934. /Ermcp8/QueryErmcp8RunningHedgeditem:
  26935. get:
  26936. parameters:
  26937. - description: 用户ID
  26938. in: query
  26939. name: userid
  26940. required: true
  26941. type: string
  26942. produces:
  26943. - application/json
  26944. responses:
  26945. "200":
  26946. description: OK
  26947. schema:
  26948. items:
  26949. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  26950. type: array
  26951. "500":
  26952. description: Internal Server Error
  26953. schema:
  26954. $ref: '#/definitions/app.Response'
  26955. security:
  26956. - ApiKeyAuth: []
  26957. summary: 查询执行中项目查询信息
  26958. tags:
  26959. - 企业风险管理v8
  26960. /Ermcp8/QueryInternalEnableTradeDetail:
  26961. get:
  26962. parameters:
  26963. - description: 企业ID
  26964. in: query
  26965. name: areauserid
  26966. required: true
  26967. type: integer
  26968. - description: 期货合约ID
  26969. in: query
  26970. name: goodsid
  26971. required: true
  26972. type: integer
  26973. - description: 交易用户ID
  26974. in: query
  26975. name: tradeuserid
  26976. required: true
  26977. type: integer
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/models.InternalEnableTradeDetail'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 内部成交单可关联项目查询
  26994. tags:
  26995. - 企业风险管理v8
  26996. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  26997. get:
  26998. parameters:
  26999. - description: 用户编号
  27000. in: query
  27001. name: userid
  27002. required: true
  27003. type: integer
  27004. - description: 起始日期(格式yyyymmdd)
  27005. in: query
  27006. name: begindate
  27007. type: string
  27008. - description: 终止日期(格式yyyymmdd)
  27009. in: query
  27010. name: enddate
  27011. type: string
  27012. - description: 合约代码
  27013. in: query
  27014. name: goodscode
  27015. type: string
  27016. - description: 合约名称
  27017. in: query
  27018. name: goodsname
  27019. type: string
  27020. - description: 成交单号
  27021. in: query
  27022. name: tradeid
  27023. type: integer
  27024. - description: 方向 - 0:买 1:卖
  27025. in: query
  27026. name: buyorsell
  27027. type: integer
  27028. - description: 套期主体
  27029. in: query
  27030. name: accountname
  27031. type: string
  27032. produces:
  27033. - application/json
  27034. responses:
  27035. "200":
  27036. description: OK
  27037. schema:
  27038. items:
  27039. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27040. type: array
  27041. "500":
  27042. description: Internal Server Error
  27043. schema:
  27044. $ref: '#/definitions/app.Response'
  27045. security:
  27046. - ApiKeyAuth: []
  27047. summary: 内部未关联成交单查询
  27048. tags:
  27049. - 企业风险管理v8
  27050. /Ermcp8/QueryMarketCalendar:
  27051. get:
  27052. parameters:
  27053. - description: 市场ID
  27054. in: query
  27055. name: marketid
  27056. type: integer
  27057. produces:
  27058. - application/json
  27059. responses:
  27060. "200":
  27061. description: OK
  27062. schema:
  27063. items:
  27064. $ref: '#/definitions/models.Marketcalendar'
  27065. type: array
  27066. "500":
  27067. description: Internal Server Error
  27068. schema:
  27069. $ref: '#/definitions/app.Response'
  27070. security:
  27071. - ApiKeyAuth: []
  27072. summary: 市场节假日查询
  27073. tags:
  27074. - 企业风险管理v8
  27075. /Ermcp8/QueryPatradeLinkDetail:
  27076. get:
  27077. parameters:
  27078. - description: 用户ID
  27079. in: query
  27080. name: userid
  27081. required: true
  27082. type: integer
  27083. - description: 套保品种ID
  27084. in: query
  27085. name: middlegoodsid
  27086. required: true
  27087. type: integer
  27088. produces:
  27089. - application/json
  27090. responses:
  27091. "200":
  27092. description: OK
  27093. schema:
  27094. items:
  27095. $ref: '#/definitions/models.Patradelinkdetail'
  27096. type: array
  27097. "500":
  27098. description: Internal Server Error
  27099. schema:
  27100. $ref: '#/definitions/app.Response'
  27101. security:
  27102. - ApiKeyAuth: []
  27103. summary: 敞口明细 - 期货变动明细
  27104. tags:
  27105. - 企业风险管理v8
  27106. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27107. get:
  27108. parameters:
  27109. - description: 企业ID
  27110. in: query
  27111. name: areauserid
  27112. required: true
  27113. type: integer
  27114. - description: 计划类型 - 1:采购 -1:销售
  27115. in: query
  27116. name: contracttype
  27117. type: integer
  27118. - description: 计划编号,模糊查询
  27119. in: query
  27120. name: hedgeplanno
  27121. type: string
  27122. - description: 现货商品,模糊查询
  27123. in: query
  27124. name: wrstandardname
  27125. type: string
  27126. produces:
  27127. - application/json
  27128. responses:
  27129. "200":
  27130. description: OK
  27131. schema:
  27132. items:
  27133. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  27134. type: array
  27135. "500":
  27136. description: Internal Server Error
  27137. schema:
  27138. $ref: '#/definitions/app.Response'
  27139. security:
  27140. - ApiKeyAuth: []
  27141. summary: 未关联购销计划
  27142. tags:
  27143. - 企业风险管理v8
  27144. /Ermcp8/QueryUnLinkSpotContract:
  27145. get:
  27146. parameters:
  27147. - description: 用户ID
  27148. in: query
  27149. name: userid
  27150. required: true
  27151. type: integer
  27152. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  27153. in: query
  27154. name: pricetype
  27155. type: integer
  27156. - description: 合同编号, 模拟查询
  27157. in: query
  27158. name: contractno
  27159. type: string
  27160. - description: 对手方, 模拟查询
  27161. in: query
  27162. name: customername
  27163. type: string
  27164. - description: 项合同类型 - 1:采购 -1:销售
  27165. in: query
  27166. name: contracttype
  27167. type: integer
  27168. produces:
  27169. - application/json
  27170. responses:
  27171. "200":
  27172. description: OK
  27173. schema:
  27174. items:
  27175. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  27176. type: array
  27177. "500":
  27178. description: Internal Server Error
  27179. schema:
  27180. $ref: '#/definitions/app.Response'
  27181. security:
  27182. - ApiKeyAuth: []
  27183. summary: 未关联合同查询
  27184. tags:
  27185. - 企业风险管理v8
  27186. /Erms2/QueryArbitrageStrategy:
  27187. get:
  27188. parameters:
  27189. - description: 账户ID
  27190. in: query
  27191. name: userid
  27192. required: true
  27193. type: integer
  27194. - description: 商品组ID(品种ID)
  27195. in: query
  27196. name: goodsgroupid
  27197. type: string
  27198. produces:
  27199. - application/json
  27200. responses:
  27201. "200":
  27202. description: OK
  27203. schema:
  27204. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  27205. "500":
  27206. description: Internal Server Error
  27207. schema:
  27208. $ref: '#/definitions/app.Response'
  27209. security:
  27210. - ApiKeyAuth: []
  27211. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  27212. tags:
  27213. - 风险管理
  27214. /Erms2/QueryInnerTradeDetail:
  27215. get:
  27216. parameters:
  27217. - description: 资金账户
  27218. in: query
  27219. name: accountid
  27220. required: true
  27221. type: integer
  27222. produces:
  27223. - application/json
  27224. responses:
  27225. "200":
  27226. description: OK
  27227. schema:
  27228. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  27229. "500":
  27230. description: Internal Server Error
  27231. schema:
  27232. $ref: '#/definitions/app.Response'
  27233. security:
  27234. - ApiKeyAuth: []
  27235. summary: 查询内部成交单信息
  27236. tags:
  27237. - 风险管理
  27238. /Erms2/QuerySpotContract:
  27239. get:
  27240. parameters:
  27241. - description: 策略申请ID
  27242. in: query
  27243. name: asapplyid
  27244. required: true
  27245. type: integer
  27246. - description: 现货合同ID
  27247. in: query
  27248. name: spotcontractid
  27249. type: integer
  27250. produces:
  27251. - application/json
  27252. responses:
  27253. "200":
  27254. description: OK
  27255. schema:
  27256. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  27257. "500":
  27258. description: Internal Server Error
  27259. schema:
  27260. $ref: '#/definitions/app.Response'
  27261. security:
  27262. - ApiKeyAuth: []
  27263. summary: 查询现货合同表信息(指定策略ID、未结束的)
  27264. tags:
  27265. - 风险管理
  27266. /Erms3/AddErms2ASApply:
  27267. post:
  27268. parameters:
  27269. - description: 申请参数
  27270. in: body
  27271. name: jsonBody
  27272. required: true
  27273. schema:
  27274. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  27275. produces:
  27276. - application/json
  27277. responses:
  27278. "200":
  27279. description: OK
  27280. schema:
  27281. $ref: '#/definitions/app.Response'
  27282. "500":
  27283. description: Internal Server Error
  27284. schema:
  27285. $ref: '#/definitions/app.Response'
  27286. security:
  27287. - ApiKeyAuth: []
  27288. summary: 新增期现套利业务申请
  27289. tags:
  27290. - 风险管理v3
  27291. /Erms3/AddErms2SpotTradeApply:
  27292. post:
  27293. parameters:
  27294. - description: 申请参数
  27295. in: body
  27296. name: jsonBody
  27297. required: true
  27298. schema:
  27299. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  27300. produces:
  27301. - application/json
  27302. responses:
  27303. "200":
  27304. description: OK
  27305. schema:
  27306. $ref: '#/definitions/app.Response'
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 新增现货贸易业务申请
  27314. tags:
  27315. - 风险管理v3
  27316. /Erms3/AddSpotContractApply:
  27317. post:
  27318. parameters:
  27319. - description: 申请参数
  27320. in: body
  27321. name: jsonBody
  27322. required: true
  27323. schema:
  27324. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  27325. produces:
  27326. - application/json
  27327. responses:
  27328. "200":
  27329. description: OK
  27330. schema:
  27331. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  27332. "500":
  27333. description: Internal Server Error
  27334. schema:
  27335. $ref: '#/definitions/app.Response'
  27336. security:
  27337. - ApiKeyAuth: []
  27338. summary: 新增现货合同申请
  27339. tags:
  27340. - 风险管理v3
  27341. /Erms3/AddUserInfoApply:
  27342. post:
  27343. parameters:
  27344. - description: 用户信息
  27345. in: body
  27346. name: jsonBody
  27347. required: true
  27348. schema:
  27349. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  27350. produces:
  27351. - application/json
  27352. responses:
  27353. "200":
  27354. description: OK
  27355. schema:
  27356. $ref: '#/definitions/app.Response'
  27357. "500":
  27358. description: Internal Server Error
  27359. schema:
  27360. $ref: '#/definitions/app.Response'
  27361. security:
  27362. - ApiKeyAuth: []
  27363. summary: 新增客户申请
  27364. tags:
  27365. - 风险管理v3
  27366. /Erms3/DeleteUserInfoApply:
  27367. get:
  27368. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  27369. parameters:
  27370. - description: 用户ID
  27371. in: query
  27372. name: userID
  27373. required: true
  27374. type: integer
  27375. produces:
  27376. - application/json
  27377. responses:
  27378. "200":
  27379. description: OK
  27380. schema:
  27381. $ref: '#/definitions/app.Response'
  27382. "500":
  27383. description: Internal Server Error
  27384. schema:
  27385. $ref: '#/definitions/app.Response'
  27386. security:
  27387. - ApiKeyAuth: []
  27388. summary: 删除客户申请
  27389. tags:
  27390. - 风险管理v3
  27391. /Erms3/ModifyUserInfoApply:
  27392. post:
  27393. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  27394. int, "userstate": 2 }'
  27395. parameters:
  27396. - description: 用户信息
  27397. in: body
  27398. name: jsonBody
  27399. required: true
  27400. schema:
  27401. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  27402. produces:
  27403. - application/json
  27404. responses:
  27405. "200":
  27406. description: OK
  27407. schema:
  27408. $ref: '#/definitions/app.Response'
  27409. "500":
  27410. description: Internal Server Error
  27411. schema:
  27412. $ref: '#/definitions/app.Response'
  27413. security:
  27414. - ApiKeyAuth: []
  27415. summary: 修改客户申请
  27416. tags:
  27417. - 风险管理v3
  27418. /Erms3/QueryBusinessInfo:
  27419. get:
  27420. parameters:
  27421. - description: 资金账号ID列表,用逗号分隔
  27422. in: query
  27423. name: accountids
  27424. required: true
  27425. type: string
  27426. - description: 状态,0为未结束 1为已结束
  27427. in: query
  27428. name: status
  27429. required: true
  27430. type: integer
  27431. produces:
  27432. - application/json
  27433. responses:
  27434. "200":
  27435. description: OK
  27436. schema:
  27437. items:
  27438. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  27439. type: array
  27440. "500":
  27441. description: Internal Server Error
  27442. schema:
  27443. $ref: '#/definitions/app.Response'
  27444. security:
  27445. - ApiKeyAuth: []
  27446. summary: 查询业务表单数据
  27447. tags:
  27448. - 风险管理v3
  27449. /Erms3/QueryPendingAuditContract:
  27450. get:
  27451. parameters:
  27452. - description: 资金账号ID列表,逗号隔开
  27453. in: query
  27454. name: accountids
  27455. required: true
  27456. type: string
  27457. - description: 合同类型 1-采购 -1-销售
  27458. in: query
  27459. name: contracttype
  27460. required: true
  27461. type: integer
  27462. - description: 合同模式 1-普通 2-回购
  27463. in: query
  27464. name: contractmode
  27465. required: true
  27466. type: integer
  27467. produces:
  27468. - application/json
  27469. responses:
  27470. "200":
  27471. description: OK
  27472. schema:
  27473. items:
  27474. $ref: '#/definitions/erms3.QryAuditContractRsp'
  27475. type: array
  27476. "500":
  27477. description: Internal Server Error
  27478. schema:
  27479. $ref: '#/definitions/app.Response'
  27480. security:
  27481. - ApiKeyAuth: []
  27482. summary: 查询待审核合同
  27483. tags:
  27484. - 风险管理v3
  27485. /Erms3/QueryPendingBusiness:
  27486. get:
  27487. parameters:
  27488. - description: 资金账号ID列表,逗号隔开
  27489. in: query
  27490. name: accountids
  27491. required: true
  27492. type: string
  27493. produces:
  27494. - application/json
  27495. responses:
  27496. "200":
  27497. description: OK
  27498. schema:
  27499. items:
  27500. $ref: '#/definitions/erms3.QryPendingBizRsp'
  27501. type: array
  27502. "500":
  27503. description: Internal Server Error
  27504. schema:
  27505. $ref: '#/definitions/app.Response'
  27506. security:
  27507. - ApiKeyAuth: []
  27508. summary: 查询待审核基差贸易业务
  27509. tags:
  27510. - 风险管理v3
  27511. /Erms3/QuerySpotContractAppleForm:
  27512. get:
  27513. parameters:
  27514. - description: 登录账号
  27515. in: query
  27516. name: loginID
  27517. required: true
  27518. type: integer
  27519. produces:
  27520. - application/json
  27521. responses:
  27522. "200":
  27523. description: OK
  27524. schema:
  27525. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  27526. "500":
  27527. description: Internal Server Error
  27528. schema:
  27529. $ref: '#/definitions/app.Response'
  27530. security:
  27531. - ApiKeyAuth: []
  27532. summary: 查询合同申请表单数据
  27533. tags:
  27534. - 风险管理v3
  27535. /Erms3/QuerySpotContractDetail:
  27536. get:
  27537. parameters:
  27538. - description: 资金账号ID列表,用逗号分隔
  27539. in: query
  27540. name: accountids
  27541. required: true
  27542. type: string
  27543. - description: 合同类型,1为采购合同 -1为销售合同
  27544. in: query
  27545. name: contracttype
  27546. required: true
  27547. type: integer
  27548. - description: 合同模式,1为普通合同 2为回购销售合同
  27549. in: query
  27550. name: contractmode
  27551. required: true
  27552. type: integer
  27553. - description: 状态,0为履约中 1为已完成
  27554. in: query
  27555. name: status
  27556. required: true
  27557. type: integer
  27558. produces:
  27559. - application/json
  27560. responses:
  27561. "200":
  27562. description: OK
  27563. schema:
  27564. items:
  27565. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  27566. type: array
  27567. "500":
  27568. description: Internal Server Error
  27569. schema:
  27570. $ref: '#/definitions/app.Response'
  27571. security:
  27572. - ApiKeyAuth: []
  27573. summary: 查询合同详细信息
  27574. tags:
  27575. - 风险管理v3
  27576. /Erms3/QueryUserInfoApplies:
  27577. get:
  27578. parameters:
  27579. - description: 页码
  27580. in: query
  27581. name: page
  27582. type: integer
  27583. - description: 每页条数
  27584. in: query
  27585. name: pagesize
  27586. type: integer
  27587. - description: 客户名称,支持模糊查询
  27588. in: query
  27589. name: userName
  27590. type: string
  27591. produces:
  27592. - application/json
  27593. responses:
  27594. "200":
  27595. description: OK
  27596. schema:
  27597. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  27598. "500":
  27599. description: Internal Server Error
  27600. schema:
  27601. $ref: '#/definitions/app.Response'
  27602. security:
  27603. - ApiKeyAuth: []
  27604. summary: 客户申请信息查询
  27605. tags:
  27606. - 风险管理v3
  27607. /Erms3/QueryUserInfos:
  27608. get:
  27609. parameters:
  27610. - description: 页码
  27611. in: query
  27612. name: page
  27613. type: integer
  27614. - description: 每页条数
  27615. in: query
  27616. name: pagesize
  27617. type: integer
  27618. - description: 客户名称,支持模糊查询
  27619. in: query
  27620. name: userName
  27621. type: string
  27622. produces:
  27623. - application/json
  27624. responses:
  27625. "200":
  27626. description: OK
  27627. schema:
  27628. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  27629. "500":
  27630. description: Internal Server Error
  27631. schema:
  27632. $ref: '#/definitions/app.Response'
  27633. security:
  27634. - ApiKeyAuth: []
  27635. summary: 客户信息查询
  27636. tags:
  27637. - 风险管理v3
  27638. /Guangzuan/GZBSFWOrderOperate:
  27639. get:
  27640. parameters:
  27641. - description: 单据ID
  27642. in: query
  27643. name: orderid
  27644. required: true
  27645. type: integer
  27646. produces:
  27647. - application/json
  27648. responses:
  27649. "200":
  27650. description: OK
  27651. schema:
  27652. items:
  27653. $ref: '#/definitions/models.Gzbsfworderoperate'
  27654. type: array
  27655. "500":
  27656. description: Internal Server Error
  27657. schema:
  27658. $ref: '#/definitions/app.Response'
  27659. security:
  27660. - ApiKeyAuth: []
  27661. - LoginID: []
  27662. - Group: []
  27663. summary: 保税服务单据操作信息
  27664. tags:
  27665. - 广钻
  27666. /Guangzuan/GetGoods:
  27667. get:
  27668. parameters:
  27669. - description: 商品编号
  27670. in: query
  27671. name: goodsno
  27672. required: true
  27673. type: string
  27674. produces:
  27675. - application/json
  27676. responses:
  27677. "200":
  27678. description: OK
  27679. schema:
  27680. $ref: '#/definitions/models.GZGoods'
  27681. "500":
  27682. description: Internal Server Error
  27683. schema:
  27684. $ref: '#/definitions/app.Response'
  27685. security:
  27686. - ApiKeyAuth: []
  27687. - LoginID: []
  27688. - Group: []
  27689. summary: 获取钻石详情
  27690. tags:
  27691. - 广钻
  27692. /Guangzuan/GzCertAddressConfig:
  27693. get:
  27694. produces:
  27695. - application/json
  27696. responses:
  27697. "200":
  27698. description: OK
  27699. schema:
  27700. items:
  27701. $ref: '#/definitions/models.Gzcertaddressconfig'
  27702. type: array
  27703. "500":
  27704. description: Internal Server Error
  27705. schema:
  27706. $ref: '#/definitions/app.Response'
  27707. security:
  27708. - ApiKeyAuth: []
  27709. - LoginID: []
  27710. - Group: []
  27711. summary: Rapaport最新报价表(广钻)
  27712. tags:
  27713. - 广钻
  27714. /Guangzuan/GzCertAddressParam:
  27715. get:
  27716. produces:
  27717. - application/json
  27718. responses:
  27719. "200":
  27720. description: OK
  27721. schema:
  27722. items:
  27723. $ref: '#/definitions/models.Gzcertaddressparam'
  27724. type: array
  27725. "500":
  27726. description: Internal Server Error
  27727. schema:
  27728. $ref: '#/definitions/app.Response'
  27729. security:
  27730. - ApiKeyAuth: []
  27731. - LoginID: []
  27732. - Group: []
  27733. summary: 钻石证书地址参数
  27734. tags:
  27735. - 广钻
  27736. /Guangzuan/HomeData:
  27737. get:
  27738. parameters:
  27739. - description: 用户ID
  27740. in: query
  27741. name: userid
  27742. required: true
  27743. type: integer
  27744. produces:
  27745. - application/json
  27746. responses:
  27747. "200":
  27748. description: OK
  27749. schema:
  27750. $ref: '#/definitions/models.GZHomeData'
  27751. "500":
  27752. description: Internal Server Error
  27753. schema:
  27754. $ref: '#/definitions/app.Response'
  27755. security:
  27756. - ApiKeyAuth: []
  27757. - LoginID: []
  27758. - Group: []
  27759. summary: 首页统计数据
  27760. tags:
  27761. - 广钻
  27762. /Guangzuan/PriceCalc:
  27763. get:
  27764. parameters:
  27765. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  27766. in: query
  27767. name: zsshape
  27768. required: true
  27769. type: integer
  27770. - description: 颜色(D-M)
  27771. in: query
  27772. name: zscolor
  27773. required: true
  27774. type: string
  27775. - description: 净度
  27776. in: query
  27777. name: zsclarity
  27778. required: true
  27779. type: string
  27780. - description: 重量
  27781. in: query
  27782. name: weight
  27783. required: true
  27784. type: number
  27785. - description: 汇率
  27786. in: query
  27787. name: rate
  27788. required: true
  27789. type: number
  27790. - description: 折扣(%), 方向(加:10, 减:-10 )
  27791. in: query
  27792. name: discount
  27793. type: number
  27794. produces:
  27795. - application/json
  27796. responses:
  27797. "200":
  27798. description: OK
  27799. schema:
  27800. items:
  27801. $ref: '#/definitions/models.Gzrapaportprice'
  27802. type: array
  27803. "500":
  27804. description: Internal Server Error
  27805. schema:
  27806. $ref: '#/definitions/app.Response'
  27807. security:
  27808. - ApiKeyAuth: []
  27809. - LoginID: []
  27810. - Group: []
  27811. summary: 钻石价格计算器
  27812. tags:
  27813. - 广钻
  27814. /Guangzuan/QueryBuyOrder:
  27815. get:
  27816. parameters:
  27817. - description: 页码
  27818. in: query
  27819. name: page
  27820. type: integer
  27821. - description: 每页条数
  27822. in: query
  27823. name: pagesize
  27824. type: integer
  27825. - description: 商品(查询字段-模糊查询)
  27826. in: query
  27827. name: zsallproperties
  27828. type: string
  27829. - description: 钻石分类, 格式:1,2,3
  27830. in: query
  27831. name: zscategorys
  27832. type: string
  27833. - description: 委托单号
  27834. in: query
  27835. name: wrtradeorderid
  27836. type: integer
  27837. - description: 买方(查询字段-模糊查询)
  27838. in: query
  27839. name: buyusername
  27840. type: string
  27841. produces:
  27842. - application/json
  27843. responses:
  27844. "200":
  27845. description: OK
  27846. schema:
  27847. items:
  27848. $ref: '#/definitions/models.BuyOrder'
  27849. type: array
  27850. "500":
  27851. description: Internal Server Error
  27852. schema:
  27853. $ref: '#/definitions/app.Response'
  27854. security:
  27855. - ApiKeyAuth: []
  27856. - LoginID: []
  27857. - Group: []
  27858. summary: 查询求购大厅委托单
  27859. tags:
  27860. - 广钻
  27861. /Guangzuan/QueryDiamond:
  27862. post:
  27863. parameters:
  27864. - description: 钻石搜索入参
  27865. in: body
  27866. name: data
  27867. required: true
  27868. schema:
  27869. $ref: '#/definitions/models.SellOrderQueryReq'
  27870. produces:
  27871. - application/json
  27872. responses:
  27873. "200":
  27874. description: OK
  27875. schema:
  27876. items:
  27877. $ref: '#/definitions/models.SellOrder'
  27878. type: array
  27879. "500":
  27880. description: Internal Server Error
  27881. schema:
  27882. $ref: '#/definitions/app.Response'
  27883. security:
  27884. - ApiKeyAuth: []
  27885. - LoginID: []
  27886. - Group: []
  27887. summary: 钻石搜索
  27888. tags:
  27889. - 广钻
  27890. /Guangzuan/QueryGZBSFWOrder:
  27891. get:
  27892. parameters:
  27893. - description: 用户ID
  27894. in: query
  27895. name: userid
  27896. required: true
  27897. type: integer
  27898. - description: 页码
  27899. in: query
  27900. name: page
  27901. type: integer
  27902. - description: 每页条数
  27903. in: query
  27904. name: pagesize
  27905. type: integer
  27906. produces:
  27907. - application/json
  27908. responses:
  27909. "200":
  27910. description: OK
  27911. schema:
  27912. items:
  27913. $ref: '#/definitions/models.GzbsfworderM'
  27914. type: array
  27915. "500":
  27916. description: Internal Server Error
  27917. schema:
  27918. $ref: '#/definitions/app.Response'
  27919. security:
  27920. - ApiKeyAuth: []
  27921. - LoginID: []
  27922. - Group: []
  27923. summary: 查询保税服务单据
  27924. tags:
  27925. - 广钻
  27926. /Guangzuan/QueryGZBSFWOrderDetail:
  27927. get:
  27928. parameters:
  27929. - description: 用户ID
  27930. in: query
  27931. name: userid
  27932. required: true
  27933. type: integer
  27934. - description: 单据ID
  27935. in: query
  27936. name: orderid
  27937. type: integer
  27938. - description: 页码
  27939. in: query
  27940. name: page
  27941. type: integer
  27942. - description: 每页条数
  27943. in: query
  27944. name: pagesize
  27945. type: integer
  27946. produces:
  27947. - application/json
  27948. responses:
  27949. "200":
  27950. description: OK
  27951. schema:
  27952. items:
  27953. $ref: '#/definitions/models.GzbsfworderdetailM'
  27954. type: array
  27955. "500":
  27956. description: Internal Server Error
  27957. schema:
  27958. $ref: '#/definitions/app.Response'
  27959. security:
  27960. - ApiKeyAuth: []
  27961. - LoginID: []
  27962. - Group: []
  27963. summary: 查询保税服务单据明细
  27964. tags:
  27965. - 广钻
  27966. /Guangzuan/QueryGZCJBSOrderFile:
  27967. get:
  27968. parameters:
  27969. - description: 单据ID
  27970. in: query
  27971. name: orderid
  27972. required: true
  27973. type: integer
  27974. - description: 页码
  27975. in: query
  27976. name: page
  27977. type: integer
  27978. - description: 每页条数
  27979. in: query
  27980. name: pagesize
  27981. type: integer
  27982. produces:
  27983. - application/json
  27984. responses:
  27985. "200":
  27986. description: OK
  27987. schema:
  27988. items:
  27989. $ref: '#/definitions/models.GzcjbsorderfileM'
  27990. type: array
  27991. "500":
  27992. description: Internal Server Error
  27993. schema:
  27994. $ref: '#/definitions/app.Response'
  27995. security:
  27996. - ApiKeyAuth: []
  27997. - LoginID: []
  27998. - Group: []
  27999. summary: 出境保税单据文件
  28000. tags:
  28001. - 广钻
  28002. /Guangzuan/QueryGZCJJCOrder:
  28003. get:
  28004. parameters:
  28005. - description: 用户ID
  28006. in: query
  28007. name: userid
  28008. required: true
  28009. type: integer
  28010. - description: 页码
  28011. in: query
  28012. name: page
  28013. type: integer
  28014. - description: 每页条数
  28015. in: query
  28016. name: pagesize
  28017. type: integer
  28018. produces:
  28019. - application/json
  28020. responses:
  28021. "200":
  28022. description: OK
  28023. schema:
  28024. items:
  28025. $ref: '#/definitions/models.GzcjjcorderM'
  28026. type: array
  28027. "500":
  28028. description: Internal Server Error
  28029. schema:
  28030. $ref: '#/definitions/app.Response'
  28031. security:
  28032. - ApiKeyAuth: []
  28033. - LoginID: []
  28034. - Group: []
  28035. summary: 查询出境检测单据
  28036. tags:
  28037. - 广钻
  28038. /Guangzuan/QueryGZCJJCOrderDetail:
  28039. get:
  28040. parameters:
  28041. - description: 用户ID
  28042. in: query
  28043. name: userid
  28044. required: true
  28045. type: integer
  28046. - description: 单据ID
  28047. in: query
  28048. name: orderid
  28049. type: integer
  28050. - description: 页码
  28051. in: query
  28052. name: page
  28053. type: integer
  28054. - description: 每页条数
  28055. in: query
  28056. name: pagesize
  28057. type: integer
  28058. produces:
  28059. - application/json
  28060. responses:
  28061. "200":
  28062. description: OK
  28063. schema:
  28064. items:
  28065. $ref: '#/definitions/models.GzcjjcorderdetailM'
  28066. type: array
  28067. "500":
  28068. description: Internal Server Error
  28069. schema:
  28070. $ref: '#/definitions/app.Response'
  28071. security:
  28072. - ApiKeyAuth: []
  28073. - LoginID: []
  28074. - Group: []
  28075. summary: 查询出境检测单据明细(批次信息)
  28076. tags:
  28077. - 广钻
  28078. /Guangzuan/QueryMyBargainApply:
  28079. get:
  28080. parameters:
  28081. - description: 用户ID
  28082. in: query
  28083. name: userid
  28084. required: true
  28085. type: integer
  28086. - description: 页码
  28087. in: query
  28088. name: page
  28089. type: integer
  28090. - description: 每页条数
  28091. in: query
  28092. name: pagesize
  28093. type: integer
  28094. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28095. in: query
  28096. name: applystatus
  28097. type: integer
  28098. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28099. in: query
  28100. name: type
  28101. type: integer
  28102. - description: 关联委托单ID
  28103. in: query
  28104. name: wrtradeorderid
  28105. type: string
  28106. produces:
  28107. - application/json
  28108. responses:
  28109. "200":
  28110. description: OK
  28111. schema:
  28112. items:
  28113. $ref: '#/definitions/models.MyBargainApply'
  28114. type: array
  28115. "500":
  28116. description: Internal Server Error
  28117. schema:
  28118. $ref: '#/definitions/app.Response'
  28119. security:
  28120. - ApiKeyAuth: []
  28121. - LoginID: []
  28122. - Group: []
  28123. summary: 查询询价-求购
  28124. tags:
  28125. - 广钻
  28126. /Guangzuan/QueryMyBuyOrder:
  28127. get:
  28128. parameters:
  28129. - description: 用户ID
  28130. in: query
  28131. name: userid
  28132. required: true
  28133. type: integer
  28134. - description: 页码
  28135. in: query
  28136. name: page
  28137. type: integer
  28138. - description: 每页条数
  28139. in: query
  28140. name: pagesize
  28141. type: integer
  28142. - description: 商品(查询字段-模糊查询)
  28143. in: query
  28144. name: zsallproperties
  28145. type: string
  28146. - description: 钻石分类, 格式:1,2,3
  28147. in: query
  28148. name: zscategorys
  28149. type: string
  28150. - description: 委托单号
  28151. in: query
  28152. name: wrtradeorderid
  28153. type: integer
  28154. - description: 是否历史查询
  28155. in: query
  28156. name: ishis
  28157. type: boolean
  28158. - description: 开始交易日(yyyymmdd)
  28159. in: query
  28160. name: begindate
  28161. type: string
  28162. - description: 结束交易日(yyyymmdd)
  28163. in: query
  28164. name: enddate
  28165. type: string
  28166. produces:
  28167. - application/json
  28168. responses:
  28169. "200":
  28170. description: OK
  28171. schema:
  28172. items:
  28173. $ref: '#/definitions/models.MyBuyOrder'
  28174. type: array
  28175. "500":
  28176. description: Internal Server Error
  28177. schema:
  28178. $ref: '#/definitions/app.Response'
  28179. security:
  28180. - ApiKeyAuth: []
  28181. - LoginID: []
  28182. - Group: []
  28183. summary: 查询我的求购
  28184. tags:
  28185. - 广钻
  28186. /Guangzuan/QueryMyDeListing:
  28187. get:
  28188. parameters:
  28189. - description: 用户ID
  28190. in: query
  28191. name: userid
  28192. required: true
  28193. type: integer
  28194. - description: 页码
  28195. in: query
  28196. name: page
  28197. type: integer
  28198. - description: 每页条数
  28199. in: query
  28200. name: pagesize
  28201. type: integer
  28202. - description: 商品(查询字段-模糊查询)
  28203. in: query
  28204. name: zsallproperties
  28205. type: string
  28206. - description: 钻石分类, 格式:1,2,3
  28207. in: query
  28208. name: zscategorys
  28209. type: string
  28210. - description: 成交单号
  28211. in: query
  28212. name: wrtradedetailid
  28213. type: integer
  28214. - description: 方向,0-购买 1-出售
  28215. in: query
  28216. name: buyorsell
  28217. type: integer
  28218. - description: 对手方(模糊匹配)
  28219. in: query
  28220. name: matchusername
  28221. type: string
  28222. - description: 开始交易日(yyyymmdd)
  28223. in: query
  28224. name: begindate
  28225. type: string
  28226. - description: 结束交易日(yyyymmdd)
  28227. in: query
  28228. name: enddate
  28229. type: string
  28230. produces:
  28231. - application/json
  28232. responses:
  28233. "200":
  28234. description: OK
  28235. schema:
  28236. items:
  28237. $ref: '#/definitions/models.MyDeListing'
  28238. type: array
  28239. "500":
  28240. description: Internal Server Error
  28241. schema:
  28242. $ref: '#/definitions/app.Response'
  28243. security:
  28244. - ApiKeyAuth: []
  28245. - LoginID: []
  28246. - Group: []
  28247. summary: 查询我的摘牌
  28248. tags:
  28249. - 广钻
  28250. /Guangzuan/QueryMyDelistingApply:
  28251. get:
  28252. parameters:
  28253. - description: 用户ID
  28254. in: query
  28255. name: userid
  28256. required: true
  28257. type: integer
  28258. - description: 页码
  28259. in: query
  28260. name: page
  28261. type: integer
  28262. - description: 每页条数
  28263. in: query
  28264. name: pagesize
  28265. type: integer
  28266. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  28267. in: query
  28268. name: applystatus
  28269. type: integer
  28270. - description: 查询类型 - 0:我的询价 1:我订单的询价
  28271. in: query
  28272. name: type
  28273. type: integer
  28274. - description: 买委托单ID
  28275. in: query
  28276. name: buywrtradeorderid
  28277. type: string
  28278. produces:
  28279. - application/json
  28280. responses:
  28281. "200":
  28282. description: OK
  28283. schema:
  28284. items:
  28285. $ref: '#/definitions/models.MyDelistingApply'
  28286. type: array
  28287. "500":
  28288. description: Internal Server Error
  28289. schema:
  28290. $ref: '#/definitions/app.Response'
  28291. security:
  28292. - ApiKeyAuth: []
  28293. - LoginID: []
  28294. - Group: []
  28295. summary: 查询询价-出售
  28296. tags:
  28297. - 广钻
  28298. /Guangzuan/QueryMyFavorite:
  28299. get:
  28300. parameters:
  28301. - description: 用户ID
  28302. in: query
  28303. name: userid
  28304. required: true
  28305. type: integer
  28306. - description: 页码
  28307. in: query
  28308. name: page
  28309. type: integer
  28310. - description: 每页条数
  28311. in: query
  28312. name: pagesize
  28313. type: integer
  28314. - description: 钻石分类, 格式:1,2,3
  28315. in: query
  28316. name: zscategorys
  28317. type: string
  28318. produces:
  28319. - application/json
  28320. responses:
  28321. "200":
  28322. description: OK
  28323. schema:
  28324. items:
  28325. $ref: '#/definitions/models.MyFavorite'
  28326. type: array
  28327. "500":
  28328. description: Internal Server Error
  28329. schema:
  28330. $ref: '#/definitions/app.Response'
  28331. security:
  28332. - ApiKeyAuth: []
  28333. - LoginID: []
  28334. - Group: []
  28335. summary: 查询我的收藏
  28336. tags:
  28337. - 广钻
  28338. /Guangzuan/QueryMyPerformanc:
  28339. get:
  28340. parameters:
  28341. - description: 用户ID
  28342. in: query
  28343. name: userid
  28344. required: true
  28345. type: integer
  28346. - description: 页码
  28347. in: query
  28348. name: page
  28349. type: integer
  28350. - description: 每页条数
  28351. in: query
  28352. name: pagesize
  28353. type: integer
  28354. - description: 商品(查询字段-模糊查询)
  28355. in: query
  28356. name: zsallproperties
  28357. type: string
  28358. - description: 方向,0-买 1-卖
  28359. in: query
  28360. name: buyorsell
  28361. type: integer
  28362. - description: 是否历史查询
  28363. in: query
  28364. name: ishis
  28365. type: boolean
  28366. - description: 开始交易日(yyyymmdd)
  28367. in: query
  28368. name: begindate
  28369. type: string
  28370. - description: 结束交易日(yyyymmdd)
  28371. in: query
  28372. name: enddate
  28373. type: string
  28374. produces:
  28375. - application/json
  28376. responses:
  28377. "200":
  28378. description: OK
  28379. schema:
  28380. items:
  28381. $ref: '#/definitions/models.MyPerformanc'
  28382. type: array
  28383. "500":
  28384. description: Internal Server Error
  28385. schema:
  28386. $ref: '#/definitions/app.Response'
  28387. security:
  28388. - ApiKeyAuth: []
  28389. - LoginID: []
  28390. - Group: []
  28391. summary: 查询我的履约
  28392. tags:
  28393. - 广钻
  28394. /Guangzuan/QueryMySellOrder:
  28395. get:
  28396. parameters:
  28397. - description: 用户ID
  28398. in: query
  28399. name: userid
  28400. required: true
  28401. type: integer
  28402. - description: 页码
  28403. in: query
  28404. name: page
  28405. type: integer
  28406. - description: 每页条数
  28407. in: query
  28408. name: pagesize
  28409. type: integer
  28410. - description: 商品(查询字段-模糊查询)
  28411. in: query
  28412. name: zsallproperties
  28413. type: string
  28414. - description: 钻石分类, 格式:1,2,3
  28415. in: query
  28416. name: zscategorys
  28417. type: string
  28418. - description: 委托单号
  28419. in: query
  28420. name: wrtradeorderid
  28421. type: integer
  28422. - description: 是否历史查询
  28423. in: query
  28424. name: ishis
  28425. type: boolean
  28426. - description: 开始交易日(yyyymmdd)
  28427. in: query
  28428. name: begindate
  28429. type: string
  28430. - description: 结束交易日(yyyymmdd)
  28431. in: query
  28432. name: enddate
  28433. type: string
  28434. produces:
  28435. - application/json
  28436. responses:
  28437. "200":
  28438. description: OK
  28439. schema:
  28440. items:
  28441. $ref: '#/definitions/models.MySellOrder'
  28442. type: array
  28443. "500":
  28444. description: Internal Server Error
  28445. schema:
  28446. $ref: '#/definitions/app.Response'
  28447. security:
  28448. - ApiKeyAuth: []
  28449. - LoginID: []
  28450. - Group: []
  28451. summary: 查询我的出售
  28452. tags:
  28453. - 广钻
  28454. /Guangzuan/QueryMyWRPosition:
  28455. get:
  28456. parameters:
  28457. - description: 页码
  28458. in: query
  28459. name: page
  28460. type: integer
  28461. - description: 每页条数
  28462. in: query
  28463. name: pagesize
  28464. type: integer
  28465. - description: 登录用户ID
  28466. in: query
  28467. name: wruserid
  28468. required: true
  28469. type: integer
  28470. - description: 商品(查询字段-模糊查询)
  28471. in: query
  28472. name: zsallproperties
  28473. type: string
  28474. - description: 钻石分类, 格式:1,2,3
  28475. in: query
  28476. name: zscategorys
  28477. type: string
  28478. - description: 仓库ID
  28479. in: query
  28480. name: warehouseid
  28481. type: integer
  28482. - description: 是否上架,0-全部 1-是 2-否
  28483. in: query
  28484. name: marketflag
  28485. type: integer
  28486. produces:
  28487. - application/json
  28488. responses:
  28489. "200":
  28490. description: OK
  28491. schema:
  28492. items:
  28493. $ref: '#/definitions/models.MyWRPosition'
  28494. type: array
  28495. "500":
  28496. description: Internal Server Error
  28497. schema:
  28498. $ref: '#/definitions/app.Response'
  28499. security:
  28500. - ApiKeyAuth: []
  28501. - LoginID: []
  28502. - Group: []
  28503. summary: 查询我的库存
  28504. tags:
  28505. - 广钻
  28506. /Guangzuan/QuerySellOrder:
  28507. get:
  28508. parameters:
  28509. - description: 页码
  28510. in: query
  28511. name: page
  28512. type: integer
  28513. - description: 每页条数
  28514. in: query
  28515. name: pagesize
  28516. type: integer
  28517. - description: 商品(查询字段-模糊查询)
  28518. in: query
  28519. name: zsallproperties
  28520. type: string
  28521. - description: 钻石分类, 格式:1,2,3
  28522. in: query
  28523. name: zscategorys
  28524. type: string
  28525. - description: 委托单号
  28526. in: query
  28527. name: wrtradeorderid
  28528. type: integer
  28529. - description: 卖方(查询字段-模糊查询)
  28530. in: query
  28531. name: buyusername
  28532. type: string
  28533. produces:
  28534. - application/json
  28535. responses:
  28536. "200":
  28537. description: OK
  28538. schema:
  28539. items:
  28540. $ref: '#/definitions/models.SellOrder'
  28541. type: array
  28542. "500":
  28543. description: Internal Server Error
  28544. schema:
  28545. $ref: '#/definitions/app.Response'
  28546. security:
  28547. - ApiKeyAuth: []
  28548. - LoginID: []
  28549. - Group: []
  28550. summary: 查询出售大厅委托单
  28551. tags:
  28552. - 广钻
  28553. /Guangzuan/QueryWarehouseInfo:
  28554. get:
  28555. parameters:
  28556. - description: 页码
  28557. in: query
  28558. name: page
  28559. type: integer
  28560. - description: 每页条数
  28561. in: query
  28562. name: pagesize
  28563. type: integer
  28564. - description: 用户ID
  28565. in: query
  28566. name: userid
  28567. required: true
  28568. type: integer
  28569. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28570. in: query
  28571. name: status
  28572. type: string
  28573. - description: 是返回交易所仓库
  28574. in: query
  28575. name: isincludeexchange
  28576. type: boolean
  28577. produces:
  28578. - application/json
  28579. responses:
  28580. "200":
  28581. description: OK
  28582. schema:
  28583. items:
  28584. $ref: '#/definitions/models.GZWarehouseinfo'
  28585. type: array
  28586. "500":
  28587. description: Internal Server Error
  28588. schema:
  28589. $ref: '#/definitions/app.Response'
  28590. security:
  28591. - ApiKeyAuth: []
  28592. - LoginID: []
  28593. - Group: []
  28594. summary: 查询仓库信息
  28595. tags:
  28596. - 广钻
  28597. /Market/GetAllExExchanges:
  28598. get:
  28599. produces:
  28600. - application/json
  28601. responses:
  28602. "200":
  28603. description: OK
  28604. schema:
  28605. $ref: '#/definitions/models.Goods'
  28606. "500":
  28607. description: Internal Server Error
  28608. schema:
  28609. $ref: '#/definitions/app.Response'
  28610. security:
  28611. - ApiKeyAuth: []
  28612. summary: 获取所有外部交易所信息
  28613. tags:
  28614. - 通用市场
  28615. /Market/QueryGoodsesByLoginID:
  28616. get:
  28617. parameters:
  28618. - description: 登录账号
  28619. in: query
  28620. name: loginID
  28621. required: true
  28622. type: integer
  28623. - description: 市场ID列表,格式:1,2,3
  28624. in: query
  28625. name: marketIDs
  28626. type: string
  28627. produces:
  28628. - application/json
  28629. responses:
  28630. "200":
  28631. description: OK
  28632. schema:
  28633. $ref: '#/definitions/models.Goods'
  28634. "500":
  28635. description: Internal Server Error
  28636. schema:
  28637. $ref: '#/definitions/app.Response'
  28638. security:
  28639. - ApiKeyAuth: []
  28640. summary: 获取登录账号有权限的商品信息
  28641. tags:
  28642. - 通用市场
  28643. /Market/QueryMarketRun:
  28644. get:
  28645. parameters:
  28646. - description: 市场ID,不传返回所有
  28647. in: query
  28648. name: marketID
  28649. type: integer
  28650. produces:
  28651. - application/json
  28652. responses:
  28653. "200":
  28654. description: OK
  28655. schema:
  28656. $ref: '#/definitions/models.Marketrun'
  28657. "500":
  28658. description: Internal Server Error
  28659. schema:
  28660. $ref: '#/definitions/app.Response'
  28661. security:
  28662. - ApiKeyAuth: []
  28663. summary: 查询市场运行信息
  28664. tags:
  28665. - 通用市场
  28666. /Market/QueryMarketsByLoginID:
  28667. get:
  28668. parameters:
  28669. - description: 登录账号
  28670. in: query
  28671. name: loginID
  28672. required: true
  28673. type: integer
  28674. produces:
  28675. - application/json
  28676. responses:
  28677. "200":
  28678. description: OK
  28679. schema:
  28680. $ref: '#/definitions/models.Market'
  28681. "500":
  28682. description: Internal Server Error
  28683. schema:
  28684. $ref: '#/definitions/app.Response'
  28685. security:
  28686. - ApiKeyAuth: []
  28687. summary: 获取登录账号有权限的市场信息
  28688. tags:
  28689. - 通用市场
  28690. /Order/QueryHisTradeDetail:
  28691. get:
  28692. parameters:
  28693. - description: 资金账户 - 格式:1,2,3
  28694. in: query
  28695. name: accountID
  28696. required: true
  28697. type: string
  28698. - description: 成交单号
  28699. in: query
  28700. name: tradeID
  28701. type: integer
  28702. - description: 委托单号
  28703. in: query
  28704. name: orderID
  28705. type: integer
  28706. - description: 商品ID
  28707. in: query
  28708. name: goodsID
  28709. type: integer
  28710. - description: 交易模式 - 格式:1,2,3
  28711. in: query
  28712. name: tradeMode
  28713. type: string
  28714. - description: 委托单据类型
  28715. in: query
  28716. name: buildType
  28717. type: integer
  28718. - description: 成交类别 - 格式:1,2,3
  28719. in: query
  28720. name: tradeType
  28721. type: string
  28722. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28723. in: query
  28724. name: startDate
  28725. type: string
  28726. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28727. in: query
  28728. name: endDate
  28729. type: string
  28730. produces:
  28731. - application/json
  28732. responses:
  28733. "200":
  28734. description: OK
  28735. schema:
  28736. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  28737. "500":
  28738. description: Internal Server Error
  28739. schema:
  28740. $ref: '#/definitions/app.Response'
  28741. security:
  28742. - ApiKeyAuth: []
  28743. summary: 历史成交单查询(合约市场)
  28744. tags:
  28745. - 通用单据
  28746. /Order/QueryHisTradeOrderDetail:
  28747. get:
  28748. parameters:
  28749. - description: 资金账户 - 格式:1,2,3
  28750. in: query
  28751. name: accountID
  28752. required: true
  28753. type: string
  28754. - description: 交易模式 - 格式:1,2,3
  28755. in: query
  28756. name: tradeMode
  28757. type: string
  28758. - description: 委托状态 - 格式:1,2,3
  28759. in: query
  28760. name: orderStatus
  28761. type: string
  28762. - description: 委托单号
  28763. in: query
  28764. name: orderID
  28765. type: integer
  28766. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  28767. in: query
  28768. name: startDate
  28769. type: string
  28770. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  28771. in: query
  28772. name: endDate
  28773. type: string
  28774. produces:
  28775. - application/json
  28776. responses:
  28777. "200":
  28778. description: OK
  28779. schema:
  28780. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  28781. "500":
  28782. description: Internal Server Error
  28783. schema:
  28784. $ref: '#/definitions/app.Response'
  28785. security:
  28786. - ApiKeyAuth: []
  28787. summary: 历史委托单查询请求(合约市场)
  28788. tags:
  28789. - 通用单据
  28790. /Order/QueryTradeDetail:
  28791. get:
  28792. parameters:
  28793. - description: 资金账户 - 格式:1,2,3
  28794. in: query
  28795. name: accountID
  28796. required: true
  28797. type: string
  28798. - description: 成交单号
  28799. in: query
  28800. name: tradeID
  28801. type: integer
  28802. - description: 委托单号
  28803. in: query
  28804. name: orderID
  28805. type: integer
  28806. - description: 交易模式 - 格式:1,2,3
  28807. in: query
  28808. name: tradeMode
  28809. type: string
  28810. - description: 委托单据类型
  28811. in: query
  28812. name: buildType
  28813. type: integer
  28814. - description: 成交类别 - 格式:1,2,3
  28815. in: query
  28816. name: tradeType
  28817. type: string
  28818. - description: 商品ID
  28819. in: query
  28820. name: goodsID
  28821. type: integer
  28822. produces:
  28823. - application/json
  28824. responses:
  28825. "200":
  28826. description: OK
  28827. schema:
  28828. $ref: '#/definitions/order.QueryTradeDetailRsp'
  28829. "500":
  28830. description: Internal Server Error
  28831. schema:
  28832. $ref: '#/definitions/app.Response'
  28833. security:
  28834. - ApiKeyAuth: []
  28835. summary: 成交单查询(合约市场)
  28836. tags:
  28837. - 通用单据
  28838. /Order/QueryTradeHolderDetail:
  28839. get:
  28840. parameters:
  28841. - description: 用户id
  28842. in: query
  28843. name: userid
  28844. type: integer
  28845. - description: 资金账号, 格式 1,2,3
  28846. in: query
  28847. name: accids
  28848. type: string
  28849. - description: 交易模式, 格式 1,2,3
  28850. in: query
  28851. name: trademodes
  28852. type: string
  28853. - description: 市场id, 格式 1,2,3
  28854. in: query
  28855. name: marketids
  28856. type: string
  28857. - description: 商品id
  28858. in: query
  28859. name: goodsid
  28860. type: integer
  28861. - description: 买卖方向 0-买 1-卖
  28862. in: query
  28863. name: buyorsell
  28864. type: integer
  28865. produces:
  28866. - application/json
  28867. responses:
  28868. "200":
  28869. description: OK
  28870. schema:
  28871. items:
  28872. $ref: '#/definitions/models.TradeHolderDetail'
  28873. type: array
  28874. "500":
  28875. description: Internal Server Error
  28876. schema:
  28877. $ref: '#/definitions/app.Response'
  28878. security:
  28879. - ApiKeyAuth: []
  28880. summary: 查询持仓明细
  28881. tags:
  28882. - 通用单据
  28883. /Order/QueryTradeOrderDetail:
  28884. get:
  28885. parameters:
  28886. - description: 资金账户 - 格式:1,2,3
  28887. in: query
  28888. name: accountID
  28889. required: true
  28890. type: string
  28891. - description: 交易模式 - 格式:1,2,3
  28892. in: query
  28893. name: tradeMode
  28894. type: string
  28895. - description: 委托状态 - 格式:1,2,3
  28896. in: query
  28897. name: orderStatus
  28898. type: string
  28899. - description: 委托单号
  28900. in: query
  28901. name: orderID
  28902. type: integer
  28903. produces:
  28904. - application/json
  28905. responses:
  28906. "200":
  28907. description: OK
  28908. schema:
  28909. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  28910. "500":
  28911. description: Internal Server Error
  28912. schema:
  28913. $ref: '#/definitions/app.Response'
  28914. security:
  28915. - ApiKeyAuth: []
  28916. summary: 委托单查询请求(合约市场)
  28917. tags:
  28918. - 通用单据
  28919. /Order/QueryTradePosition:
  28920. get:
  28921. parameters:
  28922. - description: 资金账户 - 格式:1,2,3
  28923. in: query
  28924. name: accountID
  28925. required: true
  28926. type: string
  28927. - description: 交易模式 - 格式:1,2,3
  28928. in: query
  28929. name: tradeMode
  28930. type: string
  28931. produces:
  28932. - application/json
  28933. responses:
  28934. "200":
  28935. description: OK
  28936. schema:
  28937. $ref: '#/definitions/order.QueryTradePositionRsp'
  28938. "500":
  28939. description: Internal Server Error
  28940. schema:
  28941. $ref: '#/definitions/app.Response'
  28942. security:
  28943. - ApiKeyAuth: []
  28944. summary: 持仓汇总查询(合约市场)
  28945. tags:
  28946. - 通用单据
  28947. /Qhj/QueryAccountInOutApply:
  28948. get:
  28949. parameters:
  28950. - description: 用户ID
  28951. in: query
  28952. name: userid
  28953. required: true
  28954. type: integer
  28955. - description: 申请起始日期(格式yyyymmdd)
  28956. in: query
  28957. name: begindate
  28958. type: string
  28959. - description: 申请截止日期(格式yyyymmdd)
  28960. in: query
  28961. name: enddate
  28962. type: string
  28963. - description: 模糊搜索名称
  28964. in: query
  28965. name: likename
  28966. type: string
  28967. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  28968. in: query
  28969. name: applystatus
  28970. type: integer
  28971. - description: 查询类型 1-提现(出金) 2-充值(入金)
  28972. in: query
  28973. name: querytype
  28974. type: integer
  28975. produces:
  28976. - application/json
  28977. responses:
  28978. "200":
  28979. description: OK
  28980. schema:
  28981. items:
  28982. $ref: '#/definitions/models.QhjAccountOutInApply'
  28983. type: array
  28984. "500":
  28985. description: Internal Server Error
  28986. schema:
  28987. $ref: '#/definitions/app.Response'
  28988. security:
  28989. - ApiKeyAuth: []
  28990. summary: 查询充值提现
  28991. tags:
  28992. - 大连千海金
  28993. /Qhj/QueryAreaFinanceConfig:
  28994. get:
  28995. parameters:
  28996. - description: 机构用户ID 其他做市关系,都设置为 1
  28997. in: query
  28998. name: userid
  28999. type: integer
  29000. produces:
  29001. - application/json
  29002. responses:
  29003. "200":
  29004. description: OK
  29005. schema:
  29006. items:
  29007. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  29008. type: array
  29009. "500":
  29010. description: Internal Server Error
  29011. schema:
  29012. $ref: '#/definitions/app.Response'
  29013. security:
  29014. - ApiKeyAuth: []
  29015. summary: 查询企业配置表
  29016. tags:
  29017. - 大连千海金
  29018. /Qhj/QueryBankAccountSign:
  29019. get:
  29020. parameters:
  29021. - description: 用户ID
  29022. in: query
  29023. name: userid
  29024. required: true
  29025. type: integer
  29026. produces:
  29027. - application/json
  29028. responses:
  29029. "200":
  29030. description: OK
  29031. schema:
  29032. items:
  29033. $ref: '#/definitions/models.QhjBankAccountSign'
  29034. type: array
  29035. "500":
  29036. description: Internal Server Error
  29037. schema:
  29038. $ref: '#/definitions/app.Response'
  29039. security:
  29040. - ApiKeyAuth: []
  29041. summary: 查询签约银行信息(提现账户管理)
  29042. tags:
  29043. - 大连千海金
  29044. /Qhj/QueryBankInfo:
  29045. get:
  29046. produces:
  29047. - application/json
  29048. responses:
  29049. "200":
  29050. description: OK
  29051. schema:
  29052. items:
  29053. $ref: '#/definitions/models.QhjBankInfo'
  29054. type: array
  29055. "500":
  29056. description: Internal Server Error
  29057. schema:
  29058. $ref: '#/definitions/app.Response'
  29059. security:
  29060. - ApiKeyAuth: []
  29061. summary: 查询开户行
  29062. tags:
  29063. - 大连千海金
  29064. /Qhj/QueryBrokerApply:
  29065. get:
  29066. parameters:
  29067. - description: 所属机构ID
  29068. in: query
  29069. name: userid
  29070. type: integer
  29071. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29072. in: query
  29073. name: filterstatus
  29074. type: string
  29075. produces:
  29076. - application/json
  29077. responses:
  29078. "200":
  29079. description: OK
  29080. schema:
  29081. items:
  29082. $ref: '#/definitions/models.QhjBrokerApply'
  29083. type: array
  29084. "500":
  29085. description: Internal Server Error
  29086. schema:
  29087. $ref: '#/definitions/app.Response'
  29088. security:
  29089. - ApiKeyAuth: []
  29090. summary: 查询经纪人申请
  29091. tags:
  29092. - 大连千海金
  29093. /Qhj/QueryBrokerApplyEx:
  29094. get:
  29095. parameters:
  29096. - description: 所属机构ID
  29097. in: query
  29098. name: userid
  29099. type: integer
  29100. produces:
  29101. - application/json
  29102. responses:
  29103. "200":
  29104. description: OK
  29105. schema:
  29106. items:
  29107. $ref: '#/definitions/models.QhjBrokerApplyEx'
  29108. type: array
  29109. "500":
  29110. description: Internal Server Error
  29111. schema:
  29112. $ref: '#/definitions/app.Response'
  29113. security:
  29114. - ApiKeyAuth: []
  29115. summary: 查询经纪人信息和申请记录
  29116. tags:
  29117. - 大连千海金
  29118. /Qhj/QueryBrokerRewardLog:
  29119. get:
  29120. parameters:
  29121. - description: 用户ID
  29122. in: query
  29123. name: userid
  29124. required: true
  29125. type: integer
  29126. - description: 开始交易日(yyyymmdd)
  29127. in: query
  29128. name: begindate
  29129. type: string
  29130. - description: 结束交易日(yyyymmdd)
  29131. in: query
  29132. name: enddate
  29133. type: string
  29134. produces:
  29135. - application/json
  29136. responses:
  29137. "200":
  29138. description: OK
  29139. schema:
  29140. items:
  29141. $ref: '#/definitions/models.QhjBrokerRewardLog'
  29142. type: array
  29143. "500":
  29144. description: Internal Server Error
  29145. schema:
  29146. $ref: '#/definitions/app.Response'
  29147. security:
  29148. - ApiKeyAuth: []
  29149. summary: 查询奖励流水(我的奖励)
  29150. tags:
  29151. - 大连千海金
  29152. /Qhj/QueryContract:
  29153. get:
  29154. parameters:
  29155. - description: 用户ID
  29156. in: query
  29157. name: userid
  29158. type: integer
  29159. - description: scf合同id
  29160. in: query
  29161. name: scfcontractid
  29162. type: integer
  29163. produces:
  29164. - application/json
  29165. responses:
  29166. "200":
  29167. description: OK
  29168. schema:
  29169. items:
  29170. $ref: '#/definitions/models.QhjContract'
  29171. type: array
  29172. "500":
  29173. description: Internal Server Error
  29174. schema:
  29175. $ref: '#/definitions/app.Response'
  29176. security:
  29177. - ApiKeyAuth: []
  29178. summary: 查询融资明细(合同)
  29179. tags:
  29180. - 大连千海金
  29181. /Qhj/QueryContractLog:
  29182. get:
  29183. parameters:
  29184. - description: scf合同id
  29185. in: query
  29186. name: scfcontractid
  29187. required: true
  29188. type: integer
  29189. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  29190. in: query
  29191. name: amounttype
  29192. type: string
  29193. produces:
  29194. - application/json
  29195. responses:
  29196. "200":
  29197. description: OK
  29198. schema:
  29199. items:
  29200. $ref: '#/definitions/models.QhjContractLog'
  29201. type: array
  29202. "500":
  29203. description: Internal Server Error
  29204. schema:
  29205. $ref: '#/definitions/app.Response'
  29206. security:
  29207. - ApiKeyAuth: []
  29208. summary: 查询融资明细流水(融资明细详情页中的流水)
  29209. tags:
  29210. - 大连千海金
  29211. /Qhj/QueryCusBankSignBank:
  29212. get:
  29213. produces:
  29214. - application/json
  29215. responses:
  29216. "200":
  29217. description: OK
  29218. schema:
  29219. items:
  29220. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  29221. type: array
  29222. "500":
  29223. description: Internal Server Error
  29224. schema:
  29225. $ref: '#/definitions/app.Response'
  29226. security:
  29227. - ApiKeyAuth: []
  29228. summary: 查询托管银行
  29229. tags:
  29230. - 大连千海金
  29231. /Qhj/QueryCustomerInfo:
  29232. get:
  29233. parameters:
  29234. - description: 用户ID
  29235. in: query
  29236. name: userid
  29237. required: true
  29238. type: integer
  29239. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29240. in: query
  29241. name: querytype
  29242. required: true
  29243. type: integer
  29244. - description: 客户类型 1-个人 2-企业
  29245. in: query
  29246. name: userinfotype
  29247. type: integer
  29248. - description: 客户名称(模糊匹配)
  29249. in: query
  29250. name: customername
  29251. type: string
  29252. - description: 昵称(模糊匹配)
  29253. in: query
  29254. name: nickname
  29255. type: string
  29256. - description: 是否包含子级 1-包含
  29257. in: query
  29258. name: includesub
  29259. type: integer
  29260. produces:
  29261. - application/json
  29262. responses:
  29263. "200":
  29264. description: OK
  29265. schema:
  29266. items:
  29267. $ref: '#/definitions/models.QhjCustomer'
  29268. type: array
  29269. "500":
  29270. description: Internal Server Error
  29271. schema:
  29272. $ref: '#/definitions/app.Response'
  29273. security:
  29274. - ApiKeyAuth: []
  29275. summary: 查询客户资料
  29276. tags:
  29277. - 大连千海金
  29278. /Qhj/QueryGoodsEx:
  29279. get:
  29280. parameters:
  29281. - description: 商品id
  29282. in: query
  29283. name: goodsid
  29284. type: integer
  29285. produces:
  29286. - application/json
  29287. responses:
  29288. "200":
  29289. description: OK
  29290. schema:
  29291. items:
  29292. $ref: '#/definitions/models.Qhjgoodsex'
  29293. type: array
  29294. "500":
  29295. description: Internal Server Error
  29296. schema:
  29297. $ref: '#/definitions/app.Response'
  29298. security:
  29299. - ApiKeyAuth: []
  29300. summary: 交易商品扩展表
  29301. tags:
  29302. - 大连千海金
  29303. /Qhj/QueryMyTeam:
  29304. get:
  29305. parameters:
  29306. - description: 用户ID
  29307. in: query
  29308. name: userid
  29309. required: true
  29310. type: integer
  29311. produces:
  29312. - application/json
  29313. responses:
  29314. "200":
  29315. description: OK
  29316. schema:
  29317. items:
  29318. $ref: '#/definitions/models.QhjMyTeamEx'
  29319. type: array
  29320. "500":
  29321. description: Internal Server Error
  29322. schema:
  29323. $ref: '#/definitions/app.Response'
  29324. security:
  29325. - ApiKeyAuth: []
  29326. summary: 查询我的团队
  29327. tags:
  29328. - 大连千海金
  29329. /Qhj/QueryMyTeamOrder:
  29330. get:
  29331. parameters:
  29332. - description: 页码
  29333. in: query
  29334. name: page
  29335. type: integer
  29336. - description: 每页条数
  29337. in: query
  29338. name: pagesize
  29339. type: integer
  29340. - description: 用户ID
  29341. in: query
  29342. name: userid
  29343. required: true
  29344. type: integer
  29345. - description: 交易模式
  29346. in: query
  29347. name: trademode
  29348. type: integer
  29349. - description: 名称(模糊搜索账户)
  29350. in: query
  29351. name: filtername
  29352. type: string
  29353. produces:
  29354. - application/json
  29355. responses:
  29356. "200":
  29357. description: OK
  29358. schema:
  29359. items:
  29360. $ref: '#/definitions/models.QhjTeamOrder'
  29361. type: array
  29362. "500":
  29363. description: Internal Server Error
  29364. schema:
  29365. $ref: '#/definitions/app.Response'
  29366. security:
  29367. - ApiKeyAuth: []
  29368. summary: 查询团队订单(我的团队/团队订单)
  29369. tags:
  29370. - 大连千海金
  29371. /Qhj/QueryParentAreaList:
  29372. get:
  29373. parameters:
  29374. - description: 用户ID
  29375. in: query
  29376. name: userid
  29377. required: true
  29378. type: integer
  29379. produces:
  29380. - application/json
  29381. responses:
  29382. "200":
  29383. description: OK
  29384. schema:
  29385. items:
  29386. $ref: '#/definitions/models.QhjParentAreaList'
  29387. type: array
  29388. "500":
  29389. description: Internal Server Error
  29390. schema:
  29391. $ref: '#/definitions/app.Response'
  29392. security:
  29393. - ApiKeyAuth: []
  29394. summary: 查询所属机构列表
  29395. tags:
  29396. - 大连千海金
  29397. /Qhj/QueryPayOrder:
  29398. get:
  29399. parameters:
  29400. - description: 资金账号id
  29401. in: query
  29402. name: accountid
  29403. required: true
  29404. type: integer
  29405. - description: 成交单号
  29406. in: query
  29407. name: tradeid
  29408. type: integer
  29409. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  29410. in: query
  29411. name: payflag
  29412. type: string
  29413. produces:
  29414. - application/json
  29415. responses:
  29416. "200":
  29417. description: OK
  29418. schema:
  29419. items:
  29420. $ref: '#/definitions/models.QhjPayOrder'
  29421. type: array
  29422. "500":
  29423. description: Internal Server Error
  29424. schema:
  29425. $ref: '#/definitions/app.Response'
  29426. security:
  29427. - ApiKeyAuth: []
  29428. summary: 查询待付款单据
  29429. tags:
  29430. - 大连千海金
  29431. /Qhj/QueryPickArea:
  29432. get:
  29433. parameters:
  29434. - description: 用户ID
  29435. in: query
  29436. name: userid
  29437. type: integer
  29438. produces:
  29439. - application/json
  29440. responses:
  29441. "200":
  29442. description: OK
  29443. schema:
  29444. items:
  29445. $ref: '#/definitions/models.QhjPickArea'
  29446. type: array
  29447. "500":
  29448. description: Internal Server Error
  29449. schema:
  29450. $ref: '#/definitions/app.Response'
  29451. security:
  29452. - ApiKeyAuth: []
  29453. summary: 查询提货门店
  29454. tags:
  29455. - 大连千海金
  29456. /Qhj/QueryPickGoods:
  29457. get:
  29458. parameters:
  29459. - description: 交易商品id
  29460. in: query
  29461. name: goodsid
  29462. required: true
  29463. type: integer
  29464. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29465. in: query
  29466. name: status
  29467. type: string
  29468. produces:
  29469. - application/json
  29470. responses:
  29471. "200":
  29472. description: OK
  29473. schema:
  29474. items:
  29475. $ref: '#/definitions/models.QhjPickGoods'
  29476. type: array
  29477. "500":
  29478. description: Internal Server Error
  29479. schema:
  29480. $ref: '#/definitions/app.Response'
  29481. security:
  29482. - ApiKeyAuth: []
  29483. summary: 查询提货商品
  29484. tags:
  29485. - 大连千海金
  29486. /Qhj/QueryRSTriggerLog:
  29487. get:
  29488. parameters:
  29489. - description: 用户ID
  29490. in: query
  29491. name: userid
  29492. type: integer
  29493. - description: 定投策略id
  29494. in: query
  29495. name: regularlystrategyid
  29496. type: integer
  29497. - description: 商品id
  29498. in: query
  29499. name: goodsid
  29500. type: integer
  29501. - description: 开始交易日(yyyymmdd)
  29502. in: query
  29503. name: begindate
  29504. type: string
  29505. - description: 结束交易日(yyyymmdd)
  29506. in: query
  29507. name: enddate
  29508. type: string
  29509. - description: 名称(模糊搜索账户)
  29510. in: query
  29511. name: filtername
  29512. type: string
  29513. produces:
  29514. - application/json
  29515. responses:
  29516. "200":
  29517. description: OK
  29518. schema:
  29519. items:
  29520. $ref: '#/definitions/models.QhjRSTriggerLog'
  29521. type: array
  29522. "500":
  29523. description: Internal Server Error
  29524. schema:
  29525. $ref: '#/definitions/app.Response'
  29526. security:
  29527. - ApiKeyAuth: []
  29528. summary: 查询定投记录(定投管理/详情/定投记录)
  29529. tags:
  29530. - 大连千海金
  29531. /Qhj/QueryRStrategy:
  29532. get:
  29533. parameters:
  29534. - description: 用户ID
  29535. in: query
  29536. name: userid
  29537. type: integer
  29538. - description: 商品id
  29539. in: query
  29540. name: goodsid
  29541. type: integer
  29542. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  29543. in: query
  29544. name: status
  29545. type: string
  29546. - description: 名称(模糊搜索账户)
  29547. in: query
  29548. name: filtername
  29549. type: string
  29550. produces:
  29551. - application/json
  29552. responses:
  29553. "200":
  29554. description: OK
  29555. schema:
  29556. items:
  29557. $ref: '#/definitions/models.QhjRStrategy'
  29558. type: array
  29559. "500":
  29560. description: Internal Server Error
  29561. schema:
  29562. $ref: '#/definitions/app.Response'
  29563. security:
  29564. - ApiKeyAuth: []
  29565. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  29566. tags:
  29567. - 大连千海金
  29568. /Qhj/QueryReckonPriceLog:
  29569. get:
  29570. parameters:
  29571. - description: 商品ID
  29572. in: query
  29573. name: goodsid
  29574. type: integer
  29575. - description: 交易日 格式(yyyymmdd)
  29576. in: query
  29577. name: tradedate
  29578. type: string
  29579. produces:
  29580. - application/json
  29581. responses:
  29582. "200":
  29583. description: OK
  29584. schema:
  29585. items:
  29586. $ref: '#/definitions/models.QhjReckonPriceLog'
  29587. type: array
  29588. "500":
  29589. description: Internal Server Error
  29590. schema:
  29591. $ref: '#/definitions/app.Response'
  29592. security:
  29593. - ApiKeyAuth: []
  29594. summary: 查询定投价(结算价)
  29595. tags:
  29596. - 大连千海金
  29597. /Qhj/QueryScoreLog:
  29598. get:
  29599. parameters:
  29600. - description: 用户ID
  29601. in: query
  29602. name: userid
  29603. required: true
  29604. type: integer
  29605. - description: 开始交易日(yyyymmdd)
  29606. in: query
  29607. name: begindate
  29608. type: string
  29609. - description: 结束交易日(yyyymmdd)
  29610. in: query
  29611. name: enddate
  29612. type: string
  29613. - description: 最近多少条
  29614. in: query
  29615. name: lastnum
  29616. type: integer
  29617. produces:
  29618. - application/json
  29619. responses:
  29620. "200":
  29621. description: OK
  29622. schema:
  29623. items:
  29624. $ref: '#/definitions/models.QhjScoreLog'
  29625. type: array
  29626. "500":
  29627. description: Internal Server Error
  29628. schema:
  29629. $ref: '#/definitions/app.Response'
  29630. security:
  29631. - ApiKeyAuth: []
  29632. summary: 查询积分流水(我的积分)
  29633. tags:
  29634. - 大连千海金
  29635. /Qhj/QuerySiteColumnDetail:
  29636. get:
  29637. parameters:
  29638. - description: 用户ID
  29639. in: query
  29640. name: userid
  29641. required: true
  29642. type: integer
  29643. produces:
  29644. - application/json
  29645. responses:
  29646. "200":
  29647. description: OK
  29648. schema:
  29649. items:
  29650. $ref: '#/definitions/models.QhjSiteColumnDetail'
  29651. type: array
  29652. "500":
  29653. description: Internal Server Error
  29654. schema:
  29655. $ref: '#/definitions/app.Response'
  29656. security:
  29657. - ApiKeyAuth: []
  29658. summary: 查询资讯
  29659. tags:
  29660. - 大连千海金
  29661. /Qhj/QueryTradeGoodsPickup:
  29662. get:
  29663. parameters:
  29664. - description: 用户ID
  29665. in: query
  29666. name: userid
  29667. required: true
  29668. type: integer
  29669. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  29670. 7:已拒绝 8:已撤销
  29671. in: query
  29672. name: takeorderstatus
  29673. type: integer
  29674. produces:
  29675. - application/json
  29676. responses:
  29677. "200":
  29678. description: OK
  29679. schema:
  29680. items:
  29681. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  29682. type: array
  29683. "500":
  29684. description: Internal Server Error
  29685. schema:
  29686. $ref: '#/definitions/app.Response'
  29687. security:
  29688. - ApiKeyAuth: []
  29689. summary: 查询提货
  29690. tags:
  29691. - 大连千海金
  29692. /Qhj/QueryUserCollectConfig:
  29693. get:
  29694. parameters:
  29695. - description: 用户ID
  29696. in: query
  29697. name: userid
  29698. required: true
  29699. type: integer
  29700. produces:
  29701. - application/json
  29702. responses:
  29703. "200":
  29704. description: OK
  29705. schema:
  29706. items:
  29707. $ref: '#/definitions/models.UserCollectConfig'
  29708. type: array
  29709. "500":
  29710. description: Internal Server Error
  29711. schema:
  29712. $ref: '#/definitions/app.Response'
  29713. security:
  29714. - ApiKeyAuth: []
  29715. summary: 查询提现账户设置
  29716. tags:
  29717. - 大连千海金
  29718. /Qhj/QueryUserReceiveInfo:
  29719. get:
  29720. parameters:
  29721. - description: 用户ID
  29722. in: query
  29723. name: userid
  29724. required: true
  29725. type: integer
  29726. produces:
  29727. - application/json
  29728. responses:
  29729. "200":
  29730. description: OK
  29731. schema:
  29732. items:
  29733. $ref: '#/definitions/models.UserReceiveInfo'
  29734. type: array
  29735. "500":
  29736. description: Internal Server Error
  29737. schema:
  29738. $ref: '#/definitions/app.Response'
  29739. security:
  29740. - ApiKeyAuth: []
  29741. summary: 查询收货地址信息
  29742. tags:
  29743. - 大连千海金
  29744. /QhjMgr/QueryAccountInOutApply:
  29745. get:
  29746. parameters:
  29747. - description: 查询类型 1-提现(出金) 2-充值(出金)
  29748. in: query
  29749. name: querytype
  29750. required: true
  29751. type: integer
  29752. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  29753. in: query
  29754. name: applystatus
  29755. type: integer
  29756. - description: 申请起始日期(格式yyyymmdd)
  29757. in: query
  29758. name: begindate
  29759. type: string
  29760. - description: 申请截止日期(格式yyyymmdd)
  29761. in: query
  29762. name: enddate
  29763. type: string
  29764. - description: 模糊搜索名称
  29765. in: query
  29766. name: likename
  29767. type: string
  29768. produces:
  29769. - application/json
  29770. responses:
  29771. "200":
  29772. description: OK
  29773. schema:
  29774. items:
  29775. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  29776. type: array
  29777. "500":
  29778. description: Internal Server Error
  29779. schema:
  29780. $ref: '#/definitions/app.Response'
  29781. security:
  29782. - ApiKeyAuth: []
  29783. summary: 查询充值提现
  29784. tags:
  29785. - 大连千海金(PCWeb)
  29786. /QhjMgr/QueryBrokerApply:
  29787. get:
  29788. parameters:
  29789. - description: 所属机构ID
  29790. in: query
  29791. name: userid
  29792. type: integer
  29793. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29794. in: query
  29795. name: filterstatus
  29796. type: string
  29797. - description: 名称(模糊匹配)
  29798. in: query
  29799. name: filtername
  29800. type: string
  29801. - description: 是否包含子级 1-包含
  29802. in: query
  29803. name: includesub
  29804. type: integer
  29805. produces:
  29806. - application/json
  29807. responses:
  29808. "200":
  29809. description: OK
  29810. schema:
  29811. items:
  29812. $ref: '#/definitions/models.QhjMgrBrokerApply'
  29813. type: array
  29814. "500":
  29815. description: Internal Server Error
  29816. schema:
  29817. $ref: '#/definitions/app.Response'
  29818. security:
  29819. - ApiKeyAuth: []
  29820. summary: 查询经纪人申请
  29821. tags:
  29822. - 大连千海金(PCWeb)
  29823. /QhjMgr/QueryBrokerRewardReport:
  29824. get:
  29825. parameters:
  29826. - description: 所属机构ID
  29827. in: query
  29828. name: userid
  29829. required: true
  29830. type: integer
  29831. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29832. in: query
  29833. name: cycletype
  29834. required: true
  29835. type: integer
  29836. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  29837. in: query
  29838. name: cycletime
  29839. required: true
  29840. type: string
  29841. - description: 名称(模糊匹配)
  29842. in: query
  29843. name: filtername
  29844. type: string
  29845. - description: 是否包含子级 1-包含
  29846. in: query
  29847. name: includesub
  29848. type: integer
  29849. produces:
  29850. - application/json
  29851. responses:
  29852. "200":
  29853. description: OK
  29854. schema:
  29855. items:
  29856. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  29857. type: array
  29858. "500":
  29859. description: Internal Server Error
  29860. schema:
  29861. $ref: '#/definitions/app.Response'
  29862. security:
  29863. - ApiKeyAuth: []
  29864. summary: 查询经纪人奖励报表(废弃)
  29865. tags:
  29866. - 大连千海金(PCWeb)
  29867. /QhjMgr/QueryContract:
  29868. get:
  29869. parameters:
  29870. - description: 用户ID
  29871. in: query
  29872. name: userid
  29873. type: integer
  29874. - description: 商品id
  29875. in: query
  29876. name: goodsid
  29877. type: integer
  29878. - description: 名称(模糊搜索账户)
  29879. in: query
  29880. name: filtername
  29881. type: string
  29882. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  29883. in: query
  29884. name: risklevel
  29885. type: string
  29886. - description: 开始交易日(yyyymmdd)
  29887. in: query
  29888. name: begindate
  29889. type: string
  29890. - description: 结束交易日(yyyymmdd)
  29891. in: query
  29892. name: enddate
  29893. type: string
  29894. produces:
  29895. - application/json
  29896. responses:
  29897. "200":
  29898. description: OK
  29899. schema:
  29900. items:
  29901. $ref: '#/definitions/models.QhjMgrContract'
  29902. type: array
  29903. "500":
  29904. description: Internal Server Error
  29905. schema:
  29906. $ref: '#/definitions/app.Response'
  29907. security:
  29908. - ApiKeyAuth: []
  29909. summary: 查询融资信息(合同)
  29910. tags:
  29911. - 大连千海金(PCWeb)
  29912. /QhjMgr/QueryCustomerInfo:
  29913. get:
  29914. parameters:
  29915. - description: 用户ID
  29916. in: query
  29917. name: userid
  29918. required: true
  29919. type: integer
  29920. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  29921. in: query
  29922. name: querytype
  29923. required: true
  29924. type: integer
  29925. - description: 客户类型 1-个人 2-企业
  29926. in: query
  29927. name: userinfotype
  29928. type: integer
  29929. - description: 客户名称(模糊匹配)
  29930. in: query
  29931. name: customername
  29932. type: string
  29933. - description: 昵称(模糊匹配)
  29934. in: query
  29935. name: nickname
  29936. type: string
  29937. - description: 所属客户经理(模糊匹配)
  29938. in: query
  29939. name: brokername
  29940. type: string
  29941. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  29942. 如0503 -5月3日)
  29943. in: query
  29944. name: birthday
  29945. type: string
  29946. - description: 是否包含子级 1-包含
  29947. in: query
  29948. name: includesub
  29949. type: integer
  29950. produces:
  29951. - application/json
  29952. responses:
  29953. "200":
  29954. description: OK
  29955. schema:
  29956. items:
  29957. $ref: '#/definitions/models.QhjMgrCustomer'
  29958. type: array
  29959. "500":
  29960. description: Internal Server Error
  29961. schema:
  29962. $ref: '#/definitions/app.Response'
  29963. security:
  29964. - ApiKeyAuth: []
  29965. summary: 查询客户资料
  29966. tags:
  29967. - 大连千海金(PCWeb)
  29968. /QhjMgr/QueryPickGoods:
  29969. get:
  29970. parameters:
  29971. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  29972. in: query
  29973. name: status
  29974. type: string
  29975. produces:
  29976. - application/json
  29977. responses:
  29978. "200":
  29979. description: OK
  29980. schema:
  29981. items:
  29982. $ref: '#/definitions/models.QhjMgrPickGoods'
  29983. type: array
  29984. "500":
  29985. description: Internal Server Error
  29986. schema:
  29987. $ref: '#/definitions/app.Response'
  29988. security:
  29989. - ApiKeyAuth: []
  29990. summary: 查询提货商品
  29991. tags:
  29992. - 大连千海金(PCWeb)
  29993. /QhjMgr/QuerySubArea:
  29994. get:
  29995. parameters:
  29996. - description: 用户ID
  29997. in: query
  29998. name: userid
  29999. required: true
  30000. type: integer
  30001. produces:
  30002. - application/json
  30003. responses:
  30004. "200":
  30005. description: OK
  30006. schema:
  30007. items:
  30008. $ref: '#/definitions/models.QhjMgrSubArea'
  30009. type: array
  30010. "500":
  30011. description: Internal Server Error
  30012. schema:
  30013. $ref: '#/definitions/app.Response'
  30014. security:
  30015. - ApiKeyAuth: []
  30016. summary: 查询子机构列表
  30017. tags:
  30018. - 大连千海金(PCWeb)
  30019. /QhjMgr/QueryTradeDetail:
  30020. get:
  30021. parameters:
  30022. - description: 用户ID
  30023. in: query
  30024. name: userid
  30025. required: true
  30026. type: integer
  30027. - description: 用户类型 1-个人 2-企业
  30028. in: query
  30029. name: userinfotype
  30030. type: integer
  30031. - description: 交易模式
  30032. in: query
  30033. name: trademode
  30034. type: integer
  30035. - description: 商品id
  30036. in: query
  30037. name: goodsid
  30038. type: integer
  30039. - description: 名称(模糊搜索账户)
  30040. in: query
  30041. name: filtername
  30042. type: string
  30043. - description: 开始交易日(yyyymmdd)
  30044. in: query
  30045. name: begindate
  30046. type: string
  30047. - description: 结束交易日(yyyymmdd)
  30048. in: query
  30049. name: enddate
  30050. type: string
  30051. - description: 是否包含子级 1-包含
  30052. in: query
  30053. name: includesub
  30054. type: integer
  30055. produces:
  30056. - application/json
  30057. responses:
  30058. "200":
  30059. description: OK
  30060. schema:
  30061. items:
  30062. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  30063. type: array
  30064. "500":
  30065. description: Internal Server Error
  30066. schema:
  30067. $ref: '#/definitions/app.Response'
  30068. security:
  30069. - ApiKeyAuth: []
  30070. summary: 查询成交明细
  30071. tags:
  30072. - 大连千海金(PCWeb)
  30073. /QhjMgr/QueryTradeOrderDetail:
  30074. get:
  30075. parameters:
  30076. - description: 用户ID
  30077. in: query
  30078. name: userid
  30079. required: true
  30080. type: integer
  30081. - description: 用户类型 1-个人 2-企业
  30082. in: query
  30083. name: userinfotype
  30084. type: integer
  30085. - description: 交易模式
  30086. in: query
  30087. name: trademode
  30088. type: integer
  30089. - description: 商品id
  30090. in: query
  30091. name: goodsid
  30092. type: integer
  30093. - description: 名称(模糊搜索账户)
  30094. in: query
  30095. name: filtername
  30096. type: string
  30097. - description: 开始交易日(yyyymmdd)
  30098. in: query
  30099. name: begindate
  30100. type: string
  30101. - description: 结束交易日(yyyymmdd)
  30102. in: query
  30103. name: enddate
  30104. type: string
  30105. - description: 是否包含子级 1-包含
  30106. in: query
  30107. name: includesub
  30108. type: integer
  30109. produces:
  30110. - application/json
  30111. responses:
  30112. "200":
  30113. description: OK
  30114. schema:
  30115. items:
  30116. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  30117. type: array
  30118. "500":
  30119. description: Internal Server Error
  30120. schema:
  30121. $ref: '#/definitions/app.Response'
  30122. security:
  30123. - ApiKeyAuth: []
  30124. summary: 查询委托明细
  30125. tags:
  30126. - 大连千海金(PCWeb)
  30127. /QhjMgr/QueryTradePayOrder:
  30128. get:
  30129. parameters:
  30130. - description: 用户ID
  30131. in: query
  30132. name: userid
  30133. required: true
  30134. type: integer
  30135. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30136. in: query
  30137. name: payflag
  30138. type: string
  30139. - description: 用户类型 1-个人 2-企业
  30140. in: query
  30141. name: userinfotype
  30142. type: integer
  30143. - description: 交易模式
  30144. in: query
  30145. name: trademode
  30146. type: integer
  30147. - description: 商品id
  30148. in: query
  30149. name: goodsid
  30150. type: integer
  30151. - description: 名称(模糊搜索账户)
  30152. in: query
  30153. name: filtername
  30154. type: string
  30155. - description: 开始交易日(yyyymmdd)
  30156. in: query
  30157. name: begindate
  30158. type: string
  30159. - description: 结束交易日(yyyymmdd)
  30160. in: query
  30161. name: enddate
  30162. type: string
  30163. - description: 是否包含子级 1-包含
  30164. in: query
  30165. name: includesub
  30166. type: integer
  30167. produces:
  30168. - application/json
  30169. responses:
  30170. "200":
  30171. description: OK
  30172. schema:
  30173. items:
  30174. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  30175. type: array
  30176. "500":
  30177. description: Internal Server Error
  30178. schema:
  30179. $ref: '#/definitions/app.Response'
  30180. security:
  30181. - ApiKeyAuth: []
  30182. summary: 查询待付款单
  30183. tags:
  30184. - 大连千海金(PCWeb)
  30185. /QhjMgr/QueryTradePosition:
  30186. get:
  30187. parameters:
  30188. - description: 用户ID
  30189. in: query
  30190. name: userid
  30191. required: true
  30192. type: integer
  30193. - description: 用户类型 1-个人 2-企业
  30194. in: query
  30195. name: userinfotype
  30196. type: integer
  30197. - description: 交易模式
  30198. in: query
  30199. name: trademode
  30200. type: integer
  30201. - description: 商品id
  30202. in: query
  30203. name: goodsid
  30204. type: integer
  30205. - description: 名称(模糊搜索账户)
  30206. in: query
  30207. name: filtername
  30208. type: string
  30209. - description: 是否包含子级 1-包含
  30210. in: query
  30211. name: includesub
  30212. type: integer
  30213. produces:
  30214. - application/json
  30215. responses:
  30216. "200":
  30217. description: OK
  30218. schema:
  30219. items:
  30220. $ref: '#/definitions/models.QhjMgrPositionRsp'
  30221. type: array
  30222. "500":
  30223. description: Internal Server Error
  30224. schema:
  30225. $ref: '#/definitions/app.Response'
  30226. security:
  30227. - ApiKeyAuth: []
  30228. summary: 查询持仓汇总
  30229. tags:
  30230. - 大连千海金(PCWeb)
  30231. /QhjSys/QueryAgreementChangeLog:
  30232. get:
  30233. parameters:
  30234. - description: 协议ID
  30235. in: query
  30236. name: agreementid
  30237. type: integer
  30238. - description: 协议版本号
  30239. in: query
  30240. name: agreementversion
  30241. type: integer
  30242. - description: 协议类型 - 1:注册 2:登录 3:交易
  30243. in: query
  30244. name: agreementtype
  30245. type: integer
  30246. - description: 协议编号(模糊匹配)
  30247. in: query
  30248. name: agreementno
  30249. type: string
  30250. - description: 协议名称(模糊匹配)
  30251. in: query
  30252. name: agreementname
  30253. type: string
  30254. produces:
  30255. - application/json
  30256. responses:
  30257. "200":
  30258. description: OK
  30259. schema:
  30260. items:
  30261. $ref: '#/definitions/models.QhjAgreementChangeLog'
  30262. type: array
  30263. "500":
  30264. description: Internal Server Error
  30265. schema:
  30266. $ref: '#/definitions/app.Response'
  30267. security:
  30268. - ApiKeyAuth: []
  30269. summary: 查询协议配置变更流水
  30270. tags:
  30271. - 大连千海金(协议和签约信息)
  30272. /QhjSys/QueryAgreementConfig:
  30273. get:
  30274. parameters:
  30275. - description: 协议ID
  30276. in: query
  30277. name: agreementid
  30278. type: integer
  30279. - description: 协议版本号
  30280. in: query
  30281. name: agreementversion
  30282. type: integer
  30283. - description: 协议类型 - 1:注册 2:登录 3:交易
  30284. in: query
  30285. name: agreementtype
  30286. type: integer
  30287. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  30288. in: query
  30289. name: isvalid
  30290. type: integer
  30291. - description: 协议编号(模糊匹配)
  30292. in: query
  30293. name: agreementno
  30294. type: string
  30295. - description: 协议名称(模糊匹配)
  30296. in: query
  30297. name: agreementname
  30298. type: string
  30299. produces:
  30300. - application/json
  30301. responses:
  30302. "200":
  30303. description: OK
  30304. schema:
  30305. items:
  30306. $ref: '#/definitions/models.QhjAgreementConfig'
  30307. type: array
  30308. "500":
  30309. description: Internal Server Error
  30310. schema:
  30311. $ref: '#/definitions/app.Response'
  30312. security:
  30313. - ApiKeyAuth: []
  30314. summary: 查询协议配置
  30315. tags:
  30316. - 大连千海金(协议和签约信息)
  30317. /QhjSys/QueryCustomerSignStatus:
  30318. get:
  30319. parameters:
  30320. - description: 客户ID
  30321. in: query
  30322. name: userid
  30323. type: integer
  30324. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  30325. in: query
  30326. name: nodetype
  30327. type: integer
  30328. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30329. in: query
  30330. name: goodsid
  30331. type: integer
  30332. - description: 创建交易日(yyyyMMdd)
  30333. in: query
  30334. name: tradedate
  30335. type: string
  30336. - description: 用户名称(模糊匹配)
  30337. in: query
  30338. name: username
  30339. type: string
  30340. produces:
  30341. - application/json
  30342. responses:
  30343. "200":
  30344. description: OK
  30345. schema:
  30346. items:
  30347. $ref: '#/definitions/models.QhjCustomerSignStatus'
  30348. type: array
  30349. "500":
  30350. description: Internal Server Error
  30351. schema:
  30352. $ref: '#/definitions/app.Response'
  30353. security:
  30354. - ApiKeyAuth: []
  30355. summary: 查询客户协议签约状态
  30356. tags:
  30357. - 大连千海金(协议和签约信息)
  30358. /QhjSys/QueryNodeAgreementConfig:
  30359. get:
  30360. parameters:
  30361. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30362. in: query
  30363. name: configid
  30364. type: integer
  30365. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30366. in: query
  30367. name: nodetype
  30368. type: integer
  30369. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30370. in: query
  30371. name: goodsid
  30372. type: integer
  30373. - description: 协议ID
  30374. in: query
  30375. name: agreementid
  30376. type: integer
  30377. - description: 协议类型 - 1:注册 2:登录 3:交易
  30378. in: query
  30379. name: agreementtype
  30380. type: integer
  30381. - description: 协议版本号
  30382. in: query
  30383. name: agreementversion
  30384. type: integer
  30385. - description: 协议编号(模糊匹配)
  30386. in: query
  30387. name: agreementno
  30388. type: string
  30389. - description: 协议名称(模糊匹配)
  30390. in: query
  30391. name: agreementname
  30392. type: string
  30393. produces:
  30394. - application/json
  30395. responses:
  30396. "200":
  30397. description: OK
  30398. schema:
  30399. items:
  30400. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  30401. type: array
  30402. "500":
  30403. description: Internal Server Error
  30404. schema:
  30405. $ref: '#/definitions/app.Response'
  30406. security:
  30407. - ApiKeyAuth: []
  30408. summary: 查询协议节点配置
  30409. tags:
  30410. - 大连千海金(协议和签约信息)
  30411. /QhjSys/QueryQhjCustomerSignLog:
  30412. get:
  30413. parameters:
  30414. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  30415. in: query
  30416. name: logid
  30417. type: integer
  30418. - description: 客户ID
  30419. in: query
  30420. name: userid
  30421. type: integer
  30422. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30423. in: query
  30424. name: nodetype
  30425. type: integer
  30426. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30427. in: query
  30428. name: goodsid
  30429. type: integer
  30430. - description: 协议ID
  30431. in: query
  30432. name: agreementid
  30433. type: integer
  30434. - description: 用户名称(模糊匹配)
  30435. in: query
  30436. name: username
  30437. type: string
  30438. - description: 协议编号(模糊匹配)
  30439. in: query
  30440. name: agreementno
  30441. type: string
  30442. - description: 协议名称(模糊匹配)
  30443. in: query
  30444. name: agreementname
  30445. type: string
  30446. produces:
  30447. - application/json
  30448. responses:
  30449. "200":
  30450. description: OK
  30451. schema:
  30452. items:
  30453. $ref: '#/definitions/models.QhjCustomerSignLog'
  30454. type: array
  30455. "500":
  30456. description: Internal Server Error
  30457. schema:
  30458. $ref: '#/definitions/app.Response'
  30459. security:
  30460. - ApiKeyAuth: []
  30461. summary: 查询客户协议签约流水
  30462. tags:
  30463. - 大连千海金(协议和签约信息)
  30464. /QhjSys/QueryUserNodeCfgAndStatus:
  30465. get:
  30466. parameters:
  30467. - description: 客户ID
  30468. in: query
  30469. name: userid
  30470. type: integer
  30471. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  30472. in: query
  30473. name: configid
  30474. type: integer
  30475. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  30476. in: query
  30477. name: nodetype
  30478. type: string
  30479. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  30480. in: query
  30481. name: goodsid
  30482. type: integer
  30483. - description: 协议ID
  30484. in: query
  30485. name: agreementid
  30486. type: integer
  30487. - description: 协议类型 - 1:注册 2:登录 3:交易
  30488. in: query
  30489. name: agreementtype
  30490. type: integer
  30491. - description: 协议版本号
  30492. in: query
  30493. name: agreementversion
  30494. type: integer
  30495. - description: 协议编号(模糊匹配)
  30496. in: query
  30497. name: agreementno
  30498. type: string
  30499. - description: 协议名称(模糊匹配)
  30500. in: query
  30501. name: agreementname
  30502. type: string
  30503. produces:
  30504. - application/json
  30505. responses:
  30506. "200":
  30507. description: OK
  30508. schema:
  30509. items:
  30510. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  30511. type: array
  30512. "500":
  30513. description: Internal Server Error
  30514. schema:
  30515. $ref: '#/definitions/app.Response'
  30516. security:
  30517. - ApiKeyAuth: []
  30518. summary: 查询用户协议节点配置和状态
  30519. tags:
  30520. - 大连千海金(协议和签约信息)
  30521. /Quote/QueryHistoryDatas:
  30522. get:
  30523. parameters:
  30524. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  30525. 日线 12:周线 13:月线 14:年线'
  30526. in: query
  30527. name: cycleType
  30528. required: true
  30529. type: integer
  30530. - description: 商品代码
  30531. in: query
  30532. name: goodsCode
  30533. required: true
  30534. type: string
  30535. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30536. in: query
  30537. name: startTime
  30538. type: string
  30539. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30540. in: query
  30541. name: endTime
  30542. type: string
  30543. - description: 条数
  30544. in: query
  30545. name: count
  30546. type: integer
  30547. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30548. in: query
  30549. name: isAsc
  30550. type: boolean
  30551. produces:
  30552. - application/json
  30553. responses:
  30554. "200":
  30555. description: OK
  30556. schema:
  30557. $ref: '#/definitions/quote.HistoryData'
  30558. "500":
  30559. description: Internal Server Error
  30560. schema:
  30561. $ref: '#/definitions/app.Response'
  30562. security:
  30563. - ApiKeyAuth: []
  30564. summary: 查询行情历史数据
  30565. tags:
  30566. - 行情服务
  30567. /Quote/QueryHistoryTikDatas:
  30568. get:
  30569. parameters:
  30570. - description: 商品代码
  30571. in: query
  30572. name: goodsCode
  30573. required: true
  30574. type: string
  30575. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  30576. in: query
  30577. name: startTime
  30578. type: string
  30579. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  30580. in: query
  30581. name: endTime
  30582. type: string
  30583. - description: 条数
  30584. in: query
  30585. name: count
  30586. type: integer
  30587. - description: 是否按时间顺序排序(默认为时间倒序排序)
  30588. in: query
  30589. name: isAsc
  30590. type: boolean
  30591. produces:
  30592. - application/json
  30593. responses:
  30594. "200":
  30595. description: OK
  30596. schema:
  30597. $ref: '#/definitions/quote.HistoryTikData'
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. summary: 查询行情Tik数据
  30605. tags:
  30606. - 行情服务
  30607. /Quote/QueryQuoteDay:
  30608. get:
  30609. parameters:
  30610. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  30611. in: query
  30612. name: goodsCodes
  30613. type: string
  30614. produces:
  30615. - application/json
  30616. responses:
  30617. "200":
  30618. description: OK
  30619. schema:
  30620. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  30621. "500":
  30622. description: Internal Server Error
  30623. schema:
  30624. $ref: '#/definitions/app.Response'
  30625. security:
  30626. - ApiKeyAuth: []
  30627. summary: 获取商品盘面信息
  30628. tags:
  30629. - 行情服务
  30630. /Quote/QueryTSData:
  30631. get:
  30632. parameters:
  30633. - description: 商品代码
  30634. in: query
  30635. name: goodsCode
  30636. required: true
  30637. type: string
  30638. produces:
  30639. - application/json
  30640. responses:
  30641. "200":
  30642. description: OK
  30643. schema:
  30644. $ref: '#/definitions/quote.QueryTSDataRsp'
  30645. "500":
  30646. description: Internal Server Error
  30647. schema:
  30648. $ref: '#/definitions/app.Response'
  30649. security:
  30650. - ApiKeyAuth: []
  30651. summary: 分时图数据查询
  30652. tags:
  30653. - 行情服务
  30654. /SZDZ/QueryConvertConfig:
  30655. get:
  30656. parameters:
  30657. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  30658. 6:交易转花生米(不设置)
  30659. in: query
  30660. name: convertType
  30661. type: integer
  30662. - description: 外部商品代码[JD\PD]
  30663. in: query
  30664. name: outerGoodsCode
  30665. type: string
  30666. - description: 内部商品ID列表[交易],格式:1,2,3
  30667. in: query
  30668. name: innerGoodsIDs
  30669. type: string
  30670. produces:
  30671. - application/json
  30672. responses:
  30673. "200":
  30674. description: OK
  30675. schema:
  30676. $ref: '#/definitions/models.Szdz3convertconfig'
  30677. "500":
  30678. description: Internal Server Error
  30679. schema:
  30680. $ref: '#/definitions/app.Response'
  30681. security:
  30682. - ApiKeyAuth: []
  30683. summary: 查询交易系统转换设置
  30684. tags:
  30685. - 定制【尚志大宗】
  30686. /SZDZ/QueryConvertLog:
  30687. get:
  30688. parameters:
  30689. - description: 资金账户 - 格式:1,2,3
  30690. in: query
  30691. name: accountID
  30692. required: true
  30693. type: string
  30694. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30695. in: query
  30696. name: startDate
  30697. type: string
  30698. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  30699. in: query
  30700. name: endDate
  30701. type: string
  30702. produces:
  30703. - application/json
  30704. responses:
  30705. "200":
  30706. description: OK
  30707. schema:
  30708. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  30709. "500":
  30710. description: Internal Server Error
  30711. schema:
  30712. $ref: '#/definitions/app.Response'
  30713. security:
  30714. - ApiKeyAuth: []
  30715. summary: 交易系统转换流水查询
  30716. tags:
  30717. - 定制【尚志大宗】
  30718. /SZDZ/QueryGoodsPickup:
  30719. get:
  30720. parameters:
  30721. - description: 资金账户 - 格式:1,2,3
  30722. in: query
  30723. name: accountID
  30724. required: true
  30725. type: string
  30726. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  30727. in: query
  30728. name: takeOrderStatus
  30729. type: integer
  30730. produces:
  30731. - application/json
  30732. responses:
  30733. "200":
  30734. description: OK
  30735. schema:
  30736. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  30737. "500":
  30738. description: Internal Server Error
  30739. schema:
  30740. $ref: '#/definitions/app.Response'
  30741. security:
  30742. - ApiKeyAuth: []
  30743. summary: 商品提货单查询
  30744. tags:
  30745. - 定制【尚志大宗】
  30746. /SZDZ/QueryRecieptOrder:
  30747. get:
  30748. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  30749. parameters:
  30750. - description: 页码
  30751. in: query
  30752. name: page
  30753. type: integer
  30754. - description: 每页条数
  30755. in: query
  30756. name: pagesize
  30757. type: integer
  30758. - description: 商品ID
  30759. in: query
  30760. name: goodsID
  30761. required: true
  30762. type: integer
  30763. - description: 所属账户名称
  30764. in: query
  30765. name: accountName
  30766. type: string
  30767. - description: 市场ID
  30768. in: query
  30769. name: marketID
  30770. type: integer
  30771. - description: 方向 - 0:买 1:卖
  30772. in: query
  30773. name: buyorsell
  30774. required: true
  30775. type: integer
  30776. produces:
  30777. - application/json
  30778. responses:
  30779. "200":
  30780. description: OK
  30781. schema:
  30782. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  30783. "500":
  30784. description: Internal Server Error
  30785. schema:
  30786. $ref: '#/definitions/app.Response'
  30787. security:
  30788. - ApiKeyAuth: []
  30789. summary: 点选挂牌委托单据查询(摘牌大厅)
  30790. tags:
  30791. - 定制【尚志大宗】
  30792. /SZDZ/QuerySZDZTradePosition:
  30793. get:
  30794. parameters:
  30795. - description: 资金账户
  30796. in: query
  30797. name: accountID
  30798. required: true
  30799. type: integer
  30800. produces:
  30801. - application/json
  30802. responses:
  30803. "200":
  30804. description: OK
  30805. schema:
  30806. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  30807. "500":
  30808. description: Internal Server Error
  30809. schema:
  30810. $ref: '#/definitions/app.Response'
  30811. security:
  30812. - ApiKeyAuth: []
  30813. summary: 持仓汇总查询(尚志大宗)
  30814. tags:
  30815. - 定制【尚志大宗】
  30816. /SZDZ/SearchWhite:
  30817. get:
  30818. parameters:
  30819. - description: 用户ID
  30820. in: query
  30821. name: userID
  30822. required: true
  30823. type: integer
  30824. produces:
  30825. - application/json
  30826. responses:
  30827. "200":
  30828. description: OK
  30829. schema:
  30830. $ref: '#/definitions/models.Szdz3searchwhitelist'
  30831. "500":
  30832. description: Internal Server Error
  30833. schema:
  30834. $ref: '#/definitions/app.Response'
  30835. security:
  30836. - ApiKeyAuth: []
  30837. summary: 搜索白名单
  30838. tags:
  30839. - 定制【尚志大宗】
  30840. /Search/SearchGoodses:
  30841. get:
  30842. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  30843. parameters:
  30844. - description: 检索内容
  30845. in: query
  30846. name: content
  30847. required: true
  30848. type: string
  30849. - description: 交易模式,格式:1,2,3
  30850. in: query
  30851. name: tradeModes
  30852. type: string
  30853. produces:
  30854. - application/json
  30855. responses:
  30856. "200":
  30857. description: OK
  30858. schema:
  30859. $ref: '#/definitions/models.SearchGoods'
  30860. "500":
  30861. description: Internal Server Error
  30862. schema:
  30863. $ref: '#/definitions/app.Response'
  30864. summary: 检索商品信息
  30865. tags:
  30866. - 检索服务
  30867. /TaAccount/GetTaAccounts:
  30868. get:
  30869. parameters:
  30870. - description: 登录账户
  30871. in: query
  30872. name: loginID
  30873. required: true
  30874. type: integer
  30875. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  30876. in: query
  30877. name: taAccountType
  30878. type: integer
  30879. produces:
  30880. - application/json
  30881. responses:
  30882. "200":
  30883. description: OK
  30884. schema:
  30885. $ref: '#/definitions/models.Taaccount'
  30886. "500":
  30887. description: Internal Server Error
  30888. schema:
  30889. $ref: '#/definitions/app.Response'
  30890. security:
  30891. - ApiKeyAuth: []
  30892. summary: 获取资金账户信息
  30893. tags:
  30894. - 资金账户
  30895. /TaAccount/QueryAmountLog:
  30896. get:
  30897. parameters:
  30898. - description: 页码
  30899. in: query
  30900. name: page
  30901. type: integer
  30902. - description: 每页条数
  30903. in: query
  30904. name: pagesize
  30905. type: integer
  30906. - description: 资金账户 - 格式:1,2,3
  30907. in: query
  30908. name: accountID
  30909. required: true
  30910. type: string
  30911. - description: 资金操作类型 - 格式:1,2,3
  30912. in: query
  30913. name: OperateType
  30914. type: string
  30915. produces:
  30916. - application/json
  30917. responses:
  30918. "200":
  30919. description: OK
  30920. schema:
  30921. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  30922. "500":
  30923. description: Internal Server Error
  30924. schema:
  30925. $ref: '#/definitions/app.Response'
  30926. security:
  30927. - ApiKeyAuth: []
  30928. summary: 资金流水查询(当前)
  30929. tags:
  30930. - 资金账户
  30931. /TaAccount/QueryHisAmountLog:
  30932. get:
  30933. parameters:
  30934. - description: 页码
  30935. in: query
  30936. name: page
  30937. type: integer
  30938. - description: 每页条数
  30939. in: query
  30940. name: pagesize
  30941. type: integer
  30942. - description: 资金账户 - 格式:1,2,3
  30943. in: query
  30944. name: accountID
  30945. required: true
  30946. type: string
  30947. - description: 资金操作类型 - 格式:1,2,3
  30948. in: query
  30949. name: OperateType
  30950. type: string
  30951. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30952. in: query
  30953. name: startDate
  30954. type: string
  30955. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30956. in: query
  30957. name: endDate
  30958. type: string
  30959. produces:
  30960. - application/json
  30961. responses:
  30962. "200":
  30963. description: OK
  30964. schema:
  30965. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  30966. "500":
  30967. description: Internal Server Error
  30968. schema:
  30969. $ref: '#/definitions/app.Response'
  30970. security:
  30971. - ApiKeyAuth: []
  30972. summary: 资金流水查询(历史)
  30973. tags:
  30974. - 资金账户
  30975. /TaAccount/QueryRelatedTaAccount:
  30976. get:
  30977. parameters:
  30978. - description: 关联UserID
  30979. in: query
  30980. name: relateduserid
  30981. required: true
  30982. type: integer
  30983. produces:
  30984. - application/json
  30985. responses:
  30986. "200":
  30987. description: OK
  30988. schema:
  30989. items:
  30990. $ref: '#/definitions/models.RelatedTaAccount'
  30991. type: array
  30992. "500":
  30993. description: Internal Server Error
  30994. schema:
  30995. $ref: '#/definitions/app.Response'
  30996. security:
  30997. - ApiKeyAuth: []
  30998. summary: 查询关联资金账户信息
  30999. tags:
  31000. - 资金账户
  31001. /Tjmd/QueryQuoteGoodsList:
  31002. get:
  31003. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  31004. parameters:
  31005. - description: 用户类型
  31006. in: query
  31007. name: usertype
  31008. required: true
  31009. type: integer
  31010. - description: 市场id, 格式 1,2,3
  31011. in: query
  31012. name: marketids
  31013. type: string
  31014. - description: 商品组id
  31015. in: query
  31016. name: goodsgroupid
  31017. type: integer
  31018. - description: 商品id
  31019. in: query
  31020. name: goodsid
  31021. type: integer
  31022. produces:
  31023. - application/json
  31024. responses:
  31025. "200":
  31026. description: OK
  31027. schema:
  31028. items:
  31029. $ref: '#/definitions/models.TjmdQuoteGoods'
  31030. type: array
  31031. "500":
  31032. description: Internal Server Error
  31033. schema:
  31034. $ref: '#/definitions/app.Response'
  31035. security:
  31036. - ApiKeyAuth: []
  31037. summary: 查询掉期报价列表
  31038. tags:
  31039. - 天津麦顿
  31040. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  31041. get:
  31042. parameters:
  31043. - description: 成交单号
  31044. in: query
  31045. name: tradeid
  31046. required: true
  31047. type: string
  31048. produces:
  31049. - application/json
  31050. responses:
  31051. "200":
  31052. description: OK
  31053. schema:
  31054. items:
  31055. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  31056. type: array
  31057. "500":
  31058. description: Internal Server Error
  31059. schema:
  31060. $ref: '#/definitions/app.Response'
  31061. security:
  31062. - ApiKeyAuth: []
  31063. summary: 掉期商品订单详情(交易确认书)
  31064. tags:
  31065. - 天津麦顿
  31066. /Tjmd/QueryTjmdMarketSection:
  31067. get:
  31068. produces:
  31069. - application/json
  31070. responses:
  31071. "200":
  31072. description: OK
  31073. schema:
  31074. items:
  31075. $ref: '#/definitions/models.TjmdMarketSection'
  31076. type: array
  31077. "500":
  31078. description: Internal Server Error
  31079. schema:
  31080. $ref: '#/definitions/app.Response'
  31081. security:
  31082. - ApiKeyAuth: []
  31083. summary: 查询市场板块
  31084. tags:
  31085. - 天津麦顿
  31086. /Tjmd/QueryTjmdTodayAccountMargin:
  31087. get:
  31088. parameters:
  31089. - description: 市场id
  31090. in: query
  31091. name: marketid
  31092. type: string
  31093. - description: 商品id
  31094. in: query
  31095. name: goodsid
  31096. type: string
  31097. - description: 资金账号
  31098. in: query
  31099. name: accountid
  31100. type: string
  31101. produces:
  31102. - application/json
  31103. responses:
  31104. "200":
  31105. description: OK
  31106. schema:
  31107. items:
  31108. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  31109. type: array
  31110. "500":
  31111. description: Internal Server Error
  31112. schema:
  31113. $ref: '#/definitions/app.Response'
  31114. security:
  31115. - ApiKeyAuth: []
  31116. summary: 查询今日账户保证金配置
  31117. tags:
  31118. - 天津麦顿
  31119. /Tjmd/QueryTjmdTradeOrderDetail:
  31120. get:
  31121. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  31122. parameters:
  31123. - description: 页码
  31124. in: query
  31125. name: page
  31126. type: integer
  31127. - description: 每页条数
  31128. in: query
  31129. name: pagesize
  31130. type: integer
  31131. - description: 用户id
  31132. in: query
  31133. name: userid
  31134. required: true
  31135. type: integer
  31136. - description: 用户类型
  31137. in: query
  31138. name: usertype
  31139. required: true
  31140. type: integer
  31141. - description: 市场id, 格式 1,2,3
  31142. in: query
  31143. name: marketids
  31144. type: string
  31145. - description: 商品id
  31146. in: query
  31147. name: goodsid
  31148. required: true
  31149. type: integer
  31150. - description: 买卖方向 0-买 1-卖
  31151. in: query
  31152. name: buyorsell
  31153. required: true
  31154. type: integer
  31155. produces:
  31156. - application/json
  31157. responses:
  31158. "200":
  31159. description: OK
  31160. schema:
  31161. items:
  31162. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  31163. type: array
  31164. "500":
  31165. description: Internal Server Error
  31166. schema:
  31167. $ref: '#/definitions/app.Response'
  31168. security:
  31169. - ApiKeyAuth: []
  31170. summary: 查询掉期买卖大厅
  31171. tags:
  31172. - 天津麦顿
  31173. /Tjmd/QueryTjmdTransferApply:
  31174. get:
  31175. parameters:
  31176. - description: 类型 1-我的申请 2-对方申请
  31177. in: query
  31178. name: applytype
  31179. required: true
  31180. type: integer
  31181. - description: 市场id, 格式 1,2,3
  31182. in: query
  31183. name: marketids
  31184. type: string
  31185. - description: 资金账号, 格式 25000000001,25000000003
  31186. in: query
  31187. name: accountids
  31188. type: string
  31189. - description: 开始交易日(yyyymmdd)
  31190. in: query
  31191. name: begindate
  31192. type: string
  31193. - description: 结束交易日(yyyymmdd)
  31194. in: query
  31195. name: enddate
  31196. type: string
  31197. produces:
  31198. - application/json
  31199. responses:
  31200. "200":
  31201. description: OK
  31202. schema:
  31203. items:
  31204. $ref: '#/definitions/models.TjmdTransferApply'
  31205. type: array
  31206. "500":
  31207. description: Internal Server Error
  31208. schema:
  31209. $ref: '#/definitions/app.Response'
  31210. security:
  31211. - ApiKeyAuth: []
  31212. summary: 查询掉期协议单
  31213. tags:
  31214. - 天津麦顿
  31215. /Trade/QueryRecieptOrder:
  31216. get:
  31217. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  31218. parameters:
  31219. - description: 页码
  31220. in: query
  31221. name: page
  31222. type: integer
  31223. - description: 每页条数
  31224. in: query
  31225. name: pagesize
  31226. type: integer
  31227. - description: 商品ID
  31228. in: query
  31229. name: goodsID
  31230. required: true
  31231. type: integer
  31232. - description: 所属账户名称
  31233. in: query
  31234. name: accountName
  31235. type: string
  31236. - description: 市场ID
  31237. in: query
  31238. name: marketID
  31239. type: integer
  31240. - description: 方向 - 0:买 1:卖
  31241. in: query
  31242. name: buyorsell
  31243. required: true
  31244. type: integer
  31245. produces:
  31246. - application/json
  31247. responses:
  31248. "200":
  31249. description: OK
  31250. schema:
  31251. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  31252. "500":
  31253. description: Internal Server Error
  31254. schema:
  31255. $ref: '#/definitions/app.Response'
  31256. security:
  31257. - ApiKeyAuth: []
  31258. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  31259. tags:
  31260. - 通用交易
  31261. /User/AddMessageBoard:
  31262. post:
  31263. parameters:
  31264. - description: 用户ID
  31265. in: query
  31266. name: userID
  31267. required: true
  31268. type: integer
  31269. - description: 留言信息
  31270. in: query
  31271. name: message
  31272. required: true
  31273. type: string
  31274. - description: 联系电话
  31275. in: query
  31276. name: contactNum
  31277. required: true
  31278. type: string
  31279. produces:
  31280. - application/json
  31281. responses:
  31282. "200":
  31283. description: OK
  31284. schema:
  31285. $ref: '#/definitions/app.Response'
  31286. "500":
  31287. description: Internal Server Error
  31288. schema:
  31289. $ref: '#/definitions/app.Response'
  31290. security:
  31291. - ApiKeyAuth: []
  31292. summary: 添加用户留言板信息
  31293. tags:
  31294. - 用户信息
  31295. /User/AddUserFavoriteGoods:
  31296. post:
  31297. parameters:
  31298. - description: 用户ID
  31299. in: query
  31300. name: userID
  31301. required: true
  31302. type: integer
  31303. - description: 商品ID
  31304. in: query
  31305. name: goodsID
  31306. required: true
  31307. type: integer
  31308. produces:
  31309. - application/json
  31310. responses:
  31311. "200":
  31312. description: OK
  31313. schema:
  31314. $ref: '#/definitions/app.Response'
  31315. "500":
  31316. description: Internal Server Error
  31317. schema:
  31318. $ref: '#/definitions/app.Response'
  31319. security:
  31320. - ApiKeyAuth: []
  31321. summary: 添加用户商品收藏信息
  31322. tags:
  31323. - 用户信息
  31324. /User/GetLoginID:
  31325. get:
  31326. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  31327. parameters:
  31328. - description: 登录代码
  31329. in: query
  31330. name: username
  31331. required: true
  31332. type: string
  31333. produces:
  31334. - application/json
  31335. responses:
  31336. "200":
  31337. description: OK
  31338. schema:
  31339. $ref: '#/definitions/app.Response'
  31340. "500":
  31341. description: Internal Server Error
  31342. schema:
  31343. $ref: '#/definitions/app.Response'
  31344. summary: 获取登录ID
  31345. tags:
  31346. - 用户信息
  31347. /User/GetUserAccount:
  31348. get:
  31349. parameters:
  31350. - description: 用户ID
  31351. in: query
  31352. name: userID
  31353. required: true
  31354. type: integer
  31355. produces:
  31356. - application/json
  31357. responses:
  31358. "200":
  31359. description: OK
  31360. schema:
  31361. $ref: '#/definitions/models.Useraccount'
  31362. "500":
  31363. description: Internal Server Error
  31364. schema:
  31365. $ref: '#/definitions/app.Response'
  31366. security:
  31367. - ApiKeyAuth: []
  31368. summary: 获取用户账号信息
  31369. tags:
  31370. - 用户信息
  31371. /User/GetUserAuthStatus:
  31372. get:
  31373. parameters:
  31374. - description: 用户ID
  31375. in: query
  31376. name: userID
  31377. required: true
  31378. type: integer
  31379. produces:
  31380. - application/json
  31381. responses:
  31382. "200":
  31383. description: OK
  31384. schema:
  31385. $ref: '#/definitions/app.Response'
  31386. "500":
  31387. description: Internal Server Error
  31388. schema:
  31389. $ref: '#/definitions/app.Response'
  31390. security:
  31391. - ApiKeyAuth: []
  31392. summary: 获取用户实名认证状态
  31393. tags:
  31394. - 用户信息
  31395. /User/LoginQuery:
  31396. get:
  31397. parameters:
  31398. - description: 登录账号
  31399. in: query
  31400. name: loginID
  31401. required: true
  31402. type: integer
  31403. produces:
  31404. - application/json
  31405. responses:
  31406. "200":
  31407. description: OK
  31408. schema:
  31409. $ref: '#/definitions/user.LoginQueryRsp'
  31410. "500":
  31411. description: Internal Server Error
  31412. schema:
  31413. $ref: '#/definitions/app.Response'
  31414. security:
  31415. - ApiKeyAuth: []
  31416. summary: 账户登录后信息查询
  31417. tags:
  31418. - 用户信息
  31419. /User/QueryMessageBoard:
  31420. get:
  31421. parameters:
  31422. - description: 用户ID
  31423. in: query
  31424. name: userID
  31425. required: true
  31426. type: integer
  31427. produces:
  31428. - application/json
  31429. responses:
  31430. "200":
  31431. description: OK
  31432. schema:
  31433. $ref: '#/definitions/models.Messageboard'
  31434. "500":
  31435. description: Internal Server Error
  31436. schema:
  31437. $ref: '#/definitions/app.Response'
  31438. security:
  31439. - ApiKeyAuth: []
  31440. summary: 获取用户留言板信息
  31441. tags:
  31442. - 用户信息
  31443. /User/QueryUserFavoriteGoodses:
  31444. get:
  31445. parameters:
  31446. - description: 用户ID
  31447. in: query
  31448. name: userID
  31449. required: true
  31450. type: integer
  31451. produces:
  31452. - application/json
  31453. responses:
  31454. "200":
  31455. description: OK
  31456. schema:
  31457. $ref: '#/definitions/models.Userfavoritegoods'
  31458. "500":
  31459. description: Internal Server Error
  31460. schema:
  31461. $ref: '#/definitions/app.Response'
  31462. security:
  31463. - ApiKeyAuth: []
  31464. summary: 获取用户商品收藏信息
  31465. tags:
  31466. - 用户信息
  31467. /User/QueryUserInfo:
  31468. get:
  31469. parameters:
  31470. - description: 用户ID
  31471. in: query
  31472. name: userID
  31473. required: true
  31474. type: integer
  31475. - description: 是否解密
  31476. in: query
  31477. name: isDecrypt
  31478. type: boolean
  31479. produces:
  31480. - application/json
  31481. responses:
  31482. "200":
  31483. description: OK
  31484. schema:
  31485. $ref: '#/definitions/models.Userinfo'
  31486. "500":
  31487. description: Internal Server Error
  31488. schema:
  31489. $ref: '#/definitions/app.Response'
  31490. security:
  31491. - ApiKeyAuth: []
  31492. summary: 获取用户信息
  31493. tags:
  31494. - 用户信息
  31495. /User/QueryUserReferNum:
  31496. get:
  31497. parameters:
  31498. - description: 用户ID
  31499. in: query
  31500. name: userID
  31501. required: true
  31502. type: integer
  31503. produces:
  31504. - application/json
  31505. responses:
  31506. "200":
  31507. description: OK
  31508. schema:
  31509. $ref: '#/definitions/app.Response'
  31510. "500":
  31511. description: Internal Server Error
  31512. schema:
  31513. $ref: '#/definitions/app.Response'
  31514. summary: 获取用户邀请码
  31515. tags:
  31516. - 用户信息
  31517. /User/RemoveUserFavoriteGoods:
  31518. post:
  31519. parameters:
  31520. - description: 用户ID
  31521. in: query
  31522. name: userID
  31523. required: true
  31524. type: integer
  31525. - description: 商品ID
  31526. in: query
  31527. name: goodsID
  31528. required: true
  31529. type: integer
  31530. produces:
  31531. - application/json
  31532. responses:
  31533. "200":
  31534. description: OK
  31535. schema:
  31536. $ref: '#/definitions/app.Response'
  31537. "500":
  31538. description: Internal Server Error
  31539. schema:
  31540. $ref: '#/definitions/app.Response'
  31541. security:
  31542. - ApiKeyAuth: []
  31543. summary: 移除用户商品收藏信息
  31544. tags:
  31545. - 用户信息
  31546. /User/UpdateUserAccountStatus:
  31547. post:
  31548. parameters:
  31549. - description: 用户ID
  31550. in: query
  31551. name: userID
  31552. required: true
  31553. type: integer
  31554. - description: 账户状态 - 4:正常 6:注销(停用)
  31555. in: query
  31556. name: accountStatus
  31557. required: true
  31558. type: integer
  31559. produces:
  31560. - application/json
  31561. responses:
  31562. "200":
  31563. description: OK
  31564. schema:
  31565. $ref: '#/definitions/app.Response'
  31566. "500":
  31567. description: Internal Server Error
  31568. schema:
  31569. $ref: '#/definitions/app.Response'
  31570. security:
  31571. - ApiKeyAuth: []
  31572. summary: 更新用户状态
  31573. tags:
  31574. - 用户信息
  31575. /WRTrade/GetAllDeliveryGoods:
  31576. get:
  31577. produces:
  31578. - application/json
  31579. responses:
  31580. "200":
  31581. description: OK
  31582. schema:
  31583. $ref: '#/definitions/app.Response'
  31584. "500":
  31585. description: Internal Server Error
  31586. schema:
  31587. $ref: '#/definitions/app.Response'
  31588. security:
  31589. - ApiKeyAuth: []
  31590. summary: 获取带仓单分类的种类信息
  31591. tags:
  31592. - 仓单贸易
  31593. - 仓单贸易
  31594. /WrTrade2/InsertXhcpSellBackApply:
  31595. post:
  31596. parameters:
  31597. - description: 回收申请
  31598. in: body
  31599. name: jsonBody
  31600. required: true
  31601. schema:
  31602. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  31603. produces:
  31604. - application/json
  31605. responses:
  31606. "200":
  31607. description: OK
  31608. schema:
  31609. $ref: '#/definitions/app.Response'
  31610. "500":
  31611. description: Internal Server Error
  31612. schema:
  31613. $ref: '#/definitions/app.Response'
  31614. security:
  31615. - ApiKeyAuth: []
  31616. summary: 新增回收申请(新会陈皮)
  31617. tags:
  31618. - 仓单贸易v2
  31619. /WrTrade2/QueryDeliveryGoodsSection:
  31620. get:
  31621. produces:
  31622. - application/json
  31623. responses:
  31624. "200":
  31625. description: OK
  31626. schema:
  31627. items:
  31628. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  31629. type: array
  31630. "500":
  31631. description: Internal Server Error
  31632. schema:
  31633. $ref: '#/definitions/app.Response'
  31634. security:
  31635. - ApiKeyAuth: []
  31636. summary: 查询板块(分类)
  31637. tags:
  31638. - 仓单贸易v2
  31639. /WrTrade2/QueryFaProductDetail:
  31640. get:
  31641. description: 页面 买卖大厅 -> 选择融资方案
  31642. parameters:
  31643. - description: 仓单要素id
  31644. in: query
  31645. name: wrfactortypeid
  31646. required: true
  31647. type: integer
  31648. produces:
  31649. - application/json
  31650. responses:
  31651. "200":
  31652. description: OK
  31653. schema:
  31654. items:
  31655. $ref: '#/definitions/models.WrFAProductDetail'
  31656. type: array
  31657. "500":
  31658. description: Internal Server Error
  31659. schema:
  31660. $ref: '#/definitions/app.Response'
  31661. security:
  31662. - ApiKeyAuth: []
  31663. summary: 查询融资产品列表
  31664. tags:
  31665. - 仓单贸易v2
  31666. /WrTrade2/QueryFilterItem:
  31667. get:
  31668. parameters:
  31669. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  31670. in: query
  31671. name: itype
  31672. required: true
  31673. type: string
  31674. produces:
  31675. - application/json
  31676. responses:
  31677. "200":
  31678. description: OK
  31679. schema:
  31680. items:
  31681. $ref: '#/definitions/models.WrFilterItem'
  31682. type: array
  31683. "500":
  31684. description: Internal Server Error
  31685. schema:
  31686. $ref: '#/definitions/app.Response'
  31687. security:
  31688. - ApiKeyAuth: []
  31689. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  31690. tags:
  31691. - 仓单贸易v2
  31692. /WrTrade2/QueryFtDeliveryGoods:
  31693. get:
  31694. produces:
  31695. - application/json
  31696. responses:
  31697. "200":
  31698. description: OK
  31699. schema:
  31700. items:
  31701. $ref: '#/definitions/models.WrFtDeliveryGoods'
  31702. type: array
  31703. "500":
  31704. description: Internal Server Error
  31705. schema:
  31706. $ref: '#/definitions/app.Response'
  31707. security:
  31708. - ApiKeyAuth: []
  31709. summary: 查询品种品类筛选框列表
  31710. tags:
  31711. - 仓单贸易v2
  31712. /WrTrade2/QueryHoldLB:
  31713. get:
  31714. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  31715. parameters:
  31716. - description: 资金账号
  31717. in: query
  31718. name: accountid
  31719. required: true
  31720. type: integer
  31721. - description: 仓库id
  31722. in: query
  31723. name: warehouseid
  31724. type: integer
  31725. - description: 品种id
  31726. in: query
  31727. name: deliverygoodsid
  31728. type: integer
  31729. - description: 品类id
  31730. in: query
  31731. name: wrstandardid
  31732. type: integer
  31733. - description: 仓单要素id
  31734. in: query
  31735. name: wrfactortypeid
  31736. type: integer
  31737. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31738. in: query
  31739. name: dgitemname
  31740. type: string
  31741. produces:
  31742. - application/json
  31743. responses:
  31744. "200":
  31745. description: OK
  31746. schema:
  31747. items:
  31748. $ref: '#/definitions/models.WrHoldLB'
  31749. type: array
  31750. "500":
  31751. description: Internal Server Error
  31752. schema:
  31753. $ref: '#/definitions/app.Response'
  31754. security:
  31755. - ApiKeyAuth: []
  31756. summary: 查询仓单持有记录
  31757. tags:
  31758. - 仓单贸易v2
  31759. /WrTrade2/QueryOrderQuote:
  31760. get:
  31761. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  31762. 唯一确定1条记录
  31763. parameters:
  31764. - description: 页码
  31765. in: query
  31766. name: page
  31767. type: integer
  31768. - description: 每页条数
  31769. in: query
  31770. name: pagesize
  31771. type: integer
  31772. - description: 仓单贸易市场id
  31773. in: query
  31774. name: marketid
  31775. type: integer
  31776. - description: 价格方式 - 1:固定价 2-浮动价
  31777. in: query
  31778. name: wrpricetype
  31779. required: true
  31780. type: integer
  31781. - description: 0:仓单预售 1:仓单贸易
  31782. in: query
  31783. name: haswr
  31784. type: integer
  31785. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31786. in: query
  31787. name: dgitemname
  31788. type: string
  31789. - description: 仓库id(筛选条件)
  31790. in: query
  31791. name: warehouseid
  31792. type: integer
  31793. - description: 品种id
  31794. in: query
  31795. name: deliverygoodsid
  31796. type: integer
  31797. - description: 品类id
  31798. in: query
  31799. name: wrstandardid
  31800. type: integer
  31801. - description: 品牌id(dgfactoryitemid)
  31802. in: query
  31803. name: brandid
  31804. type: integer
  31805. - description: 年份id(dgfactoryitemid)
  31806. in: query
  31807. name: yearsid
  31808. type: integer
  31809. - description: 仓单要素id
  31810. in: query
  31811. name: wrfactortypeid
  31812. type: integer
  31813. - description: 交收月(yyyy-mm) 仓单预售填写
  31814. in: query
  31815. name: deliverymonth
  31816. type: string
  31817. produces:
  31818. - application/json
  31819. responses:
  31820. "200":
  31821. description: OK
  31822. schema:
  31823. items:
  31824. $ref: '#/definitions/models.WrOrderQuote'
  31825. type: array
  31826. "500":
  31827. description: Internal Server Error
  31828. schema:
  31829. $ref: '#/definitions/app.Response'
  31830. security:
  31831. - ApiKeyAuth: []
  31832. summary: 查询大厅行情列表
  31833. tags:
  31834. - 仓单贸易v2
  31835. /WrTrade2/QueryOrderQuoteDetail:
  31836. get:
  31837. parameters:
  31838. - description: 页码
  31839. in: query
  31840. name: page
  31841. type: integer
  31842. - description: 每页条数
  31843. in: query
  31844. name: pagesize
  31845. type: integer
  31846. - description: 仓单贸易市场id
  31847. in: query
  31848. name: marketid
  31849. type: integer
  31850. - description: 价格方式 - 1:固定价 2-浮动价
  31851. in: query
  31852. name: wrpricetype
  31853. required: true
  31854. type: integer
  31855. - description: 0:仓单预售 1:仓单贸易
  31856. in: query
  31857. name: haswr
  31858. type: integer
  31859. - description: 仓单要素id
  31860. in: query
  31861. name: wrfactortypeid
  31862. required: true
  31863. type: integer
  31864. - description: 期货商品id(浮动价方式时填)
  31865. in: query
  31866. name: goodsid
  31867. type: integer
  31868. - description: 买卖方向 0-买 1-卖
  31869. in: query
  31870. name: buyorsell
  31871. required: true
  31872. type: integer
  31873. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  31874. in: query
  31875. name: deliverymonth
  31876. type: string
  31877. produces:
  31878. - application/json
  31879. responses:
  31880. "200":
  31881. description: OK
  31882. schema:
  31883. items:
  31884. $ref: '#/definitions/models.WrOrderQuoteDetail'
  31885. type: array
  31886. "500":
  31887. description: Internal Server Error
  31888. schema:
  31889. $ref: '#/definitions/app.Response'
  31890. security:
  31891. - ApiKeyAuth: []
  31892. summary: 查询买卖大厅
  31893. tags:
  31894. - 仓单贸易v2
  31895. /WrTrade2/QueryOrderQuoteMyq:
  31896. get:
  31897. parameters:
  31898. - description: 页码
  31899. in: query
  31900. name: page
  31901. type: integer
  31902. - description: 每页条数
  31903. in: query
  31904. name: pagesize
  31905. type: integer
  31906. - description: 用户id
  31907. in: query
  31908. name: userid
  31909. required: true
  31910. type: integer
  31911. - description: 仓单贸易市场id
  31912. in: query
  31913. name: marketid
  31914. type: integer
  31915. - description: 0:仓单预售 1:仓单贸易
  31916. in: query
  31917. name: haswr
  31918. type: integer
  31919. - description: 买卖方向 0-买 1-卖
  31920. in: query
  31921. name: buyorsell
  31922. required: true
  31923. type: integer
  31924. - description: 品种id
  31925. in: query
  31926. name: deliverygoodsid
  31927. type: integer
  31928. - description: 品类id
  31929. in: query
  31930. name: wrstandardid
  31931. type: integer
  31932. - description: 交收月(yyyy-mm) 仓单预售填写
  31933. in: query
  31934. name: deliverymonth
  31935. type: string
  31936. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  31937. in: query
  31938. name: dgitemname
  31939. type: string
  31940. produces:
  31941. - application/json
  31942. responses:
  31943. "200":
  31944. description: OK
  31945. schema:
  31946. items:
  31947. $ref: '#/definitions/models.WrQuoteOrderMyq'
  31948. type: array
  31949. "500":
  31950. description: Internal Server Error
  31951. schema:
  31952. $ref: '#/definitions/app.Response'
  31953. security:
  31954. - ApiKeyAuth: []
  31955. summary: 查询贸易圈挂牌大厅
  31956. tags:
  31957. - 仓单贸易v2
  31958. /WrTrade2/QueryPerformancePlan:
  31959. get:
  31960. parameters:
  31961. - description: 用户id
  31962. in: query
  31963. name: userid
  31964. required: true
  31965. type: integer
  31966. - description: 买卖方向 0-买 1-卖
  31967. in: query
  31968. name: buyorsell
  31969. required: true
  31970. type: integer
  31971. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  31972. 8:释放冻结失败 9:超时待处理 10:超时关闭
  31973. in: query
  31974. name: status
  31975. type: string
  31976. - description: 开始交易日(yyyymmdd)
  31977. in: query
  31978. name: begindate
  31979. type: string
  31980. - description: 结束交易日(yyyymmdd)
  31981. in: query
  31982. name: enddate
  31983. type: string
  31984. produces:
  31985. - application/json
  31986. responses:
  31987. "200":
  31988. description: OK
  31989. schema:
  31990. items:
  31991. $ref: '#/definitions/models.WrPerformancePlan'
  31992. type: array
  31993. "500":
  31994. description: Internal Server Error
  31995. schema:
  31996. $ref: '#/definitions/app.Response'
  31997. security:
  31998. - ApiKeyAuth: []
  31999. summary: 查询履约信息
  32000. tags:
  32001. - 仓单贸易v2
  32002. /WrTrade2/QueryPermancePlanTmp:
  32003. get:
  32004. description: |-
  32005. 返回指定用户的模板和公共模板(用户id为空)
  32006. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  32007. parameters:
  32008. - description: 用户id
  32009. in: query
  32010. name: userid
  32011. type: integer
  32012. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  32013. (无仓单) 5:挂牌期权 6:竞拍-降价式
  32014. in: query
  32015. name: tmptype
  32016. type: string
  32017. - description: 是否包含公共模板(用户id为空的) 1-包含
  32018. in: query
  32019. name: includepub
  32020. type: integer
  32021. - description: 市场id(天津麦顿指定此参数,其它不用)
  32022. in: query
  32023. name: marketid
  32024. type: integer
  32025. produces:
  32026. - application/json
  32027. responses:
  32028. "200":
  32029. description: OK
  32030. schema:
  32031. items:
  32032. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  32033. type: array
  32034. "500":
  32035. description: Internal Server Error
  32036. schema:
  32037. $ref: '#/definitions/app.Response'
  32038. security:
  32039. - ApiKeyAuth: []
  32040. summary: 查询履约模板
  32041. tags:
  32042. - 仓单贸易v2
  32043. /WrTrade2/QuerySiteColumnDetail:
  32044. get:
  32045. parameters:
  32046. - description: 页码
  32047. in: query
  32048. name: page
  32049. type: integer
  32050. - description: 每页条数
  32051. in: query
  32052. name: pagesize
  32053. type: integer
  32054. - description: 所属栏目id
  32055. in: query
  32056. name: columnid
  32057. type: integer
  32058. produces:
  32059. - application/json
  32060. responses:
  32061. "200":
  32062. description: OK
  32063. schema:
  32064. items:
  32065. $ref: '#/definitions/models.WrSiteColumnDetail'
  32066. type: array
  32067. "500":
  32068. description: Internal Server Error
  32069. schema:
  32070. $ref: '#/definitions/app.Response'
  32071. security:
  32072. - ApiKeyAuth: []
  32073. summary: 查询资讯
  32074. tags:
  32075. - 仓单贸易v2
  32076. /WrTrade2/QuerySpotGroupTradeSum:
  32077. get:
  32078. produces:
  32079. - application/json
  32080. responses:
  32081. "200":
  32082. description: OK
  32083. schema:
  32084. items:
  32085. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  32086. type: array
  32087. "500":
  32088. description: Internal Server Error
  32089. schema:
  32090. $ref: '#/definitions/app.Response'
  32091. security:
  32092. - ApiKeyAuth: []
  32093. summary: 查询指数
  32094. tags:
  32095. - 仓单贸易v2
  32096. /WrTrade2/QuerySpotGroupTradeSumDetail:
  32097. get:
  32098. description: 查询的结果将会按日期 从小到大 排序
  32099. parameters:
  32100. - description: 现货商品id
  32101. in: query
  32102. name: deliverygoodsid
  32103. required: true
  32104. type: integer
  32105. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  32106. in: query
  32107. name: lastnum
  32108. type: integer
  32109. produces:
  32110. - application/json
  32111. responses:
  32112. "200":
  32113. description: OK
  32114. schema:
  32115. items:
  32116. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  32117. type: array
  32118. "500":
  32119. description: Internal Server Error
  32120. schema:
  32121. $ref: '#/definitions/app.Response'
  32122. security:
  32123. - ApiKeyAuth: []
  32124. summary: 查询指数详细(价格走势图)
  32125. tags:
  32126. - 仓单贸易v2
  32127. /WrTrade2/QueryWrAverageTradePrice:
  32128. get:
  32129. parameters:
  32130. - description: 页码
  32131. in: query
  32132. name: page
  32133. type: integer
  32134. - description: 每页条数
  32135. in: query
  32136. name: pagesize
  32137. type: integer
  32138. - description: 0:仓单预售 1:仓单贸易
  32139. in: query
  32140. name: haswr
  32141. required: true
  32142. type: integer
  32143. - description: 仓单要素id
  32144. in: query
  32145. name: wrfactortypeid
  32146. required: true
  32147. type: integer
  32148. produces:
  32149. - application/json
  32150. responses:
  32151. "200":
  32152. description: OK
  32153. schema:
  32154. items:
  32155. $ref: '#/definitions/models.WrAverageTradePrice'
  32156. type: array
  32157. "500":
  32158. description: Internal Server Error
  32159. schema:
  32160. $ref: '#/definitions/app.Response'
  32161. security:
  32162. - ApiKeyAuth: []
  32163. summary: 查询成交价(历史走势)
  32164. tags:
  32165. - 仓单贸易v2
  32166. /WrTrade2/QueryWrBrandAndYears:
  32167. get:
  32168. produces:
  32169. - application/json
  32170. responses:
  32171. "200":
  32172. description: OK
  32173. schema:
  32174. items:
  32175. $ref: '#/definitions/models.WrBrandAndYears'
  32176. type: array
  32177. "500":
  32178. description: Internal Server Error
  32179. schema:
  32180. $ref: '#/definitions/app.Response'
  32181. security:
  32182. - ApiKeyAuth: []
  32183. summary: 查询品牌和年份
  32184. tags:
  32185. - 仓单贸易v2
  32186. /WrTrade2/QueryWrBsGoodsInfo:
  32187. get:
  32188. description: 合约交易/买卖大厅/详情
  32189. parameters:
  32190. - description: 商品id
  32191. in: query
  32192. name: goodsid
  32193. required: true
  32194. type: integer
  32195. produces:
  32196. - application/json
  32197. responses:
  32198. "200":
  32199. description: OK
  32200. schema:
  32201. items:
  32202. $ref: '#/definitions/models.WrBsGoodsInfo'
  32203. type: array
  32204. "500":
  32205. description: Internal Server Error
  32206. schema:
  32207. $ref: '#/definitions/app.Response'
  32208. security:
  32209. - ApiKeyAuth: []
  32210. summary: 查询合约交易买卖大厅详情
  32211. tags:
  32212. - 仓单贸易v2
  32213. /WrTrade2/QueryWrBuybackDetail:
  32214. get:
  32215. parameters:
  32216. - description: 融资合同id
  32217. in: query
  32218. name: scfcontractid
  32219. type: integer
  32220. produces:
  32221. - application/json
  32222. responses:
  32223. "200":
  32224. description: OK
  32225. schema:
  32226. items:
  32227. $ref: '#/definitions/models.WrBuybackDetail'
  32228. type: array
  32229. "500":
  32230. description: Internal Server Error
  32231. schema:
  32232. $ref: '#/definitions/app.Response'
  32233. security:
  32234. - ApiKeyAuth: []
  32235. summary: 查询仓单回购明细
  32236. tags:
  32237. - 仓单贸易v2
  32238. /WrTrade2/QueryWrClientAdSpaceConfig:
  32239. get:
  32240. produces:
  32241. - application/json
  32242. responses:
  32243. "200":
  32244. description: OK
  32245. schema:
  32246. items:
  32247. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  32248. type: array
  32249. "500":
  32250. description: Internal Server Error
  32251. schema:
  32252. $ref: '#/definitions/app.Response'
  32253. security:
  32254. - ApiKeyAuth: []
  32255. summary: 查询固定广告配置
  32256. tags:
  32257. - 仓单贸易v2
  32258. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  32259. get:
  32260. parameters:
  32261. - description: 资金账号
  32262. in: query
  32263. name: accountid
  32264. required: true
  32265. type: integer
  32266. - description: 商品id
  32267. in: query
  32268. name: goodsid
  32269. required: true
  32270. type: integer
  32271. produces:
  32272. - application/json
  32273. responses:
  32274. "200":
  32275. description: OK
  32276. schema:
  32277. items:
  32278. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  32279. type: array
  32280. "500":
  32281. description: Internal Server Error
  32282. schema:
  32283. $ref: '#/definitions/app.Response'
  32284. security:
  32285. - ApiKeyAuth: []
  32286. summary: 查询合约交收可点选仓单
  32287. tags:
  32288. - 仓单贸易v2
  32289. /WrTrade2/QueryWrDeliveryDetail:
  32290. get:
  32291. parameters:
  32292. - description: 用户id
  32293. in: query
  32294. name: userid
  32295. required: true
  32296. type: integer
  32297. - description: 资金账号id
  32298. in: query
  32299. name: accountid
  32300. type: integer
  32301. - description: 开始交易日(yyyymmdd)
  32302. in: query
  32303. name: begindate
  32304. type: string
  32305. - description: 结束交易日(yyyymmdd)
  32306. in: query
  32307. name: enddate
  32308. type: string
  32309. produces:
  32310. - application/json
  32311. responses:
  32312. "200":
  32313. description: OK
  32314. schema:
  32315. items:
  32316. $ref: '#/definitions/models.WrDeliveryDetail'
  32317. type: array
  32318. "500":
  32319. description: Internal Server Error
  32320. schema:
  32321. $ref: '#/definitions/app.Response'
  32322. security:
  32323. - ApiKeyAuth: []
  32324. summary: 查询交收
  32325. tags:
  32326. - 仓单贸易v2
  32327. /WrTrade2/QueryWrDraftUserInfo:
  32328. get:
  32329. parameters:
  32330. - description: 用户ID
  32331. in: query
  32332. name: userid
  32333. required: true
  32334. type: integer
  32335. - description: 用户状态 1:正常 2:注销
  32336. in: query
  32337. name: userstatus
  32338. type: integer
  32339. produces:
  32340. - application/json
  32341. responses:
  32342. "200":
  32343. description: OK
  32344. schema:
  32345. items:
  32346. $ref: '#/definitions/models.WrDraftUserInfo'
  32347. type: array
  32348. "500":
  32349. description: Internal Server Error
  32350. schema:
  32351. $ref: '#/definitions/app.Response'
  32352. security:
  32353. - ApiKeyAuth: []
  32354. summary: 查询实名认证信息
  32355. tags:
  32356. - 仓单贸易v2
  32357. /WrTrade2/QueryWrFactorTypeInfo:
  32358. get:
  32359. parameters:
  32360. - description: 仓单要素id
  32361. in: query
  32362. name: wrfactortypeid
  32363. required: true
  32364. type: integer
  32365. produces:
  32366. - application/json
  32367. responses:
  32368. "200":
  32369. description: OK
  32370. schema:
  32371. items:
  32372. $ref: '#/definitions/models.WrFactorTypeInfo'
  32373. type: array
  32374. "500":
  32375. description: Internal Server Error
  32376. schema:
  32377. $ref: '#/definitions/app.Response'
  32378. security:
  32379. - ApiKeyAuth: []
  32380. summary: 查询仓单要素详细信息
  32381. tags:
  32382. - 仓单贸易v2
  32383. /WrTrade2/QueryWrFactorTypeInfoEx:
  32384. get:
  32385. parameters:
  32386. - description: 仓单要素id
  32387. in: query
  32388. name: wrfactortypeid
  32389. required: true
  32390. type: integer
  32391. produces:
  32392. - application/json
  32393. responses:
  32394. "200":
  32395. description: OK
  32396. schema:
  32397. items:
  32398. $ref: '#/definitions/models.WrTypeItem'
  32399. type: array
  32400. "500":
  32401. description: Internal Server Error
  32402. schema:
  32403. $ref: '#/definitions/app.Response'
  32404. security:
  32405. - ApiKeyAuth: []
  32406. summary: 查询仓单要素详细信息列表项
  32407. tags:
  32408. - 仓单贸易v2
  32409. /WrTrade2/QueryWrFinanceBuyApply:
  32410. get:
  32411. description: 页面 融资信息+ / 申请单
  32412. parameters:
  32413. - description: 用户id
  32414. in: query
  32415. name: userid
  32416. required: true
  32417. type: integer
  32418. produces:
  32419. - application/json
  32420. responses:
  32421. "200":
  32422. description: OK
  32423. schema:
  32424. items:
  32425. $ref: '#/definitions/models.WrFinanceBuyApply'
  32426. type: array
  32427. "500":
  32428. description: Internal Server Error
  32429. schema:
  32430. $ref: '#/definitions/app.Response'
  32431. security:
  32432. - ApiKeyAuth: []
  32433. summary: 查询融资购买申请
  32434. tags:
  32435. - 仓单贸易v2
  32436. /WrTrade2/QueryWrFriendApply:
  32437. get:
  32438. parameters:
  32439. - description: 用户id
  32440. in: query
  32441. name: userid
  32442. required: true
  32443. type: integer
  32444. produces:
  32445. - application/json
  32446. responses:
  32447. "200":
  32448. description: OK
  32449. schema:
  32450. items:
  32451. $ref: '#/definitions/models.WrFriendApply'
  32452. type: array
  32453. "500":
  32454. description: Internal Server Error
  32455. schema:
  32456. $ref: '#/definitions/app.Response'
  32457. security:
  32458. - ApiKeyAuth: []
  32459. summary: 查询好友申请记录
  32460. tags:
  32461. - 仓单贸易v2
  32462. /WrTrade2/QueryWrGoodsInfo:
  32463. get:
  32464. parameters:
  32465. - description: 仓单贸易市场id
  32466. in: query
  32467. name: marketid
  32468. type: integer
  32469. - description: 0:仓单预售 1:仓单贸易
  32470. in: query
  32471. name: haswr
  32472. required: true
  32473. type: integer
  32474. - description: 仓单要素id
  32475. in: query
  32476. name: wrfactortypeid
  32477. required: true
  32478. type: integer
  32479. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  32480. in: query
  32481. name: tmplateid
  32482. type: integer
  32483. produces:
  32484. - application/json
  32485. responses:
  32486. "200":
  32487. description: OK
  32488. schema:
  32489. items:
  32490. $ref: '#/definitions/models.WrGoodsInfo'
  32491. type: array
  32492. "500":
  32493. description: Internal Server Error
  32494. schema:
  32495. $ref: '#/definitions/app.Response'
  32496. security:
  32497. - ApiKeyAuth: []
  32498. summary: 查询仓单商品信息
  32499. tags:
  32500. - 仓单贸易v2
  32501. /WrTrade2/QueryWrMarketTradeConfig:
  32502. get:
  32503. parameters:
  32504. - description: 市场id
  32505. in: query
  32506. name: marketid
  32507. type: integer
  32508. produces:
  32509. - application/json
  32510. responses:
  32511. "200":
  32512. description: OK
  32513. schema:
  32514. items:
  32515. $ref: '#/definitions/models.WrMarketTradeConfig'
  32516. type: array
  32517. "500":
  32518. description: Internal Server Error
  32519. schema:
  32520. $ref: '#/definitions/app.Response'
  32521. security:
  32522. - ApiKeyAuth: []
  32523. summary: 查询市场交易参数配置
  32524. tags:
  32525. - 仓单贸易v2
  32526. /WrTrade2/QueryWrOrderDetail:
  32527. get:
  32528. description: 页面 现货仓单 | 预售仓单 -> 委托单
  32529. parameters:
  32530. - description: 页码
  32531. in: query
  32532. name: page
  32533. type: integer
  32534. - description: 每页条数
  32535. in: query
  32536. name: pagesize
  32537. type: integer
  32538. - description: 用户id
  32539. in: query
  32540. name: userid
  32541. required: true
  32542. type: integer
  32543. - description: 仓单贸易市场id
  32544. in: query
  32545. name: marketid
  32546. type: integer
  32547. - description: 0:仓单预售 1:仓单贸易
  32548. in: query
  32549. name: haswr
  32550. required: true
  32551. type: integer
  32552. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  32553. in: query
  32554. name: bcancel
  32555. type: integer
  32556. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  32557. in: query
  32558. name: wrtradetype
  32559. type: integer
  32560. - description: 开始交易日(yyyymmdd)
  32561. in: query
  32562. name: begindate
  32563. type: string
  32564. - description: 结束交易日(yyyymmdd)
  32565. in: query
  32566. name: enddate
  32567. type: string
  32568. produces:
  32569. - application/json
  32570. responses:
  32571. "200":
  32572. description: OK
  32573. schema:
  32574. items:
  32575. $ref: '#/definitions/models.WrOrderDetail'
  32576. type: array
  32577. "500":
  32578. description: Internal Server Error
  32579. schema:
  32580. $ref: '#/definitions/app.Response'
  32581. security:
  32582. - ApiKeyAuth: []
  32583. summary: 查询仓单委托单
  32584. tags:
  32585. - 仓单贸易v2
  32586. /WrTrade2/QueryWrOutInApply:
  32587. get:
  32588. parameters:
  32589. - description: 页码
  32590. in: query
  32591. name: page
  32592. type: integer
  32593. - description: 每页条数
  32594. in: query
  32595. name: pagesize
  32596. type: integer
  32597. - description: 用户id
  32598. in: query
  32599. name: userid
  32600. required: true
  32601. type: integer
  32602. - description: 开始交易日(yyyymmdd)
  32603. in: query
  32604. name: begindate
  32605. type: string
  32606. - description: 结束交易日(yyyymmdd)
  32607. in: query
  32608. name: enddate
  32609. type: string
  32610. produces:
  32611. - application/json
  32612. responses:
  32613. "200":
  32614. description: OK
  32615. schema:
  32616. items:
  32617. $ref: '#/definitions/models.WrOutInApply'
  32618. type: array
  32619. "500":
  32620. description: Internal Server Error
  32621. schema:
  32622. $ref: '#/definitions/app.Response'
  32623. security:
  32624. - ApiKeyAuth: []
  32625. summary: 查询提货申请
  32626. tags:
  32627. - 仓单贸易v2
  32628. /WrTrade2/QueryWrPerformancePlanStep:
  32629. get:
  32630. parameters:
  32631. - description: 履约计划id(performanceplanid)
  32632. in: query
  32633. name: planid
  32634. required: true
  32635. type: integer
  32636. - description: 当前步骤id
  32637. in: query
  32638. name: curstepid
  32639. type: integer
  32640. produces:
  32641. - application/json
  32642. responses:
  32643. "200":
  32644. description: OK
  32645. schema:
  32646. items:
  32647. $ref: '#/definitions/models.WrPerformancePlanStep'
  32648. type: array
  32649. "500":
  32650. description: Internal Server Error
  32651. schema:
  32652. $ref: '#/definitions/app.Response'
  32653. security:
  32654. - ApiKeyAuth: []
  32655. summary: 查询履约信息详情
  32656. tags:
  32657. - 仓单贸易v2
  32658. /WrTrade2/QueryWrPerformanceStepType:
  32659. get:
  32660. produces:
  32661. - application/json
  32662. responses:
  32663. "200":
  32664. description: OK
  32665. schema:
  32666. items:
  32667. $ref: '#/definitions/models.WrPerformanceStepType'
  32668. type: array
  32669. "500":
  32670. description: Internal Server Error
  32671. schema:
  32672. $ref: '#/definitions/app.Response'
  32673. security:
  32674. - ApiKeyAuth: []
  32675. summary: 查询履约步骤枚举
  32676. tags:
  32677. - 仓单贸易v2
  32678. /WrTrade2/QueryWrPosition:
  32679. get:
  32680. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  32681. parameters:
  32682. - description: 用户id
  32683. in: query
  32684. name: userid
  32685. required: true
  32686. type: integer
  32687. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  32688. in: query
  32689. name: querytype
  32690. required: true
  32691. type: integer
  32692. - description: 0:仓单预售 1:仓单贸易
  32693. in: query
  32694. name: haswr
  32695. required: true
  32696. type: integer
  32697. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  32698. in: query
  32699. name: dgitemname
  32700. type: string
  32701. - description: 仓库id(筛选条件)
  32702. in: query
  32703. name: warehouseid
  32704. type: integer
  32705. - description: 品种id
  32706. in: query
  32707. name: deliverygoodsid
  32708. type: integer
  32709. - description: 品类id
  32710. in: query
  32711. name: wrstandardid
  32712. type: integer
  32713. produces:
  32714. - application/json
  32715. responses:
  32716. "200":
  32717. description: OK
  32718. schema:
  32719. items:
  32720. $ref: '#/definitions/models.WrPosition'
  32721. type: array
  32722. "500":
  32723. description: Internal Server Error
  32724. schema:
  32725. $ref: '#/definitions/app.Response'
  32726. security:
  32727. - ApiKeyAuth: []
  32728. summary: 查询现货(预售)仓单持仓
  32729. tags:
  32730. - 仓单贸易v2
  32731. /WrTrade2/QueryWrPreSaleInfo:
  32732. get:
  32733. parameters:
  32734. - description: 市场id
  32735. in: query
  32736. name: marketid
  32737. type: integer
  32738. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  32739. in: query
  32740. name: presalestatus
  32741. type: string
  32742. - description: 摇号标识 - 0:未摇号 1:已摇号
  32743. in: query
  32744. name: lotteryflag
  32745. type: integer
  32746. - description: 最近多少条记录(按创建时间倒序)
  32747. in: query
  32748. name: lastnum
  32749. type: integer
  32750. produces:
  32751. - application/json
  32752. responses:
  32753. "200":
  32754. description: OK
  32755. schema:
  32756. items:
  32757. $ref: '#/definitions/models.WrPreSaleInfo'
  32758. type: array
  32759. "500":
  32760. description: Internal Server Error
  32761. schema:
  32762. $ref: '#/definitions/app.Response'
  32763. security:
  32764. - ApiKeyAuth: []
  32765. summary: 查询新品发布
  32766. tags:
  32767. - 仓单贸易v2
  32768. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  32769. get:
  32770. parameters:
  32771. - description: 市场id
  32772. in: query
  32773. name: marketid
  32774. required: true
  32775. type: integer
  32776. - description: 现货商品id
  32777. in: query
  32778. name: wrstandardid
  32779. required: true
  32780. type: integer
  32781. - description: 开始交易日(yyyymmdd)
  32782. in: query
  32783. name: begindate
  32784. type: string
  32785. - description: 结束交易日(yyyymmdd)
  32786. in: query
  32787. name: enddate
  32788. type: string
  32789. - description: 最近多少条记录(按交易日倒序)
  32790. in: query
  32791. name: lastnum
  32792. type: integer
  32793. - description: 是否今日
  32794. in: query
  32795. name: istoday
  32796. type: boolean
  32797. produces:
  32798. - application/json
  32799. responses:
  32800. "200":
  32801. description: OK
  32802. schema:
  32803. items:
  32804. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  32805. type: array
  32806. "500":
  32807. description: Internal Server Error
  32808. schema:
  32809. $ref: '#/definitions/app.Response'
  32810. security:
  32811. - ApiKeyAuth: []
  32812. summary: 查询价格走势
  32813. tags:
  32814. - 仓单贸易v2
  32815. /WrTrade2/QueryWrScfContract:
  32816. get:
  32817. parameters:
  32818. - description: 用户id
  32819. in: query
  32820. name: userid
  32821. required: true
  32822. type: integer
  32823. - description: 融资合同id
  32824. in: query
  32825. name: scfcontractid
  32826. type: integer
  32827. produces:
  32828. - application/json
  32829. responses:
  32830. "200":
  32831. description: OK
  32832. schema:
  32833. items:
  32834. $ref: '#/definitions/models.WrScfContract'
  32835. type: array
  32836. "500":
  32837. description: Internal Server Error
  32838. schema:
  32839. $ref: '#/definitions/app.Response'
  32840. security:
  32841. - ApiKeyAuth: []
  32842. summary: 查询仓单贸易融资合同
  32843. tags:
  32844. - 仓单贸易v2
  32845. /WrTrade2/QueryWrScfContractInterest:
  32846. get:
  32847. parameters:
  32848. - description: 融资合同id
  32849. in: query
  32850. name: scfcontractid
  32851. type: integer
  32852. produces:
  32853. - application/json
  32854. responses:
  32855. "200":
  32856. description: OK
  32857. schema:
  32858. items:
  32859. $ref: '#/definitions/models.WrScfContractInterest'
  32860. type: array
  32861. "500":
  32862. description: Internal Server Error
  32863. schema:
  32864. $ref: '#/definitions/app.Response'
  32865. security:
  32866. - ApiKeyAuth: []
  32867. summary: 查询融资合同费用明细
  32868. tags:
  32869. - 仓单贸易v2
  32870. /WrTrade2/QueryWrSearchUser:
  32871. get:
  32872. parameters:
  32873. - description: 用户名称(模糊匹配)
  32874. in: query
  32875. name: username
  32876. required: true
  32877. type: string
  32878. produces:
  32879. - application/json
  32880. responses:
  32881. "200":
  32882. description: OK
  32883. schema:
  32884. items:
  32885. $ref: '#/definitions/models.WrSearchUser'
  32886. type: array
  32887. "500":
  32888. description: Internal Server Error
  32889. schema:
  32890. $ref: '#/definitions/app.Response'
  32891. security:
  32892. - ApiKeyAuth: []
  32893. summary: 查询用户
  32894. tags:
  32895. - 仓单贸易v2
  32896. /WrTrade2/QueryWrSpecialMatchOrder:
  32897. get:
  32898. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  32899. parameters:
  32900. - description: 页码
  32901. in: query
  32902. name: page
  32903. type: integer
  32904. - description: 每页条数
  32905. in: query
  32906. name: pagesize
  32907. type: integer
  32908. - description: 用户id
  32909. in: query
  32910. name: userid
  32911. required: true
  32912. type: integer
  32913. - description: 仓单贸易市场id
  32914. in: query
  32915. name: marketid
  32916. type: integer
  32917. - description: 0:仓单预售 1:仓单贸易
  32918. in: query
  32919. name: haswr
  32920. required: true
  32921. type: integer
  32922. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  32923. in: query
  32924. name: isspecified
  32925. type: integer
  32926. produces:
  32927. - application/json
  32928. responses:
  32929. "200":
  32930. description: OK
  32931. schema:
  32932. items:
  32933. $ref: '#/definitions/models.WrSpecialMatchOrder'
  32934. type: array
  32935. "500":
  32936. description: Internal Server Error
  32937. schema:
  32938. $ref: '#/definitions/app.Response'
  32939. security:
  32940. - ApiKeyAuth: []
  32941. summary: 查询指定成交
  32942. tags:
  32943. - 仓单贸易v2
  32944. /WrTrade2/QueryWrStandardFactoryItem:
  32945. get:
  32946. parameters:
  32947. - description: 品类id
  32948. in: query
  32949. name: wrstandardid
  32950. required: true
  32951. type: integer
  32952. produces:
  32953. - application/json
  32954. responses:
  32955. "200":
  32956. description: OK
  32957. schema:
  32958. items:
  32959. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  32960. type: array
  32961. "500":
  32962. description: Internal Server Error
  32963. schema:
  32964. $ref: '#/definitions/app.Response'
  32965. security:
  32966. - ApiKeyAuth: []
  32967. summary: 查询品类要素定义项
  32968. tags:
  32969. - 仓单贸易v2
  32970. /WrTrade2/QueryWrTradeBargainApply:
  32971. get:
  32972. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  32973. 议价->对方议价 填写matchuserid=登录用户id
  32974. parameters:
  32975. - description: 议价人id(摘牌方)
  32976. in: query
  32977. name: userid
  32978. type: integer
  32979. - description: 挂牌方id(查对方议价时,填写此项)
  32980. in: query
  32981. name: matchuserid
  32982. type: integer
  32983. - description: 关联委托单id
  32984. in: query
  32985. name: wrtradeorderid
  32986. type: integer
  32987. - description: 0:仓单预售 1:仓单贸易
  32988. in: query
  32989. name: haswr
  32990. required: true
  32991. type: integer
  32992. - description: 开始交易日(yyyymmdd)
  32993. in: query
  32994. name: begindate
  32995. type: string
  32996. - description: 结束交易日(yyyymmdd)
  32997. in: query
  32998. name: enddate
  32999. type: string
  33000. produces:
  33001. - application/json
  33002. responses:
  33003. "200":
  33004. description: OK
  33005. schema:
  33006. items:
  33007. $ref: '#/definitions/models.WRTradeBargainApply'
  33008. type: array
  33009. "500":
  33010. description: Internal Server Error
  33011. schema:
  33012. $ref: '#/definitions/app.Response'
  33013. security:
  33014. - ApiKeyAuth: []
  33015. summary: 查询议价单
  33016. tags:
  33017. - 仓单贸易v2
  33018. /WrTrade2/QueryWrTradeDetail:
  33019. get:
  33020. parameters:
  33021. - description: 页码
  33022. in: query
  33023. name: page
  33024. type: integer
  33025. - description: 每页条数
  33026. in: query
  33027. name: pagesize
  33028. type: integer
  33029. - description: 用户id
  33030. in: query
  33031. name: userid
  33032. required: true
  33033. type: integer
  33034. - description: 仓单贸易市场id
  33035. in: query
  33036. name: marketid
  33037. type: integer
  33038. - description: 0:仓单预售 1:仓单贸易
  33039. in: query
  33040. name: haswr
  33041. required: true
  33042. type: integer
  33043. - description: 开始交易日(yyyymmdd)
  33044. in: query
  33045. name: begindate
  33046. type: string
  33047. - description: 结束交易日(yyyymmdd)
  33048. in: query
  33049. name: enddate
  33050. type: string
  33051. produces:
  33052. - application/json
  33053. responses:
  33054. "200":
  33055. description: OK
  33056. schema:
  33057. items:
  33058. $ref: '#/definitions/models.WrTradeDetail'
  33059. type: array
  33060. "500":
  33061. description: Internal Server Error
  33062. schema:
  33063. $ref: '#/definitions/app.Response'
  33064. security:
  33065. - ApiKeyAuth: []
  33066. summary: 查询仓单成交明细
  33067. tags:
  33068. - 仓单贸易v2
  33069. /WrTrade2/QueryWrTradeOrderDetail:
  33070. get:
  33071. parameters:
  33072. - description: 页码
  33073. in: query
  33074. name: page
  33075. type: integer
  33076. - description: 每页条数
  33077. in: query
  33078. name: pagesize
  33079. type: integer
  33080. - description: 商品id
  33081. in: query
  33082. name: goodsid
  33083. required: true
  33084. type: integer
  33085. - description: 买卖方向 0-买 1-卖
  33086. in: query
  33087. name: buyorsell
  33088. required: true
  33089. type: integer
  33090. produces:
  33091. - application/json
  33092. responses:
  33093. "200":
  33094. description: OK
  33095. schema:
  33096. items:
  33097. $ref: '#/definitions/models.WrTradeOrderDetail'
  33098. type: array
  33099. "500":
  33100. description: Internal Server Error
  33101. schema:
  33102. $ref: '#/definitions/app.Response'
  33103. security:
  33104. - ApiKeyAuth: []
  33105. summary: 查询合约交易买卖大厅
  33106. tags:
  33107. - 仓单贸易v2
  33108. /WrTrade2/QueryWrTradeQuote:
  33109. get:
  33110. parameters:
  33111. - description: 现货商品id
  33112. in: query
  33113. name: wrstandardid
  33114. required: true
  33115. type: integer
  33116. - description: 开始日期(yyyymmdd)
  33117. in: query
  33118. name: begindate
  33119. required: true
  33120. type: string
  33121. - description: 结束日期(yyyymmdd)
  33122. in: query
  33123. name: enddate
  33124. required: true
  33125. type: string
  33126. - description: 市场id
  33127. in: query
  33128. name: marketid
  33129. type: integer
  33130. produces:
  33131. - application/json
  33132. responses:
  33133. "200":
  33134. description: OK
  33135. schema:
  33136. items:
  33137. $ref: '#/definitions/models.Wrtradetradequote'
  33138. type: array
  33139. "500":
  33140. description: Internal Server Error
  33141. schema:
  33142. $ref: '#/definitions/app.Response'
  33143. security:
  33144. - ApiKeyAuth: []
  33145. summary: 查询仓单贸易成交行情
  33146. tags:
  33147. - 仓单贸易v2
  33148. /WrTrade2/QueryWrUserFriend:
  33149. get:
  33150. parameters:
  33151. - description: 用户id
  33152. in: query
  33153. name: userid
  33154. required: true
  33155. type: integer
  33156. - description: 新朋友userid, 如果填写了此项则查找新朋友
  33157. in: query
  33158. name: newuserid
  33159. type: integer
  33160. produces:
  33161. - application/json
  33162. responses:
  33163. "200":
  33164. description: OK
  33165. schema:
  33166. items:
  33167. $ref: '#/definitions/models.WrUserFriend'
  33168. type: array
  33169. "500":
  33170. description: Internal Server Error
  33171. schema:
  33172. $ref: '#/definitions/app.Response'
  33173. security:
  33174. - ApiKeyAuth: []
  33175. summary: 查询我的朋友
  33176. tags:
  33177. - 仓单贸易v2
  33178. /WrTrade2/QueryWrUserReceiptInfo:
  33179. get:
  33180. parameters:
  33181. - description: 用户id
  33182. in: query
  33183. name: userid
  33184. type: integer
  33185. - description: 发票类型 - 1:个人 2:企业
  33186. in: query
  33187. name: receipttype
  33188. type: integer
  33189. produces:
  33190. - application/json
  33191. responses:
  33192. "200":
  33193. description: OK
  33194. schema:
  33195. items:
  33196. $ref: '#/definitions/models.WrUserReceiptInfo'
  33197. type: array
  33198. "500":
  33199. description: Internal Server Error
  33200. schema:
  33201. $ref: '#/definitions/app.Response'
  33202. security:
  33203. - ApiKeyAuth: []
  33204. summary: 查询发票信息
  33205. tags:
  33206. - 仓单贸易v2
  33207. /WrTrade2/QueryXhcpSellBackApply:
  33208. get:
  33209. parameters:
  33210. - description: 用户ID
  33211. in: query
  33212. name: userid
  33213. required: true
  33214. type: integer
  33215. produces:
  33216. - application/json
  33217. responses:
  33218. "200":
  33219. description: OK
  33220. schema:
  33221. items:
  33222. $ref: '#/definitions/models.Xhcpsellbackapply'
  33223. type: array
  33224. "500":
  33225. description: Internal Server Error
  33226. schema:
  33227. $ref: '#/definitions/app.Response'
  33228. security:
  33229. - ApiKeyAuth: []
  33230. summary: 查询我的回收申请(新会陈皮)
  33231. tags:
  33232. - 仓单贸易v2
  33233. /ZJ/GetBankTip:
  33234. get:
  33235. produces:
  33236. - application/json
  33237. responses:
  33238. "200":
  33239. description: OK
  33240. schema:
  33241. type: string
  33242. "500":
  33243. description: Internal Server Error
  33244. schema:
  33245. $ref: '#/definitions/app.Response'
  33246. summary: 获取中江网银端出入金提示信息
  33247. tags:
  33248. - 中江
  33249. /ZJ/GetCusBankChannels:
  33250. get:
  33251. produces:
  33252. - application/json
  33253. responses:
  33254. "200":
  33255. description: OK
  33256. schema:
  33257. items:
  33258. type: string
  33259. type: array
  33260. "500":
  33261. description: Internal Server Error
  33262. schema:
  33263. $ref: '#/definitions/app.Response'
  33264. summary: 获取中江出入金渠道显示列表
  33265. tags:
  33266. - 中江
  33267. securityDefinitions:
  33268. ApiKeyAuth:
  33269. in: header
  33270. name: Authorization
  33271. type: apiKey
  33272. Group:
  33273. in: header
  33274. name: Group
  33275. type: apiKey
  33276. LoginID:
  33277. in: header
  33278. name: LoginID
  33279. type: apiKey
  33280. swagger: "2.0"