swagger.yaml 960 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. models.Arearole:
  3746. properties:
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人ID
  3752. type: integer
  3753. fromuserid:
  3754. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3755. type: integer
  3756. isreturnscore:
  3757. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3758. type: integer
  3759. modifierid:
  3760. description: 修改人ID
  3761. type: integer
  3762. modifytime:
  3763. description: 修改时间
  3764. type: string
  3765. orgtype:
  3766. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3767. type: integer
  3768. outuserid:
  3769. description: 外部账户[场外期权做市商]
  3770. type: string
  3771. parentuserid:
  3772. description: 上级组织机构(组织机构)
  3773. type: integer
  3774. roletype:
  3775. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3776. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3777. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3778. type: integer
  3779. rootuserid:
  3780. description: 顶级组织机构用户ID(组织机构)
  3781. type: integer
  3782. shoppassword:
  3783. description: 商城店铺登陆密码(商城店铺角色使用)
  3784. type: string
  3785. sublevelpath:
  3786. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3787. type: string
  3788. suborgtype:
  3789. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3790. type: integer
  3791. tradeaccountid:
  3792. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3793. type: integer
  3794. transurl:
  3795. description: 物流地址(物流机构)
  3796. type: string
  3797. userid:
  3798. description: 机构用户ID其他做市关系,都设置为 1
  3799. type: integer
  3800. required:
  3801. - roletype
  3802. - userid
  3803. type: object
  3804. models.BuyOrder:
  3805. properties:
  3806. accountid:
  3807. description: 资金账户ID
  3808. type: integer
  3809. buyusername:
  3810. description: 买方
  3811. type: string
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. ordertime:
  3816. description: 委托时间
  3817. type: string
  3818. origin:
  3819. description: 原产地
  3820. type: string
  3821. performancetemplateid:
  3822. description: 履约计划模板ID
  3823. type: integer
  3824. remark:
  3825. description: 备注
  3826. type: string
  3827. userid:
  3828. description: 用户ID
  3829. type: integer
  3830. validtime:
  3831. description: 有效期限
  3832. type: string
  3833. warehouseids:
  3834. description: 仓库ID - 多个, 逗号分隔
  3835. type: string
  3836. warehouseinfosdisplay:
  3837. type: string
  3838. wrtradeorderid:
  3839. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3840. type: string
  3841. wrtradeorderstatus:
  3842. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3843. type: integer
  3844. zscategory:
  3845. description: 钻石分类 - 枚举”ZSCategory“
  3846. type: integer
  3847. zscategorydisplay:
  3848. type: string
  3849. zsclaritytype:
  3850. description: 净度 - 两个, 逗号分隔
  3851. type: string
  3852. zsclaritytypedisplay:
  3853. type: string
  3854. zscolortype:
  3855. description: 颜色 - 两个, 逗号分隔
  3856. type: string
  3857. zscolortypedisplay:
  3858. type: string
  3859. zscrystaltype:
  3860. description: 晶型 - 多个,逗号分隔
  3861. type: string
  3862. zscrystaltypedisplay:
  3863. type: string
  3864. zscurrencytype:
  3865. description: 货币类型 - 多个, 逗号分隔
  3866. type: string
  3867. zscurrencytypedisplay:
  3868. type: string
  3869. zscuttype:
  3870. description: 切工 - 两个, 逗号分隔
  3871. type: string
  3872. zscuttypedisplay:
  3873. type: string
  3874. zsczcolor1type:
  3875. description: 彩钻颜色1, 逗号分隔
  3876. type: string
  3877. zsczcolor1typedisplay:
  3878. type: string
  3879. zsczcolor2type:
  3880. description: 彩钻颜色2, 逗号分隔
  3881. type: string
  3882. zsczcolor2typedisplay:
  3883. type: string
  3884. zsczcolor3type:
  3885. description: 彩钻颜色3, 逗号分隔
  3886. type: string
  3887. zsczcolor3typedisplay:
  3888. type: string
  3889. zsfluorescencetype:
  3890. description: 荧光 - 多个, 逗号分隔
  3891. type: string
  3892. zsfluorescencetypedisplay:
  3893. type: string
  3894. zspolishtype:
  3895. description: 抛光度 - 两个, 逗号分隔
  3896. type: string
  3897. zspolishtypedisplay:
  3898. type: string
  3899. zsshapetype:
  3900. description: 形状 - 多个, 逗号分隔
  3901. type: string
  3902. zsshapetypedisplay:
  3903. type: string
  3904. zssize:
  3905. description: 尺寸 - 两个小数, 逗号分隔
  3906. type: string
  3907. zsstyletype:
  3908. description: 款式 - 多个, 逗号分隔
  3909. type: string
  3910. zsstyletypedisplay:
  3911. type: string
  3912. zssymmetrytype:
  3913. description: 对称度 - 两个, 逗号分隔
  3914. type: string
  3915. zssymmetrytypedisplay:
  3916. type: string
  3917. zstabledisplay:
  3918. description: 求购信息
  3919. type: string
  3920. type: object
  3921. models.DgFactoryItem:
  3922. properties:
  3923. dgfactoryitemid:
  3924. description: 选择项ID(SEQ_DGFACTORYITEM)
  3925. type: integer
  3926. dgfactoryitemtypeid:
  3927. description: 要素项类型
  3928. type: integer
  3929. dgfactoryitemvalue:
  3930. description: 要素项值(类型为仓库时填写仓库名称)
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. type: object
  3936. models.Division:
  3937. properties:
  3938. autoid:
  3939. description: 自增ID
  3940. type: integer
  3941. divisioncode:
  3942. description: 行政代码
  3943. type: string
  3944. divisionlevel:
  3945. description: 行政级别
  3946. type: string
  3947. divisionname:
  3948. description: 行政名称
  3949. type: string
  3950. modifierid:
  3951. description: 修改人
  3952. type: integer
  3953. modifytime:
  3954. description: 修改时间
  3955. type: string
  3956. parentcode:
  3957. description: 上级行政代码
  3958. type: string
  3959. pathname:
  3960. description: 路径名称
  3961. type: string
  3962. postcode:
  3963. description: 邮政编码
  3964. type: string
  3965. separablename:
  3966. description: 可拆分的全称
  3967. type: string
  3968. shortcode:
  3969. description: 地区简码
  3970. type: string
  3971. required:
  3972. - autoid
  3973. - divisioncode
  3974. type: object
  3975. models.Enumdicitem:
  3976. properties:
  3977. autoid:
  3978. description: 自增ID
  3979. type: integer
  3980. bankmappedvalue:
  3981. description: 银行服务对应值
  3982. type: string
  3983. enumdiccode:
  3984. description: 所属枚举代码
  3985. type: string
  3986. enumdicid:
  3987. description: 所属枚举ID
  3988. type: integer
  3989. enumdicname:
  3990. description: 枚举项名称
  3991. type: string
  3992. enumitemname:
  3993. description: 枚举项值
  3994. type: integer
  3995. enumitemstatus:
  3996. description: 枚举项状态 - 1.启用 2.不启用
  3997. type: integer
  3998. enumitemvalue:
  3999. description: 通用值 - [币种通用简写]
  4000. type: string
  4001. param1:
  4002. description: 参数1[币种:币种小数位]
  4003. type: string
  4004. param2:
  4005. description: 参数1[币种:币种显示单位]
  4006. type: string
  4007. remark:
  4008. description: 备注
  4009. type: string
  4010. required:
  4011. - autoid
  4012. - enumdiccode
  4013. - enumdicid
  4014. - enumitemname
  4015. type: object
  4016. models.Ermcp2AreaExposure:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构
  4020. type: integer
  4021. enumdicname:
  4022. description: 单位
  4023. type: string
  4024. futureqty:
  4025. description: 期货套期量
  4026. type: number
  4027. futureqtychange:
  4028. description: 期货变动量 = FutureQty - OriFutureQty
  4029. type: number
  4030. goodsunitid:
  4031. description: 单位ID
  4032. type: integer
  4033. hedgedspotexposure:
  4034. description: 被套期现货敞口量
  4035. type: number
  4036. hedgedspratio:
  4037. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4038. type: number
  4039. hedgedtotalexposourechange:
  4040. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4041. type: number
  4042. hedgedtotalexposure:
  4043. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4044. type: number
  4045. hedgeplanqty:
  4046. description: 套期计划量
  4047. type: number
  4048. hedgeplanqtychange:
  4049. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4050. type: number
  4051. hedgespotqty:
  4052. description: 被套期现货量
  4053. type: number
  4054. middlegoodsid:
  4055. description: 套保品种
  4056. type: integer
  4057. middlegoodsname:
  4058. description: 套保品种名称
  4059. type: string
  4060. orifutureqty:
  4061. description: 期初期货套期量
  4062. type: number
  4063. orihedgedspotexposure:
  4064. description: 期初被套期现货敞口量
  4065. type: number
  4066. orihedgedtotalexposure:
  4067. description: 期初套期敞口量
  4068. type: number
  4069. orihedgeplanqty:
  4070. description: 期初套期计划量
  4071. type: number
  4072. orihedgespotqty:
  4073. description: 期初被套期现货量
  4074. type: number
  4075. orispotexposure:
  4076. description: 期初现货敞口量
  4077. type: number
  4078. orispotqty:
  4079. description: 期初现货总量
  4080. type: number
  4081. oritotalexposure:
  4082. description: 期初总敞口量
  4083. type: number
  4084. spotexposure:
  4085. description: 现货敞口量
  4086. type: number
  4087. spotqty:
  4088. description: 现货总量
  4089. type: number
  4090. spotqtychange:
  4091. description: 现货变动量 = SpotQty - OriSpotQty
  4092. type: number
  4093. spratio:
  4094. description: 总期现比例 = 期货套期量/现货敞口量
  4095. type: number
  4096. totalexposure:
  4097. description: 总敞口量 = 现货敞口量 + 期货套期量
  4098. type: number
  4099. totalexposurechange:
  4100. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4101. type: number
  4102. updatetime:
  4103. description: 更新时间 --DATE
  4104. type: string
  4105. type: object
  4106. models.Ermcp2hedgeditem:
  4107. properties:
  4108. accountname:
  4109. description: 套期主体
  4110. type: string
  4111. applyid:
  4112. description: 申请人
  4113. type: integer
  4114. applysrc:
  4115. description: 申请来源 - 1:管理端 2:终端
  4116. type: integer
  4117. areauserid:
  4118. description: 企业ID
  4119. type: integer
  4120. auditid:
  4121. description: 审核人
  4122. type: integer
  4123. auditremark:
  4124. description: 审核备注
  4125. type: string
  4126. auditsrc:
  4127. description: 审核来源 - 1:管理端 2:终端
  4128. type: integer
  4129. audittime:
  4130. description: 审核时间
  4131. type: string
  4132. audittradedate:
  4133. description: 审核交易日(yyyyMMdd)
  4134. type: string
  4135. createtime:
  4136. description: 申请时间
  4137. type: string
  4138. curprice:
  4139. description: 当前市场价
  4140. type: number
  4141. curstock:
  4142. description: 期末库存量 = 采购总量 - 销售总量
  4143. type: number
  4144. deliverygoodsid:
  4145. description: 现货品种ID
  4146. type: integer
  4147. enddate:
  4148. description: 完成日期
  4149. type: string
  4150. endtradedate:
  4151. description: 完成交易日
  4152. type: string
  4153. enumdicname:
  4154. description: 单位
  4155. type: string
  4156. exeamount:
  4157. description: 执行市价总额
  4158. type: number
  4159. exeavgprice:
  4160. description: 执行市场均价= 执行市价总额 / 执行现货量
  4161. type: number
  4162. execontractamount:
  4163. description: 执行定价总额
  4164. type: number
  4165. exeqty:
  4166. description: 执行现货量
  4167. type: number
  4168. exerestamount:
  4169. description: 执行剩余市价总额【现货贸易】
  4170. type: number
  4171. futurefloatpl:
  4172. description: 期货浮动损益
  4173. type: number
  4174. futurehedgepl:
  4175. description: 期货实际损益
  4176. type: number
  4177. futurehedgeplchange:
  4178. description: 期货实际损益变动
  4179. type: number
  4180. futurepl:
  4181. description: 期货套期损益
  4182. type: number
  4183. futureplchange:
  4184. description: 期货套期损益变动
  4185. type: number
  4186. hedgeamount:
  4187. description: 套期市价总额
  4188. type: number
  4189. hedgecontractamount:
  4190. description: 套期定价总额 【定价采购合同】【现货贸易】
  4191. type: number
  4192. hedgeditemid:
  4193. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4194. type: string
  4195. hedgeditemname:
  4196. description: 项目名称
  4197. type: string
  4198. hedgeditemnum:
  4199. description: 项目编号
  4200. type: string
  4201. hedgeditemstatus:
  4202. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4203. type: integer
  4204. hedgedtype:
  4205. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4206. type: integer
  4207. hedgeqty:
  4208. description: 套期现货量
  4209. type: number
  4210. hedgerate:
  4211. description: 套保比率
  4212. type: number
  4213. hedgerestamount:
  4214. description: 套期剩余市价总额【现货贸易】
  4215. type: number
  4216. hedgesumpl:
  4217. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4218. type: number
  4219. middlegoodslist:
  4220. description: 套期商品列表
  4221. items:
  4222. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4223. type: array
  4224. oriavgprice:
  4225. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4226. type: number
  4227. orifuturehedgepl:
  4228. description: 期初期货实际损益
  4229. type: number
  4230. orifuturepl:
  4231. description: 期初期货套期损益
  4232. type: number
  4233. orispothedgepl:
  4234. description: 期初现货实际损益
  4235. type: number
  4236. orispotpl:
  4237. description: 期初现货套期损益
  4238. type: number
  4239. planenddate:
  4240. description: 计划结束日期
  4241. type: string
  4242. planstartdate:
  4243. description: 计划开始日期
  4244. type: string
  4245. remark:
  4246. description: 备注
  4247. type: string
  4248. spotbookamount:
  4249. description: 现货账面总额
  4250. type: number
  4251. spotfloatpl:
  4252. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4253. type: number
  4254. spothedgepl:
  4255. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4256. type: number
  4257. spothedgeplchange:
  4258. description: 现货实际损益变动
  4259. type: number
  4260. spotpl:
  4261. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4262. type: number
  4263. spotplchange:
  4264. description: 现货套期损益变动
  4265. type: number
  4266. spottradepl:
  4267. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4268. type: number
  4269. sumobspl:
  4270. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4271. type: number
  4272. tradeuserid:
  4273. description: 交易用户ID
  4274. type: integer
  4275. unexeqty:
  4276. description: 未执行现货量 = 套期现货量 - 执行现货量
  4277. type: number
  4278. updatetime:
  4279. description: 更新时间
  4280. type: string
  4281. vatpl:
  4282. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4283. type: number
  4284. vatrate:
  4285. description: 增值税
  4286. type: number
  4287. wrstandardid:
  4288. description: 现货商品ID
  4289. type: integer
  4290. wrstandardname:
  4291. description: 商品名称
  4292. type: string
  4293. type: object
  4294. models.Ermcp2hedgeditemlink:
  4295. properties:
  4296. areauserid:
  4297. description: 企业ID
  4298. type: integer
  4299. createtime:
  4300. description: '[关联时间]创建时间'
  4301. type: string
  4302. customeruserid:
  4303. description: 对手方 【3:采购合同 4:销售合同】
  4304. type: integer
  4305. deliverygoodsid:
  4306. description: 现货品种ID
  4307. type: integer
  4308. enumdicname:
  4309. description: 单位
  4310. type: string
  4311. hedgeditemid:
  4312. description: 被套期项目ID
  4313. type: integer
  4314. hedgeditemlinkid:
  4315. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4316. type: integer
  4317. hedgeditemnum:
  4318. description: 项目编号
  4319. type: string
  4320. hedgedtype:
  4321. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4322. type: integer
  4323. relatedamount:
  4324. description: 市价总额 = 关联数量 * 期初市场价
  4325. type: number
  4326. relatedhedgeplanid:
  4327. description: 关联计划ID 【1:采购计划 2:销售计划】
  4328. type: integer
  4329. relatedqty:
  4330. description: 关联数量
  4331. type: number
  4332. relatedspotcontractid:
  4333. description: 关联合同ID 【3:采购合同 4:销售合同】
  4334. type: integer
  4335. relatedtype:
  4336. description: 关联类型 - 1:套期关联 2:执行关联
  4337. type: integer
  4338. spotgoodsbrandid:
  4339. description: 现货品牌ID
  4340. type: integer
  4341. spotpricedamount:
  4342. description: '[关联定价总额]定价总额'
  4343. type: number
  4344. spotpricedavgprice:
  4345. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4346. type: number
  4347. spottype:
  4348. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4349. type: integer
  4350. tradeuserid:
  4351. description: 交易用户ID
  4352. type: integer
  4353. unexeqty:
  4354. description: 未执行现货量【项目关联时值】
  4355. type: number
  4356. wrstandardid:
  4357. description: 现货商品ID
  4358. type: integer
  4359. wrstandardname:
  4360. description: 现货商品
  4361. type: string
  4362. required:
  4363. - relatedspotcontractid
  4364. type: object
  4365. models.Ermcp2hedgeditemsDetail:
  4366. properties:
  4367. accountname:
  4368. description: 套期主体
  4369. type: string
  4370. areauserid:
  4371. description: 企业ID
  4372. type: integer
  4373. createtime:
  4374. description: '[日期时间]创建时间'
  4375. type: string
  4376. customeruserid:
  4377. description: 对手方 【3:采购合同 4:销售合同】
  4378. type: integer
  4379. deliverygoodsid:
  4380. description: 现货品种ID
  4381. type: integer
  4382. enumdicname:
  4383. description: 单位
  4384. type: string
  4385. hedgeditemid:
  4386. description: 被套期项目ID
  4387. type: string
  4388. hedgeditemspotid:
  4389. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4390. type: string
  4391. hedgedtype:
  4392. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4393. type: integer
  4394. hedgeplanno:
  4395. description: 计划编号
  4396. type: string
  4397. middlegoodschange:
  4398. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4399. type: number
  4400. oriavgprice:
  4401. description: 期初市场价[当初市场价]
  4402. type: number
  4403. relatedamount:
  4404. description: 市价总额 = 关联数量 * 期初市场价
  4405. type: number
  4406. relatedhedgeplanid:
  4407. description: 关联计划ID 【1:采购计划 2:销售计划】
  4408. type: integer
  4409. relatedqty:
  4410. description: '[期间变化量]关联数量'
  4411. type: number
  4412. relatedspotcontractid:
  4413. description: 关联合同ID 【3:采购合同 4:销售合同】
  4414. type: integer
  4415. relatedtype:
  4416. description: 关联类型 - 1:套期关联 2:执行关联
  4417. type: integer
  4418. spotgoodsbrandid:
  4419. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4420. type: integer
  4421. spotpricedamount:
  4422. description: 定价总额
  4423. type: number
  4424. spotpricedavgprice:
  4425. description: 现货均价 = 定价总额 / 关联数量
  4426. type: number
  4427. spottype:
  4428. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4429. type: integer
  4430. tradeuserid:
  4431. description: 交易用户ID
  4432. type: integer
  4433. unexeqty:
  4434. description: 未执行现货量 = 套期现货量 - 执行现货量
  4435. type: number
  4436. wrstandardid:
  4437. description: 现货商品ID
  4438. type: integer
  4439. wrstandardname:
  4440. description: 现货商品
  4441. type: string
  4442. type: object
  4443. models.Ermcp2hedgeditemspot:
  4444. properties:
  4445. areauserid:
  4446. description: 企业ID
  4447. type: integer
  4448. createtime:
  4449. description: 创建时间
  4450. type: string
  4451. customeruserid:
  4452. description: 对手方 【3:采购合同 4:销售合同】
  4453. type: integer
  4454. deliverygoodsid:
  4455. description: 现货品种ID
  4456. type: integer
  4457. enumdicname:
  4458. description: 单位
  4459. type: string
  4460. hedgeditemid:
  4461. description: 被套期项目ID
  4462. type: string
  4463. hedgeditemspotid:
  4464. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4465. type: string
  4466. hedgedtype:
  4467. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4468. type: integer
  4469. hedgeplanno:
  4470. description: 计划编号
  4471. type: string
  4472. oriavgprice:
  4473. description: 期初市场价[当初市场价]
  4474. type: number
  4475. relatedamount:
  4476. description: 市价总额 = 关联数量 * 期初市场价
  4477. type: number
  4478. relatedhedgeplanid:
  4479. description: 关联计划ID 【1:采购计划 2:销售计划】
  4480. type: integer
  4481. relatedqty:
  4482. description: 关联数量[数量]
  4483. type: number
  4484. relatedspotcontractid:
  4485. description: 关联合同ID 【3:采购合同 4:销售合同】
  4486. type: integer
  4487. relatedtype:
  4488. description: 关联类型 - 1:套期关联 2:执行关联
  4489. type: integer
  4490. spotgoodsbrandid:
  4491. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4492. type: integer
  4493. spotpricedamount:
  4494. description: 定价总额
  4495. type: number
  4496. spotpricedavgprice:
  4497. description: 现货均价 = 定价总额 / 关联数量
  4498. type: number
  4499. spottype:
  4500. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4501. type: integer
  4502. tradeuserid:
  4503. description: 交易用户ID
  4504. type: integer
  4505. wrstandardid:
  4506. description: 现货商品ID
  4507. type: integer
  4508. wrstandardname:
  4509. description: 现货商品
  4510. type: string
  4511. required:
  4512. - hedgeditemid
  4513. type: object
  4514. models.Ermcp2hedgeditemspotDetail:
  4515. properties:
  4516. accountname:
  4517. description: 对手方
  4518. type: string
  4519. areauserid:
  4520. description: 企业ID
  4521. type: integer
  4522. brandname:
  4523. description: 品牌
  4524. type: string
  4525. contractno:
  4526. description: 合同编号
  4527. type: string
  4528. createtime:
  4529. description: 创建时间
  4530. type: string
  4531. customeruserid:
  4532. description: 对手方 【3:采购合同 4:销售合同】
  4533. type: integer
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. enumdicname:
  4538. description: 单位
  4539. type: string
  4540. hedgeditemid:
  4541. description: 被套期项目ID
  4542. type: string
  4543. hedgeditemspotid:
  4544. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4545. type: string
  4546. hedgedtype:
  4547. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4548. type: integer
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额[金额]
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2himiddlegoods:
  4592. properties:
  4593. futurehedgeqty:
  4594. description: 期货持仓套期量
  4595. type: number
  4596. hedgeditemid:
  4597. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4598. type: integer
  4599. hiexpsoure:
  4600. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4601. type: number
  4602. middlegoodscode:
  4603. description: 套保商品代码
  4604. type: string
  4605. middlegoodsid:
  4606. description: 套保品种ID
  4607. type: integer
  4608. middlegoodsname:
  4609. description: 套保商品名称
  4610. type: string
  4611. unexehedgeqty:
  4612. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4613. type: number
  4614. required:
  4615. - hedgeditemid
  4616. - middlegoodsid
  4617. type: object
  4618. models.Ermcp2stockspotchangelog:
  4619. properties:
  4620. accountname:
  4621. description: 套期主体
  4622. type: string
  4623. aftervalue:
  4624. description: 现货量
  4625. type: number
  4626. beforevalue:
  4627. description: 变更前现货量
  4628. type: number
  4629. contractno:
  4630. description: '[编号]现货合同编号'
  4631. type: string
  4632. contracttype:
  4633. description: 现货合同类型 - 1:采购 -1:销售
  4634. type: integer
  4635. createtime:
  4636. description: 创建时间
  4637. type: string
  4638. customerusername:
  4639. description: 对手方
  4640. type: string
  4641. deliverygoodsid:
  4642. description: 现货品种ID
  4643. type: integer
  4644. exetype:
  4645. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4646. type: integer
  4647. logid:
  4648. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4649. type: string
  4650. logvalue:
  4651. description: '[期间变化量]现货量变更值'
  4652. type: number
  4653. middlegoodschange:
  4654. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4655. type: number
  4656. operatelogtype:
  4657. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4658. 27:生产出库
  4659. type: integer
  4660. relatedid:
  4661. description: 现货合同ID
  4662. type: integer
  4663. spotgoodsbrandid:
  4664. description: 现货品牌ID
  4665. type: integer
  4666. tradedate:
  4667. description: 交易日(yyyyMMdd)
  4668. type: string
  4669. userid:
  4670. description: 机构ID
  4671. type: integer
  4672. warehouseinfoid:
  4673. description: 仓库ID
  4674. type: integer
  4675. wrfactortypeid:
  4676. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4677. type: integer
  4678. wrstandardid:
  4679. description: 现货商品ID
  4680. type: integer
  4681. wrstandardname:
  4682. description: 商品名称
  4683. type: string
  4684. type: object
  4685. models.Ermcp3AreaSpot:
  4686. properties:
  4687. areauserid:
  4688. description: 所属机构
  4689. type: integer
  4690. convertratio:
  4691. description: 套保系数
  4692. type: number
  4693. decreaseqty:
  4694. description: 减少数量=-(销售已定价数量+采购计划数量)
  4695. type: number
  4696. enumdicname:
  4697. description: 单位名称
  4698. type: string
  4699. increaseqty:
  4700. description: 增加数量=销售计划数量+采购已定价数量
  4701. type: number
  4702. oritoalspotqty:
  4703. description: 昨日数量
  4704. type: number
  4705. totalspotqty:
  4706. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4707. type: number
  4708. unitid:
  4709. description: 现货商品单位id
  4710. type: integer
  4711. updatetime:
  4712. description: 更新时间
  4713. type: string
  4714. wrstandardcode:
  4715. description: 现货商品代码
  4716. type: string
  4717. wrstandardid:
  4718. description: 现货商品ID(SEQ_WRSTANDARD)
  4719. type: integer
  4720. wrstandardname:
  4721. description: 现货商品名称
  4722. type: string
  4723. type: object
  4724. models.Ermcp3AreaSpotDetail:
  4725. properties:
  4726. contracttype:
  4727. description: 合同类型 1-采购 -1-销售
  4728. type: integer
  4729. createtime:
  4730. description: 创建时间
  4731. type: string
  4732. enumdicname:
  4733. description: 现货商品单位名称
  4734. type: string
  4735. logtype:
  4736. description: 记录类型 1-套保 2-现货合同
  4737. type: integer
  4738. qty:
  4739. description: 数量
  4740. type: number
  4741. recordname:
  4742. description: 类型名称
  4743. type: string
  4744. relatedid:
  4745. description: 套保计划ID/现货合同ID
  4746. type: string
  4747. relatedno:
  4748. description: 编号
  4749. type: string
  4750. strtime:
  4751. description: 时间
  4752. type: string
  4753. wrstandardcode:
  4754. description: 现货商品代码
  4755. type: string
  4756. wrstandardid:
  4757. description: 现货商品ID(SEQ_WRSTANDARD)
  4758. type: integer
  4759. wrstandardname:
  4760. description: 现货商品名称
  4761. type: string
  4762. type: object
  4763. models.Ermcp3AreaSpotPLReport:
  4764. properties:
  4765. accountid:
  4766. description: 期货账户ID (作废, 默认为0)
  4767. type: integer
  4768. accountname:
  4769. description: 机构名称
  4770. type: string
  4771. actualpl:
  4772. description: 现货损益
  4773. type: number
  4774. areauserid:
  4775. description: 所属机构\交易用户ID
  4776. type: integer
  4777. begindate:
  4778. description: 开始交易日
  4779. type: string
  4780. biztype:
  4781. description: 业务类型 - 1:套保 2:套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. curamount:
  4787. description: 期末额
  4788. type: number
  4789. curaverageprice:
  4790. description: 期初均价
  4791. type: number
  4792. curbuyamount:
  4793. description: 期末采购总额
  4794. type: number
  4795. curbuyqty:
  4796. description: 期末采购总量
  4797. type: number
  4798. curmarketvalue:
  4799. description: 期初均价
  4800. type: number
  4801. curqty:
  4802. description: 期末量
  4803. type: number
  4804. currencyid:
  4805. description: 结算币种ID【原值】
  4806. type: integer
  4807. currencyname:
  4808. description: 币种名称
  4809. type: string
  4810. cursellamount:
  4811. description: 期末销售总额
  4812. type: number
  4813. cursellqty:
  4814. description: 期末销售总量
  4815. type: number
  4816. curspotprice:
  4817. description: 期初均价
  4818. type: number
  4819. cycletime:
  4820. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4821. type: string
  4822. cycletype:
  4823. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4824. type: integer
  4825. deliverygoodscode:
  4826. description: 现货品种代码
  4827. type: string
  4828. deliverygoodsid:
  4829. description: 现货品种ID
  4830. type: integer
  4831. deliverygoodsname:
  4832. description: 现货品种名称
  4833. type: string
  4834. enddate:
  4835. description: 结束交易日
  4836. type: string
  4837. enumdicname:
  4838. description: 现货品种单位名称(作废)
  4839. type: string
  4840. floatpl:
  4841. description: 期初均价
  4842. type: number
  4843. goodsunitid:
  4844. description: 现货品种单位id(作废)
  4845. type: integer
  4846. oriamount:
  4847. description: 期初额
  4848. type: number
  4849. oriaverageprice:
  4850. description: 期初均价
  4851. type: number
  4852. oribuyamount:
  4853. description: 期初采购总额
  4854. type: number
  4855. oribuyqty:
  4856. description: 期初采购总量
  4857. type: number
  4858. oriqty:
  4859. description: 期初量
  4860. type: number
  4861. orisellamount:
  4862. description: 期初销售总额
  4863. type: number
  4864. orisellqty:
  4865. description: 期初销售总量
  4866. type: number
  4867. reckondate:
  4868. description: 日照时期(yyyyMMdd)
  4869. type: string
  4870. spotgoodsbrandid:
  4871. description: 现货品牌ID
  4872. type: integer
  4873. todaybuyamount:
  4874. description: 今日采购额(今采购额)
  4875. type: number
  4876. todaybuyaverageprice:
  4877. description: 期初均价
  4878. type: number
  4879. todaybuyqty:
  4880. description: 今日采购量(今采购量)
  4881. type: number
  4882. todayinqty:
  4883. description: 今日入库量(今入库量)
  4884. type: number
  4885. todayoutqty:
  4886. description: 今日出库量(今出库量)
  4887. type: number
  4888. todaysellamount:
  4889. description: 今日销售额(今销售额)
  4890. type: number
  4891. todaysellaverageprice:
  4892. description: 期初均价
  4893. type: number
  4894. todaysellqty:
  4895. description: 今日销售量(今销售量)
  4896. type: number
  4897. unitid:
  4898. description: 品类单位id
  4899. type: integer
  4900. unitidname:
  4901. description: 品类单位名称
  4902. type: string
  4903. updatetime:
  4904. description: 更新时间
  4905. type: string
  4906. wrfactortypeid:
  4907. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4908. type: integer
  4909. wrstandardcode:
  4910. description: 现货商品(品类)代码
  4911. type: string
  4912. wrstandardid:
  4913. description: 现货品类ID
  4914. type: integer
  4915. wrstandardname:
  4916. description: 现货商品(品类)名称
  4917. type: string
  4918. type: object
  4919. models.Ermcp3AreaStock:
  4920. properties:
  4921. brandname:
  4922. description: 品牌名称
  4923. type: string
  4924. curstock:
  4925. description: 期末库存量(今日量)
  4926. type: number
  4927. deliverygoodscode:
  4928. description: 现货品种代码
  4929. type: string
  4930. deliverygoodsid:
  4931. description: 现货品种id
  4932. type: integer
  4933. deliverygoodsname:
  4934. description: 现货品种名称
  4935. type: string
  4936. enumdicname:
  4937. description: 单位名称
  4938. type: string
  4939. goodsunitid:
  4940. description: 现货商品单位id
  4941. type: integer
  4942. oristock:
  4943. description: 期初库存量(昨日量)
  4944. type: number
  4945. spotgoodsbrandid:
  4946. description: 现货品牌ID
  4947. type: integer
  4948. todaybuyinqty:
  4949. description: 今日采购入库量
  4950. type: number
  4951. todayproduceinqty:
  4952. description: 今日生产入库量
  4953. type: number
  4954. todayproduceoutqty:
  4955. description: 今日生产出库量
  4956. type: number
  4957. todayselloutqty:
  4958. description: 今日销售出库量
  4959. type: number
  4960. unitid:
  4961. description: 单位id
  4962. type: integer
  4963. updatetime:
  4964. description: 更新时间
  4965. type: string
  4966. userid:
  4967. description: 机构ID
  4968. type: integer
  4969. username:
  4970. description: 机构名称
  4971. type: string
  4972. warehousecode:
  4973. description: 仓库代码
  4974. type: string
  4975. warehouseinfoid:
  4976. description: 仓库ID
  4977. type: string
  4978. warehousename:
  4979. description: 仓库名称
  4980. type: string
  4981. warehousetype:
  4982. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4983. type: integer
  4984. wrstandardcode:
  4985. description: 品类代码
  4986. type: string
  4987. wrstandardid:
  4988. description: 品类ID
  4989. type: string
  4990. wrstandardname:
  4991. description: 品类名称
  4992. type: string
  4993. required:
  4994. - userid
  4995. type: object
  4996. models.Ermcp3AreaStockApply:
  4997. properties:
  4998. applyid:
  4999. description: 申请人
  5000. type: integer
  5001. applyname:
  5002. description: 申请人名称
  5003. type: string
  5004. applyremark:
  5005. description: 申请备注
  5006. type: string
  5007. applysrc:
  5008. description: 申请来源 - 1:管理端 2:终端
  5009. type: integer
  5010. applystatus:
  5011. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5012. type: integer
  5013. applytime:
  5014. description: 申请时间
  5015. type: string
  5016. auditid:
  5017. description: 审核人
  5018. type: integer
  5019. auditname:
  5020. description: 审核人名称
  5021. type: string
  5022. auditremark:
  5023. description: 审核备注
  5024. type: string
  5025. auditsrc:
  5026. description: 审核来源 - 1:管理端 2:终端
  5027. type: integer
  5028. audittime:
  5029. description: 审核时间
  5030. type: string
  5031. audittradedate:
  5032. description: 审核交易日(yyyyMMdd)
  5033. type: string
  5034. brandname:
  5035. description: 品牌名称
  5036. type: string
  5037. buynickname:
  5038. description: 采购方昵称
  5039. type: string
  5040. buyuserid:
  5041. description: 采购方userid
  5042. type: integer
  5043. buyusername:
  5044. description: 采购方名称
  5045. type: string
  5046. contractno:
  5047. description: 合同编号
  5048. type: string
  5049. contractqty:
  5050. description: 合同量
  5051. type: number
  5052. contracttype:
  5053. description: 现货合同类型 - 1:采购 -1:销售
  5054. type: integer
  5055. deliverygoodscode:
  5056. description: 现货品种代码
  5057. type: string
  5058. deliverygoodsid:
  5059. description: 现货品种id
  5060. type: integer
  5061. deliverygoodsname:
  5062. description: 现货品种名称
  5063. type: string
  5064. detailjson:
  5065. description: 明细数据
  5066. type: string
  5067. enumdicname:
  5068. description: 现货商品单位名称
  5069. type: string
  5070. inoutapplyid:
  5071. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5072. type: string
  5073. inouttype:
  5074. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5075. type: integer
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. qty:
  5080. description: 数量
  5081. type: number
  5082. sellnickname:
  5083. description: 销售方昵称
  5084. type: string
  5085. selluserid:
  5086. description: 销售方userid
  5087. type: integer
  5088. sellusername:
  5089. description: 销售方名称
  5090. type: string
  5091. spotcontractid:
  5092. description: 关联现货合同ID
  5093. type: string
  5094. spotgoodsbrandid:
  5095. description: 现货品牌ID
  5096. type: integer
  5097. unitid:
  5098. description: 单位id
  5099. type: integer
  5100. userid:
  5101. description: 机构ID
  5102. type: integer
  5103. warehousecode:
  5104. description: 仓库代码
  5105. type: string
  5106. warehouseinfoid:
  5107. description: 现货仓库ID
  5108. type: string
  5109. warehousename:
  5110. description: 仓库名称
  5111. type: string
  5112. warehousetype:
  5113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5114. type: integer
  5115. wrstandardcode:
  5116. description: 品类代码
  5117. type: string
  5118. wrstandardid:
  5119. description: 品类ID
  5120. type: integer
  5121. wrstandardname:
  5122. description: 品类名称
  5123. type: string
  5124. type: object
  5125. models.Ermcp3AreaStockApplySum:
  5126. properties:
  5127. brandname:
  5128. description: 品牌名称
  5129. type: string
  5130. inouttype:
  5131. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5132. type: integer
  5133. spotcontractid:
  5134. description: 关联现货合同ID
  5135. type: string
  5136. spotgoodsbrandid:
  5137. description: 品牌id
  5138. type: integer
  5139. totalqty:
  5140. description: 总数量
  5141. type: number
  5142. wrstandardid:
  5143. description: 品类id
  5144. type: integer
  5145. wrstandardname:
  5146. description: 品类名称
  5147. type: string
  5148. type: object
  5149. models.Ermcp3AreaStockReportEx:
  5150. properties:
  5151. begindate:
  5152. description: 开始交易日
  5153. type: string
  5154. brandname:
  5155. description: 品牌名称
  5156. type: string
  5157. curstock:
  5158. description: 期末库存量
  5159. type: number
  5160. cycletime:
  5161. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5162. type: string
  5163. cycletype:
  5164. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5165. type: integer
  5166. deliverygoodscode:
  5167. description: 现货品种代码
  5168. type: string
  5169. deliverygoodsid:
  5170. description: 现货品种id
  5171. type: integer
  5172. deliverygoodsname:
  5173. description: 现货品种名称
  5174. type: string
  5175. diffqty:
  5176. description: 库存变化量 = 期末 - 期初
  5177. type: number
  5178. enddate:
  5179. description: 结束交易日
  5180. type: string
  5181. enumdicname:
  5182. description: 单位名称
  5183. type: string
  5184. goodsunitid:
  5185. description: 现货单位id
  5186. type: integer
  5187. oristock:
  5188. description: 期初库存量
  5189. type: number
  5190. reckondate:
  5191. description: 日照时期(yyyyMMdd)
  5192. type: string
  5193. spotgoodsbrandid:
  5194. description: 现货品牌ID
  5195. type: integer
  5196. todaybuyinqty:
  5197. description: 今采购入库量
  5198. type: number
  5199. todayproduceinqty:
  5200. description: 今内部入库量
  5201. type: number
  5202. todayproduceoutqty:
  5203. description: 今内部出库量
  5204. type: number
  5205. todayselloutqty:
  5206. description: 今销售出库量
  5207. type: number
  5208. unbuyinqty:
  5209. description: 采购未入库量(数据库未找到相关字段?)
  5210. type: number
  5211. unitid:
  5212. description: 品类单位id
  5213. type: integer
  5214. unselloutqty:
  5215. description: 销售未出库量(数据库未找到相关字段?)
  5216. type: number
  5217. updatetime:
  5218. description: 更新时间
  5219. type: string
  5220. userid:
  5221. description: 机构ID
  5222. type: integer
  5223. username:
  5224. description: 机构名称
  5225. type: string
  5226. warehousecode:
  5227. description: 仓库代码
  5228. type: string
  5229. warehouseinfoid:
  5230. description: 仓库ID
  5231. type: string
  5232. warehousename:
  5233. description: 仓库名称
  5234. type: string
  5235. warehousetype:
  5236. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5237. type: integer
  5238. wrstandardcode:
  5239. description: 品类代码
  5240. type: string
  5241. wrstandardid:
  5242. description: 品类ID
  5243. type: integer
  5244. wrstandardname:
  5245. description: 品类名称
  5246. type: string
  5247. type: object
  5248. models.Ermcp3ArealSumPL:
  5249. properties:
  5250. accountname:
  5251. description: 机构名称
  5252. type: string
  5253. areauserid:
  5254. description: 所属机构\交易用户ID
  5255. type: integer
  5256. begindate:
  5257. description: 开始交易日
  5258. type: string
  5259. currencyid:
  5260. description: 结算币种ID
  5261. type: integer
  5262. currencyname:
  5263. description: 币种名称
  5264. type: string
  5265. cycletime:
  5266. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5267. type: string
  5268. cycletype:
  5269. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5270. type: integer
  5271. enddate:
  5272. description: 结束交易日
  5273. type: string
  5274. enumdicname:
  5275. description: 单位名称(套保品种)
  5276. type: string
  5277. futureactualpl:
  5278. description: 期货损益
  5279. type: number
  5280. futurefloatpl:
  5281. description: 期货浮动损益
  5282. type: number
  5283. futurespotratio:
  5284. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5285. type: number
  5286. goodsunitid:
  5287. description: 套保品种单位id
  5288. type: integer
  5289. hedgeexposurepl:
  5290. description: 套保敞口损益
  5291. type: number
  5292. middlegoodscode:
  5293. description: 套保品种代码
  5294. type: string
  5295. middlegoodsid:
  5296. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5297. type: integer
  5298. middlegoodsname:
  5299. description: 套保品种名称
  5300. type: string
  5301. reckondate:
  5302. description: 日照时期(yyyyMMdd)
  5303. type: string
  5304. spotactualpl:
  5305. description: 现货损益
  5306. type: number
  5307. spotfloatpl:
  5308. description: 现货浮动损益
  5309. type: number
  5310. sumactualpl:
  5311. description: 实际损益 = (ActualPL + FutureActualPL)
  5312. type: number
  5313. sumpl:
  5314. description: 总敞口损益 | 汇总损益
  5315. type: number
  5316. totalfutureqty:
  5317. description: 期货头寸总量
  5318. type: number
  5319. totalneedhedgeqty:
  5320. description: 应套保总量
  5321. type: number
  5322. totalspotqty:
  5323. description: 现货头寸总量
  5324. type: number
  5325. updatetime:
  5326. description: 更新时间
  5327. type: string
  5328. type: object
  5329. models.Ermcp3Brand:
  5330. properties:
  5331. areauserid:
  5332. description: 用户id
  5333. type: integer
  5334. brandid:
  5335. description: 品牌id
  5336. type: integer
  5337. brandname:
  5338. description: 品牌名称
  5339. type: string
  5340. deliverygoodsid:
  5341. description: 品种ID
  5342. type: integer
  5343. isvalid:
  5344. description: 是否有效
  5345. type: integer
  5346. type: object
  5347. models.Ermcp3Contract:
  5348. properties:
  5349. accountid:
  5350. description: 期货账户id
  5351. type: string
  5352. amount:
  5353. description: 金额 [1:一口价、3:暂定价]
  5354. type: number
  5355. attachment:
  5356. description: 附件
  5357. type: string
  5358. auditremark:
  5359. description: 审核意见
  5360. type: string
  5361. audittime:
  5362. description: 审核时间
  5363. type: string
  5364. biztype:
  5365. description: 业务类型 1-套保 2-套利
  5366. type: integer
  5367. brandname:
  5368. description: 品牌名称
  5369. type: string
  5370. buynickname:
  5371. description: 销售方昵称
  5372. type: string
  5373. buyuserid:
  5374. description: 采购方ID
  5375. type: integer
  5376. buyusername:
  5377. description: 采购方名称
  5378. type: string
  5379. contracctstatus:
  5380. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5381. type: integer
  5382. contractmargin:
  5383. description: 合同保证金
  5384. type: number
  5385. contractno:
  5386. description: 现货合同编号
  5387. type: string
  5388. contracttype:
  5389. description: 现货合同类型 - 1:采购 -1:销售
  5390. type: integer
  5391. convertfactor:
  5392. description: 标仓系数(品类)
  5393. type: number
  5394. createtime:
  5395. description: 创建时间
  5396. type: string
  5397. currencyid:
  5398. description: 币种id
  5399. type: integer
  5400. currencyname:
  5401. description: 币种名称
  5402. type: string
  5403. deliveryenddate:
  5404. description: 交收期(结束)
  5405. type: string
  5406. deliverygoodscode:
  5407. description: 现货品种代码
  5408. type: string
  5409. deliverygoodsid:
  5410. description: 现货品种ID
  5411. type: integer
  5412. deliverygoodsname:
  5413. description: 现货品种名称
  5414. type: string
  5415. deliverystartdate:
  5416. description: 交收期(开始)
  5417. type: string
  5418. enddate:
  5419. description: 点价结束日期 [2:点价 3:暂定价]
  5420. type: string
  5421. enumdicname:
  5422. description: 单位名称
  5423. type: string
  5424. goodscode:
  5425. description: 点价合约代码
  5426. type: string
  5427. goodsid:
  5428. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5429. type: integer
  5430. goodsname:
  5431. description: 点价商品名称
  5432. type: string
  5433. margin:
  5434. description: 当前保证金
  5435. type: number
  5436. meruserid:
  5437. description: 跟单员id
  5438. type: integer
  5439. meruserlogincode:
  5440. description: 跟单员登录代码
  5441. type: string
  5442. merusername:
  5443. description: 跟单员名称
  5444. type: string
  5445. pointdesc:
  5446. description: 点价备注
  5447. type: string
  5448. price:
  5449. description: 价格\暂定价 [1:一口价、3:暂定价]
  5450. type: number
  5451. pricemove:
  5452. description: 升贴水 [2:点价 3:暂定价]
  5453. type: number
  5454. pricetype:
  5455. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5456. type: integer
  5457. producttype:
  5458. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5459. type: integer
  5460. qty:
  5461. description: 数量
  5462. type: number
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. saleuserid:
  5467. description: 业务员id
  5468. type: integer
  5469. saleuserlogincode:
  5470. description: 业务员登录代码
  5471. type: string
  5472. saleusername:
  5473. description: 业务员名称
  5474. type: string
  5475. sellnickname:
  5476. description: 采购方昵称
  5477. type: string
  5478. selluserid:
  5479. description: 销售方ID
  5480. type: integer
  5481. sellusername:
  5482. description: 销售方名称
  5483. type: string
  5484. spotcontractid:
  5485. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5486. type: string
  5487. spotgoodsbrandid:
  5488. description: 现货品牌ID(DGFactoryItem表的ID)
  5489. type: integer
  5490. spotgoodsdesc:
  5491. description: 商品型号
  5492. type: string
  5493. startdate:
  5494. description: 点价开始日期 [2:点价 3:暂定价]
  5495. type: string
  5496. subjectid:
  5497. description: 交易主体ID
  5498. type: integer
  5499. subjectname:
  5500. description: 交易主体名称
  5501. type: string
  5502. tradeuserid:
  5503. description: 交易员id
  5504. type: integer
  5505. tradeuserlogincode:
  5506. description: 交易员登录代码
  5507. type: string
  5508. tradeusername:
  5509. description: 交易员名称
  5510. type: string
  5511. unitid:
  5512. description: 单位id(取品类上的单位id)
  5513. type: integer
  5514. updatetime:
  5515. description: 更新时间
  5516. type: string
  5517. userid:
  5518. description: 所属机构ID
  5519. type: integer
  5520. vatrate:
  5521. description: 增值税率
  5522. type: number
  5523. wrstandardcode:
  5524. description: 品类代码
  5525. type: string
  5526. wrstandardid:
  5527. description: 品类ID
  5528. type: integer
  5529. wrstandardname:
  5530. description: 品类名称
  5531. type: string
  5532. type: object
  5533. models.Ermcp3ContractMiddleGoodsCfg:
  5534. properties:
  5535. agreeunit:
  5536. description: 合约乘数
  5537. type: number
  5538. convertratio:
  5539. description: 期货品种系数
  5540. type: number
  5541. covertqty:
  5542. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5543. type: integer
  5544. middlegoodsid:
  5545. description: 套保品种ID
  5546. type: integer
  5547. middlegoodspricedqty3:
  5548. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5549. example: "0"
  5550. type: string
  5551. pendingpricedqty:
  5552. description: 待点价量
  5553. example: "0"
  5554. type: string
  5555. relatedmiddlegoodsqty:
  5556. description: 已关联量(套保品种-期货)
  5557. example: "0"
  5558. type: string
  5559. spotcontractid:
  5560. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5561. type: string
  5562. type: object
  5563. models.Ermcp3ExposureContractDetail:
  5564. properties:
  5565. biztype:
  5566. description: 业务类型 1-套保 2-套利
  5567. type: integer
  5568. brandname:
  5569. description: 品牌名称
  5570. type: string
  5571. buyuserid:
  5572. description: 采购方id
  5573. type: integer
  5574. buyusername:
  5575. description: 采购方名称
  5576. type: string
  5577. contractno:
  5578. description: 合同编号
  5579. type: string
  5580. contracttype:
  5581. description: 现货合同类型 - 1:采购 -1:销售
  5582. type: integer
  5583. convertfactor:
  5584. description: 标仓系数
  5585. type: number
  5586. convertratio:
  5587. description: 折算系数(套保品种)
  5588. type: number
  5589. curqty:
  5590. description: 今定价量
  5591. type: number
  5592. deliverygoodscode:
  5593. description: 现货品种代码
  5594. type: string
  5595. deliverygoodsid:
  5596. description: 现货品种id
  5597. type: integer
  5598. deliverygoodsname:
  5599. description: 现货品种名称
  5600. type: string
  5601. diffhedgeqty:
  5602. description: 套保变动量
  5603. type: number
  5604. diffneedhedgeqty:
  5605. description: 应套保变动量
  5606. type: number
  5607. diffqty:
  5608. description: 套保品种今变动量
  5609. type: number
  5610. enumdicname:
  5611. description: 单位名称
  5612. type: string
  5613. mgunitname:
  5614. description: 套保品种单位名称
  5615. type: string
  5616. middlegoodscode:
  5617. description: 套保品种代码
  5618. type: string
  5619. middlegoodsid:
  5620. description: 套保品种id
  5621. type: integer
  5622. middlegoodsname:
  5623. description: 套保品种名称
  5624. type: string
  5625. needarbitrageratio:
  5626. description: 应套利比例
  5627. type: number
  5628. needhedgeratio:
  5629. description: 应套保比例
  5630. type: number
  5631. pricedqty:
  5632. description: 已定价量
  5633. type: number
  5634. qty:
  5635. description: 合同量
  5636. type: number
  5637. reckondate:
  5638. description: 交易日(reckondate)
  5639. type: string
  5640. selluserid:
  5641. description: 销售方id
  5642. type: integer
  5643. sellusername:
  5644. description: 销售方名称
  5645. type: string
  5646. spotcontractid:
  5647. description: 合同id
  5648. type: string
  5649. todaypricedqty:
  5650. description: 今定价量
  5651. type: number
  5652. tradedate:
  5653. description: 交易日
  5654. type: string
  5655. unitid:
  5656. description: 品类单位id
  5657. type: integer
  5658. userid:
  5659. description: 机构id
  5660. type: integer
  5661. username:
  5662. description: 交易用户
  5663. type: string
  5664. wrstandardcode:
  5665. description: 现货商品代码
  5666. type: string
  5667. wrstandardid:
  5668. description: 现货商品id
  5669. type: integer
  5670. wrstandardname:
  5671. description: 现货商品名称
  5672. type: string
  5673. type: object
  5674. models.Ermcp3ExposureDetail:
  5675. properties:
  5676. areauserid:
  5677. description: 机构ID
  5678. type: integer
  5679. changeQty:
  5680. description: 套保变动量
  5681. type: number
  5682. contracttype:
  5683. description: 现货合同类型 - 1:采购 -1:销售
  5684. type: integer
  5685. convertfactor:
  5686. description: 标仓系数
  5687. type: number
  5688. convertratio:
  5689. description: 折算系数
  5690. type: number
  5691. createtime:
  5692. description: 时间
  5693. type: string
  5694. enumdicname:
  5695. description: 现货商品单位名称
  5696. type: string
  5697. logtype:
  5698. description: 类型 - 1:套保计划 2:现货合同
  5699. type: integer
  5700. mgunitid:
  5701. description: 套保品种单位id
  5702. type: integer
  5703. mgunitidname:
  5704. description: 套保品种单位名称
  5705. type: string
  5706. middlegoodsId:
  5707. description: 套保商品id
  5708. type: integer
  5709. middlegoodscode:
  5710. description: 套保商品代码
  5711. type: string
  5712. middlegoodsname:
  5713. description: 套保商品名称
  5714. type: string
  5715. qty:
  5716. description: 数量
  5717. type: number
  5718. relateNo:
  5719. description: 现货合同/套保计划编号
  5720. type: string
  5721. unitid:
  5722. description: 现货商品单位id
  5723. type: integer
  5724. wrstandardcode:
  5725. description: 现货商品代码
  5726. type: string
  5727. wrstandardid:
  5728. description: 现货商品ID(SEQ_WRSTANDARD)
  5729. type: integer
  5730. wrstandardname:
  5731. description: 现货商品名称
  5732. type: string
  5733. type: object
  5734. models.Ermcp3ExposureFutuDetail:
  5735. properties:
  5736. accountid:
  5737. description: 交易账户id
  5738. type: integer
  5739. accountname:
  5740. description: 交易账户
  5741. type: string
  5742. begindate:
  5743. description: 开始交易日
  5744. type: string
  5745. buyorsell:
  5746. description: 方向 0-买 1-卖
  5747. type: integer
  5748. diffmgqty:
  5749. description: 套保品种今变化量
  5750. type: number
  5751. diffneedqty:
  5752. description: 应套保总量变化量
  5753. type: number
  5754. difftradeqty:
  5755. description: 交易品种今变化量
  5756. type: number
  5757. enddate:
  5758. description: 结束交易日
  5759. type: string
  5760. enumdicname:
  5761. description: 单位名称
  5762. type: string
  5763. goodscode:
  5764. description: 商品代码
  5765. type: string
  5766. goodsid:
  5767. description: 商品id
  5768. type: integer
  5769. goodsname:
  5770. description: 商品名称
  5771. type: string
  5772. holdqty:
  5773. description: 期末持仓量
  5774. type: number
  5775. middlegoodscode:
  5776. description: 套保商品代码
  5777. type: string
  5778. middlegoodsid:
  5779. description: 套保商品id
  5780. type: integer
  5781. middlegoodsname:
  5782. description: 套保商品名称
  5783. type: string
  5784. oriholdqty:
  5785. description: 期初持仓量
  5786. type: number
  5787. reckondate:
  5788. description: 交易日(RECKONDATE)
  5789. type: string
  5790. todaycloseqty:
  5791. description: 今平仓量
  5792. type: number
  5793. todayopenqty:
  5794. description: 今开仓量
  5795. type: number
  5796. tradedate:
  5797. description: 交易日(RECKONDATE)
  5798. type: string
  5799. username:
  5800. description: 用户名称(交易用户)
  5801. type: string
  5802. type: object
  5803. models.Ermcp3ExposureHedgeplanDetail:
  5804. properties:
  5805. biztype:
  5806. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5807. type: integer
  5808. changqty:
  5809. description: 应套保总量变化量
  5810. type: number
  5811. contracttype:
  5812. description: 计划类型 - 1:采购 -1:销售
  5813. type: integer
  5814. convertratio:
  5815. description: 折算系数(套保品种)
  5816. type: number
  5817. deliverygoodscode:
  5818. description: 现货商品代码
  5819. type: string
  5820. deliverygoodsid:
  5821. description: 现货商品id
  5822. type: integer
  5823. deliverygoodsname:
  5824. description: 现货商吕名称
  5825. type: string
  5826. dgunitid:
  5827. description: 现货商品单位id
  5828. type: integer
  5829. dgunitidname:
  5830. description: 单位名称(现货商品)
  5831. type: string
  5832. diffqty:
  5833. description: 套保品种今变动量
  5834. type: number
  5835. enumdicname:
  5836. description: 单位名称(品类)
  5837. type: string
  5838. hedgeplanid:
  5839. description: 套保计划id
  5840. type: string
  5841. hedgeplanno:
  5842. description: 套保计划名称
  5843. type: string
  5844. hedgeplanstatus:
  5845. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5846. type: integer
  5847. mgunitidname:
  5848. description: 单位名称(套保商品)
  5849. type: string
  5850. middlegoodscode:
  5851. description: 套保品种代码
  5852. type: string
  5853. middlegoodsid:
  5854. description: 套保品种id
  5855. type: integer
  5856. middlegoodsname:
  5857. description: 套保品种名称
  5858. type: string
  5859. needarbitrageratio:
  5860. description: 应套利比例
  5861. type: number
  5862. needhedgeratio:
  5863. description: 应套保比例
  5864. type: number
  5865. pricedqty:
  5866. description: 已定价量
  5867. type: number
  5868. qty:
  5869. description: 合同量
  5870. type: number
  5871. reckondate:
  5872. description: 交易日(reckondate)
  5873. type: string
  5874. tradedate:
  5875. description: 交易日(登记日)
  5876. type: string
  5877. unitid:
  5878. description: 品类单位id
  5879. type: integer
  5880. userid:
  5881. description: 机构id
  5882. type: integer
  5883. wrstandardcode:
  5884. description: 品类代码
  5885. type: string
  5886. wrstandardid:
  5887. description: 品类id
  5888. type: integer
  5889. wrstandardname:
  5890. description: 品类名称
  5891. type: string
  5892. type: object
  5893. models.Ermcp3ExposureParamChLog:
  5894. properties:
  5895. accountid:
  5896. description: 期货账户ID (作废, 默认为0)
  5897. type: integer
  5898. aftervalue:
  5899. description: 应套保\套利量变更后(调整后应套保总量)
  5900. type: number
  5901. areauserid:
  5902. description: 所属机构\交易用户ID
  5903. type: integer
  5904. beforevalue:
  5905. description: 应套保\套利量变更前(调整前应套保总量)
  5906. type: number
  5907. begindate:
  5908. description: 开始交易日
  5909. type: string
  5910. changelogtype:
  5911. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5912. type: integer
  5913. curvalue:
  5914. description: 当前套保\套利量(套保总量|套利总量)
  5915. type: number
  5916. diffvalue:
  5917. description: 应套保总量变化量
  5918. type: number
  5919. enddate:
  5920. description: 结束交易日
  5921. type: string
  5922. logdatetime:
  5923. description: 流水日期
  5924. type: string
  5925. logid:
  5926. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5927. type: string
  5928. middlegoodscode:
  5929. description: 套保品种代码
  5930. type: string
  5931. middlegoodsid:
  5932. description: 套保品种
  5933. type: integer
  5934. middlegoodsname:
  5935. description: 套保品种名称
  5936. type: string
  5937. paramaftervalue:
  5938. description: 参数变更后(调整后参数值)
  5939. type: number
  5940. parambeforevalue:
  5941. description: 参数变更前(调整前参数值)
  5942. type: number
  5943. reckondate:
  5944. description: 交易日(reckondate)
  5945. type: string
  5946. tradedate:
  5947. description: 交易日(yyyyMMdd)
  5948. type: string
  5949. type: object
  5950. models.Ermcp3ExpourseReport:
  5951. properties:
  5952. accountid:
  5953. description: 期货账户ID (作废, 默认为0)
  5954. type: integer
  5955. accountname:
  5956. description: 机构名称
  5957. type: string
  5958. arbitrageqty:
  5959. description: 套利量
  5960. type: number
  5961. areauserid:
  5962. description: 所属机构\交易用户ID
  5963. type: integer
  5964. begindate:
  5965. description: 开始交易日
  5966. type: string
  5967. buyfutureqty:
  5968. description: 买入期货数量
  5969. type: number
  5970. buyplanqty:
  5971. description: 采购计划数量
  5972. type: number
  5973. buypricedqty:
  5974. description: 采购合同已定价数量
  5975. type: number
  5976. cycletime:
  5977. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5978. type: string
  5979. cycletype:
  5980. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5981. type: integer
  5982. diffexposure:
  5983. description: 变动量(套保敞口)
  5984. type: number
  5985. difffutuqty:
  5986. description: 变动量(期货)
  5987. type: number
  5988. diffhedgeqty:
  5989. description: 变动量(现货应套保总量)
  5990. type: number
  5991. diffmgqtya:
  5992. description: 套保变动量
  5993. type: number
  5994. diffmgqtyb:
  5995. description: 套利变动量
  5996. type: number
  5997. diffneedqty:
  5998. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5999. type: number
  6000. diffqty:
  6001. description: 变动量(总敞口)
  6002. type: number
  6003. diffspotqty:
  6004. description: 变动量(现货) | 除税变动量
  6005. type: number
  6006. enddate:
  6007. description: 结束交易日
  6008. type: string
  6009. enumdicname:
  6010. description: 单位名称
  6011. type: string
  6012. hedgeqty:
  6013. description: 套保量
  6014. type: number
  6015. mgneedhedgeratio:
  6016. description: 套保比例(套保品的)
  6017. type: number
  6018. middlegoodsid:
  6019. description: 套保品种ID
  6020. type: integer
  6021. middlegoodsname:
  6022. description: 套保商品名称
  6023. type: string
  6024. middlgoodscode:
  6025. description: 套保商品代码
  6026. type: string
  6027. needarbitrageqty:
  6028. description: 应套利量
  6029. type: number
  6030. needarbitrageratio:
  6031. description: 套利比例(套保品的)
  6032. type: number
  6033. needhedgeexposoure:
  6034. description: 应套保敞口(套保敞口)
  6035. type: number
  6036. needhedgeqty:
  6037. description: 应套保量
  6038. type: number
  6039. needhedgeratio:
  6040. description: 应套保敞口比例
  6041. type: number
  6042. needqty:
  6043. description: 应套总量 = 应套保量 + 应套利量
  6044. type: number
  6045. oriarbitrageqty:
  6046. description: 期初套利量
  6047. type: number
  6048. oribuyfutureqty:
  6049. description: 期初买入期货数量
  6050. type: number
  6051. oribuyplanqty:
  6052. description: 期初采购计划数量
  6053. type: number
  6054. oribuypricedqty:
  6055. description: 期初采购合同已定价数量
  6056. type: number
  6057. orihedgeqty:
  6058. description: 期初套保量
  6059. type: number
  6060. orineedarbitrageqty:
  6061. description: 期初应套利量
  6062. type: number
  6063. orineedhedgeexposoure:
  6064. description: 期初应套保敞口
  6065. type: number
  6066. orineedhedgeqty:
  6067. description: 期初应套保量
  6068. type: number
  6069. orisellfutureqty:
  6070. description: 期初卖出期货数量
  6071. type: number
  6072. orisellplanqty:
  6073. description: 期初销售计划数量
  6074. type: number
  6075. orisellpricedqty:
  6076. description: 期初销售合同已定价数量
  6077. type: number
  6078. oritotalexposure:
  6079. description: 期初实时总敞口
  6080. type: number
  6081. oritotalfutureqty:
  6082. description: 期初期货头寸总量
  6083. type: number
  6084. oritotalneedhedgeqty:
  6085. description: 期初应套保总量
  6086. type: number
  6087. oritotalspotqty:
  6088. description: 期初现货头寸总量
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. sellfutureqty:
  6094. description: 卖出期货数量
  6095. type: number
  6096. sellplanqty:
  6097. description: 销售计划数量
  6098. type: number
  6099. sellpricedqty:
  6100. description: 销售合同已定价数量
  6101. type: number
  6102. totalexposure:
  6103. description: 实时总敞口(总敞口)
  6104. type: number
  6105. totalfutureqty:
  6106. description: 期货头寸总量(期货总量)
  6107. type: number
  6108. totalhedgeratio:
  6109. description: 敞口比例
  6110. type: number
  6111. totalneedhedgeqty:
  6112. description: 应套保总量(现货应套保总量)
  6113. type: number
  6114. totalspotqty:
  6115. description: 现货头寸总量 | 除税总量
  6116. type: number
  6117. unitid:
  6118. description: 单位id
  6119. type: integer
  6120. updatetime:
  6121. description: 更新时间
  6122. type: string
  6123. type: object
  6124. models.Ermcp3FinanceReport:
  6125. properties:
  6126. accountname:
  6127. description: 机构名称
  6128. type: string
  6129. areauserid:
  6130. description: 所属机构\交易用户ID
  6131. type: integer
  6132. begindate:
  6133. description: 开始交易日
  6134. type: string
  6135. biztype:
  6136. description: 业务类型 - 1:套保 2:套利
  6137. type: integer
  6138. brandname:
  6139. description: 品牌名称
  6140. type: string
  6141. buypreinvoicedamount:
  6142. description: 采购预收票额(预收票额)
  6143. type: number
  6144. buyprepaidamount:
  6145. description: 采购预付款额(预付货款额)
  6146. type: number
  6147. buytodayinvoiceamount:
  6148. description: 采购今收票额(今收票额)
  6149. type: number
  6150. buytodayrefundamount:
  6151. description: 采购今收退款额(今收退款额)
  6152. type: number
  6153. buytodaysettleamount:
  6154. description: 采购今付款额(今付货款额)
  6155. type: number
  6156. buyuninvoicedamount:
  6157. description: 采购应收票额(应收票额)
  6158. type: number
  6159. buyunpaidamount:
  6160. description: 采购应付款额(应付货款额)
  6161. type: number
  6162. currencyid:
  6163. description: 结算币种ID
  6164. type: integer
  6165. currencyname:
  6166. description: 币种名称
  6167. type: string
  6168. cycletime:
  6169. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6170. type: string
  6171. cycletype:
  6172. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6173. type: integer
  6174. deliverygoodscode:
  6175. description: 现货品种代码
  6176. type: string
  6177. deliverygoodsid:
  6178. description: 现货品种ID
  6179. type: integer
  6180. deliverygoodsname:
  6181. description: 现货品种名称
  6182. type: string
  6183. enddate:
  6184. description: 结束交易日
  6185. type: string
  6186. reckondate:
  6187. description: 日照时期(yyyyMMdd)
  6188. type: string
  6189. sellpreinvoicedamount:
  6190. description: 销售预开票额(预开票额)
  6191. type: number
  6192. sellprepaidamount:
  6193. description: 销售预收款额(预收货款额)
  6194. type: number
  6195. selltodayinvoiceamount:
  6196. description: 销售今开票额(今开票额)
  6197. type: number
  6198. selltodayrefundamount:
  6199. description: 销售今付退款额(今付退款额)
  6200. type: number
  6201. selltodaysettleamount:
  6202. description: 销售今收款额(今收货款额)
  6203. type: number
  6204. selluninvoicedamount:
  6205. description: 销售应开票额(应开票额)
  6206. type: number
  6207. sellunpaidamount:
  6208. description: 销售应收款额(应收货款额)
  6209. type: number
  6210. spotgoodsbrandid:
  6211. description: 现货品牌ID
  6212. type: integer
  6213. todaypaysum:
  6214. description: 今付款合计
  6215. type: number
  6216. todayreceivesum:
  6217. description: 今收款合计
  6218. type: number
  6219. updatetime:
  6220. description: 更新时间
  6221. type: string
  6222. wrfactortypeid:
  6223. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6224. type: integer
  6225. wrstandardcode:
  6226. description: 品类代码
  6227. type: string
  6228. wrstandardid:
  6229. description: 现货商品ID
  6230. type: integer
  6231. wrstandardname:
  6232. description: 品类名称
  6233. type: string
  6234. type: object
  6235. models.Ermcp3GoodsGroup:
  6236. properties:
  6237. agreeunit:
  6238. description: 合约单位
  6239. type: number
  6240. areauserid:
  6241. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6242. type: integer
  6243. canshort:
  6244. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6245. type: integer
  6246. closepricemode:
  6247. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6248. type: integer
  6249. createtime:
  6250. description: 创建时间
  6251. type: string
  6252. creatorid:
  6253. description: 创建人
  6254. type: integer
  6255. currencyid:
  6256. description: 报价货币ID
  6257. type: integer
  6258. decimalplace:
  6259. description: 报价小数位
  6260. type: integer
  6261. enumdicname:
  6262. description: 单位名称
  6263. type: string
  6264. exchangefullname:
  6265. description: 交易所全称
  6266. type: string
  6267. excludecfg:
  6268. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6269. type: integer
  6270. exexchangecode:
  6271. description: 交易所代码
  6272. type: string
  6273. exexchangeid:
  6274. description: 外部交易所ID[通道交易]
  6275. type: integer
  6276. exexchangename:
  6277. description: 交易所名称
  6278. type: string
  6279. goodsgroupid:
  6280. description: 商品组ID(自增ID)
  6281. type: integer
  6282. goodsgroupname:
  6283. description: 商品组名称
  6284. type: string
  6285. goodsgroupstatus:
  6286. description: 商品组状态 - 1:正常 2:注销
  6287. type: integer
  6288. goodunitid:
  6289. description: 报价单位ID
  6290. type: integer
  6291. groupcategroyid:
  6292. description: 品种分类ID
  6293. type: integer
  6294. innerdealmode:
  6295. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6296. type: integer
  6297. marketid:
  6298. description: 所属市场ID
  6299. type: integer
  6300. modifierid:
  6301. description: 修改人
  6302. type: integer
  6303. modifytime:
  6304. description: 修改时间
  6305. type: string
  6306. outerdealmode:
  6307. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6308. type: integer
  6309. outergroupcode:
  6310. description: 外部商品组代码[通道交易]
  6311. type: string
  6312. quoteminunit:
  6313. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6314. type: integer
  6315. quotesourcegroupid:
  6316. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6317. type: integer
  6318. syncgoodsqty:
  6319. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6320. type: integer
  6321. required:
  6322. - areauserid
  6323. type: object
  6324. models.Ermcp3HPMiddleGoods:
  6325. properties:
  6326. biztype:
  6327. description: 业务类型 1:套保 2:套利
  6328. type: integer
  6329. contracttype:
  6330. description: 合同类型 1:采购 -1:销售
  6331. type: integer
  6332. convertratio:
  6333. description: 折算系数
  6334. type: number
  6335. customername:
  6336. description: 对手手名称
  6337. type: string
  6338. customeruserid:
  6339. description: 对手id
  6340. type: integer
  6341. enumdicname:
  6342. description: 现货单位名称
  6343. type: string
  6344. hedgeplanid:
  6345. description: 计划id
  6346. type: string
  6347. hedgeplanno:
  6348. description: 计划编号
  6349. type: string
  6350. middlegoodsid:
  6351. description: 套保品种ID
  6352. type: integer
  6353. middlegoodsplanqty3:
  6354. description: 应套保计划量
  6355. type: number
  6356. needhedgeratio:
  6357. description: 套保比例
  6358. type: number
  6359. pricedqty:
  6360. description: 已定价量
  6361. type: number
  6362. relatedmiddlegoodsqty:
  6363. description: 已关联量(套保品种)(期货)
  6364. type: number
  6365. unitid:
  6366. description: 现货单位id
  6367. type: integer
  6368. userid:
  6369. description: 用户id
  6370. type: integer
  6371. vatrate:
  6372. description: 增值税率
  6373. type: number
  6374. wrstandardcode:
  6375. description: 现货商品代码
  6376. type: string
  6377. wrstandardid:
  6378. description: 现货商品id
  6379. type: integer
  6380. wrstandardname:
  6381. description: 现货商品名称
  6382. type: string
  6383. type: object
  6384. models.Ermcp3HedgePlan:
  6385. properties:
  6386. accountid:
  6387. description: 资金账号
  6388. type: integer
  6389. areauserid:
  6390. description: 用户ID
  6391. type: integer
  6392. auditid:
  6393. description: 审核id
  6394. type: integer
  6395. auditname:
  6396. description: 审核人名称
  6397. type: string
  6398. auditremark:
  6399. description: 审核备注
  6400. type: string
  6401. auditsrc:
  6402. description: 审核来源 1-管理端 2-终端
  6403. type: integer
  6404. audittime:
  6405. description: 审核时间
  6406. type: string
  6407. contracttype:
  6408. description: 计划类型 - 1:采购 -1:销售
  6409. type: integer
  6410. convertfactor:
  6411. description: 标仓系数
  6412. type: number
  6413. createtime:
  6414. description: 创建时间
  6415. type: string
  6416. currencyid:
  6417. description: 币种id
  6418. type: integer
  6419. currencyname:
  6420. description: 币种名称
  6421. type: string
  6422. deliverygoodscode:
  6423. description: 现货品种代码
  6424. type: string
  6425. deliverygoodsid:
  6426. description: 现货品种ID
  6427. type: integer
  6428. deliverygoodsname:
  6429. description: 现货品种名称
  6430. type: string
  6431. enumdicname:
  6432. description: 单位名称(现货商品)
  6433. type: string
  6434. hedgeplanid:
  6435. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6436. type: string
  6437. hedgeplanno:
  6438. description: 套保计划编号(名称)
  6439. type: string
  6440. hedgeplanstatus:
  6441. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6442. type: integer
  6443. planqty:
  6444. description: 计划数量
  6445. type: number
  6446. plantime:
  6447. description: 计划时间
  6448. type: string
  6449. producttype:
  6450. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6451. type: integer
  6452. remark:
  6453. description: 备注
  6454. type: string
  6455. spotgoodsdesc:
  6456. description: 商品型号
  6457. type: string
  6458. taaccountname:
  6459. description: 资金账号名称
  6460. type: string
  6461. tradeuserid:
  6462. description: 交易用户id
  6463. type: integer
  6464. tradeusername:
  6465. description: 交易用户名称
  6466. type: string
  6467. unitid:
  6468. description: 单位id(现货商品)
  6469. type: integer
  6470. updatetime:
  6471. description: 更新时间
  6472. type: string
  6473. vatrate:
  6474. description: 增值税率
  6475. type: number
  6476. wrstandardcode:
  6477. description: 品类代码
  6478. type: string
  6479. wrstandardid:
  6480. description: 品类id
  6481. type: integer
  6482. wrstandardname:
  6483. description: 品类名称
  6484. type: string
  6485. wrunitid:
  6486. description: 品类单位id
  6487. type: integer
  6488. wrunitidame:
  6489. description: 品类单位名称
  6490. type: string
  6491. type: object
  6492. models.Ermcp3InnerTradeLink:
  6493. properties:
  6494. accountid:
  6495. description: 期货账号代码 | 资金账号ID
  6496. type: integer
  6497. buyorsell:
  6498. description: 方向 - 0:买 1:卖
  6499. type: integer
  6500. channelbuildtype:
  6501. description: 委托单据类型 0:无 1:建仓 2:平仓
  6502. type: integer
  6503. currencyid:
  6504. description: 币种id
  6505. type: integer
  6506. currencyname:
  6507. description: 结算币种 名称
  6508. type: string
  6509. goodscode:
  6510. description: 商品代码
  6511. type: string
  6512. goodsid:
  6513. description: 商品ID
  6514. type: integer
  6515. goodsname:
  6516. description: 商品名称
  6517. type: string
  6518. outtradeid:
  6519. description: 外部成交单号
  6520. type: string
  6521. taname:
  6522. description: 期货账户名称
  6523. type: string
  6524. tradeid:
  6525. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6526. type: string
  6527. tradeprice:
  6528. description: 成交价格
  6529. type: number
  6530. tradeqty:
  6531. description: 期货成交数量
  6532. type: integer
  6533. tradetime:
  6534. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6535. type: string
  6536. username:
  6537. description: 用户名称
  6538. type: string
  6539. type: object
  6540. models.Ermcp3OutTradeLink:
  6541. properties:
  6542. buyorsell:
  6543. description: 买卖方向 - 0:买 1:卖
  6544. type: integer
  6545. channelbuildtype:
  6546. description: 开平标志- 0:无 1:建仓 2:平仓
  6547. type: integer
  6548. currencyname:
  6549. description: 币种名称
  6550. type: string
  6551. exexchangecode:
  6552. description: 交易所代码
  6553. type: string
  6554. exexchangename:
  6555. description: 交易所名称
  6556. type: string
  6557. goodscode:
  6558. description: 合约代码
  6559. type: string
  6560. goodsid:
  6561. description: 合约id
  6562. type: integer
  6563. goodsname:
  6564. description: 合约名称
  6565. type: string
  6566. hasinnerorder:
  6567. description: 是否有内部单关联 - 0:无 1:有
  6568. type: integer
  6569. hedgeaccountcode:
  6570. description: 外部账号 | 对冲账号
  6571. type: string
  6572. outtradeid:
  6573. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6574. type: string
  6575. tradeprice:
  6576. description: 成交价格
  6577. type: number
  6578. tradeqty:
  6579. description: 成交数量
  6580. type: integer
  6581. tradetime:
  6582. description: 成交时间
  6583. type: string
  6584. type: object
  6585. models.Ermcp3PaAreaAuditCfg:
  6586. properties:
  6587. areauserid:
  6588. description: 用户ID
  6589. type: integer
  6590. buyinauditflag:
  6591. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6592. type: integer
  6593. costratioauditflag:
  6594. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6595. type: integer
  6596. customerauditflag:
  6597. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6598. type: integer
  6599. deliveryauditflag:
  6600. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6601. type: integer
  6602. invoiceauditflag:
  6603. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6604. type: integer
  6605. mgneedhedgeratioauditflag:
  6606. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6607. type: integer
  6608. moneyauditflag:
  6609. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6610. type: integer
  6611. operatorid:
  6612. description: 操作人
  6613. type: integer
  6614. operatorsrc:
  6615. description: 操作来源 - 1:管理端 2:终端
  6616. type: integer
  6617. pointpriceauditflag:
  6618. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6619. type: integer
  6620. produceinauditflag:
  6621. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6622. type: integer
  6623. produceoutauditflag:
  6624. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6625. type: integer
  6626. selloutauditflag:
  6627. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6628. type: integer
  6629. sgconvertratioauditflag:
  6630. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6631. type: integer
  6632. sgvtaratioauditflag:
  6633. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6634. type: integer
  6635. spotcontractauditflag:
  6636. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6637. type: integer
  6638. updatetime:
  6639. description: 更新时间
  6640. type: string
  6641. type: object
  6642. models.Ermcp3PaAreaSubject:
  6643. properties:
  6644. areauserid:
  6645. description: 所属机构
  6646. type: integer
  6647. canmodify:
  6648. description: 是否可修改 - 0:否 1:是
  6649. type: integer
  6650. createtime:
  6651. description: 创建时间
  6652. type: string
  6653. creatorid:
  6654. description: 创建人ID
  6655. type: string
  6656. creatorsrc:
  6657. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6658. type: integer
  6659. modifierid:
  6660. description: 修改人
  6661. type: string
  6662. modifiersrc:
  6663. description: 修改人来源 - 1:管理端 2:终端
  6664. type: integer
  6665. modifytime:
  6666. description: 修改时间
  6667. type: string
  6668. parentsubjectid:
  6669. description: 上级主体ID
  6670. type: string
  6671. remark:
  6672. description: 备注
  6673. type: string
  6674. subjectid:
  6675. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6676. type: integer
  6677. subjectname:
  6678. description: 主体名称
  6679. type: string
  6680. subjectstatus:
  6681. description: '主体状态 - 1:正常 2: 停用'
  6682. type: integer
  6683. subjecttype:
  6684. description: 主体类型 - 1:交易主体 2:业务部门
  6685. type: integer
  6686. type: object
  6687. models.Ermcp3PaTradeLink:
  6688. properties:
  6689. accountid:
  6690. description: 期货账户代码 | 账号ID
  6691. type: integer
  6692. agreeunit:
  6693. description: 合约乘数
  6694. type: number
  6695. buyorsell:
  6696. description: 方向 - 0:买 1:卖
  6697. type: integer
  6698. channelbuildtype:
  6699. description: 委托单据类型 0:无 1:建仓 2:平仓
  6700. type: integer
  6701. charge:
  6702. description: 手续费
  6703. type: number
  6704. closepl:
  6705. description: 平仓盈亏
  6706. type: number
  6707. closetype:
  6708. description: 平仓方式 - 0:无 1:平今 2:平昨
  6709. type: integer
  6710. convertratio:
  6711. description: 折算系数
  6712. type: number
  6713. enumdicname:
  6714. description: 单位名称
  6715. type: string
  6716. executeprice:
  6717. description: 执行价 [期权]
  6718. type: integer
  6719. goodscode:
  6720. description: 合约代码
  6721. type: string
  6722. goodsgroupid:
  6723. description: 对冲品种ID[期货合约商品组ID]
  6724. type: integer
  6725. goodsid:
  6726. description: 商品ID
  6727. type: integer
  6728. goodsname:
  6729. description: 合约名称
  6730. type: string
  6731. goodunitid:
  6732. description: 单位id
  6733. type: integer
  6734. hedgeflag:
  6735. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6736. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6737. type: integer
  6738. marketid:
  6739. description: 市场ID
  6740. type: integer
  6741. middlegoodsid:
  6742. description: 套保品种ID
  6743. type: integer
  6744. middlegoodsqty:
  6745. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6746. type: number
  6747. optioncode:
  6748. description: 期权代码 [期权]
  6749. type: string
  6750. ordertype:
  6751. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6752. type: integer
  6753. ordertypename:
  6754. description: 订单类型
  6755. type: string
  6756. parentaccountid:
  6757. description: 所属母账户
  6758. type: integer
  6759. premium:
  6760. description: 权利金 [期权]
  6761. type: number
  6762. relatedlot:
  6763. description: 已关联数量(已关联数量手) | db:关联手数
  6764. type: number
  6765. relatedouttradeid:
  6766. description: 关联外部成交单ID
  6767. type: string
  6768. relatedqty:
  6769. description: 关联数量
  6770. type: number
  6771. spotcontractid:
  6772. description: 现货合同ID [4:套期保值\10\11]
  6773. type: string
  6774. taname:
  6775. description: 期货账户名称
  6776. type: string
  6777. tradeamount:
  6778. description: 成交金额(账户)
  6779. type: number
  6780. tradedate:
  6781. description: 交易日(yyyyMMdd)
  6782. type: string
  6783. tradeid:
  6784. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6785. type: string
  6786. tradelot:
  6787. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6788. type: integer
  6789. tradeprice:
  6790. description: 成交价格
  6791. type: number
  6792. tradetime:
  6793. description: 时间 | db:成交时间
  6794. type: string
  6795. tradetype:
  6796. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6797. type: integer
  6798. userid:
  6799. description: 所属机构 - 所属母账户的UserID
  6800. type: string
  6801. username:
  6802. description: 用户名称
  6803. type: string
  6804. type: object
  6805. models.Ermcp3ParamChangeApp:
  6806. properties:
  6807. aftervalue:
  6808. description: 变更后
  6809. type: number
  6810. applicationid:
  6811. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6812. type: string
  6813. applyid:
  6814. description: 申请人
  6815. type: string
  6816. applyname:
  6817. description: 申请人名称(代码)
  6818. type: string
  6819. applyremark:
  6820. description: 申请备注
  6821. type: string
  6822. applysrc:
  6823. description: 申请来源 - 1:管理端 2:终端
  6824. type: integer
  6825. applystatus:
  6826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6827. type: integer
  6828. applytime:
  6829. description: 申请时间
  6830. type: string
  6831. areauserid:
  6832. description: 所属机构用户ID
  6833. type: integer
  6834. auditid:
  6835. description: 审核人
  6836. type: string
  6837. auditname:
  6838. description: 审核人名称(代码)
  6839. type: string
  6840. auditremark:
  6841. description: 审核备注
  6842. type: string
  6843. auditsrc:
  6844. description: 审核来源 - 1:管理端 2:终端
  6845. type: integer
  6846. audittime:
  6847. description: 审核时间
  6848. type: string
  6849. audittradedate:
  6850. description: 审核交易日(yyyyMMdd)
  6851. type: string
  6852. beforevalue:
  6853. description: 变更前
  6854. type: number
  6855. deliverygoodscode:
  6856. description: 品种代码
  6857. type: string
  6858. deliverygoodsid:
  6859. description: 品种id
  6860. type: integer
  6861. deliverygoodsname:
  6862. description: 品种名称
  6863. type: string
  6864. middlegoodscode:
  6865. description: 套保品种代码
  6866. type: string
  6867. middlegoodsid:
  6868. description: 套保品种ID [ParamChangeType = 2,3,4]
  6869. type: integer
  6870. middlegoodsname:
  6871. description: 套保品种名称
  6872. type: string
  6873. operatetype:
  6874. description: 操作类型 - 1:新增 2:修改
  6875. type: integer
  6876. paramchangetype:
  6877. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6878. type: integer
  6879. wrstandardcode:
  6880. description: 现货商品代码
  6881. type: string
  6882. wrstandardid:
  6883. description: 现货商品ID [ParamChangeType = 1,2,3]
  6884. type: integer
  6885. wrstandardname:
  6886. description: 现货商品名称
  6887. type: string
  6888. type: object
  6889. models.Ermcp3RootUserAccount:
  6890. properties:
  6891. accountname:
  6892. description: 账户名称(机构名称)
  6893. type: string
  6894. accountstatus:
  6895. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6896. type: integer
  6897. applysrc:
  6898. description: 申请来源 - 1:管理端 2:终端
  6899. type: integer
  6900. auditremark:
  6901. description: 审核备注
  6902. type: string
  6903. auditsrc:
  6904. description: 审核来源 - 1:管理端 2:终端
  6905. type: integer
  6906. audittime:
  6907. description: 审核时间
  6908. type: string
  6909. audituserid:
  6910. description: 审核人
  6911. type: integer
  6912. broker:
  6913. description: 所属经纪人ID
  6914. type: integer
  6915. canceltime:
  6916. description: 销户时间
  6917. type: string
  6918. canceluserid:
  6919. description: 销户人
  6920. type: integer
  6921. canrecommend:
  6922. description: 是否可推荐 - 0:不可 1;可
  6923. type: integer
  6924. createtime:
  6925. description: 创建时间
  6926. type: string
  6927. creatorid:
  6928. description: 创建人
  6929. type: integer
  6930. hasauth:
  6931. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6932. type: integer
  6933. isanonymous:
  6934. description: 是否匿名下单 - 0:否 1:是
  6935. type: integer
  6936. maxinvestornum:
  6937. description: 最大用户数(经纪会员下投资者个数)
  6938. type: integer
  6939. memberuserid:
  6940. description: 所属会员ID
  6941. type: integer
  6942. modifierid:
  6943. description: 修改人
  6944. type: integer
  6945. modifyremark:
  6946. description: 变更备注
  6947. type: string
  6948. modifystatus:
  6949. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6950. type: integer
  6951. modifytime:
  6952. description: 修改时间
  6953. type: string
  6954. nickname:
  6955. description: 昵称
  6956. type: string
  6957. parenttopuser:
  6958. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6959. type: string
  6960. parentuserid:
  6961. description: 所属机构ID
  6962. type: integer
  6963. reckonaccountid:
  6964. description: 默认结算资金账号ID(机构分润使用) 作废
  6965. type: integer
  6966. refercount:
  6967. description: 推荐总人数
  6968. type: integer
  6969. refereeuserid:
  6970. description: 推荐人ID
  6971. type: integer
  6972. refernum:
  6973. description: 推荐码
  6974. type: string
  6975. rootuserid:
  6976. description: 根用户ID
  6977. type: integer
  6978. subaccountlevel:
  6979. description: 子账户层数
  6980. type: integer
  6981. subarealevelpath:
  6982. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6983. type: string
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. usertype:
  6988. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6989. type: integer
  6990. type: object
  6991. models.Ermcp3SCMiddleGoods:
  6992. properties:
  6993. biztype:
  6994. description: 业务类型 1:套保 2:套利
  6995. type: integer
  6996. contractno:
  6997. description: 合同编号
  6998. type: string
  6999. contracttype:
  7000. description: 合同类型 1:采购 -1:销售
  7001. type: integer
  7002. convertratio:
  7003. description: 折算系数
  7004. type: number
  7005. customername:
  7006. description: 对手手名称
  7007. type: string
  7008. customeruserid:
  7009. description: 对手id
  7010. type: integer
  7011. deliverygoodscode:
  7012. description: 现货品种代码
  7013. type: string
  7014. deliverygoodsid:
  7015. description: 现货品种ID
  7016. type: integer
  7017. deliverygoodsname:
  7018. description: 现货品种名称
  7019. type: string
  7020. enumdicname:
  7021. description: 现货单位名称
  7022. type: string
  7023. middlegoodsid:
  7024. description: 套保品种ID
  7025. type: integer
  7026. middlegoodspricedqty3:
  7027. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7028. type: number
  7029. needhedgeratio:
  7030. description: 套保比例
  7031. type: number
  7032. pricedqty:
  7033. description: 已定价量
  7034. type: number
  7035. relatedmiddlegoodsqty:
  7036. description: 已关联量(套保品种)(期货)
  7037. type: number
  7038. spotcontractid:
  7039. description: 合同编号
  7040. type: string
  7041. unitid:
  7042. description: 现货单位id
  7043. type: integer
  7044. userid:
  7045. description: 用户id
  7046. type: integer
  7047. vatrate:
  7048. description: 增值税率
  7049. type: number
  7050. wrstandardcode:
  7051. description: 现货商品代码
  7052. type: string
  7053. wrstandardid:
  7054. description: 现货商品id
  7055. type: integer
  7056. wrstandardname:
  7057. description: 现货商品名称
  7058. type: string
  7059. type: object
  7060. models.Ermcp3SCMiddleGoodsReport:
  7061. properties:
  7062. begindate:
  7063. description: 开始交易日
  7064. type: string
  7065. contractno:
  7066. description: 合同编号
  7067. type: string
  7068. contracttype:
  7069. description: 合同类型 1:采购 -1:销售
  7070. type: integer
  7071. convertratio:
  7072. description: 期初均价
  7073. type: number
  7074. cycletime:
  7075. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7076. type: string
  7077. cycletype:
  7078. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7079. type: integer
  7080. deliverygoodscode:
  7081. description: 品种代码
  7082. type: string
  7083. deliverygoodsid:
  7084. description: 现货品种ID
  7085. type: integer
  7086. deliverygoodsname:
  7087. description: 品种名称
  7088. type: string
  7089. diffprice:
  7090. description: 期初均价
  7091. type: number
  7092. diffqty:
  7093. description: 期初均价
  7094. type: number
  7095. enddate:
  7096. description: 结束交易日
  7097. type: string
  7098. hedgeplanqty:
  7099. description: 期初均价
  7100. type: number
  7101. matchname:
  7102. description: 交易对手方(个人:用户名称 企业:简称)
  7103. type: string
  7104. matchnickname:
  7105. description: 交易对手方昵称
  7106. type: string
  7107. middlegoodscode:
  7108. description: 套保品种代码
  7109. type: string
  7110. middlegoodsid:
  7111. description: 套保品种ID
  7112. type: integer
  7113. middlegoodsname:
  7114. description: 套保品种名称
  7115. type: string
  7116. middlegoodspricedqty:
  7117. description: 期初均价
  7118. type: number
  7119. middlegoodspricedqty2:
  7120. description: 期初均价
  7121. type: number
  7122. middlegoodspricedqty3:
  7123. description: 期初均价
  7124. type: number
  7125. needhedgeratio:
  7126. description: 期初均价
  7127. type: number
  7128. pricedamount:
  7129. description: 期初均价
  7130. type: number
  7131. pricedamount2:
  7132. description: 期初均价
  7133. type: number
  7134. pricedqty:
  7135. description: 期初均价
  7136. type: number
  7137. reckondate:
  7138. description: 日照时期(yyyyMMdd)
  7139. type: string
  7140. relatedmiddlegoodsamount:
  7141. description: 期初均价
  7142. type: number
  7143. relatedmiddlegoodsqty:
  7144. description: 期初均价
  7145. type: number
  7146. spotcontractid:
  7147. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7148. type: string
  7149. todayavgfutuprice:
  7150. description: 期初均价
  7151. type: number
  7152. todayavgprice:
  7153. description: 期初均价
  7154. type: number
  7155. todayavgprice2:
  7156. description: 期初均价
  7157. type: number
  7158. todaypricedamount:
  7159. description: 期初均价
  7160. type: number
  7161. todaypricedamount2:
  7162. description: 期初均价
  7163. type: number
  7164. todaypricedqty:
  7165. description: 期初均价
  7166. type: number
  7167. todayrelatedfutureqty:
  7168. description: 期初均价
  7169. type: number
  7170. todayrelatedmiddlegoodsamount:
  7171. description: 期初均价
  7172. type: number
  7173. todayrelatedmiddlegoodsqty:
  7174. description: 期初均价
  7175. type: number
  7176. updatetime:
  7177. description: 更新时间
  7178. type: string
  7179. userid:
  7180. description: 合同所属用户id
  7181. type: integer
  7182. vatrate:
  7183. description: 期初均价
  7184. type: number
  7185. wrstandardcode:
  7186. description: 商品(品类) 代码
  7187. type: string
  7188. wrstandardid:
  7189. description: 现货商品ID
  7190. type: integer
  7191. wrstandardname:
  7192. description: 商品(品类) 名称
  7193. type: string
  7194. type: object
  7195. models.Ermcp3SellBuyContract:
  7196. properties:
  7197. accountid:
  7198. description: 期货账户id
  7199. type: string
  7200. accountname:
  7201. description: 账户名称
  7202. type: string
  7203. attachment:
  7204. description: 附件
  7205. type: string
  7206. audittime:
  7207. description: 审核时间
  7208. type: string
  7209. bizsubjectid:
  7210. description: 归属业务部门ID - SubjectID
  7211. type: integer
  7212. biztype:
  7213. description: 业务类型 1-套保 2-套利
  7214. type: integer
  7215. brandname:
  7216. description: 品牌名称
  7217. type: string
  7218. contracctstatus:
  7219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7220. type: integer
  7221. contractmargin:
  7222. description: 合同保证金
  7223. type: number
  7224. contractno:
  7225. description: 合同编号
  7226. type: string
  7227. contracttype:
  7228. description: 合同类型 1-采购, -1-销售
  7229. type: integer
  7230. convertfactor:
  7231. description: 标仓系数(品类)
  7232. type: number
  7233. createtime:
  7234. description: 创建时间
  7235. type: string
  7236. currencyid:
  7237. description: 币种id
  7238. type: integer
  7239. currencyname:
  7240. description: 币种名称
  7241. type: string
  7242. daikaiamount:
  7243. description: 应收(开)票额 | 未收票额
  7244. type: number
  7245. deliveryenddate:
  7246. description: 交割结束日
  7247. type: string
  7248. deliverygoodscode:
  7249. description: 现货品种代码
  7250. type: string
  7251. deliverygoodsid:
  7252. description: 现货商品ID
  7253. type: integer
  7254. deliverygoodsname:
  7255. description: 现货品种名称
  7256. type: string
  7257. deliverystartdate:
  7258. description: 交割开始日
  7259. type: string
  7260. enddate:
  7261. description: 点价结束日
  7262. type: string
  7263. enumdicname:
  7264. description: 单位名称
  7265. type: string
  7266. goodscode:
  7267. description: 点价商品代码
  7268. type: string
  7269. goodsgroupid:
  7270. description: 点价商品组id
  7271. type: integer
  7272. goodsid:
  7273. description: 点价商品ID
  7274. type: integer
  7275. goodsname:
  7276. description: 点价商品名称
  7277. type: string
  7278. invoiceamount:
  7279. description: 已开票额
  7280. type: number
  7281. loanamount:
  7282. description: 贷款总额=已定价额+调整金额
  7283. type: number
  7284. margin:
  7285. description: 保证金
  7286. type: number
  7287. meruserid:
  7288. description: 跟单员id
  7289. type: integer
  7290. meruserlogincode:
  7291. description: 跟单员登录代码
  7292. type: string
  7293. merusername:
  7294. description: 跟单员名称
  7295. type: string
  7296. nickname:
  7297. description: 账户昵称
  7298. type: string
  7299. orireckonrealqty:
  7300. description: 应交收量
  7301. type: number
  7302. payamount:
  7303. description: 已收付额(收款或付款)
  7304. type: number
  7305. preinvoiceamount:
  7306. description: 预收(开)票额
  7307. type: number
  7308. prepayamount:
  7309. description: 预收付额
  7310. type: number
  7311. price:
  7312. description: 价格
  7313. type: number
  7314. pricedamount:
  7315. description: 已定价额
  7316. type: number
  7317. pricedavg:
  7318. description: 已点均价
  7319. type: number
  7320. pricedqty:
  7321. description: 已定价量
  7322. type: number
  7323. pricemove:
  7324. description: 升贴水
  7325. type: number
  7326. pricetype:
  7327. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7328. type: integer
  7329. producttype:
  7330. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7331. type: integer
  7332. qty:
  7333. description: 合同量
  7334. type: number
  7335. reckonadjustamount:
  7336. description: 调整金额
  7337. type: number
  7338. reckonedamount:
  7339. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7340. type: number
  7341. reckonotheramount:
  7342. description: 其它费用
  7343. type: number
  7344. reckonrealqty:
  7345. description: 已交收量
  7346. type: number
  7347. remark:
  7348. description: 备注
  7349. type: string
  7350. saleuserid:
  7351. description: 业务员id
  7352. type: integer
  7353. saleuserlogincode:
  7354. description: 业务员登录代码
  7355. type: string
  7356. saleusername:
  7357. description: 业务员名称
  7358. type: string
  7359. spotcontractid:
  7360. description: 合同ID
  7361. type: string
  7362. spotgoodsbrandid:
  7363. description: 现货品牌ID(DGFactoryItem表的ID)
  7364. type: integer
  7365. spotgoodsdesc:
  7366. description: 商品型号(商品规格)
  7367. type: string
  7368. startdate:
  7369. description: 点价开始日
  7370. type: string
  7371. subjectid:
  7372. description: 交易主体ID
  7373. type: integer
  7374. subjectname:
  7375. description: 交易主体名称
  7376. type: string
  7377. totalamount:
  7378. description: 合计总额
  7379. type: number
  7380. tradeuserid:
  7381. description: 交易员id
  7382. type: integer
  7383. tradeuserlogincode:
  7384. description: 交易员登录代码
  7385. type: string
  7386. tradeusername:
  7387. description: 交易员名称
  7388. type: string
  7389. unpayamount:
  7390. description: 应收付款额(应支付或应收款) | 未付款额
  7391. type: number
  7392. unpricedqty:
  7393. description: 未定价量
  7394. type: number
  7395. unsureqty:
  7396. description: 未确定量 | 未交收量
  7397. type: number
  7398. userid:
  7399. description: 机构ID
  7400. type: integer
  7401. vatrate:
  7402. description: 增值税率
  7403. type: number
  7404. wrstandardcode:
  7405. description: 品类代码
  7406. type: string
  7407. wrstandardid:
  7408. description: 品类ID
  7409. type: integer
  7410. wrstandardname:
  7411. description: 品类名称
  7412. type: string
  7413. type: object
  7414. models.Ermcp3SpotGoodsPrice:
  7415. properties:
  7416. areauserid:
  7417. description: 所属机构id
  7418. type: integer
  7419. brandname:
  7420. description: 品牌名称
  7421. type: string
  7422. currencyid:
  7423. description: 报价货币ID
  7424. type: integer
  7425. currencyname:
  7426. description: 币种名称
  7427. type: string
  7428. deliverygoodscode:
  7429. description: 现货商品代码
  7430. type: string
  7431. deliverygoodsid:
  7432. description: 现货商品id
  7433. type: integer
  7434. deliverygoodsname:
  7435. description: 现货商品名称
  7436. type: string
  7437. enumdicname:
  7438. description: 现货商品单位名称
  7439. type: string
  7440. gbenumdicname:
  7441. description: 品类单位名称
  7442. type: string
  7443. gmunitid:
  7444. description: 品类单位id
  7445. type: integer
  7446. isvalid:
  7447. description: 是否有效 - 0:无效 1:有效
  7448. type: integer
  7449. operateid:
  7450. description: 最后操作人
  7451. type: integer
  7452. operatesrc:
  7453. description: 最后操作来源 - 1:管理端 2:终端
  7454. type: integer
  7455. operatetime:
  7456. description: 最后操作时间
  7457. type: string
  7458. operatorname:
  7459. description: 操作人名称
  7460. type: string
  7461. spotgoodsbrandid:
  7462. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7463. type: integer
  7464. spotgoodsprice:
  7465. description: 现货价格
  7466. type: number
  7467. tradedate:
  7468. description: 交易日(yyyyMMdd)
  7469. type: string
  7470. unitid:
  7471. description: 现货商品单位id
  7472. type: integer
  7473. wrstandardcode:
  7474. description: 品类代码
  7475. type: string
  7476. wrstandardid:
  7477. description: 现货品类ID(通用则为0)
  7478. type: integer
  7479. wrstandardname:
  7480. description: 品类名称
  7481. type: string
  7482. type: object
  7483. models.Ermcp3SpotGoodsPriceLog:
  7484. properties:
  7485. areauserid:
  7486. description: 所属机构id
  7487. type: integer
  7488. brandname:
  7489. description: 品牌名称
  7490. type: string
  7491. currencyid:
  7492. description: 报价货币ID
  7493. type: integer
  7494. deliverygoodscode:
  7495. description: 现货商品代码
  7496. type: string
  7497. deliverygoodsid:
  7498. description: 现货商品id
  7499. type: integer
  7500. deliverygoodsname:
  7501. description: 现货商品名称
  7502. type: string
  7503. enumdicname:
  7504. description: 现货商品单位名称
  7505. type: string
  7506. gbenumdicname:
  7507. description: 品类单位名称
  7508. type: string
  7509. gmunitid:
  7510. description: 品类单位id
  7511. type: integer
  7512. logid:
  7513. description: 日志id
  7514. type: integer
  7515. operateid:
  7516. description: 最后操作人
  7517. type: integer
  7518. operatesrc:
  7519. description: 最后操作来源 - 1:管理端 2:终端
  7520. type: integer
  7521. operatetime:
  7522. description: 最后操作时间
  7523. type: string
  7524. operatorname:
  7525. description: 操作人名称
  7526. type: string
  7527. spotgoodsbrandid:
  7528. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7529. type: integer
  7530. spotgoodsprice:
  7531. description: 现货价格
  7532. type: number
  7533. tradedate:
  7534. description: 交易日(yyyyMMdd)
  7535. type: string
  7536. unitid:
  7537. description: 现货商品单位id
  7538. type: integer
  7539. wrstandardcode:
  7540. description: 品类代码
  7541. type: string
  7542. wrstandardid:
  7543. description: 现货品类ID(通用则为0)
  7544. type: integer
  7545. wrstandardname:
  7546. description: 品类名称
  7547. type: string
  7548. type: object
  7549. models.Ermcp3SubTaaccount:
  7550. properties:
  7551. accountid:
  7552. description: 资金账户ID
  7553. type: integer
  7554. parentaccountcode:
  7555. description: 所属根账号代码(母账号代码)
  7556. type: string
  7557. parentaccountid:
  7558. description: 所属根账号(母账号)
  7559. type: integer
  7560. taname:
  7561. description: 资金账号名称
  7562. type: string
  7563. tradestatus:
  7564. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7565. type: integer
  7566. username:
  7567. description: 交易用户
  7568. type: string
  7569. type: object
  7570. models.Ermcp3TaFutuReDataReport:
  7571. properties:
  7572. accountid:
  7573. description: 交易账户
  7574. type: integer
  7575. accountname:
  7576. description: 交易账号名称
  7577. type: string
  7578. agreeunit:
  7579. description: 商品合约单位
  7580. type: number
  7581. begindate:
  7582. description: 开始交易日
  7583. type: string
  7584. buyorsell:
  7585. description: 持仓方向
  7586. type: integer
  7587. charge:
  7588. description: 手续费
  7589. type: number
  7590. closeavgprice:
  7591. description: 期初均价
  7592. type: number
  7593. closepl:
  7594. description: 平仓损益
  7595. type: number
  7596. currencyid:
  7597. description: 结算币种ID
  7598. type: integer
  7599. currencyname:
  7600. description: 币种名称
  7601. type: string
  7602. cycletime:
  7603. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7604. type: string
  7605. cycletype:
  7606. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7607. type: integer
  7608. enddate:
  7609. description: 结束交易日
  7610. type: string
  7611. enumdicname:
  7612. description: 单位名称
  7613. type: string
  7614. floatpl:
  7615. description: 浮动损益
  7616. type: number
  7617. goodscode:
  7618. description: 交易合约代码
  7619. type: string
  7620. goodsgroupid:
  7621. description: 交易品种
  7622. type: integer
  7623. goodsgroupname:
  7624. description: 交易品种名称
  7625. type: string
  7626. goodsgroupspotqty:
  7627. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7628. type: number
  7629. goodsid:
  7630. description: 交易合约
  7631. type: integer
  7632. goodsname:
  7633. description: 交易合约名称
  7634. type: string
  7635. goodunitid:
  7636. description: 交易合约单位id
  7637. type: integer
  7638. holdamount:
  7639. description: 期末持仓额
  7640. type: number
  7641. holdqty:
  7642. description: 期初均价
  7643. type: number
  7644. lastholdamount:
  7645. description: 当前持仓额
  7646. type: number
  7647. lastprice:
  7648. description: 最新价
  7649. type: number
  7650. middlegoodsid:
  7651. description: 套保品种id
  7652. type: integer
  7653. middlegoodsname:
  7654. description: 套保商品名称
  7655. type: string
  7656. middlegoodsqty:
  7657. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7658. type: number
  7659. middlgoodscode:
  7660. description: 套保商品代码
  7661. type: string
  7662. openamount:
  7663. description: 期末开仓额
  7664. type: number
  7665. openavgprice:
  7666. description: 期初均价
  7667. type: number
  7668. oriholdamount:
  7669. description: 期初持仓额
  7670. type: number
  7671. oriholdqty:
  7672. description: 期初均价
  7673. type: number
  7674. oriopenamount:
  7675. description: 期初开仓额
  7676. type: number
  7677. outergroupcode:
  7678. description: 交易品种代码
  7679. type: string
  7680. qtydecimalplace:
  7681. description: 成交量小数位
  7682. type: integer
  7683. reckondate:
  7684. description: 日照时期(yyyyMMdd)
  7685. type: string
  7686. reckonholdamount:
  7687. description: 结算持仓额
  7688. type: number
  7689. reckonpl:
  7690. description: 结算损益
  7691. type: number
  7692. reckonpl2:
  7693. description: 结算逐笔盈亏
  7694. type: number
  7695. reckonprice:
  7696. description: 结算价
  7697. type: number
  7698. relateduserid:
  7699. description: 账户关联用户ID
  7700. type: integer
  7701. todaycloseamount:
  7702. description: 今平仓额
  7703. type: number
  7704. todaycloseqty:
  7705. description: 期初均价
  7706. type: number
  7707. todaygoodsgroupspotqty:
  7708. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7709. type: number
  7710. todaymiddlegoodsqty:
  7711. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7712. type: number
  7713. todayopenamount:
  7714. description: 今开仓额
  7715. type: number
  7716. todayopenqty:
  7717. description: 期初均价
  7718. type: number
  7719. userid:
  7720. description: 账户所属用户ID
  7721. type: integer
  7722. type: object
  7723. models.Ermcp3TradeLinkDetail:
  7724. properties:
  7725. accountid:
  7726. description: 资金账号
  7727. type: integer
  7728. agreeunit:
  7729. description: 合约乘数
  7730. type: number
  7731. areauserid:
  7732. description: 所属机构
  7733. type: string
  7734. bizsubjectid:
  7735. description: 归属业务部门ID - SubjectID
  7736. type: string
  7737. buyorsell:
  7738. description: 方向 - 0:买 1:卖
  7739. type: integer
  7740. channelbuildtype:
  7741. description: 委托单据类型 0:无 1:建仓 2:平仓
  7742. type: integer
  7743. contractno:
  7744. description: 现货编号 (合同编号)
  7745. type: string
  7746. convertratio:
  7747. description: 折算系数
  7748. type: number
  7749. createtime:
  7750. description: 关联时间 | 创建时间
  7751. type: string
  7752. creatorid:
  7753. description: 创建人ID
  7754. type: string
  7755. creatorsrc:
  7756. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7757. type: integer
  7758. enumdicname:
  7759. description: 单位名称
  7760. type: string
  7761. goodscode:
  7762. description: 合约代码
  7763. type: string
  7764. goodsgroupid:
  7765. description: 对冲品种ID[期货合约商品组ID]
  7766. type: integer
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 合约名称
  7772. type: string
  7773. hedgeflag:
  7774. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7775. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7776. type: integer
  7777. linkdetailid:
  7778. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7779. type: string
  7780. linkstatus:
  7781. description: 关联状态 - 1:成功 2:失败 3:解绑
  7782. type: integer
  7783. middlegoodscode:
  7784. description: 套保品种代码
  7785. type: string
  7786. middlegoodsid:
  7787. description: 套保品种ID
  7788. type: integer
  7789. middlegoodsname:
  7790. description: 套保品种名称
  7791. type: string
  7792. relatedlot:
  7793. description: 关联手数
  7794. type: number
  7795. relatedmode:
  7796. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7797. type: integer
  7798. relatedqty:
  7799. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7800. type: number
  7801. retcode:
  7802. description: 返回码
  7803. type: integer
  7804. saleuserid:
  7805. description: 业务员ID
  7806. type: string
  7807. spotcontractid:
  7808. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7809. type: string
  7810. taname:
  7811. description: 期货账户
  7812. type: string
  7813. tradedate:
  7814. description: 关联交易日(yyyyMMdd)
  7815. type: string
  7816. tradeid:
  7817. description: 期货订单号 | 内部成交单ID
  7818. type: string
  7819. tradelot:
  7820. description: 成交数量 | 成交手数
  7821. type: integer
  7822. tradeprice:
  7823. description: 成交价格
  7824. type: number
  7825. tradetime:
  7826. description: 期货成交时间
  7827. type: string
  7828. tradetradedate:
  7829. description: 成交交易日(yyyyMMdd)
  7830. type: string
  7831. username:
  7832. description: 用户名称
  7833. type: string
  7834. type: object
  7835. models.Ermcp3Wrstandard:
  7836. properties:
  7837. areauserid:
  7838. description: 所属机构
  7839. type: integer
  7840. cantrade:
  7841. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7842. type: integer
  7843. convertfactor:
  7844. description: 标仓系数
  7845. type: number
  7846. createtime:
  7847. description: 创建时间
  7848. type: string
  7849. creatorid:
  7850. description: 创建人
  7851. type: integer
  7852. deliverygoodsid:
  7853. description: 现货品种ID
  7854. type: integer
  7855. enumdicname:
  7856. description: 品类单位名称
  7857. type: string
  7858. isvalid:
  7859. description: 是否有效 0-无效(停用) 1-有效(正常)
  7860. type: integer
  7861. minivalue:
  7862. description: 最小变动值
  7863. type: integer
  7864. minivaluedp:
  7865. description: 最小变动值小数位
  7866. type: integer
  7867. realminivalue:
  7868. description: 实际最小变动值
  7869. type: integer
  7870. realminivaluedp:
  7871. description: 实际最小变动值小数位
  7872. type: integer
  7873. remark:
  7874. description: 备注
  7875. type: string
  7876. unitid:
  7877. description: 品类单位ID
  7878. type: integer
  7879. updatetime:
  7880. description: 更新时间
  7881. type: string
  7882. wrstandardcode:
  7883. description: 品类代码
  7884. type: string
  7885. wrstandardid:
  7886. description: 品类ID(SEQ_WRSTANDARD)
  7887. type: integer
  7888. wrstandardname:
  7889. description: 品类名称
  7890. type: string
  7891. type: object
  7892. models.Ermcp8EnableHedgeditem:
  7893. properties:
  7894. accountname:
  7895. description: 套期主体
  7896. type: string
  7897. hedgeditemid:
  7898. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7899. type: string
  7900. hedgeditemname:
  7901. description: 项目名称
  7902. type: string
  7903. hedgeditemnum:
  7904. description: 项目编号
  7905. type: string
  7906. hedgedtype:
  7907. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7908. type: integer
  7909. planenddate:
  7910. description: 计划结束日期
  7911. type: string
  7912. planstartdate:
  7913. description: 计划开始日期
  7914. type: string
  7915. wrstandardid:
  7916. description: 现货商品ID
  7917. type: integer
  7918. wrstandardname:
  7919. description: 现货商品
  7920. type: string
  7921. type: object
  7922. models.Ermcp8HedgeditemReport:
  7923. properties:
  7924. accountname:
  7925. description: 套期主体
  7926. type: string
  7927. areauserid:
  7928. description: 企业ID
  7929. type: integer
  7930. curprice:
  7931. description: '[当日现货市场价]当前市场价'
  7932. type: number
  7933. enumdicname:
  7934. description: 单位
  7935. type: string
  7936. exeamount:
  7937. description: '[执行现货金额]执行市价总额'
  7938. type: number
  7939. exeavgprice:
  7940. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  7941. type: number
  7942. exeqty:
  7943. description: '[执行数量]执行现货量'
  7944. type: number
  7945. futurehedgepl:
  7946. description: 期货实际损益
  7947. type: number
  7948. futurehedgeplchange:
  7949. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  7950. type: number
  7951. futurepl:
  7952. description: 期货套期损益
  7953. type: number
  7954. futureplchange:
  7955. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  7956. type: number
  7957. hedgeamount:
  7958. description: '[套期现货金额]套期市价总额'
  7959. type: number
  7960. hedgeditemnum:
  7961. description: 项目编号,模糊查询
  7962. type: string
  7963. hedgeditemstatus:
  7964. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7965. type: integer
  7966. hedgedtype:
  7967. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7968. type: integer
  7969. hedgeqty:
  7970. description: '[套期数量]套期现货量'
  7971. type: number
  7972. oriavgprice:
  7973. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  7974. type: number
  7975. orifuturehedgepl:
  7976. description: 期初期货实际损益
  7977. type: number
  7978. orifuturepl:
  7979. description: 期初期货套期损益
  7980. type: number
  7981. orispothedgepl:
  7982. description: 期初现货实际损益
  7983. type: number
  7984. orispotpl:
  7985. description: 期初现货套期损益
  7986. type: number
  7987. planenddate:
  7988. description: 计划结束日期
  7989. type: string
  7990. planstartdate:
  7991. description: 计划开始日期
  7992. type: string
  7993. spothedgepl:
  7994. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  7995. type: number
  7996. spothedgeplchange:
  7997. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  7998. type: number
  7999. spotpl:
  8000. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8001. type: number
  8002. spotplchange:
  8003. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8004. type: number
  8005. tradeuserid:
  8006. description: 交易用户ID
  8007. type: integer
  8008. unexeqty:
  8009. description: 未执行现货量 = 套期现货量 - 执行现货量
  8010. type: number
  8011. wrstandardcode:
  8012. description: 现货品类代码
  8013. type: string
  8014. wrstandardid:
  8015. description: 现货商品ID
  8016. type: integer
  8017. wrstandardname:
  8018. description: '[现货商品]现货品类名称'
  8019. type: string
  8020. type: object
  8021. models.Ermcp8RunningHedgeditem:
  8022. properties:
  8023. accountname:
  8024. description: 套期主体
  8025. type: string
  8026. applyid:
  8027. description: 申请人
  8028. type: integer
  8029. applysrc:
  8030. description: 申请来源 - 1:管理端 2:终端
  8031. type: integer
  8032. areauserid:
  8033. description: 企业ID
  8034. type: integer
  8035. auditid:
  8036. description: 审核人
  8037. type: integer
  8038. auditremark:
  8039. description: 审核备注
  8040. type: string
  8041. auditsrc:
  8042. description: 审核来源 - 1:管理端 2:终端
  8043. type: integer
  8044. audittime:
  8045. description: 审核时间
  8046. type: string
  8047. audittradedate:
  8048. description: 审核交易日(yyyyMMdd)
  8049. type: string
  8050. createtime:
  8051. description: 申请时间
  8052. type: string
  8053. curprice:
  8054. description: 当前市场价
  8055. type: number
  8056. curstock:
  8057. description: 期末库存量 = 采购总量 - 销售总量
  8058. type: number
  8059. deliverygoodsid:
  8060. description: 现货品种ID
  8061. type: integer
  8062. enddate:
  8063. description: 完成日期
  8064. type: string
  8065. endtradedate:
  8066. description: 完成交易日
  8067. type: string
  8068. enumdicname:
  8069. description: 单位
  8070. type: string
  8071. exeamount:
  8072. description: 执行市价总额
  8073. type: number
  8074. exeavgprice:
  8075. description: 执行市场均价= 执行市价总额 / 执行现货量
  8076. type: number
  8077. execontractamount:
  8078. description: 执行定价总额
  8079. type: number
  8080. exeqty:
  8081. description: 执行现货量
  8082. type: number
  8083. exerestamount:
  8084. description: 执行剩余市价总额【现货贸易】
  8085. type: number
  8086. futurefloatpl:
  8087. description: 期货浮动损益
  8088. type: number
  8089. futurehedgepl:
  8090. description: 期货实际损益
  8091. type: number
  8092. futurehedgeplchange:
  8093. description: 期货实际损益变动
  8094. type: number
  8095. futurepl:
  8096. description: 期货套期损益
  8097. type: number
  8098. futureplchange:
  8099. description: 期货套期损益变动
  8100. type: number
  8101. hedgeamount:
  8102. description: 套期市价总额
  8103. type: number
  8104. hedgecontractamount:
  8105. description: 套期定价总额 【定价采购合同】【现货贸易】
  8106. type: number
  8107. hedgeditemid:
  8108. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8109. type: string
  8110. hedgeditemname:
  8111. description: 项目名称
  8112. type: string
  8113. hedgeditemnum:
  8114. description: 项目编号
  8115. type: string
  8116. hedgeditemstatus:
  8117. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8118. type: integer
  8119. hedgedtype:
  8120. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8121. type: integer
  8122. hedgeqty:
  8123. description: 套期现货量
  8124. type: number
  8125. hedgerate:
  8126. description: 套保比率
  8127. type: number
  8128. hedgerestamount:
  8129. description: 套期剩余市价总额【现货贸易】
  8130. type: number
  8131. hedgesumpl:
  8132. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8133. type: number
  8134. middlegoodslist:
  8135. description: 套期商品列表
  8136. items:
  8137. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8138. type: array
  8139. oriavgprice:
  8140. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8141. type: number
  8142. orifuturehedgepl:
  8143. description: 期初期货实际损益
  8144. type: number
  8145. orifuturepl:
  8146. description: 期初期货套期损益
  8147. type: number
  8148. orispothedgepl:
  8149. description: 期初现货实际损益
  8150. type: number
  8151. orispotpl:
  8152. description: 期初现货套期损益
  8153. type: number
  8154. planenddate:
  8155. description: 计划结束日期
  8156. type: string
  8157. planstartdate:
  8158. description: 计划开始日期
  8159. type: string
  8160. remark:
  8161. description: 备注
  8162. type: string
  8163. spotbookamount:
  8164. description: 现货账面总额
  8165. type: number
  8166. spotfloatpl:
  8167. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8168. type: number
  8169. spothedgepl:
  8170. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8171. type: number
  8172. spothedgeplchange:
  8173. description: 现货实际损益变动
  8174. type: number
  8175. spotpl:
  8176. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8177. type: number
  8178. spotplchange:
  8179. description: 现货套期损益变动
  8180. type: number
  8181. spottradepl:
  8182. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8183. type: number
  8184. sumobspl:
  8185. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8186. type: number
  8187. tradeuserid:
  8188. description: 交易用户ID
  8189. type: integer
  8190. unexeqty:
  8191. description: 未执行现货量 = 套期现货量 - 执行现货量
  8192. type: number
  8193. updatetime:
  8194. description: 更新时间
  8195. type: string
  8196. vatpl:
  8197. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8198. type: number
  8199. vatrate:
  8200. description: 增值税
  8201. type: number
  8202. wrstandardid:
  8203. description: 现货商品ID
  8204. type: integer
  8205. wrstandardname:
  8206. description: 商品名称
  8207. type: string
  8208. type: object
  8209. models.ErmcpBizGroupEx:
  8210. properties:
  8211. acclist:
  8212. description: 账号列表
  8213. items:
  8214. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8215. type: array
  8216. bizgroupid:
  8217. description: 业务分组id
  8218. type: integer
  8219. biztype:
  8220. description: 业务类型 1-套保 2-套利
  8221. type: integer
  8222. wrlist:
  8223. description: 现货商品表
  8224. items:
  8225. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8226. type: array
  8227. type: object
  8228. models.ErmcpBizGroupSpotGoods:
  8229. properties:
  8230. areauserid:
  8231. description: 所属机构id
  8232. type: integer
  8233. bizgroupid:
  8234. description: 分组id
  8235. type: integer
  8236. biztype:
  8237. description: 业务类型 1-套保 2-套利
  8238. type: integer
  8239. deliverygoodscode:
  8240. description: 现货商品代码
  8241. type: string
  8242. deliverygoodsid:
  8243. description: 现货商品id
  8244. type: integer
  8245. deliverygoodsname:
  8246. description: 现货商品名称
  8247. type: string
  8248. unitid:
  8249. description: 现货商品单位id
  8250. type: integer
  8251. type: object
  8252. models.ErmcpBizGroupTaAccount:
  8253. properties:
  8254. accountid:
  8255. description: 账号id
  8256. type: integer
  8257. accountname:
  8258. description: 账号名称
  8259. type: string
  8260. areauserid:
  8261. description: 所属机构id
  8262. type: integer
  8263. bizgroupid:
  8264. description: 业务分组id
  8265. type: integer
  8266. ismain:
  8267. description: 是否主账号 1-是 0-否
  8268. type: integer
  8269. type: object
  8270. models.ErmcpDGFactoryItem:
  8271. properties:
  8272. areauserid:
  8273. description: 用户id
  8274. type: integer
  8275. deliverygoodsid:
  8276. description: 现货品种ID
  8277. type: integer
  8278. dgfactoryitemid:
  8279. description: 选择项ID(SEQ_DGFACTORYITEM)
  8280. type: integer
  8281. dgfactoryitemtypeid:
  8282. description: 要素项类型
  8283. type: integer
  8284. dgfactoryitemvalue:
  8285. description: 要素项值(类型为仓库时填写仓库名称)
  8286. type: string
  8287. isvalid:
  8288. description: 是否有效 - 0:无效 1:有效
  8289. type: integer
  8290. orderindex:
  8291. description: 顺序
  8292. type: integer
  8293. warehouseid:
  8294. description: 仓库ID(类型为仓库时填写)
  8295. type: integer
  8296. type: object
  8297. models.ErmcpDeliveryGoods:
  8298. properties:
  8299. agreeunit:
  8300. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8301. type: integer
  8302. areauserid:
  8303. description: 所属机构
  8304. type: integer
  8305. auditflag:
  8306. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8307. type: integer
  8308. categoryid:
  8309. description: 类别ID(SEQ_WRCATEGORY)
  8310. type: integer
  8311. deliverygoodscode:
  8312. description: 现货品种代码
  8313. type: string
  8314. deliverygoodsid:
  8315. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8316. type: integer
  8317. deliverygoodsname:
  8318. description: 现货品种名称
  8319. type: string
  8320. deliverygoodstype:
  8321. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8322. type: integer
  8323. dgstatus:
  8324. description: 品种状态 - 作废 - 0:未激活 1:正常
  8325. type: integer
  8326. enumdicname:
  8327. description: 现货品种单位名称
  8328. type: string
  8329. goodsunitid:
  8330. description: 现货品种单位ID
  8331. type: integer
  8332. isvalid:
  8333. description: 是否有效 - 0:无效 1:有效
  8334. type: integer
  8335. qtydecimalplace:
  8336. description: 成交量小数位
  8337. type: integer
  8338. remark:
  8339. description: 备注
  8340. type: string
  8341. standardqty:
  8342. description: 标准数量(库位数量) [标准品特有]
  8343. type: integer
  8344. standardqtyrange:
  8345. description: 标准数量偏差范围 [标准品特有]
  8346. type: integer
  8347. type: object
  8348. models.ErmcpFuturesCompany:
  8349. properties:
  8350. brokerid:
  8351. description: 经纪公司代码
  8352. type: string
  8353. channeladdress:
  8354. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8355. type: string
  8356. channelid:
  8357. description: 对冲渠道ID
  8358. type: string
  8359. createtime:
  8360. description: 创建时间
  8361. type: string
  8362. creatorid:
  8363. description: 创建人
  8364. type: string
  8365. fcid:
  8366. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8367. type: integer
  8368. fcname:
  8369. description: 期货公司名称
  8370. type: string
  8371. isvalid:
  8372. description: 是否有效 - 0:无效 1:有效
  8373. type: integer
  8374. mhpaddress:
  8375. description: MHP服务地址(IP:Port)
  8376. type: string
  8377. riskrulegroupid:
  8378. description: 风控规则组ID
  8379. type: string
  8380. tradefeetmpid:
  8381. description: 手续费模板ID[TradeConfigTmpType为2]
  8382. type: string
  8383. trademargintmpid:
  8384. description: 保证金模板ID [TradeConfigTmpType为1]
  8385. type: string
  8386. traderatetmpid:
  8387. description: 汇率模板ID[TradeConfigTmpType为3]
  8388. type: string
  8389. updatetime:
  8390. description: 更新时间
  8391. type: string
  8392. updatorid:
  8393. description: 更新人
  8394. type: string
  8395. type: object
  8396. models.ErmcpGGConvertCfg:
  8397. properties:
  8398. convertratio:
  8399. description: 折算系数
  8400. type: number
  8401. destgoodsgroupid:
  8402. description: 目标品种ID
  8403. type: integer
  8404. dstcode:
  8405. description: 目录品种代码
  8406. type: string
  8407. dstexchangecode:
  8408. description: 目标期货交易所
  8409. type: string
  8410. dstname:
  8411. description: 目标品种名称
  8412. type: string
  8413. dstunitid:
  8414. description: 目标品种单位ID
  8415. type: integer
  8416. dstunitidname:
  8417. description: 目标品种单位名称
  8418. type: string
  8419. modifytime:
  8420. description: 修改时间
  8421. type: string
  8422. srccode:
  8423. description: 源品种代码
  8424. type: string
  8425. srcexchangecode:
  8426. description: 源期货交易所
  8427. type: string
  8428. srcgoodsgroupid:
  8429. description: 源品种ID
  8430. type: integer
  8431. srcname:
  8432. description: 源品种名称
  8433. type: string
  8434. srcunitid:
  8435. description: 源品种单位ID
  8436. type: integer
  8437. srcunitidname:
  8438. description: 源品种单位名称
  8439. type: string
  8440. type: object
  8441. models.ErmcpGoods:
  8442. properties:
  8443. agreeunit:
  8444. description: 合约单位
  8445. type: number
  8446. areauserid:
  8447. description: 所属机构
  8448. type: integer
  8449. auditaccountid:
  8450. description: 审核操作员账号
  8451. type: integer
  8452. audittime:
  8453. description: 审核时间
  8454. type: string
  8455. cancelaccountid:
  8456. description: 注销操作员账号
  8457. type: integer
  8458. canceltime:
  8459. description: 注销时间
  8460. type: string
  8461. closepricemode:
  8462. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8463. type: integer
  8464. closepriceparam:
  8465. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8466. type: number
  8467. createtime:
  8468. description: 创建时间
  8469. type: string
  8470. creatorid:
  8471. description: 创建人
  8472. type: integer
  8473. currencyid:
  8474. description: 报价货币ID
  8475. type: integer
  8476. cutmode:
  8477. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8478. type: integer
  8479. decimalplace:
  8480. description: 报价小数位
  8481. type: integer
  8482. delistingdate:
  8483. description: 商品退市时间(状态:退市) -- 已作废
  8484. type: string
  8485. delistingmode:
  8486. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8487. type: integer
  8488. deliveryflag:
  8489. description: 交割标志 - 0:不可交割 1:可交割
  8490. type: integer
  8491. enumdicname:
  8492. description: 单位名称
  8493. type: string
  8494. forceclosemode:
  8495. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8496. type: integer
  8497. forceclosevalue:
  8498. description: 定期强平参数 [收益权]
  8499. type: integer
  8500. goodscode:
  8501. description: 商品代码(内部)
  8502. type: string
  8503. goodscurrencyid:
  8504. description: 合约货币ID
  8505. type: integer
  8506. goodsgroupid:
  8507. description: 所属商品组ID
  8508. type: integer
  8509. goodsid:
  8510. description: 商品ID(自增ID SEQ_GOODS)
  8511. type: integer
  8512. goodsname:
  8513. description: 商品名称
  8514. type: string
  8515. goodsquotetype:
  8516. description: '合约报价类型: 1-直接报价 2-间接报价'
  8517. type: integer
  8518. goodsstatus:
  8519. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8520. type: integer
  8521. goodstradetype:
  8522. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8523. type: integer
  8524. goodunitid:
  8525. description: 报价单位ID
  8526. type: integer
  8527. hasquoter:
  8528. description: 是否有报价商 - 0:无报价商 1:有报价商
  8529. type: integer
  8530. hqprotecttime:
  8531. description: 行情保护时间(秒)
  8532. type: integer
  8533. innerdealmode:
  8534. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8535. type: integer
  8536. isbuylimited:
  8537. description: 是否限制建仓量 - 0:不限制 1:限制
  8538. type: integer
  8539. isvisible:
  8540. description: 游客是否可见 - 0:不可见 1:可见
  8541. type: integer
  8542. lasttradedate:
  8543. description: 最后交易日期(状态:待退市)
  8544. type: string
  8545. listingdate:
  8546. description: 交易开始日期
  8547. type: string
  8548. marketid:
  8549. description: 所属市场ID
  8550. type: integer
  8551. modifierid:
  8552. description: 修改人
  8553. type: integer
  8554. modifystatus:
  8555. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8556. type: integer
  8557. modifytime:
  8558. description: 修改时间
  8559. type: string
  8560. outerdealmode:
  8561. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8562. type: integer
  8563. outgoodscode:
  8564. description: 商品代码(外部)
  8565. type: string
  8566. pictureurl:
  8567. description: 商品图片
  8568. type: string
  8569. qtydecimalplace:
  8570. description: 成交量小数位
  8571. type: integer
  8572. quotegear:
  8573. description: 行情档位(1-10)
  8574. type: integer
  8575. quoteminunit:
  8576. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8577. type: integer
  8578. quoteshowtype:
  8579. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8580. type: integer
  8581. quoteshowtypeinterval:
  8582. description: 行情报价间隔时间(秒)(成交价时为0)
  8583. type: integer
  8584. relatedgoodsid:
  8585. description: 关联参考商品ID
  8586. type: integer
  8587. remark:
  8588. description: 备注
  8589. type: string
  8590. trademode:
  8591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8592. 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - goodscode
  8596. - goodsid
  8597. - goodsname
  8598. - marketid
  8599. type: object
  8600. models.ErmcpGoodsBrand:
  8601. properties:
  8602. areauserid:
  8603. description: 所属机构
  8604. type: integer
  8605. brandid:
  8606. description: BrandID(SEQ_SPOTGOODSBRAND)
  8607. type: integer
  8608. brandname:
  8609. description: 品牌名称
  8610. type: string
  8611. createtime:
  8612. description: 创建时间
  8613. type: string
  8614. creatorid:
  8615. description: 创建人
  8616. type: integer
  8617. creatorsrc:
  8618. description: 创建人来源 - 1:管理端 2:终端
  8619. type: integer
  8620. deliverygoodsid:
  8621. description: 现货品种ID
  8622. type: integer
  8623. isvalid:
  8624. description: 是否有效 - 0:无效 1:有效
  8625. type: integer
  8626. updatetime:
  8627. description: 更新时间
  8628. type: string
  8629. updatorid:
  8630. description: 更新人
  8631. type: integer
  8632. updatorsrc:
  8633. description: 更新人来源 - 1:管理端 2:终端
  8634. type: integer
  8635. wrstandardid:
  8636. description: 现货商品ID
  8637. type: integer
  8638. type: object
  8639. models.ErmcpGoodsModel:
  8640. properties:
  8641. areauserid:
  8642. description: 所属机构
  8643. type: integer
  8644. convertfactor:
  8645. description: 标仓系数
  8646. type: number
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. creatorid:
  8651. description: 创建人
  8652. type: integer
  8653. creatorsrc:
  8654. description: 创建人来源 - 1:管理端 2:终端
  8655. type: integer
  8656. deliverygoodsid:
  8657. description: 现货品种ID
  8658. type: integer
  8659. isvalid:
  8660. description: 是否有效 - 0:无效 1:有效
  8661. type: integer
  8662. modelid:
  8663. description: ModelID(SEQ_SPOTGOODSMODEL)
  8664. type: integer
  8665. modelname:
  8666. description: 型号名称
  8667. type: string
  8668. updatetime:
  8669. description: 更新时间
  8670. type: string
  8671. updatorid:
  8672. description: 更新人
  8673. type: integer
  8674. updatorsrc:
  8675. description: 更新人来源 - 1:管理端 2:终端
  8676. type: integer
  8677. wrstandardid:
  8678. description: 现货商品ID
  8679. type: integer
  8680. type: object
  8681. models.ErmcpHisExposure:
  8682. properties:
  8683. needhedgeexposoure:
  8684. description: 应套保敞口
  8685. type: number
  8686. reckondate:
  8687. description: 日照时期(yyyyMMdd)
  8688. type: string
  8689. totalexposure:
  8690. description: 总敞口
  8691. type: number
  8692. type: object
  8693. models.ErmcpLoginTaAccount:
  8694. properties:
  8695. accountid:
  8696. description: 账号id
  8697. type: integer
  8698. accountname:
  8699. description: 账号名称
  8700. type: string
  8701. type: object
  8702. models.ErmcpLoginUser:
  8703. properties:
  8704. acclist:
  8705. description: 关联资金账号
  8706. items:
  8707. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8708. type: array
  8709. accountname:
  8710. description: 用户名称
  8711. type: string
  8712. clientroleid:
  8713. description: 角色id(usertype=2)
  8714. type: integer
  8715. createtime:
  8716. description: 创建时间
  8717. type: string
  8718. logincode:
  8719. description: 登录代码
  8720. type: string
  8721. loginid:
  8722. description: 登录id(LOGINID)
  8723. type: integer
  8724. loginname:
  8725. description: 登录名称(loginaccount表中的accountname字段)
  8726. type: string
  8727. loginstatus:
  8728. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8729. type: integer
  8730. memberuserid:
  8731. description: 所属会员id
  8732. type: integer
  8733. mobile:
  8734. description: 手机号
  8735. type: string
  8736. modifytime:
  8737. description: 修改时间
  8738. type: string
  8739. password:
  8740. description: 密码(不可解密)
  8741. type: string
  8742. rolename:
  8743. description: 角色名称
  8744. type: string
  8745. rolestatus:
  8746. description: 角色状态 1-启用 2-停用
  8747. type: integer
  8748. roletype:
  8749. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8750. type: string
  8751. userid:
  8752. description: 用户id
  8753. type: integer
  8754. usertype:
  8755. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8756. type: integer
  8757. type: object
  8758. models.ErmcpLoginUserEx:
  8759. properties:
  8760. accountstatus:
  8761. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8762. type: integer
  8763. mobile:
  8764. description: 手机号
  8765. type: string
  8766. querytype:
  8767. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8768. type: integer
  8769. roleid:
  8770. description: 角色id(交易账户->用户id)
  8771. type: integer
  8772. rolename:
  8773. description: 角色名称(交易账户->用户名称)
  8774. type: string
  8775. userlist:
  8776. description: 用户列表
  8777. items:
  8778. $ref: '#/definitions/models.ErmcpLoginUser'
  8779. type: array
  8780. usertype:
  8781. description: 用户类型 2-机构 7-企业成员(云平台)
  8782. type: integer
  8783. type: object
  8784. models.ErmcpMiddleGoodsModel:
  8785. properties:
  8786. areauserid:
  8787. description: 机构用户ID
  8788. type: integer
  8789. createtime:
  8790. description: 修改时间
  8791. type: string
  8792. enumdicname:
  8793. description: 单位名称
  8794. type: string
  8795. evaluateratio:
  8796. description: 估价系数
  8797. type: number
  8798. goodsgroupid:
  8799. description: 关联期货品种ID
  8800. type: integer
  8801. goodsunitid:
  8802. description: 单位ID
  8803. type: integer
  8804. isvalid:
  8805. description: 状态 0-无效(停用) 1-有效(正常)
  8806. type: integer
  8807. middlegoodscode:
  8808. description: 套保品种代码
  8809. type: string
  8810. middlegoodsid:
  8811. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8812. type: integer
  8813. middlegoodsname:
  8814. description: 套保品种名称
  8815. type: string
  8816. modifytime:
  8817. description: 修改时间
  8818. type: string
  8819. needarbitrageratio:
  8820. description: 套利比例
  8821. type: number
  8822. needhedgeratio:
  8823. description: 套保比率
  8824. type: number
  8825. qtydecimalplace:
  8826. description: 数量小数位
  8827. type: integer
  8828. relatedgoodsid:
  8829. description: 关联交易商品ID
  8830. type: integer
  8831. relatedgoodstype:
  8832. description: 关联商品类型 - 1:期货合约 2:现货品种
  8833. type: integer
  8834. remark:
  8835. description: 备注
  8836. type: string
  8837. type: object
  8838. models.ErmcpMiddlegoodsRelateGoods:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约乘数
  8842. type: number
  8843. convertratio:
  8844. description: 折算系数
  8845. type: number
  8846. enumdicname:
  8847. description: 单位名称(交易商品)
  8848. type: string
  8849. goodscode:
  8850. description: 交易商品代码
  8851. type: string
  8852. goodsgroupid:
  8853. description: 交易品种id
  8854. type: integer
  8855. goodsid:
  8856. description: 商品Id
  8857. type: integer
  8858. goodsname:
  8859. description: 交易商品名称
  8860. type: string
  8861. goodunitid:
  8862. description: 交易商品单位id
  8863. type: integer
  8864. middlegoodsid:
  8865. description: 套保商品id
  8866. type: integer
  8867. middlegoodsname:
  8868. description: 套保商品名称
  8869. type: string
  8870. middlegoodsswcode:
  8871. description: 套保商品代码
  8872. type: string
  8873. needarbitrageratio:
  8874. description: 应套利比例
  8875. type: number
  8876. needhedgeratio:
  8877. description: 应套保比例
  8878. type: number
  8879. type: object
  8880. models.ErmcpRole:
  8881. properties:
  8882. areauserid:
  8883. description: 所属机构
  8884. type: integer
  8885. autoid:
  8886. description: 角色ID(自增ID)
  8887. type: integer
  8888. modifierid:
  8889. description: 修改人(创建人)
  8890. type: integer
  8891. modifiername:
  8892. description: 修改人名称
  8893. type: string
  8894. modifytime:
  8895. description: 修改时间(创建时间)
  8896. type: string
  8897. rolename:
  8898. description: 角色名称
  8899. type: string
  8900. rolestatus:
  8901. description: 角色状态 - 1:启用 2:停用
  8902. type: integer
  8903. roletype:
  8904. description: 角色类型 - 1- 管理端 2- 交易端
  8905. type: integer
  8906. type: object
  8907. models.ErmcpRoleMenu:
  8908. properties:
  8909. iconame:
  8910. description: 菜单图标
  8911. type: string
  8912. ishadrole:
  8913. description: 是否有权限
  8914. type: boolean
  8915. menutype:
  8916. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8917. type: integer
  8918. parentcode:
  8919. description: 上级资源代码
  8920. type: string
  8921. remark:
  8922. description: 菜单备注
  8923. type: string
  8924. resourcecode:
  8925. description: 菜单代码
  8926. type: string
  8927. resourcelevel:
  8928. description: 级别
  8929. type: integer
  8930. resourcename:
  8931. description: 菜单名称
  8932. type: string
  8933. roleid:
  8934. description: 角色id
  8935. type: integer
  8936. sort:
  8937. description: 排序
  8938. type: integer
  8939. url:
  8940. description: URL
  8941. type: string
  8942. userid:
  8943. description: 用户id
  8944. type: integer
  8945. type: object
  8946. models.ErmcpRoleMenuEx:
  8947. properties:
  8948. menu:
  8949. $ref: '#/definitions/models.ErmcpRoleMenu'
  8950. description: 父级菜单
  8951. subMenu:
  8952. description: 子级菜单
  8953. items:
  8954. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  8955. type: array
  8956. type: object
  8957. models.ErmcpSpotContractModelEx:
  8958. properties:
  8959. accountname:
  8960. description: 套期主体
  8961. type: string
  8962. amount:
  8963. description: 金额 [1:一口价、3:暂定价]
  8964. type: number
  8965. attachment:
  8966. description: 附件
  8967. type: string
  8968. auditremark:
  8969. description: 审核意见
  8970. type: string
  8971. audittime:
  8972. description: 审核时间
  8973. type: string
  8974. avgprice:
  8975. description: 定价均价 = 已定价金额 / 已定价量
  8976. type: number
  8977. brandname:
  8978. description: 品牌名称
  8979. type: string
  8980. buyuserid:
  8981. description: 采购方ID
  8982. type: integer
  8983. buyusername:
  8984. description: 采购方名称
  8985. type: string
  8986. contracctstatus:
  8987. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8988. type: integer
  8989. contractmargin:
  8990. description: 合同保证金
  8991. type: number
  8992. contractno:
  8993. description: '[合同编号]现货合同编号'
  8994. type: string
  8995. contracttype:
  8996. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  8997. type: integer
  8998. convertfactor:
  8999. description: 标仓系数
  9000. type: number
  9001. createtime:
  9002. description: 创建时间
  9003. type: string
  9004. customername:
  9005. description: 对手方
  9006. type: string
  9007. customeruserid:
  9008. description: 客户ID
  9009. type: integer
  9010. deliveryenddate:
  9011. description: 交收期(结束)
  9012. type: string
  9013. deliverygoodscode:
  9014. description: 现货品种代码
  9015. type: string
  9016. deliverygoodsid:
  9017. description: 现货品种ID
  9018. type: integer
  9019. deliverygoodsname:
  9020. description: 现货品种名称
  9021. type: string
  9022. deliverystartdate:
  9023. description: 交收期(开始)
  9024. type: string
  9025. enddate:
  9026. description: 点价结束日期 [2:点价 3:暂定价]
  9027. type: string
  9028. enumdicname:
  9029. description: 单位名称
  9030. type: string
  9031. goodscode:
  9032. description: 点价合约代码
  9033. type: string
  9034. goodsid:
  9035. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9036. type: integer
  9037. goodsname:
  9038. description: 点价商品名称
  9039. type: string
  9040. isrelated:
  9041. description: 是否已关联计划项目 - 0:否 1:是
  9042. type: integer
  9043. isrelated2:
  9044. description: 是否已关联现货项目 - 0:否 1:是
  9045. type: integer
  9046. margin:
  9047. description: 当前保证金
  9048. type: number
  9049. modelname:
  9050. description: 型号名称
  9051. type: string
  9052. price:
  9053. description: 价格\暂定价 [1:一口价、3:暂定价]
  9054. type: number
  9055. pricedamount:
  9056. description: 已定价金额 = (点价价格+升贴水) * 数量
  9057. type: number
  9058. pricedqty:
  9059. description: 已定价量
  9060. type: number
  9061. pricemove:
  9062. description: 升贴水 [2:点价 3:暂定价]
  9063. type: number
  9064. pricetype:
  9065. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9066. type: integer
  9067. producttype:
  9068. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9069. type: integer
  9070. qty:
  9071. description: '[合同数量]数量'
  9072. type: number
  9073. remark:
  9074. description: 备注
  9075. type: string
  9076. selluserid:
  9077. description: 销售方ID
  9078. type: integer
  9079. sellusername:
  9080. description: 销售方名称
  9081. type: string
  9082. spotamount:
  9083. description: 合同现货金额 [不含升贴水]
  9084. type: number
  9085. spotavgprice:
  9086. description: 现货均价 = 合同现货金额 / 已定价量
  9087. type: number
  9088. spotcontractid:
  9089. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9090. type: string
  9091. spotgoodsbrandid:
  9092. description: 现货品牌ID
  9093. type: integer
  9094. spotgoodsdesc:
  9095. description: 商品型号
  9096. type: string
  9097. spotgoodsmodelid:
  9098. description: 现货型号ID
  9099. type: integer
  9100. startdate:
  9101. description: 点价开始日期 [2:点价 3:暂定价]
  9102. type: string
  9103. tradeuserid:
  9104. description: 交易用户ID
  9105. type: integer
  9106. unpricedqty:
  9107. description: 未定价量 = 合同数量 - 已定价量
  9108. type: number
  9109. updatetime:
  9110. description: 更新时间
  9111. type: string
  9112. userid:
  9113. description: 机构ID
  9114. type: integer
  9115. wrstandardcode:
  9116. description: 现货商品代码
  9117. type: string
  9118. wrstandardid:
  9119. description: 现货商品ID
  9120. type: integer
  9121. wrstandardname:
  9122. description: '[现货商品]现货商品名称'
  9123. type: string
  9124. type: object
  9125. models.ErmcpTaAccount:
  9126. properties:
  9127. accountid:
  9128. description: 账户id
  9129. type: integer
  9130. accountname:
  9131. description: 账户名称
  9132. type: string
  9133. currencyid:
  9134. description: 币种id
  9135. type: integer
  9136. hedgeaccountcode:
  9137. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9138. type: string
  9139. ismain:
  9140. description: 是否主账户 0-否 1-是
  9141. type: integer
  9142. parentaccountid:
  9143. description: 父账户id
  9144. type: integer
  9145. relateduserid:
  9146. description: 关联userid
  9147. type: integer
  9148. tradefeetmpid:
  9149. description: 手续费模板id
  9150. type: integer
  9151. tradefeetmpname:
  9152. description: 手续费模板名称
  9153. type: string
  9154. trademargintmpid:
  9155. description: 保证金模板id
  9156. type: integer
  9157. trademargintmpname:
  9158. description: 保证金模板名称
  9159. type: string
  9160. traderatetmpid:
  9161. description: 汇率模板id
  9162. type: integer
  9163. traderatetmpname:
  9164. description: 汇率模板名称
  9165. type: string
  9166. tradestatus:
  9167. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9168. type: integer
  9169. userid:
  9170. description: 用户id
  9171. type: integer
  9172. type: object
  9173. models.ErmcpTaAccountEx:
  9174. properties:
  9175. mainAcc:
  9176. $ref: '#/definitions/models.ErmcpTaAccountM'
  9177. description: 主账号
  9178. subacclist:
  9179. description: 子账号列表
  9180. items:
  9181. $ref: '#/definitions/models.ErmcpTaAccount'
  9182. type: array
  9183. type: object
  9184. models.ErmcpTaAccountInfo:
  9185. properties:
  9186. accountid:
  9187. description: 资金账户ID
  9188. type: integer
  9189. accountname:
  9190. description: 账户名称
  9191. type: string
  9192. balance:
  9193. description: 期初余额
  9194. type: number
  9195. capitalbalance:
  9196. description: 本金余额[外部子账户实际出入金余额]
  9197. type: number
  9198. closepl:
  9199. description: 今日平仓盈亏
  9200. type: number
  9201. creditdecrease:
  9202. description: 今日授信减少
  9203. type: number
  9204. creditincrease:
  9205. description: 今日授信增加
  9206. type: number
  9207. curdebt:
  9208. description: 期末欠款
  9209. type: number
  9210. currencyid:
  9211. description: 货币ID
  9212. type: integer
  9213. currentbalance:
  9214. description: 期末余额
  9215. type: number
  9216. freezecharge:
  9217. description: 手续费冻结
  9218. type: number
  9219. freezemargin:
  9220. description: 冻结保证金
  9221. type: number
  9222. fromaccountid:
  9223. description: 所属上级账户
  9224. type: integer
  9225. inamount:
  9226. description: 今日入金金额(包括三方入金)
  9227. type: number
  9228. ismain:
  9229. description: 是否母账号 0:不是母账户 1:是母账户
  9230. type: integer
  9231. mortgagecredit:
  9232. description: 授信金额
  9233. type: number
  9234. oridebt:
  9235. description: 期初欠款
  9236. type: number
  9237. orifreezecharge:
  9238. description: 期初手续费冻结
  9239. type: number
  9240. orifreezemargin:
  9241. description: 期初冻结保证金
  9242. type: number
  9243. orimortgagecredit:
  9244. description: 期初授信金额
  9245. type: number
  9246. oriothercredit:
  9247. description: 期初其它授信金额
  9248. type: number
  9249. oriotherfreezemargin:
  9250. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9251. type: number
  9252. orioutamountfreeze:
  9253. description: 期初出金冻结
  9254. type: number
  9255. oriusedmargin:
  9256. description: 期初占用保证金
  9257. type: number
  9258. othercredit:
  9259. description: 其它授信金额
  9260. type: number
  9261. othercreditdecrease:
  9262. description: 今日其它授信减少
  9263. type: number
  9264. othercreditincrease:
  9265. description: 今日其它授信增加
  9266. type: number
  9267. otherfreezemargin:
  9268. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9269. type: number
  9270. outamount:
  9271. description: 今日出金金额(包括三方出金)
  9272. type: number
  9273. outamountfreeze:
  9274. description: 出金冻结
  9275. type: number
  9276. outthreshold:
  9277. description: 出金阈值
  9278. type: number
  9279. parentaccountid:
  9280. description: 所属根账号
  9281. type: integer
  9282. paycharge:
  9283. description: 今日手续费支出
  9284. type: number
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. signstatus:
  9289. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9290. type: integer
  9291. sublevelpath:
  9292. description: 账号层级路径(逗号分隔,首尾加逗号)
  9293. type: string
  9294. taaccounttype:
  9295. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9296. type: integer
  9297. thirdinamount:
  9298. description: 今日三方入金
  9299. type: number
  9300. thirdoutamount:
  9301. description: 今日三方出金
  9302. type: number
  9303. tradestatus:
  9304. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9305. type: integer
  9306. transferamount:
  9307. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9308. type: number
  9309. usedmargin:
  9310. description: 占用保证金
  9311. type: number
  9312. userid:
  9313. description: 用户ID
  9314. type: integer
  9315. type: object
  9316. models.ErmcpTaAccountM:
  9317. properties:
  9318. accountid:
  9319. description: 账户id
  9320. type: integer
  9321. accountname:
  9322. description: 账户名称
  9323. type: string
  9324. currencyid:
  9325. description: 币种id
  9326. type: integer
  9327. fcid:
  9328. description: 期货公司id
  9329. type: integer
  9330. fcname:
  9331. description: 期货公司代码
  9332. type: string
  9333. hedgeaccountcode:
  9334. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9335. type: string
  9336. ismain:
  9337. description: 是否主账户 0-否 1-是
  9338. type: integer
  9339. parentaccountid:
  9340. description: 父账户id
  9341. type: integer
  9342. relateduserid:
  9343. description: 关联userid
  9344. type: integer
  9345. tradefeetmpid:
  9346. description: 手续费模板id
  9347. type: integer
  9348. tradefeetmpname:
  9349. description: 手续费模板名称
  9350. type: string
  9351. trademargintmpid:
  9352. description: 保证金模板id
  9353. type: integer
  9354. trademargintmpname:
  9355. description: 保证金模板名称
  9356. type: string
  9357. traderatetmpid:
  9358. description: 汇率模板id
  9359. type: integer
  9360. traderatetmpname:
  9361. description: 汇率模板名称
  9362. type: string
  9363. tradestatus:
  9364. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9365. type: integer
  9366. userid:
  9367. description: 用户id
  9368. type: integer
  9369. type: object
  9370. models.ErmcpTradeConfigTMP:
  9371. properties:
  9372. areauserid:
  9373. description: 所属机构
  9374. type: integer
  9375. basiccurrencyid:
  9376. description: 基本币种ID[汇率] - 目标币种
  9377. type: integer
  9378. mainaccountid:
  9379. description: 主账户ID
  9380. type: integer
  9381. modifierid:
  9382. description: 修改人
  9383. type: integer
  9384. remark:
  9385. description: 备注
  9386. type: string
  9387. tradeconfigtmpid:
  9388. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9389. type: integer
  9390. tradeconfigtmpname:
  9391. description: 交易配置模板名称
  9392. type: string
  9393. tradeconfigtmptype:
  9394. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9395. type: integer
  9396. updatetime:
  9397. description: 更新时间
  9398. type: string
  9399. type: object
  9400. models.Ermcpjrlinkpos:
  9401. properties:
  9402. areauserid:
  9403. description: 所属企业
  9404. type: integer
  9405. averageprice:
  9406. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9407. type: number
  9408. closepl:
  9409. description: 总平仓盈亏 [期货损益]
  9410. type: number
  9411. executeprice:
  9412. description: 执行价 - 1:期货单 为 0
  9413. type: integer
  9414. futurehedgeqty:
  9415. description: 期货套期量
  9416. type: number
  9417. goodsid:
  9418. description: 期货合约
  9419. type: integer
  9420. middlegoodscode:
  9421. description: 套保商品代码
  9422. type: string
  9423. middlegoodsname:
  9424. description: 套保商品名称
  9425. type: string
  9426. netqty:
  9427. description: 净头寸
  9428. type: number
  9429. optioncode:
  9430. description: 期权代码
  9431. type: string
  9432. ordertype:
  9433. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9434. type: integer
  9435. reckonpl:
  9436. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9437. type: number
  9438. spotcontractid:
  9439. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9440. type: string
  9441. todayfutureclosepl:
  9442. description: 今日平仓盈亏
  9443. type: number
  9444. totalbuyamount:
  9445. description: 买金额 [期货]
  9446. type: number
  9447. totalbuyholdamount:
  9448. description: 买持仓总金额[期货]
  9449. type: number
  9450. totalbuyqty:
  9451. description: 买数量
  9452. type: number
  9453. totalcharge:
  9454. description: 手续费
  9455. type: number
  9456. totalpremium:
  9457. description: 权利金 [期权]
  9458. type: number
  9459. totalsellamount:
  9460. description: 卖金额 [期货]
  9461. type: number
  9462. totalsellholdamount:
  9463. description: 卖持仓总金额[期货]
  9464. type: number
  9465. totalsellqty:
  9466. description: 卖数量
  9467. type: number
  9468. updatetime:
  9469. description: 更新时间
  9470. type: string
  9471. required:
  9472. - spotcontractid
  9473. type: object
  9474. models.Ermcppatradelinkdetail:
  9475. properties:
  9476. agreeunit:
  9477. description: 合约乘数
  9478. type: number
  9479. amount:
  9480. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9481. type: number
  9482. areauserid:
  9483. description: 所属机构
  9484. type: integer
  9485. bizsubjectid:
  9486. description: 归属业务部门ID - SubjectID
  9487. type: integer
  9488. buyorsell:
  9489. description: 方向 - 0:买 1:卖
  9490. type: integer
  9491. convertratio:
  9492. description: 品种系数
  9493. type: number
  9494. createtime:
  9495. description: 创建时间
  9496. type: string
  9497. creatorid:
  9498. description: 创建人ID
  9499. type: integer
  9500. creatorsrc:
  9501. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9502. type: integer
  9503. goodsgroupid:
  9504. description: 对冲品种ID[期货合约商品组ID]
  9505. type: integer
  9506. goodsid:
  9507. description: 商品ID
  9508. type: integer
  9509. hedgeditemid:
  9510. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9511. type: integer
  9512. hedgeflag:
  9513. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9514. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9515. type: integer
  9516. linkdetailid:
  9517. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9518. type: string
  9519. linkstatus:
  9520. description: 关联状态 - 1:成功 2:失败 3:解绑
  9521. type: integer
  9522. middlegoodsid:
  9523. description: 套保品种ID
  9524. type: integer
  9525. name:
  9526. description: 账户名/子账户
  9527. type: string
  9528. optioncode:
  9529. description: '[期货合约]期权代码 [期权]'
  9530. type: string
  9531. ordertype:
  9532. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9533. type: integer
  9534. relatedlot:
  9535. description: '[数量]关联手数'
  9536. type: number
  9537. relatedmode:
  9538. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9539. type: integer
  9540. relatedqty:
  9541. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9542. type: number
  9543. retcode:
  9544. description: 返回码
  9545. type: integer
  9546. saleuserid:
  9547. description: 业务员ID
  9548. type: integer
  9549. tradedate:
  9550. description: 关联交易日(yyyyMMdd)
  9551. type: string
  9552. tradeid:
  9553. description: '[成交单号]内部成交单ID'
  9554. type: string
  9555. tradelot:
  9556. description: 成交手数
  9557. type: integer
  9558. tradeprice:
  9559. description: '[价格]成交价格'
  9560. type: number
  9561. tradetime:
  9562. description: 日期时间
  9563. type: string
  9564. tradetradedate:
  9565. description: 成交交易日(yyyyMMdd)
  9566. type: string
  9567. required:
  9568. - hedgeditemid
  9569. type: object
  9570. models.Exchangerateconfig:
  9571. properties:
  9572. descurrencyid:
  9573. description: 目标币种ID
  9574. type: integer
  9575. exchangerate:
  9576. description: 汇率
  9577. type: number
  9578. oricurrencyid:
  9579. description: 源币种ID
  9580. type: integer
  9581. remark:
  9582. description: 备注
  9583. type: string
  9584. type: object
  9585. models.Externalexchange:
  9586. properties:
  9587. autoid:
  9588. description: AutoID - SEQ_EXTERNALEXCHANGE
  9589. type: integer
  9590. exchangefullname:
  9591. description: 外部交易所全称
  9592. type: string
  9593. exexchangecode:
  9594. description: 外部交易所代码
  9595. type: string
  9596. exexchangename:
  9597. description: 外部交易所名称(简称)
  9598. type: string
  9599. ismarketprice:
  9600. description: 是否支持市价 - 0:不支持 1:支持
  9601. type: integer
  9602. quotegear:
  9603. description: 行情档位(1-10)
  9604. type: integer
  9605. showbrokerflag:
  9606. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9607. type: integer
  9608. updatetime:
  9609. description: 更新时间
  9610. type: string
  9611. required:
  9612. - autoid
  9613. type: object
  9614. models.Funcmenulist:
  9615. properties:
  9616. iconame:
  9617. description: 菜单图标
  9618. type: string
  9619. menutype:
  9620. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9621. type: integer
  9622. parentcode:
  9623. description: 上级资源代码
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. resourcecode:
  9629. description: 资源代码
  9630. type: string
  9631. resourcelevel:
  9632. description: 级别 1-一级 2-二级 3-三级 4-四级
  9633. type: integer
  9634. resourcename:
  9635. description: 资源名
  9636. type: string
  9637. sort:
  9638. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9639. type: integer
  9640. url:
  9641. description: URL
  9642. type: string
  9643. required:
  9644. - resourcecode
  9645. type: object
  9646. models.GErmcpspotgoodsprice:
  9647. properties:
  9648. currencyid:
  9649. description: 报价货币ID
  9650. type: integer
  9651. deliverygoodsid:
  9652. description: 现货品种ID
  9653. type: integer
  9654. spotgoodsbrandid:
  9655. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9656. type: integer
  9657. spotgoodsprice:
  9658. description: 【最新价】当前价格
  9659. type: number
  9660. srcmarketname:
  9661. description: 来源市场名称
  9662. type: string
  9663. todaypricedtotalamount:
  9664. description: 今日定价金额
  9665. type: number
  9666. todaypricedtotalqty:
  9667. description: 今日定价总量
  9668. type: number
  9669. todayspotgoodsprice:
  9670. description: 今日指定价
  9671. type: number
  9672. tradedate:
  9673. description: 【日期】交易日
  9674. type: string
  9675. wrstandardcode:
  9676. description: 现货商品代码
  9677. type: string
  9678. wrstandardid:
  9679. description: 现货商品ID(通用则为0)
  9680. type: integer
  9681. wrstandardname:
  9682. description: 【名称】现货商品名称
  9683. type: string
  9684. ystspotgoodsprice:
  9685. description: 昨价
  9686. type: number
  9687. type: object
  9688. models.GThjuserscorelog:
  9689. properties:
  9690. createtime:
  9691. description: 记账时间
  9692. type: string
  9693. redpacketvalue:
  9694. description: 红包值【抽奖】
  9695. type: number
  9696. score:
  9697. description: 变动积分
  9698. type: number
  9699. scoreconfigtype:
  9700. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9701. 7:抽奖配置
  9702. type: integer
  9703. stype:
  9704. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9705. 6:自己供求下单积分 7:抽奖配置'
  9706. type: string
  9707. type: object
  9708. models.GZGoods:
  9709. properties:
  9710. address:
  9711. description: 详细地址
  9712. type: string
  9713. cerno:
  9714. description: 证书编号 - 类型:2,4,5
  9715. type: string
  9716. cityname:
  9717. description: 城市名称
  9718. type: string
  9719. countryname:
  9720. description: 国家名称
  9721. type: string
  9722. cpcertno:
  9723. description: 金伯利证书编号 - 类型:3
  9724. type: string
  9725. districtname:
  9726. description: 地区名称
  9727. type: string
  9728. goodsno:
  9729. description: 商品编号
  9730. type: string
  9731. imagepath:
  9732. description: 商品照片(相对地址)
  9733. type: string
  9734. isvalid:
  9735. description: 是否有效 - 0:无效 1:有效
  9736. type: integer
  9737. kppath:
  9738. description: 金伯利证书图片(相对地址) - 类型:3
  9739. type: string
  9740. kpweight:
  9741. description: 金伯利证书重量 - 类型:3
  9742. type: string
  9743. marketprice:
  9744. description: 市场价
  9745. type: string
  9746. mobile:
  9747. description: 手机号码
  9748. type: string
  9749. origin:
  9750. description: 原产地 - 类型:3
  9751. type: string
  9752. performancetemplateid:
  9753. description: 履约计划模板ID
  9754. type: integer
  9755. price:
  9756. description: 总价(价格) - 类型:1,2,3,4,5
  9757. type: number
  9758. priceper:
  9759. description: 克拉单价 - 类型:1,2,3,5
  9760. type: string
  9761. provincename:
  9762. description: 省名称
  9763. type: string
  9764. remainqty:
  9765. description: 剩余重量
  9766. type: number
  9767. remark:
  9768. description: 备注
  9769. type: string
  9770. sellusername:
  9771. description: 账户名称(机构名称)
  9772. type: string
  9773. settingmaterial:
  9774. description: 镶嵌材料 - 类型:4
  9775. type: string
  9776. size1:
  9777. description: 尺寸1 - 类型:2,4,5
  9778. type: string
  9779. size2:
  9780. description: 尺寸2 - 类型:2,4,5
  9781. type: string
  9782. size3:
  9783. description: 尺寸3 - 类型:2,4,5
  9784. type: string
  9785. sizedisplay:
  9786. description: 尺寸
  9787. type: string
  9788. stonedesc:
  9789. description: 配石描述 - 类型:4
  9790. type: string
  9791. userid:
  9792. description: 用户ID
  9793. type: integer
  9794. warehouseid:
  9795. description: 仓库ID
  9796. type: integer
  9797. warehousenamedisplay:
  9798. type: string
  9799. weight:
  9800. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9801. type: number
  9802. weightavg:
  9803. description: 平均单颗重量 - 类型:1,3
  9804. type: number
  9805. wrpath:
  9806. description: 仓单扫描件(相对地址)
  9807. type: string
  9808. wrstandardid:
  9809. description: 现货商品ID
  9810. type: integer
  9811. wrtradeorderid:
  9812. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9813. type: string
  9814. zscategory:
  9815. description: 钻石分类 - 枚举”ZSCategory“
  9816. type: integer
  9817. zscategorydisplay:
  9818. type: string
  9819. zscerttype:
  9820. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9821. type: integer
  9822. zscerttypedisplay:
  9823. type: string
  9824. zsclaritytype1:
  9825. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9826. type: integer
  9827. zsclaritytype1display:
  9828. type: string
  9829. zsclaritytype2:
  9830. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9831. type: integer
  9832. zsclaritytype2display:
  9833. type: string
  9834. zscolortype1:
  9835. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9836. type: integer
  9837. zscolortype1display:
  9838. type: string
  9839. zscolortype2:
  9840. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9841. type: integer
  9842. zscolortype2display:
  9843. type: string
  9844. zscrystaltype:
  9845. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9846. type: string
  9847. zscrystaltypedisplay:
  9848. type: string
  9849. zscurrencytype:
  9850. description: 货币类型 - 枚举“ZSCurrencyType”
  9851. type: integer
  9852. zscurrencytypedisplay:
  9853. type: string
  9854. zscurrencytypedisplayunit:
  9855. type: string
  9856. zscuttype1:
  9857. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  9858. type: integer
  9859. zscuttype1display:
  9860. type: string
  9861. zscuttype2:
  9862. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  9863. type: integer
  9864. zscuttype2display:
  9865. type: string
  9866. zsczcolor1type:
  9867. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  9868. type: integer
  9869. zsczcolor1typedisplay:
  9870. type: string
  9871. zsczcolor2type:
  9872. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  9873. type: integer
  9874. zsczcolor2typedisplay:
  9875. type: string
  9876. zsczcolor3type:
  9877. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  9878. type: integer
  9879. zsczcolor3typedisplay:
  9880. type: string
  9881. zsfluorescencetype1:
  9882. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  9883. type: integer
  9884. zsfluorescencetype1display:
  9885. type: string
  9886. zsfluorescencetype2:
  9887. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  9888. type: integer
  9889. zsfluorescencetype2display:
  9890. type: string
  9891. zspolishtype1:
  9892. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  9893. type: integer
  9894. zspolishtype1display:
  9895. type: string
  9896. zspolishtype2:
  9897. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  9898. type: integer
  9899. zspolishtype2display:
  9900. type: string
  9901. zsshapetype:
  9902. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  9903. type: string
  9904. zsshapetypedisplay:
  9905. type: string
  9906. zsstyletype:
  9907. description: 款式 - 类型:4
  9908. type: integer
  9909. zsstyletypedisplay:
  9910. type: string
  9911. zssymmetrytype1:
  9912. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  9913. type: integer
  9914. zssymmetrytype1display:
  9915. type: string
  9916. zssymmetrytype2:
  9917. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  9918. type: integer
  9919. zssymmetrytype2display:
  9920. type: string
  9921. required:
  9922. - goodsno
  9923. type: object
  9924. models.GZHomeData:
  9925. properties:
  9926. purchasedtransactions:
  9927. description: 已购买的交易
  9928. type: integer
  9929. transactioninpurchase:
  9930. description: 求购中的交易
  9931. type: integer
  9932. transactionsonsale:
  9933. description: 出售中的交易
  9934. type: integer
  9935. transactionssold:
  9936. description: 已卖出的交易
  9937. type: integer
  9938. unhandledmessage:
  9939. description: 未处理消息
  9940. type: integer
  9941. type: object
  9942. models.GZWarehouseinfo:
  9943. properties:
  9944. address:
  9945. description: 详细地址
  9946. type: string
  9947. areauserid:
  9948. description: 所属机构
  9949. type: integer
  9950. autoid:
  9951. description: 自增ID
  9952. type: integer
  9953. cityid:
  9954. description: 市
  9955. type: integer
  9956. cityname:
  9957. description: 城市名称
  9958. type: string
  9959. contactname:
  9960. description: 联系人
  9961. type: string
  9962. contactnum:
  9963. description: 联系电话
  9964. type: string
  9965. countryid:
  9966. description: 国家
  9967. type: integer
  9968. countryname:
  9969. description: 国家名称
  9970. type: string
  9971. createtime:
  9972. description: 创建时间
  9973. type: string
  9974. districtid:
  9975. description: 区
  9976. type: integer
  9977. districtname:
  9978. description: 地区名称
  9979. type: string
  9980. hasvideo:
  9981. description: 是否有视频 - 0:无 1:有
  9982. type: integer
  9983. provinceid:
  9984. description: 省
  9985. type: integer
  9986. provincename:
  9987. description: 省名称
  9988. type: string
  9989. remark:
  9990. description: 审核备注
  9991. type: string
  9992. videourl:
  9993. description: 视频地址
  9994. type: string
  9995. warehousecode:
  9996. description: 仓库代码
  9997. type: string
  9998. warehousename:
  9999. description: 仓库名称
  10000. type: string
  10001. warehousestatus:
  10002. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10003. type: integer
  10004. warehousetype:
  10005. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10006. type: integer
  10007. type: object
  10008. models.Goods:
  10009. properties:
  10010. agreeunit:
  10011. description: 合约单位
  10012. type: number
  10013. areauserid:
  10014. description: 所属机构
  10015. type: integer
  10016. auditaccountid:
  10017. description: 审核操作员账号
  10018. type: integer
  10019. audittime:
  10020. description: 审核时间
  10021. type: string
  10022. cancelaccountid:
  10023. description: 注销操作员账号
  10024. type: integer
  10025. canceltime:
  10026. description: 注销时间
  10027. type: string
  10028. closepricemode:
  10029. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10030. type: integer
  10031. closepriceparam:
  10032. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10033. type: number
  10034. createtime:
  10035. description: 创建时间
  10036. type: string
  10037. creatorid:
  10038. description: 创建人
  10039. type: integer
  10040. currencyid:
  10041. description: 报价货币ID
  10042. type: integer
  10043. cutmode:
  10044. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10045. type: integer
  10046. decimalplace:
  10047. description: 报价小数位
  10048. type: integer
  10049. delistingdate:
  10050. description: 商品退市时间(状态:退市) -- 已作废
  10051. type: string
  10052. delistingmode:
  10053. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10054. type: integer
  10055. deliveryflag:
  10056. description: 交割标志 - 0:不可交割 1:可交割
  10057. type: integer
  10058. forceclosemode:
  10059. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10060. type: integer
  10061. forceclosevalue:
  10062. description: 定期强平参数 [收益权]
  10063. type: integer
  10064. goodscode:
  10065. description: 商品代码(内部)
  10066. type: string
  10067. goodscurrencyid:
  10068. description: 合约货币ID
  10069. type: integer
  10070. goodsgroupid:
  10071. description: 所属商品组ID
  10072. type: integer
  10073. goodsid:
  10074. description: 商品ID(自增ID SEQ_GOODS)
  10075. type: integer
  10076. goodsname:
  10077. description: 商品名称
  10078. type: string
  10079. goodsquotetype:
  10080. description: '合约报价类型: 1-直接报价 2-间接报价'
  10081. type: integer
  10082. goodsstatus:
  10083. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10084. type: integer
  10085. goodstradetype:
  10086. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10087. type: integer
  10088. goodunitid:
  10089. description: 报价单位ID
  10090. type: integer
  10091. hasquoter:
  10092. description: 是否有报价商 - 0:无报价商 1:有报价商
  10093. type: integer
  10094. hqprotecttime:
  10095. description: 行情保护时间(秒)
  10096. type: integer
  10097. innerdealmode:
  10098. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10099. type: integer
  10100. isbuylimited:
  10101. description: 是否限制建仓量 - 0:不限制 1:限制
  10102. type: integer
  10103. isvisible:
  10104. description: 游客是否可见 - 0:不可见 1:可见
  10105. type: integer
  10106. lasttradedate:
  10107. description: 最后交易日期(状态:待退市)
  10108. type: string
  10109. listingdate:
  10110. description: 交易开始日期
  10111. type: string
  10112. marketid:
  10113. description: 所属市场ID
  10114. type: integer
  10115. modifierid:
  10116. description: 修改人
  10117. type: integer
  10118. modifystatus:
  10119. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10120. type: integer
  10121. modifytime:
  10122. description: 修改时间
  10123. type: string
  10124. outerdealmode:
  10125. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10126. type: integer
  10127. outgoodscode:
  10128. description: 商品代码(外部)
  10129. type: string
  10130. pictureurl:
  10131. description: 商品图片
  10132. type: string
  10133. qtydecimalplace:
  10134. description: 成交量小数位
  10135. type: integer
  10136. quotegear:
  10137. description: 行情档位(1-10)
  10138. type: integer
  10139. quoteminunit:
  10140. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10141. type: integer
  10142. quoteshowtype:
  10143. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10144. type: integer
  10145. quoteshowtypeinterval:
  10146. description: 行情报价间隔时间(秒)(成交价时为0)
  10147. type: integer
  10148. remark:
  10149. description: 备注
  10150. type: string
  10151. required:
  10152. - goodscode
  10153. - goodsid
  10154. - goodsname
  10155. - marketid
  10156. type: object
  10157. models.GoodsIDAndName:
  10158. properties:
  10159. goodscode:
  10160. description: 商品代码(内部)
  10161. type: string
  10162. goodsid:
  10163. description: 商品ID(自增ID SEQ_GOODS)
  10164. type: integer
  10165. goodsname:
  10166. description: 商品名称
  10167. type: string
  10168. marketid:
  10169. description: 所属市场ID
  10170. type: integer
  10171. required:
  10172. - goodscode
  10173. - goodsid
  10174. - goodsname
  10175. - marketid
  10176. type: object
  10177. models.Goodsgroup:
  10178. properties:
  10179. agreeunit:
  10180. description: 合约单位
  10181. type: number
  10182. canshort:
  10183. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10184. type: integer
  10185. closepricemode:
  10186. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10187. type: integer
  10188. closepriceparam:
  10189. description: 强平最新价浮动比例 - 方式为2时使用
  10190. type: number
  10191. createtime:
  10192. description: 创建时间
  10193. type: string
  10194. creatorid:
  10195. description: 创建人
  10196. type: integer
  10197. currencyid:
  10198. description: 报价货币ID
  10199. type: integer
  10200. decimalplace:
  10201. description: 报价小数位
  10202. type: integer
  10203. exercisetype:
  10204. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10205. type: integer
  10206. exexchangeid:
  10207. description: 外部交易所ID[通道交易]
  10208. type: integer
  10209. goodsgroupid:
  10210. description: 商品组ID(自增ID)
  10211. type: integer
  10212. goodsgroupname:
  10213. description: 商品组名称
  10214. type: string
  10215. goodsgroupstatus:
  10216. description: 商品组状态 - 1:正常 2:注销
  10217. type: integer
  10218. goodunitid:
  10219. description: 报价单位ID
  10220. type: integer
  10221. innerdealmode:
  10222. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10223. type: integer
  10224. isbuylimited:
  10225. description: 是否限制建仓量 - 0:不限制 1:限制
  10226. type: integer
  10227. marketid:
  10228. description: 所属市场ID
  10229. type: integer
  10230. modifierid:
  10231. description: 修改人
  10232. type: integer
  10233. modifytime:
  10234. description: 修改时间
  10235. type: string
  10236. outerdealmode:
  10237. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10238. type: integer
  10239. outergroupcode:
  10240. description: 外部商品组代码[通道交易]
  10241. type: string
  10242. premiumdecimalplace:
  10243. description: 权利金小数位[场外期权]
  10244. type: integer
  10245. premiumspreadalgorithm:
  10246. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10247. type: integer
  10248. premiumspreadvalue:
  10249. description: 权利金点差值[场外期权]
  10250. type: number
  10251. qtydecimalplace:
  10252. description: 成交量小数位
  10253. type: integer
  10254. quotegear:
  10255. description: 行情档位(1-10)
  10256. type: integer
  10257. quoteminunit:
  10258. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10259. type: integer
  10260. quoterid:
  10261. description: 报价商ID[场外期权]
  10262. type: integer
  10263. quotesourcegroupid:
  10264. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10265. type: integer
  10266. syncgoodsqty:
  10267. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10268. type: integer
  10269. required:
  10270. - goodsgroupid
  10271. - goodsgroupname
  10272. - goodsgroupstatus
  10273. - marketid
  10274. type: object
  10275. models.Goodssortbypreposition:
  10276. properties:
  10277. goodscode:
  10278. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10279. type: string
  10280. goodsgroupcode:
  10281. description: 品种代码
  10282. type: string
  10283. prepositionqty:
  10284. description: 昨持仓量
  10285. type: integer
  10286. sortindex:
  10287. description: 排序
  10288. type: integer
  10289. tradedate:
  10290. description: 交易日
  10291. type: string
  10292. updatetime:
  10293. description: 更新时间
  10294. type: string
  10295. required:
  10296. - goodscode
  10297. - tradedate
  10298. type: object
  10299. models.GzbsfworderM:
  10300. properties:
  10301. accountid:
  10302. description: 资金账户ID
  10303. type: integer
  10304. addresscn:
  10305. description: 地址(中文)
  10306. type: string
  10307. addressen:
  10308. description: 地址(英文)
  10309. type: string
  10310. advanceamount:
  10311. description: 总预付款
  10312. type: number
  10313. colorrange:
  10314. description: 颜色范围
  10315. type: string
  10316. companynamecn:
  10317. description: 收货人(中文)
  10318. type: string
  10319. companynameen:
  10320. description: 收货人(英文)
  10321. type: string
  10322. contactfax:
  10323. description: 收货人传真
  10324. type: string
  10325. contactname:
  10326. description: 收货人姓名
  10327. type: string
  10328. contactphoneno:
  10329. description: 收货人电话
  10330. type: string
  10331. contentrange:
  10332. description: 【内容】内容范围
  10333. type: string
  10334. createtime:
  10335. description: 创建时间
  10336. type: string
  10337. executestatus:
  10338. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10339. type: integer
  10340. gzbsdeliverytype:
  10341. description: 收货方式 - 枚举"GZBSDeliveryType"
  10342. type: integer
  10343. gzbsstatus:
  10344. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10345. type: integer
  10346. gzbsstatusdisplay:
  10347. description: 单据状态
  10348. type: string
  10349. handlestatus:
  10350. description: 处理状态
  10351. type: integer
  10352. orderdate:
  10353. description: 单据日期
  10354. type: string
  10355. orderid:
  10356. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10357. type: integer
  10358. orderno:
  10359. description: 单据编号 - GZDEBSFW+单据流水号
  10360. type: string
  10361. ordersn:
  10362. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10363. type: string
  10364. origincountry:
  10365. description: 原产国
  10366. type: string
  10367. otherlogistics:
  10368. description: 指定其它物流
  10369. type: string
  10370. priceper:
  10371. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10372. type: number
  10373. settleamount:
  10374. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10375. type: number
  10376. shaperange:
  10377. description: 形状范围
  10378. type: string
  10379. taxmargin:
  10380. description: 税费保证金 - 确认结算费用时退回
  10381. type: number
  10382. totalamount:
  10383. description: 总值(美元)
  10384. type: number
  10385. totalgrossweightgm:
  10386. description: 总毛重(克)
  10387. type: number
  10388. totalnetweightgm:
  10389. description: 总净重(克)
  10390. type: number
  10391. totalnetweigthct:
  10392. description: 总净重(克拉)
  10393. type: number
  10394. totalnumber:
  10395. description: 总粒数
  10396. type: integer
  10397. userid:
  10398. description: 用户ID
  10399. type: integer
  10400. weightrange:
  10401. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10402. type: string
  10403. required:
  10404. - userid
  10405. type: object
  10406. models.GzbsfworderdetailM:
  10407. properties:
  10408. colorinfo:
  10409. description: 彩钻信息
  10410. type: string
  10411. createtime:
  10412. description: 创建时间
  10413. type: string
  10414. grossweightgm:
  10415. description: 毛重(克)
  10416. type: number
  10417. gzcjshape:
  10418. description: 形状(字符)
  10419. type: string
  10420. netweigthct:
  10421. description: 净重(克拉)
  10422. type: number
  10423. netweigthgm:
  10424. description: 净重(克)
  10425. type: number
  10426. ordercontent:
  10427. description: 内容
  10428. type: string
  10429. orderdetailid:
  10430. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10431. type: integer
  10432. orderid:
  10433. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10434. type: integer
  10435. orderindex:
  10436. description: 顺序
  10437. type: integer
  10438. perprice:
  10439. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10440. type: number
  10441. remark:
  10442. description: 备注(其它)
  10443. type: string
  10444. totalamount:
  10445. description: 总值(美元)
  10446. type: number
  10447. type: object
  10448. models.Gzbsfworderoperate:
  10449. properties:
  10450. advanceproofaddr:
  10451. description: 预付款收款凭证(确认结算费用时)
  10452. type: string
  10453. bankfee:
  10454. description: 汇款银行手续费
  10455. type: number
  10456. bankproofaddr:
  10457. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10458. type: string
  10459. customsproofaddr:
  10460. description: 海关税费保证金收据(确认结算费用时)
  10461. type: string
  10462. gzbsstatus:
  10463. description: 操作后单据状态 - 枚举"GZBSStatus"
  10464. type: integer
  10465. logisticsfee:
  10466. description: 代缴物流保险费
  10467. type: number
  10468. logisticsproofaddr:
  10469. description: 代缴物流保险费凭证(确认结算费用时)
  10470. type: string
  10471. operatetime:
  10472. description: 操作时间
  10473. type: string
  10474. operatoraccount:
  10475. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10476. type: string
  10477. operatorid:
  10478. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10479. type: integer
  10480. operatorname:
  10481. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10482. type: string
  10483. operatorsrc:
  10484. description: 操作人来源 - 1:管理端 2:终端
  10485. type: integer
  10486. orderid:
  10487. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10488. type: integer
  10489. otherfee:
  10490. description: 其它费用
  10491. type: number
  10492. remark:
  10493. description: 操作备注
  10494. type: string
  10495. servicefee:
  10496. description: 综合服务费
  10497. type: number
  10498. taxmargin:
  10499. description: 税费保证金
  10500. type: number
  10501. totalfee:
  10502. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10503. type: number
  10504. required:
  10505. - orderid
  10506. type: object
  10507. models.Gzcertaddressconfig:
  10508. properties:
  10509. certregion:
  10510. description: 证书地域 - 1:国内 2:国际
  10511. type: integer
  10512. certtype:
  10513. description: 证书类型
  10514. type: string
  10515. orderindex:
  10516. description: 显示顺序
  10517. type: integer
  10518. orgcnname:
  10519. description: 机构名称(中文)
  10520. type: string
  10521. orgenname:
  10522. description: 机构名称(英文)
  10523. type: string
  10524. queryaddress:
  10525. description: 查询地址
  10526. type: string
  10527. remark:
  10528. description: 备注
  10529. type: string
  10530. updatetime:
  10531. description: 更新时间
  10532. type: string
  10533. type: object
  10534. models.Gzcertaddressparam:
  10535. properties:
  10536. certtype:
  10537. description: 证书类型
  10538. type: string
  10539. orderindex:
  10540. description: 参数顺序
  10541. type: integer
  10542. paramkey:
  10543. description: 参数Key
  10544. type: string
  10545. paramname:
  10546. description: 参数名称
  10547. type: string
  10548. updatetime:
  10549. description: 更新时间
  10550. type: string
  10551. type: object
  10552. models.GzcjbsorderfileM:
  10553. properties:
  10554. canmembervisit:
  10555. description: 会员是否可访问 - 1:可 2:不可
  10556. type: integer
  10557. fileaddress:
  10558. description: 文件地址
  10559. type: string
  10560. filegentype:
  10561. description: 文件生成类型 - 1:系统生成 2:手动上传
  10562. type: integer
  10563. filename:
  10564. description: 文件名称
  10565. type: string
  10566. operatetime:
  10567. description: 操作时间
  10568. type: string
  10569. operatoraccount:
  10570. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10571. type: string
  10572. operatorid:
  10573. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10574. type: integer
  10575. operatorsrc:
  10576. description: 操作人来源 - 1:管理端 2:终端
  10577. type: integer
  10578. orderfileid:
  10579. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10580. type: integer
  10581. orderid:
  10582. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10583. type: integer
  10584. required:
  10585. - orderid
  10586. type: object
  10587. models.GzcjjcorderM:
  10588. properties:
  10589. accountid:
  10590. description: 资金账户ID
  10591. type: integer
  10592. addresscn:
  10593. description: 地址(中文)
  10594. type: string
  10595. addressen:
  10596. description: 地址(英文)
  10597. type: string
  10598. advanceamount:
  10599. description: 总预付款
  10600. type: number
  10601. colorrange:
  10602. description: 颜色范围
  10603. type: string
  10604. companynamecn:
  10605. description: 公司名称(中文)
  10606. type: string
  10607. companynameen:
  10608. description: 公司名称(英文)
  10609. type: string
  10610. contactname:
  10611. description: 联系人姓名
  10612. type: string
  10613. contactphoneno:
  10614. description: 联系人电话
  10615. type: string
  10616. contactposition:
  10617. description: 联系人职位
  10618. type: string
  10619. createtime:
  10620. description: 创建时间
  10621. type: string
  10622. email:
  10623. description: 邮箱
  10624. type: string
  10625. executestatus:
  10626. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10627. type: integer
  10628. gzcjaccount:
  10629. description: 送检账户
  10630. type: string
  10631. gzcjaccounttype:
  10632. description: 检测账户类型 - 枚举"GZCJAccountType"
  10633. type: integer
  10634. gzcjcategorytype:
  10635. description: 货物品类 - 枚举"GZCJCategoryType"
  10636. type: integer
  10637. gzcjcategorytypedisplay:
  10638. description: 货物品类
  10639. type: string
  10640. gzcjdeliverytype:
  10641. description: 收货方式 - 枚举"GZCJDeliveryType"
  10642. type: integer
  10643. gzcjdeliverytypedisplay:
  10644. description: 收货方式
  10645. type: string
  10646. gzcjstatus:
  10647. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10648. type: integer
  10649. gzcjstatusdisplay:
  10650. description: 单据状态(出境检测)
  10651. type: string
  10652. handlestatus:
  10653. description: 处理状态
  10654. type: integer
  10655. invoiceremark:
  10656. description: 复核备注 - 发票装箱单使用
  10657. type: string
  10658. orderid:
  10659. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10660. type: integer
  10661. orderno:
  10662. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10663. type: string
  10664. ordersn:
  10665. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10666. type: string
  10667. origincountry:
  10668. description: 原产国
  10669. type: string
  10670. processingcountry:
  10671. description: 成品钻石加工国
  10672. type: string
  10673. realservicefee:
  10674. description: 应收综合服务费
  10675. type: number
  10676. servicefeesum:
  10677. description: 汇总综合服务费 - 明细上值汇总
  10678. type: number
  10679. settleamount:
  10680. description: 总结算费用
  10681. type: number
  10682. shaperange:
  10683. description: 形状范围
  10684. type: string
  10685. totalamount:
  10686. description: 总金额(美元)
  10687. type: number
  10688. totalgrossweight:
  10689. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10690. * 200
  10691. type: number
  10692. totalnumber:
  10693. description: 总粒数
  10694. type: integer
  10695. totalweight:
  10696. description: 总克拉数(保留3位小数)
  10697. type: number
  10698. totalweightgm:
  10699. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10700. type: number
  10701. userid:
  10702. description: 用户ID
  10703. type: integer
  10704. weightrange:
  10705. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10706. type: string
  10707. zsorigin:
  10708. description: 天然钻石毛坯原产地
  10709. type: string
  10710. required:
  10711. - userid
  10712. type: object
  10713. models.GzcjjcorderdetailM:
  10714. properties:
  10715. amount:
  10716. description: 参考货值(USD)
  10717. type: number
  10718. colorinfo:
  10719. description: 彩钻信息
  10720. type: string
  10721. createtime:
  10722. description: 创建时间
  10723. type: string
  10724. gzcjmarktype:
  10725. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10726. type: integer
  10727. gzcjpublishtype:
  10728. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10729. type: integer
  10730. gzcjpublishtypestring:
  10731. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10732. type: string
  10733. gzcjservicetype:
  10734. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10735. type: integer
  10736. gzcjservicetypestring:
  10737. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10738. type: string
  10739. gzcjshapetype:
  10740. description: 形状 - 枚举"GZCJShapeType"
  10741. type: integer
  10742. gzcjshapetypestring:
  10743. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10744. type: string
  10745. gzno:
  10746. description: 货物编号
  10747. type: string
  10748. orderdetailid:
  10749. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10750. type: integer
  10751. orderid:
  10752. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10753. type: integer
  10754. orderindex:
  10755. description: 顺序
  10756. type: integer
  10757. origincertno:
  10758. description: 原证书号【送检账户为“广钻账户”】
  10759. type: string
  10760. remark:
  10761. description: 备注(其它)
  10762. type: string
  10763. servicefee:
  10764. description: 综合服务费 - 根据市场配置计算
  10765. type: number
  10766. weight:
  10767. description: 重量(CT)
  10768. type: number
  10769. type: object
  10770. models.Gzrapaportprice:
  10771. properties:
  10772. dollar:
  10773. description: 美元
  10774. type: string
  10775. rmb:
  10776. description: 人民币
  10777. type: string
  10778. type: object
  10779. models.Hedgeinnerholderdetail:
  10780. properties:
  10781. accountid:
  10782. description: 账号ID
  10783. type: integer
  10784. buyorsell:
  10785. description: 方向 - 0:买 1:卖
  10786. type: integer
  10787. freezeqty:
  10788. description: 冻结数量 - 按单平使用
  10789. type: integer
  10790. goodsid:
  10791. description: 商品ID
  10792. type: integer
  10793. holderamount:
  10794. description: 持仓金额 [商品币种]
  10795. type: number
  10796. holderdays:
  10797. description: 剩余冻结天数
  10798. type: integer
  10799. holderprice:
  10800. description: 持仓价格
  10801. type: number
  10802. holderqty:
  10803. description: 持仓数量
  10804. type: integer
  10805. marketid:
  10806. description: 市场ID
  10807. type: integer
  10808. openprice:
  10809. description: 建仓价格
  10810. type: number
  10811. openqty:
  10812. description: 建仓数量
  10813. type: integer
  10814. parentaccountid:
  10815. description: 所属母账户
  10816. type: integer
  10817. releaseamount:
  10818. description: 释放持仓金额[商品币种]
  10819. type: number
  10820. tradeamount:
  10821. description: 成交金额[账户]
  10822. type: number
  10823. tradedate:
  10824. description: 交易日(yyyyMMdd)
  10825. type: string
  10826. tradeid:
  10827. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10828. type: string
  10829. tradetime:
  10830. description: 交易时间
  10831. type: string
  10832. required:
  10833. - buyorsell
  10834. - tradeid
  10835. type: object
  10836. models.Hedgemarketopenlog:
  10837. properties:
  10838. accountid:
  10839. description: 资金账号[外部母账户]
  10840. type: integer
  10841. fcname:
  10842. description: 期货公司名称
  10843. type: string
  10844. handlestatus:
  10845. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  10846. type: integer
  10847. marketid:
  10848. description: 市场ID
  10849. type: integer
  10850. status:
  10851. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  10852. type: integer
  10853. tradedate:
  10854. description: 交易日(yyyyMMdd)
  10855. type: string
  10856. updatetime:
  10857. description: 更新时间
  10858. type: string
  10859. required:
  10860. - accountid
  10861. type: object
  10862. models.InternalEnableTradeDetail:
  10863. properties:
  10864. agreeunit:
  10865. description: 合约乘数
  10866. type: number
  10867. areauserid:
  10868. description: 企业ID
  10869. type: integer
  10870. convertratio:
  10871. description: 品种系数
  10872. type: number
  10873. deliverygoodscode:
  10874. description: 现货品种代码
  10875. type: string
  10876. deliverygoodsid:
  10877. description: 现货品种ID(SEQ_DELIVERYGOODS)
  10878. type: integer
  10879. deliverygoodsname:
  10880. description: 现货品种名称
  10881. type: string
  10882. futurehedgeqty:
  10883. description: '[已关联数量]期货持仓套期量'
  10884. type: number
  10885. goodsid:
  10886. description: 期货合约ID
  10887. type: integer
  10888. hedgeditemid:
  10889. description: 被套期项目ID
  10890. type: string
  10891. hedgeditemnum:
  10892. description: 项目编号
  10893. type: string
  10894. tradeuserid:
  10895. description: 交易用户ID
  10896. type: integer
  10897. unexehedgeqty:
  10898. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  10899. type: number
  10900. unexespotqty:
  10901. description: 未执行现货量
  10902. type: number
  10903. wrstandardcode:
  10904. description: 现货品类代码
  10905. type: string
  10906. wrstandardid:
  10907. description: 现货品类ID(SEQ_WRSTANDARD)
  10908. type: integer
  10909. wrstandardname:
  10910. description: 现货品类名称
  10911. type: string
  10912. required:
  10913. - areauserid
  10914. - goodsid
  10915. - tradeuserid
  10916. type: object
  10917. models.InternalUncorrelatedTradeDetail:
  10918. properties:
  10919. accountid:
  10920. description: 账号ID
  10921. type: integer
  10922. accountname:
  10923. description: 套期主体
  10924. type: string
  10925. agreeunit:
  10926. description: 合约乘数
  10927. type: number
  10928. areauserid:
  10929. description: 所属机构
  10930. type: integer
  10931. bizsubjectid:
  10932. description: 归属业务部门ID - SubjectID
  10933. type: integer
  10934. buyorsell:
  10935. description: 方向 - 0:买 1:卖
  10936. type: integer
  10937. channelbuildtype:
  10938. description: 委托单据类型 0:无 1:建仓 2:平仓
  10939. type: integer
  10940. convertratio:
  10941. description: 品种系数
  10942. type: number
  10943. createtime:
  10944. description: 创建时间
  10945. type: string
  10946. creatorid:
  10947. description: 创建人ID
  10948. type: integer
  10949. creatorsrc:
  10950. description: 创建人来源 - 1:管理端 2:终端 3:交易
  10951. type: integer
  10952. enableqty:
  10953. description: 项目可关联数量 = 套保品种数量 - 关联数量
  10954. type: number
  10955. enumdicname:
  10956. description: 单位
  10957. type: string
  10958. goodscode:
  10959. description: 合约代码
  10960. type: string
  10961. goodsgroupid:
  10962. description: 对冲品种ID[期货合约商品组ID]
  10963. type: integer
  10964. goodsid:
  10965. description: 商品ID
  10966. type: integer
  10967. goodsname:
  10968. description: 合约名称
  10969. type: string
  10970. hedgeditemid:
  10971. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  10972. type: integer
  10973. hedgeflag:
  10974. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  10975. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  10976. type: integer
  10977. linkdetailid:
  10978. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  10979. type: string
  10980. linkstatus:
  10981. description: 关联状态 - 1:成功 2:失败 3:解绑
  10982. type: integer
  10983. middlegoodsid:
  10984. description: 套保品种ID
  10985. type: integer
  10986. middlegoodsqty:
  10987. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  10988. type: number
  10989. relatedlot:
  10990. description: '[数量]关联手数'
  10991. type: number
  10992. relatedmode:
  10993. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  10994. type: integer
  10995. relatedqty:
  10996. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  10997. type: number
  10998. retcode:
  10999. description: 返回码
  11000. type: integer
  11001. saleuserid:
  11002. description: 业务员ID
  11003. type: integer
  11004. tradedate:
  11005. description: 关联交易日(yyyyMMdd)
  11006. type: string
  11007. tradeid:
  11008. description: 成交单号
  11009. type: string
  11010. tradelot:
  11011. description: 成交手数
  11012. type: integer
  11013. tradeprice:
  11014. description: 成交价
  11015. type: number
  11016. tradetime:
  11017. description: 成交时间
  11018. type: string
  11019. tradetradedate:
  11020. description: 成交交易日(yyyyMMdd)
  11021. type: string
  11022. tradeuserid:
  11023. description: 交易用户ID
  11024. type: integer
  11025. type: object
  11026. models.Loginaccount:
  11027. properties:
  11028. accountname:
  11029. description: 账户名称
  11030. type: string
  11031. canoutin:
  11032. description: 是否可出入金 - 0:不可 1:可
  11033. type: integer
  11034. clientroleid:
  11035. description: 终端角色ID
  11036. type: integer
  11037. haslogined:
  11038. description: 是否已登录 - 0:未登录 1:已登录
  11039. type: integer
  11040. hasupdatedpwd:
  11041. description: 是否已更改密码 - 0:未修改 1:已修改
  11042. type: integer
  11043. lastloginip:
  11044. description: 最新登录地址
  11045. type: string
  11046. lastloginmode:
  11047. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  11048. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  11049. type: integer
  11050. lastloginremark:
  11051. description: 最新登录描述
  11052. type: string
  11053. lastlogintime:
  11054. description: 最新登录时间
  11055. type: string
  11056. logincode:
  11057. description: 登录代码
  11058. type: string
  11059. loginfailnum:
  11060. description: 连续登录失败次数(登录成功时清零)
  11061. type: integer
  11062. loginid:
  11063. description: 登陆账号
  11064. type: integer
  11065. loginport:
  11066. description: 最新登录端口
  11067. type: integer
  11068. loginstatus:
  11069. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  11070. type: integer
  11071. loginusertype:
  11072. description: 登录账号类型 - 1:投资者 2:机构交易员
  11073. type: integer
  11074. mobile:
  11075. description: 手机号码(加密存储)
  11076. type: string
  11077. modifierid:
  11078. description: 修改人
  11079. type: integer
  11080. modifysrc:
  11081. description: 审核来源 - 1:管理端 2:终端
  11082. type: integer
  11083. modifytime:
  11084. description: 修改时间
  11085. type: string
  11086. pwdwrongcount:
  11087. description: 密码错误次数
  11088. type: integer
  11089. relateduserid:
  11090. description: 关联用户ID(机构)
  11091. type: integer
  11092. taaccountrighttype:
  11093. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  11094. type: integer
  11095. unfreezetime:
  11096. description: 账户解冻时间
  11097. type: string
  11098. userid:
  11099. description: 用户ID
  11100. type: integer
  11101. required:
  11102. - loginid
  11103. type: object
  11104. models.MainAccountInfo:
  11105. properties:
  11106. accountid:
  11107. description: 账号id
  11108. type: integer
  11109. accountname:
  11110. description: 账号名称(taaccount表中的名称)
  11111. type: string
  11112. appid:
  11113. description: AppID
  11114. type: string
  11115. authcode:
  11116. description: 授权码
  11117. type: string
  11118. brokerid:
  11119. description: 经纪商id
  11120. type: string
  11121. fcid:
  11122. description: 期货公司id
  11123. type: integer
  11124. fcname:
  11125. description: 期货公司代码
  11126. type: string
  11127. hedgeaccountcode:
  11128. description: 外部账号代码(主账号登录代码)
  11129. type: string
  11130. hedgeaccountpwd:
  11131. description: 密码
  11132. type: string
  11133. ismain:
  11134. description: 是否主账号
  11135. type: integer
  11136. relateduserid:
  11137. description: 关联用户id
  11138. type: integer
  11139. userid:
  11140. description: 关联用户id
  11141. type: integer
  11142. type: object
  11143. models.Market:
  11144. properties:
  11145. auctionwrtype:
  11146. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  11147. type: integer
  11148. canacceptquote:
  11149. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  11150. type: integer
  11151. cangoodsexercise:
  11152. description: '[期权]是否可现货行权- 0:否 1:是'
  11153. type: integer
  11154. cangoodsexercisetype:
  11155. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  11156. type: integer
  11157. canmanualquotestrike:
  11158. description: 是否可手动报行权价- 0:否 1:是 [期权]
  11159. type: integer
  11160. canmutistage:
  11161. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  11162. type: integer
  11163. canpreexercise:
  11164. description: '[期权]是否可预申报- 0:否 1:是'
  11165. type: integer
  11166. clearinterval:
  11167. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  11168. type: integer
  11169. contracttmp:
  11170. description: 合同模板[荷兰式][竞价式][仓单贸易]
  11171. type: string
  11172. exchareaid:
  11173. description: 所属交易所,可以没有
  11174. type: integer
  11175. goodstype:
  11176. description: 商品类型 - 1:交易商品 2:仓单商品
  11177. type: integer
  11178. hasrebate:
  11179. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  11180. type: integer
  11181. hastradecredit:
  11182. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  11183. type: integer
  11184. haswr:
  11185. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  11186. type: integer
  11187. isdeductmargin:
  11188. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  11189. type: integer
  11190. isrecordsource:
  11191. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  11192. type: integer
  11193. isreleasemargin:
  11194. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  11195. type: integer
  11196. marginformula:
  11197. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11198. type: integer
  11199. marginformula2:
  11200. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  11201. type: integer
  11202. marketid:
  11203. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11204. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11205. type: integer
  11206. marketname:
  11207. description: 市场名称
  11208. type: string
  11209. marketserviceid:
  11210. description: 市场服务ID
  11211. type: integer
  11212. marketstatus:
  11213. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11214. type: integer
  11215. markettype:
  11216. description: 市场类型- 1:非交易服务 2:交易服务
  11217. type: integer
  11218. matchermode:
  11219. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  11220. type: integer
  11221. openmethod:
  11222. description: 开盘模式 - 0 自动 1手动
  11223. type: integer
  11224. otcuserid:
  11225. description: 场外期权做市商[场外期权]
  11226. type: integer
  11227. outersynctime:
  11228. description: 外部同步时间点(h24:mi:ss)[场外期权]
  11229. type: string
  11230. pendingflag:
  11231. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  11232. type: integer
  11233. pendingtime:
  11234. description: 待开市时间[通道交易-对冲](HH:mm)
  11235. type: string
  11236. performancetempid:
  11237. description: 履约计划模板ID - 作废
  11238. type: integer
  11239. premiumquotemode:
  11240. description: 权利金报价方式 - 1:自动 2:手动
  11241. type: integer
  11242. rebateratio:
  11243. description: 返利比率[竞价式]
  11244. type: number
  11245. reckonorder:
  11246. description: 结算顺序
  11247. type: integer
  11248. reckonpricealgorithm:
  11249. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  11250. 6.卖一价 7.买一卖一均价 8.外部结算价'
  11251. type: integer
  11252. reckonpriceparam:
  11253. description: 结算价参数
  11254. type: integer
  11255. reckontime:
  11256. description: 结算时间[通道交易-对冲](HH:mm)
  11257. type: string
  11258. roleprioritytype:
  11259. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  11260. type: integer
  11261. selllistingauditflag:
  11262. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  11263. type: integer
  11264. trademarkettype:
  11265. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  11266. type: integer
  11267. trademode:
  11268. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11269. 21:竞拍-大宗式 22:受托竞价
  11270. type: integer
  11271. tradeproperty:
  11272. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  11273. 8:场外期权
  11274. type: integer
  11275. tradetype:
  11276. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  11277. type: integer
  11278. required:
  11279. - marketid
  11280. - marketstatus
  11281. - openmethod
  11282. - reckonpricealgorithm
  11283. - trademode
  11284. - tradeproperty
  11285. type: object
  11286. models.Marketcalendar:
  11287. properties:
  11288. holidaydate:
  11289. description: 节假日期(yyyy-MM-dd)
  11290. type: string
  11291. marketid:
  11292. description: 市场ID
  11293. type: integer
  11294. type: object
  11295. models.Marketrun:
  11296. properties:
  11297. afternexttradedate:
  11298. description: 下下交易日
  11299. type: string
  11300. clearquoteflag:
  11301. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  11302. type: integer
  11303. lastreckondate:
  11304. description: 最新交易日(结算成功)
  11305. type: string
  11306. machinedate:
  11307. description: 机器时间
  11308. type: string
  11309. manualflag:
  11310. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  11311. type: integer
  11312. marketid:
  11313. description: 市场ID
  11314. type: integer
  11315. nexttradedate:
  11316. description: 下一交易日
  11317. type: string
  11318. pretradedate:
  11319. description: 上一交易日
  11320. type: string
  11321. reckonflag:
  11322. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  11323. type: integer
  11324. runstatus:
  11325. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  11326. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  11327. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  11328. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  11329. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  11330. 62.今日免清算
  11331. type: integer
  11332. sectionid:
  11333. description: 时间段号[多时段时用]
  11334. type: integer
  11335. tradedate:
  11336. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  11337. type: string
  11338. tradedate2:
  11339. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  11340. type: string
  11341. updatetime:
  11342. description: 更新时间
  11343. type: string
  11344. required:
  11345. - marketid
  11346. - nexttradedate
  11347. - reckonflag
  11348. - runstatus
  11349. - tradedate
  11350. - tradedate2
  11351. type: object
  11352. models.Messageboard:
  11353. properties:
  11354. contactnum:
  11355. description: 联系电话
  11356. type: string
  11357. createtime:
  11358. description: 创建时间
  11359. type: string
  11360. message:
  11361. description: 留言信息
  11362. type: string
  11363. messageboardid:
  11364. description: 留言簿ID(SEQ_MessageBoard)
  11365. type: integer
  11366. userid:
  11367. description: 用户ID
  11368. type: integer
  11369. required:
  11370. - messageboardid
  11371. type: object
  11372. models.MyBargainApply:
  11373. properties:
  11374. accountid:
  11375. description: 摘牌资金账号
  11376. type: integer
  11377. applyprice:
  11378. description: 申请价格
  11379. type: string
  11380. applyremark:
  11381. description: 申请备注
  11382. type: string
  11383. applystatus:
  11384. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11385. type: integer
  11386. applytime:
  11387. description: 申请时间
  11388. type: string
  11389. buyorsell:
  11390. description: 买卖 - 0:买 1:卖
  11391. type: integer
  11392. buyusername:
  11393. description: 买方
  11394. type: string
  11395. confirmprice:
  11396. description: 可接受价格(拒绝时填写)-作废
  11397. type: number
  11398. confirmqty:
  11399. description: 可接受数量(拒绝时填写)-作废
  11400. type: integer
  11401. confirmremark:
  11402. description: 确认备注
  11403. type: string
  11404. confirmtime:
  11405. description: 确认时间
  11406. type: string
  11407. confirmuserid:
  11408. description: 确认人
  11409. type: integer
  11410. goodsno:
  11411. description: 商品编号
  11412. type: string
  11413. handlestatus:
  11414. description: 处理状态
  11415. type: integer
  11416. ladingbillid:
  11417. description: 摘牌方提单ID [卖]
  11418. type: integer
  11419. marketid:
  11420. description: 市场ID
  11421. type: integer
  11422. matchaccountid:
  11423. description: 挂牌方资金账号
  11424. type: integer
  11425. matchuserid:
  11426. description: 挂牌方用户ID
  11427. type: integer
  11428. performancetemplateid:
  11429. description: 履约计划模板ID
  11430. type: integer
  11431. price:
  11432. description: 价格
  11433. type: number
  11434. priceper:
  11435. description: 克拉单价 - 类型:1,2,3,5
  11436. type: string
  11437. qty:
  11438. description: 申请数量
  11439. type: number
  11440. refprice:
  11441. description: 参考价格
  11442. type: string
  11443. retcode:
  11444. description: 委托返回代码
  11445. type: integer
  11446. sellusername:
  11447. description: 卖方
  11448. type: string
  11449. sizedisplay:
  11450. description: 尺寸
  11451. type: string
  11452. subnum:
  11453. description: 摘牌方提单子单号 [卖]
  11454. type: integer
  11455. tradedate:
  11456. description: 交易日(yyyyMMdd)
  11457. type: string
  11458. userid:
  11459. description: 摘牌人用户ID
  11460. type: integer
  11461. warehousenamedisplay:
  11462. type: string
  11463. wrbargainid:
  11464. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  11465. type: string
  11466. wrtradeorderid:
  11467. description: 关联委托单ID
  11468. type: string
  11469. zscerttypedisplay:
  11470. type: string
  11471. zsclaritytype1display:
  11472. type: string
  11473. zsclaritytype2display:
  11474. type: string
  11475. zscolortype1display:
  11476. type: string
  11477. zscolortype2display:
  11478. type: string
  11479. zscrystaltypedisplay:
  11480. type: string
  11481. zscurrencytypedisplay:
  11482. type: string
  11483. zscurrencytypedisplayunit:
  11484. type: string
  11485. zscuttype1display:
  11486. type: string
  11487. zscuttype2display:
  11488. type: string
  11489. zsczcolor1typedisplay:
  11490. type: string
  11491. zsczcolor2typedisplay:
  11492. type: string
  11493. zsczcolor3typedisplay:
  11494. type: string
  11495. zsfluorescencetype1display:
  11496. type: string
  11497. zsfluorescencetype2display:
  11498. type: string
  11499. zspolishtype1display:
  11500. type: string
  11501. zspolishtype2display:
  11502. type: string
  11503. zsshapetypedisplay:
  11504. type: string
  11505. zsstyletypedisplay:
  11506. type: string
  11507. zssymmetrytype1display:
  11508. type: string
  11509. zssymmetrytype2display:
  11510. type: string
  11511. required:
  11512. - userid
  11513. type: object
  11514. models.MyBuyOrder:
  11515. properties:
  11516. accountid:
  11517. description: 资金账户ID
  11518. type: integer
  11519. marketid:
  11520. description: 市场ID
  11521. type: integer
  11522. ordertime:
  11523. description: 委托时间
  11524. type: string
  11525. origin:
  11526. description: 原产地
  11527. type: string
  11528. performancetemplateid:
  11529. description: 履约计划模板ID
  11530. type: integer
  11531. remark:
  11532. description: 备注
  11533. type: string
  11534. userid:
  11535. description: 用户ID
  11536. type: integer
  11537. validtime:
  11538. description: 有效期限
  11539. type: string
  11540. warehouseids:
  11541. description: 仓库ID - 多个, 逗号分隔
  11542. type: string
  11543. warehouseinfosdisplay:
  11544. type: string
  11545. wrtradeorderid:
  11546. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  11547. type: string
  11548. wrtradeorderstatus:
  11549. 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、
  11550. type: integer
  11551. zscategory:
  11552. description: 钻石分类 - 枚举”ZSCategory“
  11553. type: integer
  11554. zscategorydisplay:
  11555. type: string
  11556. zsclaritytype:
  11557. description: 净度 - 两个, 逗号分隔
  11558. type: string
  11559. zsclaritytypedisplay:
  11560. type: string
  11561. zscolortype:
  11562. description: 颜色 - 两个, 逗号分隔
  11563. type: string
  11564. zscolortypedisplay:
  11565. type: string
  11566. zscrystaltype:
  11567. description: 晶型 - 多个,逗号分隔
  11568. type: string
  11569. zscrystaltypedisplay:
  11570. type: string
  11571. zscurrencytype:
  11572. description: 货币类型 - 多个, 逗号分隔
  11573. type: string
  11574. zscurrencytypedisplay:
  11575. type: string
  11576. zscuttype:
  11577. description: 切工 - 两个, 逗号分隔
  11578. type: string
  11579. zscuttypedisplay:
  11580. type: string
  11581. zsczcolor1type:
  11582. description: 彩钻颜色1, 逗号分隔
  11583. type: string
  11584. zsczcolor1typedisplay:
  11585. type: string
  11586. zsczcolor2type:
  11587. description: 彩钻颜色2, 逗号分隔
  11588. type: string
  11589. zsczcolor2typedisplay:
  11590. type: string
  11591. zsczcolor3type:
  11592. description: 彩钻颜色3, 逗号分隔
  11593. type: string
  11594. zsczcolor3typedisplay:
  11595. type: string
  11596. zsfluorescencetype:
  11597. description: 荧光 - 多个, 逗号分隔
  11598. type: string
  11599. zsfluorescencetypedisplay:
  11600. type: string
  11601. zspolishtype:
  11602. description: 抛光度 - 两个, 逗号分隔
  11603. type: string
  11604. zspolishtypedisplay:
  11605. type: string
  11606. zsshapetype:
  11607. description: 形状 - 多个, 逗号分隔
  11608. type: string
  11609. zsshapetypedisplay:
  11610. type: string
  11611. zssize:
  11612. description: 尺寸 - 两个小数, 逗号分隔
  11613. type: string
  11614. zsstyletype:
  11615. description: 款式 - 多个, 逗号分隔
  11616. type: string
  11617. zsstyletypedisplay:
  11618. type: string
  11619. zssymmetrytype:
  11620. description: 对称度 - 两个, 逗号分隔
  11621. type: string
  11622. zssymmetrytypedisplay:
  11623. type: string
  11624. zstabledisplay:
  11625. description: 求购信息
  11626. type: string
  11627. required:
  11628. - userid
  11629. type: object
  11630. models.MyDeListing:
  11631. properties:
  11632. buyaccountid:
  11633. description: 买方账号ID
  11634. type: integer
  11635. buychargevalue:
  11636. description: 买方手续费
  11637. type: number
  11638. buyuserid:
  11639. description: 买方用户ID
  11640. type: integer
  11641. deliverygoodsid:
  11642. description: 现货品种ID
  11643. type: integer
  11644. exchangerate:
  11645. description: 汇率
  11646. type: number
  11647. goodsno:
  11648. description: 商品编号
  11649. type: string
  11650. marketid:
  11651. description: 市场ID
  11652. type: integer
  11653. matchusername:
  11654. description: 对手方
  11655. type: string
  11656. oritradeamount:
  11657. description: 成交金额[商品币种]
  11658. type: number
  11659. performanceplanid:
  11660. description: 履约计划ID/合同ID
  11661. type: string
  11662. price:
  11663. description: 价格
  11664. type: number
  11665. qty:
  11666. description: 成交重量
  11667. type: number
  11668. sellaccountid:
  11669. description: 卖方账号ID
  11670. type: integer
  11671. sellchargevalue:
  11672. description: 卖方手续费
  11673. type: number
  11674. selluserid:
  11675. description: 卖方用户ID
  11676. type: integer
  11677. sizedisplay:
  11678. description: 尺寸
  11679. type: string
  11680. tradeamount:
  11681. description: 成交金额
  11682. type: number
  11683. tradedate:
  11684. description: 交易日(yyyyMMdd)
  11685. type: string
  11686. tradeprice:
  11687. description: 成交价格
  11688. type: number
  11689. tradetime:
  11690. description: 成交时间
  11691. type: string
  11692. userid:
  11693. description: 用户ID
  11694. type: integer
  11695. warehousenamedisplay:
  11696. type: string
  11697. wrfactortypeid:
  11698. description: 仓单要素类型ID
  11699. type: integer
  11700. wrstandardid:
  11701. description: 现货商品ID
  11702. type: integer
  11703. wrtradedetailid:
  11704. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  11705. type: string
  11706. zscategory:
  11707. description: 钻石分类 - 枚举”ZSCategory“
  11708. type: integer
  11709. zscategorydisplay:
  11710. type: string
  11711. zscerttypedisplay:
  11712. type: string
  11713. zsclaritytype1display:
  11714. type: string
  11715. zsclaritytype2display:
  11716. type: string
  11717. zscolortype1display:
  11718. type: string
  11719. zscolortype2display:
  11720. type: string
  11721. zscrystaltypedisplay:
  11722. type: string
  11723. zscurrencytype:
  11724. description: 货币类型 - 枚举“ZSCurrencyType”
  11725. type: integer
  11726. zscurrencytypedisplay:
  11727. type: string
  11728. zscurrencytypedisplayunit:
  11729. type: string
  11730. zscuttype1display:
  11731. type: string
  11732. zscuttype2display:
  11733. type: string
  11734. zsczcolor1typedisplay:
  11735. type: string
  11736. zsczcolor2typedisplay:
  11737. type: string
  11738. zsczcolor3typedisplay:
  11739. type: string
  11740. zsfluorescencetype1display:
  11741. type: string
  11742. zsfluorescencetype2display:
  11743. type: string
  11744. zspolishtype1display:
  11745. type: string
  11746. zspolishtype2display:
  11747. type: string
  11748. zsshapetypedisplay:
  11749. type: string
  11750. zsstyletypedisplay:
  11751. type: string
  11752. zssymmetrytype1display:
  11753. type: string
  11754. zssymmetrytype2display:
  11755. type: string
  11756. required:
  11757. - userid
  11758. type: object
  11759. models.MyDelistingApply:
  11760. properties:
  11761. applyprice:
  11762. description: 申请价格
  11763. type: number
  11764. applyqty:
  11765. description: 申请数量
  11766. type: number
  11767. applyremark:
  11768. description: 申请备注
  11769. type: string
  11770. applystatus:
  11771. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  11772. type: integer
  11773. applytime:
  11774. description: 申请时间
  11775. type: string
  11776. auditremark:
  11777. description: 确认备注
  11778. type: string
  11779. audittime:
  11780. description: 确认时间
  11781. type: string
  11782. buyuserid:
  11783. description: 买方用户ID
  11784. type: integer
  11785. buyusername:
  11786. description: 买方
  11787. type: string
  11788. buywrtradeorderid:
  11789. description: 买委托单ID
  11790. type: string
  11791. goodsno:
  11792. description: 商品编号
  11793. type: string
  11794. ladingbillid:
  11795. description: 卖方提单ID
  11796. type: string
  11797. marketid:
  11798. description: 市场ID
  11799. type: integer
  11800. performancetemplateid:
  11801. description: 履约计划模板ID
  11802. type: integer
  11803. price:
  11804. description: 价格
  11805. type: number
  11806. sellaccountid:
  11807. description: 卖方账户ID
  11808. type: integer
  11809. selldelistingapplyid:
  11810. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  11811. type: string
  11812. selltradeorderid:
  11813. description: 卖方委托ID(买方确认成交后更新)
  11814. type: string
  11815. selluserid:
  11816. description: 卖方用户ID
  11817. type: integer
  11818. sellusername:
  11819. description: 卖方
  11820. type: string
  11821. sizedisplay:
  11822. description: 尺寸
  11823. type: string
  11824. subnum:
  11825. description: 卖方提单子单号
  11826. type: integer
  11827. warehouseinfosdisplay:
  11828. type: string
  11829. weight:
  11830. description: 克拉重量
  11831. type: number
  11832. wrfactortypeid:
  11833. description: 仓单要素类型ID
  11834. type: string
  11835. wrstandardid:
  11836. description: 现货商品ID
  11837. type: integer
  11838. zsallproperties:
  11839. type: string
  11840. zscategorydisplay:
  11841. type: string
  11842. zsclaritytypedisplay:
  11843. type: string
  11844. zscolortypedisplay:
  11845. type: string
  11846. zscrystaltypedisplay:
  11847. type: string
  11848. zscurrencytypedisplay:
  11849. type: string
  11850. zscurrencytypedisplayunit:
  11851. description: 价格单位
  11852. type: string
  11853. zscuttypedisplay:
  11854. type: string
  11855. zsczcolor1typedisplay:
  11856. type: string
  11857. zsczcolor2typedisplay:
  11858. type: string
  11859. zsczcolor3typedisplay:
  11860. type: string
  11861. zsfluorescencetypedisplay:
  11862. type: string
  11863. zspolishtypedisplay:
  11864. type: string
  11865. zsshapetypedisplay:
  11866. type: string
  11867. zssizedisplay:
  11868. type: string
  11869. zsstyletypedisplay:
  11870. type: string
  11871. zssymmetrytypedisplay:
  11872. type: string
  11873. zstabledisplay:
  11874. type: string
  11875. required:
  11876. - selluserid
  11877. type: object
  11878. models.MyFavorite:
  11879. properties:
  11880. accountname:
  11881. description: 账户名称(机构名称)
  11882. type: string
  11883. buyorsell:
  11884. description: 买卖 - 0:买 1:卖
  11885. type: integer
  11886. favoritestatus:
  11887. description: 收藏状态 - 1:正常 2:失效
  11888. type: integer
  11889. goodsno:
  11890. description: 商品编号
  11891. type: string
  11892. marketid:
  11893. description: 市场ID
  11894. type: integer
  11895. marketprice:
  11896. description: 市场价
  11897. type: string
  11898. price:
  11899. description: 价格
  11900. type: number
  11901. priceper:
  11902. description: 克拉单价
  11903. type: string
  11904. sellusername:
  11905. description: 卖家
  11906. type: string
  11907. sizedisplay:
  11908. description: 尺寸
  11909. type: string
  11910. userid:
  11911. description: 用户ID
  11912. type: integer
  11913. warehousenamedisplay:
  11914. description: 仓库名称
  11915. type: string
  11916. weight:
  11917. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  11918. type: number
  11919. weightavg:
  11920. description: 平均单颗重量 - 类型:1,3
  11921. type: number
  11922. wrfactortypeid:
  11923. description: 仓单要素类型ID/商品ID(77)
  11924. type: string
  11925. wrstandardid:
  11926. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  11927. type: integer
  11928. wrtradeorderid:
  11929. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  11930. type: string
  11931. zscategory:
  11932. description: 钻石分类 - 枚举”ZSCategory“
  11933. type: integer
  11934. zscategorydisplay:
  11935. type: string
  11936. zscerttypedisplay:
  11937. type: string
  11938. zsclaritytype1display:
  11939. type: string
  11940. zsclaritytype2display:
  11941. type: string
  11942. zscolortype1display:
  11943. type: string
  11944. zscolortype2display:
  11945. type: string
  11946. zscrystaltypedisplay:
  11947. type: string
  11948. zscurrencytypedisplay:
  11949. type: string
  11950. zscurrencytypedisplayunit:
  11951. type: string
  11952. zscuttype1display:
  11953. type: string
  11954. zscuttype2display:
  11955. type: string
  11956. zsczcolor1typedisplay:
  11957. type: string
  11958. zsczcolor2typedisplay:
  11959. type: string
  11960. zsczcolor3typedisplay:
  11961. type: string
  11962. zsfluorescencetype1display:
  11963. type: string
  11964. zsfluorescencetype2display:
  11965. type: string
  11966. zspolishtype1display:
  11967. type: string
  11968. zspolishtype2display:
  11969. type: string
  11970. zsshapetypedisplay:
  11971. type: string
  11972. zsstyletypedisplay:
  11973. type: string
  11974. zssymmetrytype1display:
  11975. type: string
  11976. zssymmetrytype2display:
  11977. type: string
  11978. required:
  11979. - userid
  11980. type: object
  11981. models.MyPerformanc:
  11982. properties:
  11983. accountname:
  11984. description: '[对手方]账户名称(机构名称)'
  11985. type: string
  11986. amount:
  11987. description: 履约金额
  11988. type: number
  11989. buyaccountid:
  11990. description: 买方账号
  11991. type: integer
  11992. buyerfreezeamount:
  11993. description: 买方履约前冻结资金
  11994. type: number
  11995. buyerfreezeamountremain:
  11996. description: 买方履约前冻结资金剩余
  11997. type: number
  11998. buyerinfo:
  11999. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12000. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  12001. type: string
  12002. buyorsell:
  12003. description: 方向 - 0:买 1:卖
  12004. type: integer
  12005. buypaidamount:
  12006. description: 买方已冻/已扣金额
  12007. type: number
  12008. buytodayamount:
  12009. description: 买方今日扣/冻金额 (待开市时清零)
  12010. type: number
  12011. curstepid:
  12012. description: 当前步骤ID
  12013. type: string
  12014. goodsno:
  12015. description: 商品编号
  12016. type: string
  12017. overshortamount:
  12018. description: 溢短金额
  12019. type: number
  12020. paymenttype:
  12021. description: 买方支付方式 - 1:冻结 2:扣款
  12022. type: integer
  12023. performanceplanid:
  12024. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  12025. type: string
  12026. performancestatus:
  12027. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  12028. 9:超时待处理 10:超时关闭
  12029. type: integer
  12030. price:
  12031. description: 价格
  12032. type: number
  12033. priceper:
  12034. description: 克拉单价
  12035. type: string
  12036. relatedorderid:
  12037. description: 关联单号(履约类型的关联单号)
  12038. type: string
  12039. remaindays:
  12040. description: 剩余天数
  12041. type: integer
  12042. sellerfreezeamount:
  12043. description: 卖方履约前冻结资金
  12044. type: number
  12045. sellerfreezeamountremain:
  12046. description: 卖方履约前冻结资金剩余
  12047. type: number
  12048. sellerinfo:
  12049. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  12050. "xxxxxxxx"}'
  12051. type: string
  12052. sellreceivedamount:
  12053. description: 卖方已收金额
  12054. type: number
  12055. selltodayamount:
  12056. description: 卖方今日收取金额(待开市时清零)
  12057. type: number
  12058. sizedisplay:
  12059. description: 尺寸
  12060. type: string
  12061. steptypeid:
  12062. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  12063. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  12064. type: integer
  12065. warehousenamedisplay:
  12066. type: string
  12067. zscategorydisplay:
  12068. type: string
  12069. zscerttypedisplay:
  12070. type: string
  12071. zsclaritytype1display:
  12072. type: string
  12073. zsclaritytype2display:
  12074. type: string
  12075. zscolortype1display:
  12076. type: string
  12077. zscolortype2display:
  12078. type: string
  12079. zscrystaltypedisplay:
  12080. type: string
  12081. zscurrencytypedisplay:
  12082. type: string
  12083. zscurrencytypedisplayunit:
  12084. type: string
  12085. zscuttype1display:
  12086. type: string
  12087. zscuttype2display:
  12088. type: string
  12089. zsczcolor1typedisplay:
  12090. type: string
  12091. zsczcolor2typedisplay:
  12092. type: string
  12093. zsczcolor3typedisplay:
  12094. type: string
  12095. zsfluorescencetype1display:
  12096. type: string
  12097. zsfluorescencetype2display:
  12098. type: string
  12099. zspolishtype1display:
  12100. type: string
  12101. zspolishtype2display:
  12102. type: string
  12103. zsshapetypedisplay:
  12104. type: string
  12105. zsstyletypedisplay:
  12106. type: string
  12107. zssymmetrytype1display:
  12108. type: string
  12109. zssymmetrytype2display:
  12110. type: string
  12111. type: object
  12112. models.MyRefer:
  12113. properties:
  12114. accountname:
  12115. description: 用户名(脱敏)
  12116. type: string
  12117. createtime:
  12118. description: 时间(yyyy-mm-dd)
  12119. type: string
  12120. score:
  12121. description: 积分
  12122. type: number
  12123. type: object
  12124. models.MySellOrder:
  12125. properties:
  12126. accountid:
  12127. description: 资金账号
  12128. type: integer
  12129. applyid:
  12130. description: 申请单ID
  12131. type: integer
  12132. attachment1:
  12133. description: 附件1
  12134. type: string
  12135. attachment2:
  12136. description: 附件2
  12137. type: string
  12138. buyorsell:
  12139. description: 买卖 - 0:买 1:卖
  12140. type: integer
  12141. canbargain:
  12142. description: 是否可议价 - 0:不可 1:可
  12143. type: integer
  12144. cancelqty:
  12145. description: 撤销数量
  12146. type: integer
  12147. canceltime:
  12148. description: 撤销时间
  12149. type: string
  12150. cerno:
  12151. type: string
  12152. chargealgorithm:
  12153. description: 手续费收取方式 1:比率 2:固定
  12154. type: integer
  12155. chargealgorithmvalue:
  12156. description: 手续费设置值(交易所部分)
  12157. type: number
  12158. chargealgorithmvalue2:
  12159. description: 手续费设置值(会员部分)
  12160. type: number
  12161. clientordertime:
  12162. description: 客户端委托时间
  12163. type: string
  12164. cpcertno:
  12165. type: string
  12166. exchangerate:
  12167. description: 汇率[67]
  12168. type: number
  12169. firstratio:
  12170. description: 首付比率 - [挂牌时指定,摘牌时使用]
  12171. type: number
  12172. fixedprice:
  12173. description: '[克拉单价]固定价格 - [挂牌]'
  12174. type: number
  12175. freezecharge:
  12176. description: 冻结手续费
  12177. type: number
  12178. freezefirstamount:
  12179. description: 冻结首付金额 - [摘牌]
  12180. type: number
  12181. freezemargin:
  12182. description: 冻结保证金
  12183. type: number
  12184. goodsno:
  12185. description: 商品编号
  12186. type: string
  12187. imagepath:
  12188. type: string
  12189. isspecified:
  12190. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  12191. type: integer
  12192. kppath:
  12193. type: string
  12194. kpweight:
  12195. type: string
  12196. marginalgorithm:
  12197. description: 保证金方式 - 1:比率 2:固定
  12198. type: integer
  12199. marginvalue:
  12200. description: 保证金设置值
  12201. type: number
  12202. marketid:
  12203. description: 市场ID
  12204. type: integer
  12205. marketprice:
  12206. type: string
  12207. orderamount:
  12208. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  12209. type: number
  12210. ordertime:
  12211. description: 委托时间
  12212. type: string
  12213. performancetemplateid:
  12214. description: 履约计划模板ID
  12215. type: integer
  12216. price:
  12217. description: 价格
  12218. type: number
  12219. pricefactor:
  12220. description: 价格系数(浮动价时填写) - [挂牌]
  12221. type: number
  12222. pricemove:
  12223. description: 升贴水(浮动价时填写) - [挂牌]
  12224. type: number
  12225. priceper:
  12226. type: string
  12227. relatedwrtradeorderid:
  12228. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  12229. type: integer
  12230. remark:
  12231. type: string
  12232. retcode:
  12233. description: 错误代码
  12234. type: integer
  12235. selledqty:
  12236. description: 成交重量
  12237. type: number
  12238. settingmaterial:
  12239. type: string
  12240. size1:
  12241. type: string
  12242. size2:
  12243. type: string
  12244. size3:
  12245. type: string
  12246. sizedisplay:
  12247. description: 尺寸
  12248. type: string
  12249. stonedesc:
  12250. type: string
  12251. totalqty:
  12252. description: 总重量
  12253. type: number
  12254. tradedate:
  12255. description: 交易日(yyyyMMdd)
  12256. type: string
  12257. tradeprice:
  12258. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  12259. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  12260. type: number
  12261. unfreezecharge:
  12262. description: 解冻手续费
  12263. type: number
  12264. unfreezefirstamount:
  12265. description: 解冻首付金额 - [摘牌]
  12266. type: number
  12267. unfreezemargin:
  12268. description: 解冻保证金
  12269. type: number
  12270. userid:
  12271. description: 用户ID
  12272. type: integer
  12273. uuid:
  12274. description: 发起端唯一id
  12275. type: string
  12276. validtime:
  12277. description: 有效期限
  12278. type: string
  12279. validtype:
  12280. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  12281. type: integer
  12282. warehousenamedisplay:
  12283. type: string
  12284. wrbargainid:
  12285. description: 议价申请单ID
  12286. type: integer
  12287. wrfactortypeid:
  12288. description: 仓单要素类型ID/商品ID(77)
  12289. type: integer
  12290. wrpath:
  12291. type: string
  12292. wrpricetype:
  12293. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  12294. type: integer
  12295. wrstandardid:
  12296. description: 现货商品ID
  12297. type: integer
  12298. wrtradeorderid:
  12299. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12300. type: string
  12301. wrtradeorderstatus:
  12302. 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:撤单解冻贷款失败
  12303. type: integer
  12304. wrtradetype:
  12305. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  12306. type: integer
  12307. wrtransferuserid:
  12308. description: 仓单受让用户 - [摘牌]
  12309. type: integer
  12310. zscategory:
  12311. description: 钻石分类 - 枚举”ZSCategory“
  12312. type: integer
  12313. zscategorydisplay:
  12314. description: 钻石分类 - 描述
  12315. type: string
  12316. zscerttypedisplay:
  12317. type: string
  12318. zsclaritytype1display:
  12319. type: string
  12320. zsclaritytype2display:
  12321. type: string
  12322. zscolortype1display:
  12323. type: string
  12324. zscolortype2display:
  12325. type: string
  12326. zscrystaltype:
  12327. type: string
  12328. zscrystaltypedisplay:
  12329. type: string
  12330. zscurrencytype:
  12331. description: 货币类型 - 枚举“ZSCurrencyType”
  12332. type: integer
  12333. zscurrencytypedisplay:
  12334. type: string
  12335. zscurrencytypedisplayunit:
  12336. type: string
  12337. zscuttype1display:
  12338. type: string
  12339. zscuttype2display:
  12340. type: string
  12341. zsczcolor1typedisplay:
  12342. type: string
  12343. zsczcolor2typedisplay:
  12344. type: string
  12345. zsczcolor3typedisplay:
  12346. type: string
  12347. zsfluorescencetype1display:
  12348. type: string
  12349. zsfluorescencetype2display:
  12350. type: string
  12351. zspolishtype1display:
  12352. type: string
  12353. zspolishtype2display:
  12354. type: string
  12355. zsshapetypedisplay:
  12356. type: string
  12357. zsstyletypedisplay:
  12358. type: string
  12359. zssymmetrytype1display:
  12360. type: string
  12361. zssymmetrytype2display:
  12362. type: string
  12363. required:
  12364. - userid
  12365. type: object
  12366. models.MyWRPosition:
  12367. properties:
  12368. cerno:
  12369. description: 证书编号 - 类型:2,4,5
  12370. type: string
  12371. cpcertno:
  12372. description: 金伯利证书编号 - 类型:3
  12373. type: string
  12374. ffreezeqty:
  12375. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  12376. type: number
  12377. ftotalqty:
  12378. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  12379. type: number
  12380. goodsno:
  12381. description: 商品编号
  12382. type: string
  12383. imagepath:
  12384. description: 商品照片(相对地址)
  12385. type: string
  12386. isvalid:
  12387. description: 是否有效 - 0:无效 1:有效
  12388. type: integer
  12389. kppath:
  12390. description: 金伯利证书图片(相对地址) - 类型:3
  12391. type: string
  12392. kpweight:
  12393. description: 金伯利证书重量 - 类型:3
  12394. type: string
  12395. ladingbillid:
  12396. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  12397. type: string
  12398. marketflag:
  12399. description: 是否上架,0-全部 1-是 2-否
  12400. type: integer
  12401. marketprice:
  12402. description: 市场价
  12403. type: string
  12404. origin:
  12405. description: 原产地 - 类型:3
  12406. type: string
  12407. price:
  12408. description: 总价(价格) - 类型:1,2,3,4,5
  12409. type: number
  12410. priceper:
  12411. description: 克拉单价 - 类型:1,2,3,5
  12412. type: string
  12413. remark:
  12414. description: 备注
  12415. type: string
  12416. sellmobile:
  12417. description: 手机号码(加密存储)
  12418. type: string
  12419. sellusername:
  12420. description: 账户名称(机构名称)
  12421. type: string
  12422. settingmaterial:
  12423. description: 镶嵌材料 - 类型:4
  12424. type: string
  12425. size1:
  12426. description: 尺寸1 - 类型:2,4,5
  12427. type: string
  12428. size2:
  12429. description: 尺寸2 - 类型:2,4,5
  12430. type: string
  12431. size3:
  12432. description: 尺寸3 - 类型:2,4,5
  12433. type: string
  12434. sizedisplay:
  12435. description: 尺寸
  12436. type: string
  12437. stonedesc:
  12438. description: 配石描述 - 类型:4
  12439. type: string
  12440. subnum:
  12441. description: 提单子单号
  12442. type: integer
  12443. userid:
  12444. description: 用户ID
  12445. type: integer
  12446. warehouseid:
  12447. description: 仓库ID
  12448. type: integer
  12449. warehousenamedisplay:
  12450. type: string
  12451. weight:
  12452. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  12453. type: number
  12454. weightavg:
  12455. description: 平均单颗重量 - 类型:1,3
  12456. type: number
  12457. wrpath:
  12458. description: 仓单扫描件(相对地址)
  12459. type: string
  12460. wrstandardid:
  12461. description: 现货商品ID
  12462. type: integer
  12463. wrtradeorderid:
  12464. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  12465. type: string
  12466. wruserid:
  12467. description: 登录用户ID
  12468. type: integer
  12469. zscategory:
  12470. description: 钻石分类 - 枚举”ZSCategory“
  12471. type: integer
  12472. zscategorydisplay:
  12473. type: string
  12474. zscerttype:
  12475. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  12476. type: integer
  12477. zscerttypedisplay:
  12478. type: string
  12479. zsclaritytype1:
  12480. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  12481. type: integer
  12482. zsclaritytype1display:
  12483. type: string
  12484. zsclaritytype2:
  12485. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  12486. type: integer
  12487. zsclaritytype2display:
  12488. type: string
  12489. zscolortype1:
  12490. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  12491. type: integer
  12492. zscolortype1display:
  12493. type: string
  12494. zscolortype2:
  12495. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  12496. type: integer
  12497. zscolortype2display:
  12498. type: string
  12499. zscrystaltype:
  12500. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  12501. type: string
  12502. zscrystaltypedisplay:
  12503. type: string
  12504. zscurrencytype:
  12505. description: 货币类型 - 枚举“ZSCurrencyType”
  12506. type: integer
  12507. zscurrencytypedisplay:
  12508. type: string
  12509. zscurrencytypedisplayunit:
  12510. type: string
  12511. zscuttype1:
  12512. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  12513. type: integer
  12514. zscuttype1display:
  12515. type: string
  12516. zscuttype2:
  12517. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  12518. type: integer
  12519. zscuttype2display:
  12520. type: string
  12521. zsczcolor1type:
  12522. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  12523. type: integer
  12524. zsczcolor1typedisplay:
  12525. type: string
  12526. zsczcolor2type:
  12527. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  12528. type: integer
  12529. zsczcolor2typedisplay:
  12530. type: string
  12531. zsczcolor3type:
  12532. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  12533. type: integer
  12534. zsczcolor3typedisplay:
  12535. type: string
  12536. zsfluorescencetype1:
  12537. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  12538. type: integer
  12539. zsfluorescencetype1display:
  12540. type: string
  12541. zsfluorescencetype2:
  12542. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  12543. type: integer
  12544. zsfluorescencetype2display:
  12545. type: string
  12546. zspolishtype1:
  12547. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  12548. type: integer
  12549. zspolishtype1display:
  12550. type: string
  12551. zspolishtype2:
  12552. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  12553. type: integer
  12554. zspolishtype2display:
  12555. type: string
  12556. zsshapetype:
  12557. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  12558. type: string
  12559. zsshapetypedisplay:
  12560. type: string
  12561. zsstyletype:
  12562. description: 款式 - 类型:4
  12563. type: integer
  12564. zsstyletypedisplay:
  12565. type: string
  12566. zssymmetrytype1:
  12567. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  12568. type: integer
  12569. zssymmetrytype1display:
  12570. type: string
  12571. zssymmetrytype2:
  12572. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  12573. type: integer
  12574. zssymmetrytype2display:
  12575. type: string
  12576. required:
  12577. - wruserid
  12578. type: object
  12579. models.NewFuncmenulist:
  12580. properties:
  12581. authtype:
  12582. description: 权限类型 - 1:菜单 2:组件 3:按钮
  12583. type: integer
  12584. buttonname:
  12585. description: 按钮名称
  12586. type: string
  12587. buttontype:
  12588. description: 按钮类型 - 存按钮样式
  12589. type: string
  12590. component:
  12591. description: 组件名或组件地址
  12592. type: string
  12593. hidden:
  12594. description: 是否隐藏 - 0:显示 1:隐藏
  12595. type: integer
  12596. iconame:
  12597. description: 菜单图标
  12598. type: string
  12599. menutype:
  12600. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  12601. type: integer
  12602. parentcode:
  12603. description: 上级资源代码
  12604. type: string
  12605. remark:
  12606. description: Remark
  12607. type: string
  12608. resourcecode:
  12609. description: 资源代码
  12610. type: string
  12611. resourcelevel:
  12612. description: 级别1-一级 2-二级 3-三级4-四级
  12613. type: integer
  12614. resourcename:
  12615. description: 资源名(Title)
  12616. type: string
  12617. sort:
  12618. description: 排序
  12619. type: integer
  12620. url:
  12621. description: Url
  12622. type: string
  12623. urltype:
  12624. description: 地址类型 - 1:路由 2:外链 3:内联框架
  12625. type: integer
  12626. required:
  12627. - resourcecode
  12628. type: object
  12629. models.OperationPrimaryMenu:
  12630. properties:
  12631. Children:
  12632. description: 二级功能菜单
  12633. items:
  12634. $ref: '#/definitions/models.OperationSecondaryMenu'
  12635. type: array
  12636. Key:
  12637. description: 菜单KEY
  12638. type: string
  12639. Label:
  12640. description: 菜单标题
  12641. type: string
  12642. type: object
  12643. models.OperationSecondaryMenu:
  12644. properties:
  12645. Key:
  12646. description: 菜单KEY
  12647. type: string
  12648. Label:
  12649. description: 菜单标题
  12650. type: string
  12651. TabList:
  12652. description: 三级功能菜单
  12653. items:
  12654. $ref: '#/definitions/models.OperationTabMenu'
  12655. type: array
  12656. type: object
  12657. models.OperationTabMenu:
  12658. properties:
  12659. Key:
  12660. description: 菜单KEY
  12661. type: string
  12662. Label:
  12663. description: 菜单标题
  12664. type: string
  12665. type: object
  12666. models.Patradelinkdetail:
  12667. properties:
  12668. accountname:
  12669. description: 套期主体
  12670. type: string
  12671. agreeunit:
  12672. description: 合约乘数
  12673. type: number
  12674. amount:
  12675. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  12676. type: number
  12677. areauserid:
  12678. description: 所属机构
  12679. type: integer
  12680. bizsubjectid:
  12681. description: 归属业务部门ID - SubjectID
  12682. type: integer
  12683. buyorsell:
  12684. description: 方向 - 0:买 1:卖
  12685. type: integer
  12686. convertratio:
  12687. description: 品种系数
  12688. type: number
  12689. convertratiochange:
  12690. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  12691. type: number
  12692. createtime:
  12693. description: '[日期时间]创建时间'
  12694. type: string
  12695. creatorid:
  12696. description: 创建人ID
  12697. type: integer
  12698. creatorsrc:
  12699. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12700. type: integer
  12701. goodscode:
  12702. description: 商品代码(内部)
  12703. type: string
  12704. goodsgroupid:
  12705. description: 对冲品种ID[期货合约商品组ID]
  12706. type: integer
  12707. goodsid:
  12708. description: 商品ID
  12709. type: integer
  12710. hedgeditemid:
  12711. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12712. type: integer
  12713. hedgeflag:
  12714. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12715. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12716. type: integer
  12717. linkdetailid:
  12718. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12719. type: string
  12720. linkstatus:
  12721. description: 关联状态 - 1:成功 2:失败 3:解绑
  12722. type: integer
  12723. middlegoodsid:
  12724. description: 套保品种ID
  12725. type: integer
  12726. name:
  12727. description: 账户名/子账户
  12728. type: string
  12729. optioncode:
  12730. description: '[期货合约]期权代码 [期权]'
  12731. type: string
  12732. ordertype:
  12733. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  12734. type: integer
  12735. relatedlot:
  12736. description: '[数量]关联手数'
  12737. type: number
  12738. relatedmode:
  12739. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12740. type: integer
  12741. relatedqty:
  12742. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12743. type: number
  12744. retcode:
  12745. description: 返回码
  12746. type: integer
  12747. saleuserid:
  12748. description: 业务员ID
  12749. type: integer
  12750. tradedate:
  12751. description: 关联交易日(yyyyMMdd)
  12752. type: string
  12753. tradeid:
  12754. description: '[成交单号]内部成交单ID'
  12755. type: string
  12756. tradelot:
  12757. description: 成交手数
  12758. type: integer
  12759. tradeprice:
  12760. description: '[价格]成交价格'
  12761. type: number
  12762. tradetradedate:
  12763. description: 成交交易日(yyyyMMdd)
  12764. type: string
  12765. type: object
  12766. models.QhjAccountOutInApply:
  12767. properties:
  12768. accountcode:
  12769. description: 资金账号
  12770. type: string
  12771. accountname:
  12772. description: 用户名称(名称)
  12773. type: string
  12774. accountpwd:
  12775. description: 资金密码
  12776. type: string
  12777. accountticket:
  12778. description: 最新账户服务流水号
  12779. type: string
  12780. amount:
  12781. description: 金额
  12782. type: number
  12783. applyremark:
  12784. description: 申请备注
  12785. type: string
  12786. applystatus:
  12787. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  12788. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  12789. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  12790. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  12791. type: integer
  12792. auditid:
  12793. description: 审核人
  12794. type: integer
  12795. audittime:
  12796. description: 审核时间
  12797. type: string
  12798. bank_apply_ticket:
  12799. description: 银行申请流水
  12800. type: string
  12801. bankaccountname:
  12802. description: 银行账户名
  12803. type: string
  12804. bankaccountno:
  12805. description: 银行卡号
  12806. type: string
  12807. bankid:
  12808. description: 银行编号
  12809. type: string
  12810. bankticket:
  12811. description: 银行流水
  12812. type: string
  12813. branchbankid:
  12814. description: 银行支行号
  12815. type: string
  12816. branchbankname:
  12817. description: 银行支行名称
  12818. type: string
  12819. capamountout:
  12820. description: 出金(劣后本金) - 外部子账户
  12821. type: number
  12822. certificatephotourl:
  12823. description: 凭证地址
  12824. type: string
  12825. charge:
  12826. description: 手续费
  12827. type: number
  12828. checkerrorflag:
  12829. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  12830. type: integer
  12831. currency:
  12832. description: 币种
  12833. type: string
  12834. cusbankid:
  12835. description: 托管银行编号
  12836. type: string
  12837. cusbankname:
  12838. description: 托管银行名称
  12839. type: string
  12840. cusbankshortname:
  12841. description: 托管银行简称
  12842. type: string
  12843. exchticket:
  12844. description: 银行服务流水号
  12845. type: string
  12846. executetype:
  12847. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  12848. 7:外部子账户:入金 8:外部子账户:出金'
  12849. type: integer
  12850. extendinfo:
  12851. description: 扩展信息
  12852. type: string
  12853. extoperateid:
  12854. description: 交易服务流水号
  12855. type: integer
  12856. infamount:
  12857. description: 劣后金额(自有)
  12858. type: number
  12859. logincode:
  12860. description: 登录账号(账号)
  12861. type: string
  12862. netaddr:
  12863. description: 调转网址
  12864. type: string
  12865. priamount:
  12866. description: 优先金额(授信)
  12867. type: number
  12868. reauditid:
  12869. description: 复审人
  12870. type: integer
  12871. reauditremark:
  12872. description: 复审备注
  12873. type: string
  12874. reaudittime:
  12875. description: 复审时间
  12876. type: string
  12877. relatedorderid:
  12878. description: 三方关联ID
  12879. type: string
  12880. remark:
  12881. description: 备注
  12882. type: string
  12883. remark2:
  12884. description: 备注(失败原因)
  12885. type: string
  12886. soucreamount:
  12887. description: 原始出入金金额
  12888. type: number
  12889. soucrecurrencyid:
  12890. description: 原始出入金币种
  12891. type: integer
  12892. tradedate:
  12893. description: 交易日(yyyyMMdd)
  12894. type: string
  12895. updatetime:
  12896. description: 更新时间(申请时间)
  12897. type: string
  12898. userid:
  12899. description: 用户id
  12900. type: integer
  12901. userinfotype:
  12902. description: 账户类型 1-个人 2-企业
  12903. type: integer
  12904. type: object
  12905. models.QhjAgreementChangeLog:
  12906. properties:
  12907. agreementcontent:
  12908. description: 协议内容
  12909. type: string
  12910. agreementfrequency:
  12911. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12912. type: integer
  12913. agreementid:
  12914. description: 协议ID
  12915. type: integer
  12916. agreementname:
  12917. description: 协议名称
  12918. type: string
  12919. agreementno:
  12920. description: 协议编号
  12921. type: string
  12922. agreementtype:
  12923. description: 协议类型 - 1:注册 2:登录 3:交易
  12924. type: integer
  12925. agreementversion:
  12926. description: 协议版本号
  12927. type: integer
  12928. logid:
  12929. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  12930. type: integer
  12931. reviserid:
  12932. description: 修改人
  12933. type: integer
  12934. revisersrc:
  12935. description: 修改来源 - 1:管理端 2:终端
  12936. type: integer
  12937. updatetime:
  12938. description: 更新时间
  12939. type: string
  12940. type: object
  12941. models.QhjAgreementConfig:
  12942. properties:
  12943. agreementcontent:
  12944. description: 协议内容
  12945. type: string
  12946. agreementfrequency:
  12947. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  12948. type: integer
  12949. agreementid:
  12950. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  12951. type: integer
  12952. agreementname:
  12953. description: 协议名称
  12954. type: string
  12955. agreementno:
  12956. description: 协议编号
  12957. type: string
  12958. agreementtype:
  12959. description: 协议类型 - 1:注册 2:登录 3:交易
  12960. type: integer
  12961. agreementversion:
  12962. description: 协议版本号(从1开始每次修改加1)
  12963. type: integer
  12964. createtime:
  12965. description: 创建时间
  12966. type: string
  12967. creatorid:
  12968. description: 创建人
  12969. type: integer
  12970. creatorsrc:
  12971. description: 创建来源 - 1:管理端 2:终端
  12972. type: integer
  12973. isvalid:
  12974. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  12975. type: integer
  12976. reviserid:
  12977. description: 修改人
  12978. type: integer
  12979. revisersrc:
  12980. description: 修改来源 - 1:管理端 2:终端
  12981. type: integer
  12982. updatetime:
  12983. description: 更新时间
  12984. type: string
  12985. type: object
  12986. models.QhjAreaFinanceConfig:
  12987. properties:
  12988. additionalratio:
  12989. description: 追加款比例
  12990. type: number
  12991. advanceratio:
  12992. description: 预付款比例
  12993. type: number
  12994. alarmratio:
  12995. description: 告警比例
  12996. type: number
  12997. consumptiondirectreward:
  12998. description: 消费直推奖励值
  12999. type: number
  13000. consumptionenabled:
  13001. description: 是否启用消费奖励 - 0:不启用 1:启用
  13002. type: integer
  13003. consumptionindirectreward:
  13004. description: 消费间推奖励值
  13005. type: number
  13006. consumptionmodel:
  13007. description: 消费奖励方式 - 1:比率 2:固定
  13008. type: integer
  13009. customerservicenum:
  13010. description: 客服电话
  13011. type: string
  13012. dayinterestrate:
  13013. description: 日利率
  13014. type: number
  13015. disableconsumptiontips:
  13016. description: 关闭消费奖励提示
  13017. type: string
  13018. modifierid:
  13019. description: 修改人ID
  13020. type: integer
  13021. modifysrc:
  13022. description: 审核来源 - 1:管理端 2:终端
  13023. type: integer
  13024. modifytime:
  13025. description: 修改时间
  13026. type: string
  13027. promotionvalue:
  13028. description: 推广奖励值(固定)
  13029. type: number
  13030. scoreconfigvalue1:
  13031. description: 提货积分配置1
  13032. type: integer
  13033. scoreconfigvalue2:
  13034. description: 提货积分配置2
  13035. type: integer
  13036. userid:
  13037. description: 机构用户ID其他做市关系,都设置为 1
  13038. type: integer
  13039. username:
  13040. description: 用户名称
  13041. type: string
  13042. type: object
  13043. models.QhjBankAccountSign:
  13044. properties:
  13045. accountcode:
  13046. description: 资金账号
  13047. type: string
  13048. accountname:
  13049. description: 资金账号对应的账号名(UserName)
  13050. type: string
  13051. accountname2:
  13052. description: 资金账号对应的账号名(UserName) - 密文
  13053. type: string
  13054. accounttype:
  13055. description: 账户类型(UserType)
  13056. type: integer
  13057. applicationtime:
  13058. description: 最后一次更新的时间
  13059. type: string
  13060. applyexchticket:
  13061. description: 申请流水
  13062. type: string
  13063. auditid:
  13064. description: 审核人
  13065. type: integer
  13066. audittime:
  13067. description: 审核时间
  13068. type: string
  13069. bankaccountname:
  13070. description: 签约银行卡账号名
  13071. type: string
  13072. bankaccountname2:
  13073. description: 签约银行卡账号名 - 密文
  13074. type: string
  13075. bankaccountno:
  13076. description: 银行卡号
  13077. type: string
  13078. bankaccountno2:
  13079. description: 银行卡号 - 密文
  13080. type: string
  13081. bankaccounttype:
  13082. description: 银行账户类型 - 1-对私; 2-对公
  13083. type: integer
  13084. bankcardtype:
  13085. description: 银行卡类型
  13086. type: integer
  13087. bankchildaccount:
  13088. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  13089. type: string
  13090. bankcity:
  13091. description: 开户行城市
  13092. type: string
  13093. bankid:
  13094. description: 签约银行ID
  13095. type: string
  13096. bankname:
  13097. description: 签约银行名称
  13098. type: string
  13099. bankprovince:
  13100. description: 开户行省份
  13101. type: string
  13102. branchbankid:
  13103. description: 签约银行支行号
  13104. type: string
  13105. branchbankname:
  13106. description: 签约银行支行名称
  13107. type: string
  13108. cardno:
  13109. description: 证件号码
  13110. type: string
  13111. cardno2:
  13112. description: 证件号码 - 密文
  13113. type: string
  13114. cardtype:
  13115. description: 证件类型
  13116. type: string
  13117. currency:
  13118. description: 币种
  13119. type: string
  13120. cusbankid:
  13121. description: 托管银行编号
  13122. type: string
  13123. direct:
  13124. description: 方向(可以判断那方先发起的签约)
  13125. type: integer
  13126. exchticket:
  13127. description: 最后一次签约成功的流水号
  13128. type: string
  13129. extendinfo:
  13130. description: 扩展信息(JSON字符串)
  13131. type: string
  13132. mobilephone:
  13133. description: 手机号
  13134. type: string
  13135. mobilephone2:
  13136. description: 手机号 - 密文
  13137. type: string
  13138. netaddr:
  13139. description: 调转网址
  13140. type: string
  13141. relateduserid:
  13142. description: 关联使用者userid
  13143. type: integer
  13144. signstatus:
  13145. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13146. 10:审核拒绝 11:换签待审核
  13147. type: integer
  13148. updatetime:
  13149. description: 更新时间(签解约更新时间)
  13150. type: string
  13151. type: object
  13152. models.QhjBankInfo:
  13153. properties:
  13154. bankid:
  13155. description: 银行ID
  13156. type: string
  13157. bankname:
  13158. description: 银行名称
  13159. type: string
  13160. clearbankno:
  13161. description: 清算系统银行编号
  13162. type: string
  13163. orderindex:
  13164. description: 排序顺序
  13165. type: integer
  13166. status:
  13167. description: 状态 - 0:正常 1:注销
  13168. type: integer
  13169. type: object
  13170. models.QhjBrokerApply:
  13171. properties:
  13172. applicantid:
  13173. description: 申请人
  13174. type: integer
  13175. applysrc:
  13176. description: 申请来源 - 1:管理端 2:终端
  13177. type: integer
  13178. applystatus:
  13179. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13180. type: integer
  13181. applytime:
  13182. description: 申请时间
  13183. type: string
  13184. auditorid:
  13185. description: 审核人
  13186. type: integer
  13187. auditremark:
  13188. description: 审核备注
  13189. type: string
  13190. auditsrc:
  13191. description: 审核来源 - 1:管理端 2:终端
  13192. type: integer
  13193. audittime:
  13194. description: 审核时间
  13195. type: string
  13196. audittradedate:
  13197. description: 审核交易日(yyyyMMdd)
  13198. type: string
  13199. brokerapplyid:
  13200. description: 申请ID(SEQ_BROKERAPPLY)
  13201. type: integer
  13202. cardbackphotourl:
  13203. description: 证件背面图片地址
  13204. type: string
  13205. cardfrontphotourl:
  13206. description: 证件正面图片地址
  13207. type: string
  13208. cardnum:
  13209. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13210. type: string
  13211. customername:
  13212. description: 姓名
  13213. type: string
  13214. logincode:
  13215. description: 登录代码
  13216. type: string
  13217. mobile:
  13218. description: 手机号码
  13219. type: string
  13220. parentuserid:
  13221. description: 所属机构id
  13222. type: integer
  13223. parentusername:
  13224. description: 所属机构名称
  13225. type: string
  13226. refereeuserid:
  13227. description: 推荐人id(经纪人)
  13228. type: integer
  13229. refernum:
  13230. description: 推荐码
  13231. type: string
  13232. remark:
  13233. description: 备注
  13234. type: string
  13235. subarealevelpath:
  13236. description: 层级路径
  13237. type: string
  13238. tradedate:
  13239. description: 交易日(yyyyMMdd)
  13240. type: string
  13241. userid:
  13242. description: 申请人用户ID
  13243. type: integer
  13244. userinfotype:
  13245. description: 用户类型 1-个人 2-企业
  13246. type: integer
  13247. username:
  13248. description: 用户名称
  13249. type: string
  13250. type: object
  13251. models.QhjBrokerApplyEx:
  13252. properties:
  13253. applylist:
  13254. description: 经纪人申请记录(只返回最新一条)
  13255. items:
  13256. $ref: '#/definitions/models.QhjBrokerApply'
  13257. type: array
  13258. canrecommend:
  13259. description: 是否经纪人 0-不是 1-是
  13260. type: integer
  13261. refernum:
  13262. description: 推荐码
  13263. type: string
  13264. userid:
  13265. description: 用户id
  13266. type: integer
  13267. userinfotype:
  13268. description: 用户类型 1-个人 2-企业
  13269. type: integer
  13270. type: object
  13271. models.QhjBrokerRewardLog:
  13272. properties:
  13273. accountid:
  13274. description: 资金账号ID
  13275. type: integer
  13276. createtime:
  13277. description: 创建时间(时间)
  13278. type: string
  13279. handlestatus:
  13280. description: 处理状态
  13281. type: integer
  13282. logid:
  13283. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13284. type: string
  13285. marketid:
  13286. description: 市场ID
  13287. type: integer
  13288. mmaccountid:
  13289. description: 做市商资金账号ID
  13290. type: string
  13291. mmuserid:
  13292. description: 做市商用户ID
  13293. type: string
  13294. rewardamount:
  13295. description: 奖励金额
  13296. type: number
  13297. rewardmodel:
  13298. description: 消费奖励方式 - 1:比率 2:固定
  13299. type: integer
  13300. rewardtype:
  13301. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  13302. type: integer
  13303. rewardvalue:
  13304. description: 配置奖励值
  13305. type: number
  13306. srcamount:
  13307. description: 成交金额 [消费奖励] (金额)
  13308. type: number
  13309. srcgoodsid:
  13310. description: 来源商品ID [消费奖励]
  13311. type: string
  13312. srctime:
  13313. description: 来源时间 (成交时间) [消费奖励]
  13314. type: string
  13315. srctradeid:
  13316. description: 来源成交单ID [消费奖励] - 排除提货成交
  13317. type: string
  13318. srcuserid:
  13319. description: 来源用户ID(推广账户)
  13320. type: string
  13321. srcusername:
  13322. description: 推广账户名称
  13323. type: string
  13324. tradedate:
  13325. description: 交易日(yyyyMMdd)
  13326. type: string
  13327. userid:
  13328. description: 经纪人用户ID
  13329. type: integer
  13330. type: object
  13331. models.QhjContract:
  13332. properties:
  13333. contractconfirmtime:
  13334. description: 合同确认时间(时间)
  13335. type: string
  13336. currisklevel:
  13337. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  13338. type: integer
  13339. decimalplace:
  13340. description: 商品报价小数位
  13341. type: integer
  13342. enumdicname:
  13343. description: 单位名称
  13344. type: string
  13345. goodscode:
  13346. description: 商品代码
  13347. type: string
  13348. goodsid:
  13349. description: 商品ID [5:融资单]
  13350. type: integer
  13351. goodsname:
  13352. description: 商品名称
  13353. type: string
  13354. goodunitid:
  13355. description: 商品单位id
  13356. type: integer
  13357. initmargin:
  13358. description: 初始保证金(首付款)
  13359. type: number
  13360. lenderamount:
  13361. description: 贷款金额(总额|订单总额)
  13362. type: number
  13363. marginratio:
  13364. description: 保证金比率(首付比例)
  13365. type: number
  13366. payamount:
  13367. description: 已付(已付货款)
  13368. type: number
  13369. reckonrecovermargin:
  13370. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  13371. type: number
  13372. recoveredmargin:
  13373. description: 已追缴保证金
  13374. type: number
  13375. remainamount:
  13376. description: 合同剩余金额(融资额)
  13377. type: number
  13378. scfcontractid:
  13379. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13380. type: string
  13381. scfcontractstatus:
  13382. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  13383. 9:违约结束 10:已注销 11:已关闭 99:未提交
  13384. type: integer
  13385. scfcontracttype:
  13386. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  13387. type: integer
  13388. totalinterest:
  13389. description: 已计总利息(利息)
  13390. type: number
  13391. tradeprice:
  13392. description: 成交价格(成本价格)
  13393. type: number
  13394. userid:
  13395. description: 用户ID
  13396. type: integer
  13397. username:
  13398. description: 用户名称
  13399. type: string
  13400. wrqty:
  13401. description: 仓单数量(数量)
  13402. type: number
  13403. type: object
  13404. models.QhjContractLog:
  13405. properties:
  13406. amount:
  13407. description: 支付金额
  13408. type: number
  13409. amounttype:
  13410. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  13411. type: integer
  13412. logid:
  13413. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13414. type: string
  13415. remainamount:
  13416. description: 剩余货款
  13417. type: number
  13418. scfcontractid:
  13419. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  13420. type: integer
  13421. updatetime:
  13422. description: 更新时间
  13423. type: string
  13424. type: object
  13425. models.QhjCusBankSignBankEx:
  13426. properties:
  13427. banklst:
  13428. description: 银行列表
  13429. items:
  13430. $ref: '#/definitions/models.QhjBankInfo'
  13431. type: array
  13432. canallot:
  13433. description: 是否支持跨行调拨 - 0:不支持 1:支持
  13434. type: integer
  13435. canallotquery:
  13436. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  13437. type: integer
  13438. canbindcard:
  13439. description: 是否可绑卡与解卡 - 0:不可 1:可以
  13440. type: integer
  13441. caninamount:
  13442. description: 是否可入金 - 0:不可 1:可以
  13443. type: integer
  13444. caninamount2:
  13445. description: 是否可入金(网银端) - 0:不可 1:可以
  13446. type: integer
  13447. canmodifybankcard:
  13448. description: 是否可修改银行卡号 - 0:不可 1:可以
  13449. type: integer
  13450. canmodifyphone:
  13451. description: 是否可修改手机号 - 0:不可 1:可以
  13452. type: integer
  13453. canmodifysigninfo:
  13454. description: 是否可修改签约信息 - 0:不可 1:可以
  13455. type: integer
  13456. canoutamount:
  13457. description: 是否可出金 - 0:不可 1:可以
  13458. type: integer
  13459. canoutamount2:
  13460. description: 是否可出金(网银端) - 0:不可 1:可以
  13461. type: integer
  13462. canrelease:
  13463. description: 是否可解约 - 0:不可 1:可以
  13464. type: integer
  13465. canrelease2:
  13466. description: 是否可解约(网银端) - 0:不可 1:可以
  13467. type: integer
  13468. cansign:
  13469. description: 是否可签约 - 0:不可 1:可以
  13470. type: integer
  13471. cansign2:
  13472. description: 是否可签约(网银端) - 0:不可 1:可以
  13473. type: integer
  13474. currency:
  13475. description: 币种
  13476. type: string
  13477. cusbankid:
  13478. description: 托管银行编号(对应清算中心TRAN_NO)
  13479. type: string
  13480. cusbankname:
  13481. description: 银行业务名称
  13482. type: string
  13483. cusbankshortname:
  13484. description: 银行业务简称
  13485. type: string
  13486. exchbankid:
  13487. description: 交易所开户银行ID
  13488. type: string
  13489. exchpaybankaccname:
  13490. description: 交易所支出结算账户户名
  13491. type: string
  13492. exchpaybankaccno:
  13493. description: 交易所支出结算账户
  13494. type: string
  13495. isneedcheck:
  13496. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  13497. type: integer
  13498. isneedclear:
  13499. description: 是否需要清算 - 0:不需要 1:需要
  13500. type: integer
  13501. lastcheckstatus:
  13502. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  13503. type: integer
  13504. lastchecktime:
  13505. description: 最后对账时间
  13506. type: string
  13507. lastclearstatus:
  13508. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  13509. type: integer
  13510. lastcleartime:
  13511. description: 最后清算时间
  13512. type: string
  13513. lastsignintime:
  13514. description: 最后签到时间
  13515. type: string
  13516. lastsignouttime:
  13517. description: 最后签退时间
  13518. type: string
  13519. riskinfo:
  13520. description: 签约风险提示书
  13521. type: string
  13522. signstatus:
  13523. description: 当前签到/签退状态 - 1:签到 2:签退
  13524. type: integer
  13525. tradedate:
  13526. description: 交易日(yyyyMMdd)
  13527. type: string
  13528. updatetime:
  13529. description: 当前签到/签退更新时间
  13530. type: string
  13531. type: object
  13532. models.QhjCustomer:
  13533. properties:
  13534. address:
  13535. description: 通讯地址
  13536. type: string
  13537. attachment1:
  13538. description: 附件1
  13539. type: string
  13540. attachment2:
  13541. description: 附件2
  13542. type: string
  13543. audittime:
  13544. description: 审核时间
  13545. type: string
  13546. cardbackphotourl:
  13547. description: 证件反面图片地址
  13548. type: string
  13549. cardfrontphotourl:
  13550. description: 证件正面图片地址
  13551. type: string
  13552. cardnum:
  13553. description: 证件号码
  13554. type: string
  13555. cardtype:
  13556. description: 证件类型
  13557. type: integer
  13558. cardtypename:
  13559. description: 证件类型名称
  13560. type: string
  13561. cityid:
  13562. description: 市
  13563. type: integer
  13564. cityname:
  13565. description: 城市名称
  13566. type: string
  13567. contactname:
  13568. description: 联系人
  13569. type: string
  13570. countryid:
  13571. description: 国家
  13572. type: integer
  13573. countryname:
  13574. description: 国家名称
  13575. type: string
  13576. createtime:
  13577. description: 创建时间
  13578. type: string
  13579. customername:
  13580. description: 客户名称
  13581. type: string
  13582. districtid:
  13583. description: 区域
  13584. type: integer
  13585. districtname:
  13586. description: 地区名称
  13587. type: string
  13588. email:
  13589. description: 邮件
  13590. type: string
  13591. legalpersonname:
  13592. description: 法人姓名(企业)
  13593. type: string
  13594. logincode:
  13595. description: 登录账号(代码)
  13596. type: string
  13597. memberuserid:
  13598. description: 所属机构ID(所属会员)
  13599. type: integer
  13600. memberusername:
  13601. description: 所属会员名称
  13602. type: string
  13603. mobile:
  13604. description: 手机号码
  13605. type: string
  13606. modifytime:
  13607. description: 修改时间
  13608. type: string
  13609. nickname:
  13610. description: 昵称
  13611. type: string
  13612. parentuserid:
  13613. description: 上级机构(所属机构)
  13614. type: integer
  13615. parentusername:
  13616. description: 所属机构名称
  13617. type: string
  13618. provinceid:
  13619. description: 省
  13620. type: integer
  13621. provincename:
  13622. description: 省名称
  13623. type: string
  13624. proxystatementurl:
  13625. description: 授权委托书
  13626. type: string
  13627. remark:
  13628. description: 备注
  13629. type: string
  13630. status:
  13631. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  13632. type: integer
  13633. statusdesc:
  13634. description: 账户状态中文描述
  13635. type: string
  13636. taxpayernum:
  13637. description: 纳税人识别号
  13638. type: string
  13639. telphone:
  13640. description: 联系电话
  13641. type: string
  13642. userid:
  13643. description: 用户ID
  13644. type: integer
  13645. userinfotype:
  13646. description: 客户类型 1-个人 2-企业
  13647. type: integer
  13648. username:
  13649. description: 用户名称
  13650. type: string
  13651. type: object
  13652. models.QhjCustomerSignLog:
  13653. properties:
  13654. agreementcontent:
  13655. description: 协议内容
  13656. type: string
  13657. agreementid:
  13658. description: 协议ID
  13659. type: integer
  13660. agreementname:
  13661. description: 协议名称
  13662. type: string
  13663. agreementno:
  13664. description: 协议编号
  13665. type: string
  13666. agreementtype:
  13667. description: 协议类型 - 1:注册 2:登录 3:交易
  13668. type: integer
  13669. agreementversion:
  13670. description: 协议版本号
  13671. type: integer
  13672. createtime:
  13673. description: 创建时间
  13674. type: string
  13675. goodscode:
  13676. description: 商品代码
  13677. type: string
  13678. goodsid:
  13679. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13680. type: integer
  13681. goodsname:
  13682. description: 商品名称
  13683. type: string
  13684. logid:
  13685. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  13686. type: integer
  13687. nodetype:
  13688. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13689. type: integer
  13690. signadressurl:
  13691. description: 签约文件地址
  13692. type: string
  13693. signtimestamp:
  13694. description: 签约状态时间戳
  13695. type: string
  13696. userid:
  13697. description: 客户ID
  13698. type: integer
  13699. username:
  13700. description: 客户名称
  13701. type: string
  13702. type: object
  13703. models.QhjCustomerSignStatus:
  13704. properties:
  13705. createtime:
  13706. description: 创建时间
  13707. type: string
  13708. goodscode:
  13709. description: 商品代码
  13710. type: string
  13711. goodsid:
  13712. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13713. type: integer
  13714. goodsname:
  13715. description: 商品名称
  13716. type: string
  13717. nodetype:
  13718. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  13719. type: integer
  13720. signtimestamp:
  13721. description: 签约状态时间戳
  13722. type: string
  13723. tradedate:
  13724. description: 创建交易日(yyyyMMdd)
  13725. type: string
  13726. updatetime:
  13727. description: 更新时间
  13728. type: string
  13729. userid:
  13730. description: 客户ID
  13731. type: integer
  13732. username:
  13733. description: 客户名称
  13734. type: string
  13735. type: object
  13736. models.QhjMgrAccountOutInApply:
  13737. properties:
  13738. accountcode:
  13739. description: 资金账号
  13740. type: string
  13741. accountname:
  13742. description: 用户名称(名称)
  13743. type: string
  13744. accountpwd:
  13745. description: 资金密码
  13746. type: string
  13747. accountticket:
  13748. description: 最新账户服务流水号
  13749. type: string
  13750. amount:
  13751. description: 金额
  13752. type: number
  13753. applyremark:
  13754. description: 申请备注
  13755. type: string
  13756. applystatus:
  13757. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  13758. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  13759. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  13760. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  13761. type: integer
  13762. auditid:
  13763. description: 审核人
  13764. type: integer
  13765. audittime:
  13766. description: 审核时间
  13767. type: string
  13768. bank_apply_ticket:
  13769. description: 银行申请流水
  13770. type: string
  13771. bankaccountname:
  13772. description: 银行账户名
  13773. type: string
  13774. bankaccountno:
  13775. description: 银行卡号
  13776. type: string
  13777. bankid:
  13778. description: 银行编号
  13779. type: string
  13780. bankname:
  13781. description: 银行名称
  13782. type: string
  13783. bankticket:
  13784. description: 银行流水
  13785. type: string
  13786. branchbankid:
  13787. description: 银行支行号
  13788. type: string
  13789. branchbankname:
  13790. description: 银行支行名称
  13791. type: string
  13792. capamountout:
  13793. description: 出金(劣后本金) - 外部子账户
  13794. type: number
  13795. certificatephotourl:
  13796. description: 凭证地址
  13797. type: string
  13798. charge:
  13799. description: 手续费
  13800. type: number
  13801. checkerrorflag:
  13802. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  13803. type: integer
  13804. currency:
  13805. description: 币种
  13806. type: string
  13807. cusbankid:
  13808. description: 托管银行编号
  13809. type: string
  13810. exchticket:
  13811. description: 银行服务流水号
  13812. type: string
  13813. executetype:
  13814. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  13815. 7:外部子账户:入金 8:外部子账户:出金'
  13816. type: integer
  13817. extendinfo:
  13818. description: 扩展信息
  13819. type: string
  13820. extoperateid:
  13821. description: 交易服务流水号
  13822. type: integer
  13823. infamount:
  13824. description: 劣后金额(自有)
  13825. type: number
  13826. logincode:
  13827. description: 登录账号(账号)
  13828. type: string
  13829. netaddr:
  13830. description: 调转网址
  13831. type: string
  13832. priamount:
  13833. description: 优先金额(授信)
  13834. type: number
  13835. reauditid:
  13836. description: 复审人
  13837. type: integer
  13838. reauditremark:
  13839. description: 复审备注
  13840. type: string
  13841. reaudittime:
  13842. description: 复审时间
  13843. type: string
  13844. relatedorderid:
  13845. description: 三方关联ID
  13846. type: string
  13847. remark:
  13848. description: 备注
  13849. type: string
  13850. remark2:
  13851. description: 备注(失败原因)
  13852. type: string
  13853. soucreamount:
  13854. description: 原始出入金金额
  13855. type: number
  13856. soucrecurrencyid:
  13857. description: 原始出入金币种
  13858. type: integer
  13859. tradedate:
  13860. description: 交易日(yyyyMMdd)
  13861. type: string
  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. type: object
  13872. models.QhjMgrBrokerApply:
  13873. properties:
  13874. applicantid:
  13875. description: 申请人
  13876. type: integer
  13877. applysrc:
  13878. description: 申请来源 - 1:管理端 2:终端
  13879. type: integer
  13880. applystatus:
  13881. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13882. type: integer
  13883. applytime:
  13884. description: 申请时间
  13885. type: string
  13886. auditorid:
  13887. description: 审核人
  13888. type: integer
  13889. auditremark:
  13890. description: 审核备注
  13891. type: string
  13892. auditsrc:
  13893. description: 审核来源 - 1:管理端 2:终端
  13894. type: integer
  13895. audittime:
  13896. description: 审核时间
  13897. type: string
  13898. audittradedate:
  13899. description: 审核交易日(yyyyMMdd)
  13900. type: string
  13901. brokerapplyid:
  13902. description: 申请ID(SEQ_BROKERAPPLY)
  13903. type: integer
  13904. cardbackphotourl:
  13905. description: 证件背面图片地址
  13906. type: string
  13907. cardfrontphotourl:
  13908. description: 证件正面图片地址
  13909. type: string
  13910. cardnum:
  13911. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  13912. type: string
  13913. customername:
  13914. description: 姓名
  13915. type: string
  13916. filterstatus:
  13917. description: 筛选条件
  13918. type: string
  13919. logincode:
  13920. description: 登录代码
  13921. type: string
  13922. mobile:
  13923. description: 手机号码
  13924. type: string
  13925. parentuserid:
  13926. description: 所属机构id
  13927. type: integer
  13928. parentusername:
  13929. description: 所属机构名称
  13930. type: string
  13931. refereeuserid:
  13932. description: 推荐人id(经纪人)
  13933. type: integer
  13934. refernum:
  13935. description: 推荐码
  13936. type: string
  13937. remark:
  13938. description: 备注
  13939. type: string
  13940. subarealevelpath:
  13941. description: 层级路径
  13942. type: string
  13943. tradedate:
  13944. description: 交易日(yyyyMMdd)
  13945. type: string
  13946. userid:
  13947. description: 申请人用户ID
  13948. type: integer
  13949. userinfotype:
  13950. description: 用户类型 1-个人 2-企业
  13951. type: integer
  13952. username:
  13953. description: 用户名称
  13954. type: string
  13955. type: object
  13956. models.QhjMgrBrokerRewardReport:
  13957. properties:
  13958. createtime:
  13959. description: 创建时间(注册时间)
  13960. type: string
  13961. cycletime:
  13962. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  13963. type: string
  13964. cycletype:
  13965. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13966. type: integer
  13967. directtotalnum:
  13968. description: 直推总人数【期末】
  13969. type: integer
  13970. indirecttotalnum:
  13971. description: 间推总人数【期末】
  13972. type: integer
  13973. mobile:
  13974. description: 电话号码
  13975. type: string
  13976. refereeuserid:
  13977. description: 推荐人id(经纪人id)
  13978. type: integer
  13979. refereeusername:
  13980. description: 推荐人名称(经纪人) 上级经纪人名称
  13981. type: string
  13982. refernum:
  13983. description: 推荐码
  13984. type: string
  13985. subarealevelpath:
  13986. description: 用户层级路径
  13987. type: string
  13988. todayrewardamount:
  13989. description: 奖励总金额【汇总】
  13990. type: number
  13991. updatetime:
  13992. description: 更新时间
  13993. type: string
  13994. userid:
  13995. description: 经纪人用户ID
  13996. type: integer
  13997. userinfotype:
  13998. description: 用户类型 1-个人 2-企业
  13999. type: integer
  14000. username:
  14001. description: 用户名称
  14002. type: string
  14003. type: object
  14004. models.QhjMgrContract:
  14005. properties:
  14006. contractconfirmtime:
  14007. description: 合同确认时间(时间)
  14008. type: string
  14009. currisklevel:
  14010. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  14011. type: integer
  14012. decimalplace:
  14013. description: 商品报价小数位
  14014. type: integer
  14015. enumdicname:
  14016. description: 单位名称
  14017. type: string
  14018. goodscode:
  14019. description: 商品代码
  14020. type: string
  14021. goodsid:
  14022. description: 商品ID [5:融资单]
  14023. type: integer
  14024. goodsname:
  14025. description: 商品名称
  14026. type: string
  14027. goodunitid:
  14028. description: 商品单位id
  14029. type: integer
  14030. initmargin:
  14031. description: 初始保证金(首付款)
  14032. type: number
  14033. lenderamount:
  14034. description: 贷款金额(总额|订单总额)
  14035. type: number
  14036. logincode:
  14037. description: 账号(登录代码)
  14038. type: string
  14039. marginratio:
  14040. description: 保证金比率(首付比例)
  14041. type: number
  14042. mobile:
  14043. description: 电话号码(用户资料里的电话)
  14044. type: string
  14045. payamount:
  14046. description: 已付(已付货款)
  14047. type: number
  14048. reckonrecovermargin:
  14049. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  14050. type: number
  14051. recoveredmargin:
  14052. description: 已追缴保证金
  14053. type: number
  14054. remainamount:
  14055. description: 合同剩余金额(融资额)
  14056. type: number
  14057. scfcontractid:
  14058. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  14059. type: string
  14060. scfcontractstatus:
  14061. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  14062. 9:违约结束 10:已注销 11:已关闭 99:未提交
  14063. type: integer
  14064. scfcontracttype:
  14065. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  14066. type: integer
  14067. totalinterest:
  14068. description: 已计总利息(利息)
  14069. type: number
  14070. tradedate:
  14071. description: 交易日
  14072. type: string
  14073. tradeprice:
  14074. description: 成交价格(成本价格)
  14075. type: number
  14076. userid:
  14077. description: 用户ID
  14078. type: integer
  14079. userinfotype:
  14080. description: 用户类型 1-个人 2-企业
  14081. type: integer
  14082. username:
  14083. description: 用户名称
  14084. type: string
  14085. wrqty:
  14086. description: 仓单数量(数量)
  14087. type: number
  14088. type: object
  14089. models.QhjMgrCustomer:
  14090. properties:
  14091. address:
  14092. description: 通讯地址
  14093. type: string
  14094. attachment1:
  14095. description: 附件1
  14096. type: string
  14097. audittime:
  14098. description: 审核时间
  14099. type: string
  14100. birthday:
  14101. description: 生日
  14102. type: string
  14103. brokerid:
  14104. description: 所属客户经理id
  14105. type: integer
  14106. brokername:
  14107. description: 所属客户经理名称
  14108. type: string
  14109. cardbackphotourl:
  14110. description: 证件反面图片地址
  14111. type: string
  14112. cardfrontphotourl:
  14113. description: 证件正面图片地址
  14114. type: string
  14115. cardnum:
  14116. description: 证件号码
  14117. type: string
  14118. cardtype:
  14119. description: 证件类型
  14120. type: integer
  14121. cardtypename:
  14122. description: 证件类型名称
  14123. type: string
  14124. cityid:
  14125. description: 市
  14126. type: integer
  14127. cityname:
  14128. description: 城市名称
  14129. type: string
  14130. contactname:
  14131. description: 联系人
  14132. type: string
  14133. countryid:
  14134. description: 国家
  14135. type: integer
  14136. countryname:
  14137. description: 国家名称
  14138. type: string
  14139. createtime:
  14140. description: 创建时间
  14141. type: string
  14142. customername:
  14143. description: 客户名称
  14144. type: string
  14145. districtid:
  14146. description: 区域
  14147. type: integer
  14148. districtname:
  14149. description: 地区名称
  14150. type: string
  14151. email:
  14152. description: 邮件
  14153. type: string
  14154. legalpersonname:
  14155. description: 法人姓名(企业)
  14156. type: string
  14157. logincode:
  14158. description: 登录账号(代码)
  14159. type: string
  14160. memberuserid:
  14161. description: 所属机构ID(所属会员)
  14162. type: integer
  14163. memberusername:
  14164. description: 所属会员名称
  14165. type: string
  14166. mobile:
  14167. description: 手机号码
  14168. type: string
  14169. modifytime:
  14170. description: 修改时间
  14171. type: string
  14172. nickname:
  14173. description: 昵称
  14174. type: string
  14175. parentuserid:
  14176. description: 上级机构(所属机构)
  14177. type: integer
  14178. parentusername:
  14179. description: 所属机构名称
  14180. type: string
  14181. provinceid:
  14182. description: 省
  14183. type: integer
  14184. provincename:
  14185. description: 省名称
  14186. type: string
  14187. proxystatementurl:
  14188. description: 授权委托书
  14189. type: string
  14190. querytype:
  14191. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  14192. type: integer
  14193. remark:
  14194. description: 备注
  14195. type: string
  14196. sex:
  14197. description: 性别 0-女 1-男
  14198. type: integer
  14199. status:
  14200. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  14201. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  14202. type: integer
  14203. statusdesc:
  14204. description: 账户状态中文描述
  14205. type: string
  14206. taxpayernum:
  14207. description: 纳税人识别号
  14208. type: string
  14209. telphone:
  14210. description: 联系电话
  14211. type: string
  14212. userid:
  14213. description: 用户ID
  14214. type: integer
  14215. userinfotype:
  14216. description: 客户类型 1-个人 2-企业
  14217. type: integer
  14218. username:
  14219. description: 用户名称
  14220. type: string
  14221. type: object
  14222. models.QhjMgrPickGoods:
  14223. properties:
  14224. enumdicname:
  14225. description: 单位名称(提货商品)
  14226. type: string
  14227. goodsid:
  14228. description: 商品id
  14229. type: integer
  14230. imageaddress:
  14231. description: 图片
  14232. type: string
  14233. modifierid:
  14234. description: 修改人
  14235. type: integer
  14236. modifiername:
  14237. description: 修改人名称
  14238. type: string
  14239. modifysrc:
  14240. description: 修改来源 - 1:管理端 2:终端
  14241. type: integer
  14242. pickupgoodsagreeunit:
  14243. description: 合约乘数
  14244. type: number
  14245. pickupgoodsdesc:
  14246. description: 描述
  14247. type: string
  14248. pickupgoodsid:
  14249. description: 提货商品ID
  14250. type: string
  14251. pickupgoodsname:
  14252. description: 提货商品名称
  14253. type: string
  14254. pickupgoodsstatus:
  14255. description: 状态 - 1:正常 2:停用 3:注销
  14256. type: integer
  14257. pickupgoodsunitid:
  14258. description: 单位ID
  14259. type: integer
  14260. pickupratio:
  14261. description: 提货系数
  14262. type: number
  14263. preparedays:
  14264. description: 备货期(天)
  14265. type: integer
  14266. remark:
  14267. description: 备注
  14268. type: string
  14269. updatetime:
  14270. description: 更新时间
  14271. type: string
  14272. type: object
  14273. models.QhjMgrPositionRsp:
  14274. properties:
  14275. accountid:
  14276. description: 账号Id
  14277. type: integer
  14278. accountname:
  14279. description: 用户名称
  14280. type: string
  14281. agreeunit:
  14282. description: 合约乘数
  14283. type: number
  14284. averageprice:
  14285. description: 均价
  14286. type: number
  14287. avialqty:
  14288. description: 可用数量
  14289. type: number
  14290. decimalplace:
  14291. description: 报价小数位
  14292. type: integer
  14293. enumdicname:
  14294. description: 单位名称(商品)
  14295. type: string
  14296. frozenqty:
  14297. description: 冻结数量
  14298. type: number
  14299. goodscode:
  14300. description: 商品代码(内部)
  14301. type: string
  14302. goodsid:
  14303. description: 商品Id
  14304. type: integer
  14305. goodsname:
  14306. description: 商品名称
  14307. type: string
  14308. goodunitid:
  14309. description: 报价单位ID
  14310. type: integer
  14311. holderamount:
  14312. description: 金额
  14313. type: number
  14314. holderqty:
  14315. description: 持有数量
  14316. type: number
  14317. holdertype:
  14318. description: 持仓类别 - 1:单边持仓 2:双边持仓
  14319. type: integer
  14320. logincode:
  14321. description: 登录代码(账户)
  14322. type: string
  14323. marketid:
  14324. description: 市场id
  14325. type: integer
  14326. qtydecimalplace:
  14327. description: 成交量小数位
  14328. type: integer
  14329. trademode:
  14330. description: 交易模式
  14331. type: integer
  14332. userid:
  14333. description: 用户id
  14334. type: integer
  14335. userinfotype:
  14336. description: 账户类型 1-个人 2-企业
  14337. type: integer
  14338. type: object
  14339. models.QhjMgrSubArea:
  14340. properties:
  14341. accountname:
  14342. description: 账户名称(机构名称)
  14343. type: string
  14344. memberuserid:
  14345. description: 所属会员ID
  14346. type: integer
  14347. parenttopuser:
  14348. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14349. type: string
  14350. parentuserid:
  14351. description: 所属机构ID
  14352. type: integer
  14353. rootuserid:
  14354. description: 根用户ID
  14355. type: string
  14356. subaccountlevel:
  14357. description: 子账户层数
  14358. type: integer
  14359. subarealevelpath:
  14360. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14361. type: string
  14362. userid:
  14363. description: 用户ID
  14364. type: integer
  14365. usertype:
  14366. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14367. type: integer
  14368. type: object
  14369. models.QhjMgrTradeDetailRsp:
  14370. properties:
  14371. accountid:
  14372. description: 资金账号
  14373. type: integer
  14374. accountname:
  14375. description: 用户名称
  14376. type: string
  14377. agreeunit:
  14378. description: 合约乘数
  14379. type: number
  14380. buyorsell:
  14381. description: 成交类型(方向) 0:买 1:卖
  14382. type: integer
  14383. decimalplace:
  14384. description: 报价小数位
  14385. type: integer
  14386. enumdicname:
  14387. description: 单位名称(商品)
  14388. type: string
  14389. goodscode:
  14390. description: 商品代码(内部)
  14391. type: string
  14392. goodsid:
  14393. description: 商品id
  14394. type: integer
  14395. goodsname:
  14396. description: 商品名称
  14397. type: string
  14398. goodunitid:
  14399. description: 报价单位ID
  14400. type: integer
  14401. logincode:
  14402. description: 登录代码(账户)
  14403. type: string
  14404. marketid:
  14405. description: 市场id
  14406. type: integer
  14407. orderid:
  14408. description: 关联委托单号
  14409. type: string
  14410. qtydecimalplace:
  14411. description: 成交量小数位
  14412. type: integer
  14413. tradeamount:
  14414. description: 金额
  14415. type: number
  14416. tradedate:
  14417. description: 交易日
  14418. type: string
  14419. tradeid:
  14420. description: 成交单号
  14421. type: string
  14422. trademode:
  14423. description: 交易模式
  14424. type: integer
  14425. tradeprice:
  14426. description: 价格
  14427. type: number
  14428. tradeqty:
  14429. description: 数量
  14430. type: number
  14431. tradetime:
  14432. description: 成交时间
  14433. type: string
  14434. userid:
  14435. description: 用户id
  14436. type: integer
  14437. userinfotype:
  14438. description: 账户类型 1-个人 2-企业
  14439. type: integer
  14440. type: object
  14441. models.QhjMgrTradeOrderDetailRsp:
  14442. properties:
  14443. accountid:
  14444. description: 资金账号
  14445. type: integer
  14446. accountname:
  14447. description: 用户名称
  14448. type: string
  14449. agreeunit:
  14450. description: 合约乘数
  14451. type: number
  14452. amount:
  14453. description: 金额
  14454. type: number
  14455. decimalplace:
  14456. description: 报价小数位
  14457. type: integer
  14458. enumdicname:
  14459. description: 单位名称(商品)
  14460. type: string
  14461. goodscode:
  14462. description: 商品代码(内部)
  14463. type: string
  14464. goodsid:
  14465. description: 商品id
  14466. type: integer
  14467. goodsname:
  14468. description: 商品名称
  14469. type: string
  14470. goodunitid:
  14471. description: 报价单位ID
  14472. type: integer
  14473. logincode:
  14474. description: 登录代码(账户)
  14475. type: string
  14476. marketid:
  14477. description: 市场id
  14478. type: integer
  14479. orderid:
  14480. description: 关联委托单号
  14481. type: string
  14482. orderprice:
  14483. description: 价格
  14484. type: number
  14485. orderqty:
  14486. description: 数量
  14487. type: number
  14488. orderstatus:
  14489. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14490. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14491. 16:成交失败违约(荷兰式竞拍专用)
  14492. type: integer
  14493. ordertime:
  14494. description: 委托时间
  14495. type: string
  14496. qtydecimalplace:
  14497. description: 成交量小数位
  14498. type: integer
  14499. tradedate:
  14500. description: 交易日
  14501. type: string
  14502. trademode:
  14503. description: 交易模式
  14504. type: integer
  14505. userid:
  14506. description: 用户id
  14507. type: integer
  14508. userinfotype:
  14509. description: 账户类型 1-个人 2-企业
  14510. type: integer
  14511. type: object
  14512. models.QhjMgrTradePayOrder:
  14513. properties:
  14514. accountname:
  14515. description: 用户名称
  14516. type: string
  14517. advanceratio:
  14518. description: 首付比率
  14519. type: number
  14520. agreeunit:
  14521. description: 合约乘数
  14522. type: number
  14523. buyaccountid:
  14524. description: 买方账号ID[报价币种]
  14525. type: integer
  14526. buyorderid:
  14527. description: 买方委托单号(关联单号)
  14528. type: string
  14529. createtime:
  14530. description: 创建时间
  14531. type: string
  14532. decimalplace:
  14533. description: 报价小数位
  14534. type: integer
  14535. enumdicname:
  14536. description: 单位名称(商品)
  14537. type: string
  14538. goodscode:
  14539. description: 商品代码(内部)
  14540. type: string
  14541. goodsid:
  14542. description: 商品ID
  14543. type: integer
  14544. goodsname:
  14545. description: 商品名称
  14546. type: string
  14547. goodunitid:
  14548. description: 报价单位ID
  14549. type: integer
  14550. logincode:
  14551. description: 登录代码(账户)
  14552. type: string
  14553. marketid:
  14554. description: 市场id
  14555. type: integer
  14556. offamount:
  14557. description: 优惠金额
  14558. type: number
  14559. operatetype:
  14560. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14561. type: integer
  14562. payamount:
  14563. description: 支付金额(金额)
  14564. type: number
  14565. payflag:
  14566. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14567. type: integer
  14568. paylimitedtime:
  14569. description: 支付期限
  14570. type: string
  14571. paytime:
  14572. description: 付款时间
  14573. type: string
  14574. qtydecimalplace:
  14575. description: 成交量小数位
  14576. type: integer
  14577. sellaccountid:
  14578. description: 卖方账号ID[报价币种]
  14579. type: integer
  14580. sellorderid:
  14581. description: 卖方委托单号
  14582. type: string
  14583. tradeamount:
  14584. description: 成交金额(优惠后金额)
  14585. type: number
  14586. tradecharge:
  14587. description: 成交手续费(买方)
  14588. type: number
  14589. tradedate:
  14590. description: 交易日(yyyyMMdd)
  14591. type: string
  14592. tradeid:
  14593. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14594. type: string
  14595. trademode:
  14596. description: 交易模式
  14597. type: integer
  14598. tradeprice:
  14599. description: 成交价格(价格)
  14600. type: number
  14601. tradeqty:
  14602. description: 成交数量(数量)
  14603. type: number
  14604. tradetime:
  14605. description: 成交时间
  14606. type: string
  14607. userid:
  14608. description: 用户id
  14609. type: integer
  14610. userinfotype:
  14611. description: 账户类型 1-个人 2-企业
  14612. type: integer
  14613. type: object
  14614. models.QhjMyTeamEx:
  14615. properties:
  14616. accountname:
  14617. description: 用户名称
  14618. type: string
  14619. accountstatus:
  14620. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14621. type: integer
  14622. createtime:
  14623. description: 创建时间
  14624. type: string
  14625. mobile:
  14626. description: 手机号码
  14627. type: string
  14628. refereeuserid:
  14629. description: 推荐人id
  14630. type: integer
  14631. refernum:
  14632. description: 推荐码
  14633. type: string
  14634. subList:
  14635. items:
  14636. $ref: '#/definitions/models.QhjMyTeamEx'
  14637. type: array
  14638. userid:
  14639. description: 用户id
  14640. type: integer
  14641. userinfotype:
  14642. description: 用户类型 1-个人 2-企业
  14643. type: integer
  14644. type: object
  14645. models.QhjNodeAgreementConfig:
  14646. properties:
  14647. agreementcontent:
  14648. description: 协议内容
  14649. type: string
  14650. agreementid:
  14651. description: 协议ID
  14652. type: integer
  14653. agreementname:
  14654. description: 协议名称
  14655. type: string
  14656. agreementno:
  14657. description: 协议编号
  14658. type: string
  14659. agreementtype:
  14660. description: 协议类型 - 1:注册 2:登录 3:交易
  14661. type: integer
  14662. agreementversion:
  14663. description: 协议版本号
  14664. type: integer
  14665. configid:
  14666. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  14667. type: integer
  14668. createtime:
  14669. description: 创建时间
  14670. type: string
  14671. goodsid:
  14672. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  14673. type: integer
  14674. nodetype:
  14675. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  14676. type: integer
  14677. type: object
  14678. models.QhjParentAreaList:
  14679. properties:
  14680. accountname:
  14681. description: 账户名称(机构名称)
  14682. type: string
  14683. userid:
  14684. description: 用户ID
  14685. type: integer
  14686. usertype:
  14687. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14688. type: integer
  14689. type: object
  14690. models.QhjPayOrder:
  14691. properties:
  14692. advanceratio:
  14693. description: 首付比率
  14694. type: number
  14695. buyaccountid:
  14696. description: 买方账号ID[报价币种]
  14697. type: integer
  14698. buyorderid:
  14699. description: 买方委托单号
  14700. type: string
  14701. createtime:
  14702. description: 创建时间
  14703. type: string
  14704. decimalplace:
  14705. description: 商品报价小数位
  14706. type: integer
  14707. enumdicname:
  14708. description: 单位名称
  14709. type: string
  14710. goodscode:
  14711. description: 商品代码
  14712. type: string
  14713. goodsid:
  14714. description: 商品ID
  14715. type: integer
  14716. goodsname:
  14717. description: 商品名称
  14718. type: string
  14719. goodunitid:
  14720. description: 商品单位id
  14721. type: integer
  14722. marketid:
  14723. description: 市场ID
  14724. type: integer
  14725. offamount:
  14726. description: 优惠金额
  14727. type: number
  14728. operatetype:
  14729. description: 买委托操作类型 - 1:正常下单 16:融资买入
  14730. type: integer
  14731. payamount:
  14732. description: 支付金额
  14733. type: number
  14734. payflag:
  14735. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  14736. type: integer
  14737. paylimitedtime:
  14738. description: 支付期限
  14739. type: string
  14740. paytime:
  14741. description: 付款时间
  14742. type: string
  14743. qtydecimalplace:
  14744. description: 成交量小数位
  14745. type: integer
  14746. sellaccountid:
  14747. description: 卖方账号ID[报价币种]
  14748. type: integer
  14749. sellorderid:
  14750. description: 卖方委托单号
  14751. type: string
  14752. tradeamount:
  14753. description: 成交金额(优惠后金额)
  14754. type: number
  14755. tradecharge:
  14756. description: 成交手续费(买方)
  14757. type: number
  14758. tradedate:
  14759. description: 交易日(yyyyMMdd)
  14760. type: string
  14761. tradeid:
  14762. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14763. type: string
  14764. tradeprice:
  14765. description: 成交价格
  14766. type: number
  14767. tradeqty:
  14768. description: 成交数量
  14769. type: number
  14770. type: object
  14771. models.QhjPickArea:
  14772. properties:
  14773. address:
  14774. description: 详细地址
  14775. type: string
  14776. cityid:
  14777. description: 市
  14778. type: integer
  14779. cityname:
  14780. description: 城市名称
  14781. type: string
  14782. countryid:
  14783. description: 国家
  14784. type: integer
  14785. countryname:
  14786. description: 国家名称
  14787. type: string
  14788. districtid:
  14789. description: 地区
  14790. type: integer
  14791. districtname:
  14792. description: 地区名称
  14793. type: string
  14794. fromuserid:
  14795. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  14796. type: integer
  14797. fromusername:
  14798. description: 所属机构名称
  14799. type: string
  14800. provinceid:
  14801. description: 省
  14802. type: integer
  14803. provincename:
  14804. description: 省名称
  14805. type: string
  14806. suborgtype:
  14807. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  14808. type: integer
  14809. userid:
  14810. description: 机构用户ID 其他做市关系,都设置为 1
  14811. type: integer
  14812. username:
  14813. description: 机构用户名称(门店门称)
  14814. type: string
  14815. type: object
  14816. models.QhjPickGoods:
  14817. properties:
  14818. enumdicname:
  14819. description: 单位名称(提货商品)
  14820. type: string
  14821. goodsid:
  14822. description: 商品id
  14823. type: integer
  14824. imageaddress:
  14825. description: 图片
  14826. type: string
  14827. modifierid:
  14828. description: 修改人
  14829. type: integer
  14830. modifiername:
  14831. description: 修改人名称
  14832. type: string
  14833. modifysrc:
  14834. description: 修改来源 - 1:管理端 2:终端
  14835. type: integer
  14836. pickupgoodsagreeunit:
  14837. description: 合约乘数
  14838. type: number
  14839. pickupgoodsdesc:
  14840. description: 描述
  14841. type: string
  14842. pickupgoodsid:
  14843. description: 提货商品ID
  14844. type: string
  14845. pickupgoodsname:
  14846. description: 提货商品名称
  14847. type: string
  14848. pickupgoodsstatus:
  14849. description: 状态 - 1:正常 2:停用 3:注销
  14850. type: integer
  14851. pickupgoodsunitid:
  14852. description: 单位ID
  14853. type: integer
  14854. pickupratio:
  14855. description: 提货系数
  14856. type: number
  14857. preparedays:
  14858. description: 备货期(天)
  14859. type: integer
  14860. remark:
  14861. description: 备注
  14862. type: string
  14863. updatetime:
  14864. description: 更新时间
  14865. type: string
  14866. type: object
  14867. models.QhjRSTriggerLog:
  14868. properties:
  14869. accountid:
  14870. description: 用户资金账户
  14871. type: integer
  14872. accountname:
  14873. description: 账号名称(ACCOUNTID对应的名称)
  14874. type: string
  14875. currencyid:
  14876. description: 币种id
  14877. type: integer
  14878. currencyname:
  14879. description: 币种名称
  14880. type: string
  14881. decimalplace:
  14882. description: 商品报价小数位
  14883. type: integer
  14884. enumdicname:
  14885. description: 单位名称
  14886. type: string
  14887. goodscode:
  14888. description: 定投商品代码
  14889. type: string
  14890. goodsid:
  14891. description: 定投商品ID
  14892. type: integer
  14893. goodsname:
  14894. description: 定投商品名称
  14895. type: string
  14896. goodunitid:
  14897. description: 定投商品单位id
  14898. type: integer
  14899. logid:
  14900. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  14901. type: string
  14902. logincode:
  14903. description: 账号(登录代码)
  14904. type: string
  14905. qtydecimalplace:
  14906. description: 成交量小数位
  14907. type: integer
  14908. regularlycycle:
  14909. description: 定投频率 - 1:每周 2:每月
  14910. type: integer
  14911. regularlycyclevalue:
  14912. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  14913. type: string
  14914. regularlymode:
  14915. description: 定投方式 - 1:按数量 2:按金额
  14916. type: integer
  14917. regularlymodevalue:
  14918. description: 定投方式值 - 数量或金额
  14919. type: number
  14920. regularlystrategyid:
  14921. description: 定投策略ID
  14922. type: integer
  14923. retcode:
  14924. description: 错误码
  14925. type: string
  14926. tradeid:
  14927. description: 成交单ID
  14928. type: string
  14929. triggeramount:
  14930. description: 触发金额
  14931. type: number
  14932. triggerqty:
  14933. description: 触发数量
  14934. type: number
  14935. triggerstatus:
  14936. description: 触发状态 - 1:成功 2:失败
  14937. type: integer
  14938. triggertime:
  14939. description: 触发时间
  14940. type: string
  14941. triggertradedate:
  14942. description: 触发交易日
  14943. type: string
  14944. userid:
  14945. description: 所属用户ID
  14946. type: integer
  14947. userinfotype:
  14948. description: 用户类型 1-个人 2-企业
  14949. type: integer
  14950. username:
  14951. description: 用户名称(userid对应的名称)
  14952. type: string
  14953. type: object
  14954. models.QhjRStrategy:
  14955. properties:
  14956. accountid:
  14957. description: 用户资金账户
  14958. type: integer
  14959. accountname:
  14960. description: 账号名称(ACCOUNTID对应的名称)
  14961. type: string
  14962. currencyid:
  14963. description: 币种id
  14964. type: integer
  14965. currencyname:
  14966. description: 币种名称
  14967. type: string
  14968. decimalplace:
  14969. description: 商品报价小数位
  14970. type: integer
  14971. enumdicname:
  14972. description: 单位名称
  14973. type: string
  14974. goodscode:
  14975. description: 定投商品代码
  14976. type: string
  14977. goodsid:
  14978. description: 定投商品ID
  14979. type: integer
  14980. goodsname:
  14981. description: 定投商品名称
  14982. type: string
  14983. goodunitid:
  14984. description: 定投商品单位id
  14985. type: integer
  14986. lasteffecttradedate:
  14987. description: 最新生效交易日
  14988. type: string
  14989. laststoptradedate:
  14990. description: 最新暂停交易日
  14991. type: string
  14992. lasttriggertradedate:
  14993. description: 最新触发交易日
  14994. type: string
  14995. logincode:
  14996. description: 账号(登录代码)
  14997. type: string
  14998. nexttriggeramount:
  14999. description: 下次触发金额
  15000. type: number
  15001. nexttriggerdate:
  15002. description: 下次触发日期
  15003. type: string
  15004. nexttriggerqty:
  15005. description: 下次触发数量 [按小数位放大值]
  15006. type: number
  15007. qtydecimalplace:
  15008. description: 成交量小数位
  15009. type: integer
  15010. regularlycycle:
  15011. description: 定投频率 - 1:每周 2:每月
  15012. type: integer
  15013. regularlycyclevalue:
  15014. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  15015. type: string
  15016. regularlymode:
  15017. description: 定投方式 - 1:按数量 2:按金额
  15018. type: integer
  15019. regularlymodevalue:
  15020. description: 定投方式值 - 数量或金额
  15021. type: number
  15022. regularlystrategyid:
  15023. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  15024. type: integer
  15025. regularlystrategystatus:
  15026. description: 策略状态 - 1:正常 2:暂停 3:终止
  15027. type: integer
  15028. remark:
  15029. description: 备注
  15030. type: string
  15031. triggersuccesstimes:
  15032. description: 累计定投成功次数
  15033. type: string
  15034. triggertotalamount:
  15035. description: 累计定投金额(成功)
  15036. type: number
  15037. triggertotalqty:
  15038. description: 累计定投数量(成功) [按小数位放大值]
  15039. type: number
  15040. triggertotaltimes:
  15041. description: 累计定投总次数
  15042. type: string
  15043. updatesrc:
  15044. description: 更新来源 - 1:管理端 2:终端
  15045. type: integer
  15046. updatetime:
  15047. description: 更新时间
  15048. type: string
  15049. updatorid:
  15050. description: 更新人
  15051. type: string
  15052. userid:
  15053. description: 所属用户ID
  15054. type: integer
  15055. userinfotype:
  15056. description: 用户类型 1-个人 2-企业
  15057. type: integer
  15058. username:
  15059. description: 用户名称(userid对应的名称)
  15060. type: string
  15061. type: object
  15062. models.QhjReckonPriceLog:
  15063. properties:
  15064. decimalplace:
  15065. description: 商品报价小数位
  15066. type: integer
  15067. goodscode:
  15068. description: 商品代码
  15069. type: string
  15070. goodsid:
  15071. description: 商品ID
  15072. type: integer
  15073. goodsname:
  15074. description: 商品名称
  15075. type: string
  15076. lastreckonprice:
  15077. description: 上日结算价
  15078. type: number
  15079. nextdnlimitprice:
  15080. description: 下个交易日跌停价
  15081. type: number
  15082. nexttrade:
  15083. description: 下个交易日
  15084. type: string
  15085. nextuplimitprice:
  15086. description: 下个交易日涨停价
  15087. type: number
  15088. reckonprice:
  15089. description: 今日结算价(定投价)
  15090. type: number
  15091. reckontime:
  15092. description: 结算时间
  15093. type: string
  15094. totalholderqty:
  15095. description: 总持仓数
  15096. type: integer
  15097. totalstock:
  15098. description: 总库存
  15099. type: integer
  15100. tradedate:
  15101. description: 交易日
  15102. type: string
  15103. updowncount:
  15104. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  15105. type: integer
  15106. updownflag:
  15107. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  15108. type: integer
  15109. updownrate:
  15110. description: 今日涨跌幅
  15111. type: number
  15112. updownrate_2d:
  15113. description: 连续两日涨跌幅
  15114. type: number
  15115. updownrate_3d:
  15116. description: 连续三日涨跌幅
  15117. type: number
  15118. type: object
  15119. models.QhjScoreLog:
  15120. properties:
  15121. accountid:
  15122. description: 账户ID
  15123. type: integer
  15124. createtime:
  15125. description: 创建时间(时间)
  15126. type: string
  15127. goodsid:
  15128. description: 商品ID
  15129. type: integer
  15130. hasuploaded:
  15131. description: 是否已同步(千海金) 0:未同步 1;已同步
  15132. type: integer
  15133. logid:
  15134. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15135. type: string
  15136. marketid:
  15137. description: 市场ID
  15138. type: integer
  15139. relatedamount:
  15140. description: 关联金额
  15141. type: number
  15142. relatedorderid:
  15143. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  15144. type: string
  15145. scoreconfigvalue1:
  15146. description: 积分配置1
  15147. type: integer
  15148. scoreconfigvalue2:
  15149. description: 积分配置1
  15150. type: integer
  15151. scoretype:
  15152. description: 积分类型 - 1:提货积分
  15153. type: integer
  15154. scorevalue:
  15155. description: 积分
  15156. type: number
  15157. tradedate:
  15158. description: 交易日(yyyyMMdd)
  15159. type: string
  15160. uploadedtime:
  15161. description: 同步时间
  15162. type: string
  15163. userid:
  15164. description: 用户ID
  15165. type: integer
  15166. type: object
  15167. models.QhjSiteColumnDetail:
  15168. properties:
  15169. author:
  15170. description: 作者
  15171. type: string
  15172. brief:
  15173. description: 简介
  15174. type: string
  15175. columnid:
  15176. description: 所属栏目
  15177. type: integer
  15178. context:
  15179. description: 内容
  15180. type: string
  15181. coverimage:
  15182. description: 封面图片
  15183. type: string
  15184. creaedate:
  15185. description: 创建时间
  15186. type: string
  15187. creatorid:
  15188. description: 创建人
  15189. type: integer
  15190. hits:
  15191. description: 点击数
  15192. type: integer
  15193. id:
  15194. description: ID(SEQ_SITE_COLUMNDETAIL)
  15195. type: integer
  15196. isshow:
  15197. description: 是否展示 - 0:不展示 1:展示
  15198. type: integer
  15199. istop:
  15200. description: 是否置顶 - 0:不置 1:置顶
  15201. type: integer
  15202. modifierid:
  15203. description: 操作人
  15204. type: integer
  15205. publishdate:
  15206. description: 发布日期
  15207. type: string
  15208. status:
  15209. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  15210. type: integer
  15211. title:
  15212. description: 标题
  15213. type: string
  15214. updatedate:
  15215. description: 修改时间
  15216. type: string
  15217. userid:
  15218. description: 用户ID(默认为0, 核心为为机构用户ID)
  15219. type: integer
  15220. username:
  15221. description: 用户名称
  15222. type: string
  15223. type: object
  15224. models.QhjTeamOrder:
  15225. properties:
  15226. accountid:
  15227. description: 账户ID[报价币种]
  15228. type: integer
  15229. accountname:
  15230. description: 账户名称
  15231. type: string
  15232. agreeunit:
  15233. description: 合约乘数
  15234. type: number
  15235. buyorsell:
  15236. description: 方向 - 0:买 1:卖
  15237. type: integer
  15238. decimalplace:
  15239. description: 报价小数位
  15240. type: integer
  15241. enumdicname:
  15242. description: 单位名称
  15243. type: string
  15244. goodscode:
  15245. description: 商品代码(内部)
  15246. type: string
  15247. goodsid:
  15248. description: 商品ID
  15249. type: integer
  15250. goodsname:
  15251. description: 商品名称
  15252. type: string
  15253. goodunitid:
  15254. description: 报价单位ID
  15255. type: integer
  15256. marketid:
  15257. description: 市场ID
  15258. type: integer
  15259. marketname:
  15260. description: 市场名称
  15261. type: string
  15262. qtydecimalplace:
  15263. description: 成交量小数位
  15264. type: integer
  15265. refereeuserid:
  15266. description: 推荐人ID
  15267. type: integer
  15268. tradeamount:
  15269. description: 成交金额[账户币种,用于所有权]
  15270. type: number
  15271. tradedate:
  15272. description: 交易日(yyyyMMdd)
  15273. type: string
  15274. trademode:
  15275. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  15276. 21:竞拍-大宗式 22:受托竞价
  15277. type: integer
  15278. tradeprice:
  15279. description: 成交价格
  15280. type: number
  15281. tradeqty:
  15282. description: 成交数量
  15283. type: number
  15284. tradetime:
  15285. description: 成交时间
  15286. type: string
  15287. userid:
  15288. description: 用户ID
  15289. type: integer
  15290. type: object
  15291. models.QhjTradeGoodsPickup:
  15292. properties:
  15293. accountid:
  15294. description: 账户ID
  15295. type: integer
  15296. address:
  15297. description: 提货人详细地址
  15298. type: string
  15299. amount:
  15300. description: 提货金额
  15301. type: number
  15302. artradedate:
  15303. description: 自动收货交易日(yyyyMMdd)
  15304. type: string
  15305. auditer:
  15306. description: 审核人
  15307. type: integer
  15308. auditsrc:
  15309. description: 更新来源 - 1:管理端 2:终端
  15310. type: integer
  15311. audittime:
  15312. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  15313. type: string
  15314. audittradedate:
  15315. description: 审核交易日(yyyyMMdd)
  15316. type: string
  15317. cardnum:
  15318. description: 提货人证件号码
  15319. type: string
  15320. cardtypeid:
  15321. description: 提货人证件类型
  15322. type: integer
  15323. checkremark:
  15324. description: 审核备注
  15325. type: string
  15326. cityid:
  15327. description: 市
  15328. type: integer
  15329. cityname:
  15330. description: 城市名称
  15331. type: string
  15332. confirmtime:
  15333. description: 取货时间 或 收货时间
  15334. type: string
  15335. countryid:
  15336. description: 国家
  15337. type: integer
  15338. countryname:
  15339. description: 国家名称
  15340. type: string
  15341. decimalplace:
  15342. description: 商品报价小数位
  15343. type: integer
  15344. districtid:
  15345. description: 地区
  15346. type: integer
  15347. districtname:
  15348. description: 地区名称
  15349. type: string
  15350. enumdicname:
  15351. description: 单位名称(提货商品)
  15352. type: string
  15353. expresscompany:
  15354. description: 物流公司
  15355. type: string
  15356. expressnum:
  15357. description: 物流单号
  15358. type: string
  15359. goodsagreeunit:
  15360. description: 交易商品乘数
  15361. type: number
  15362. goodscode:
  15363. description: 商品代码
  15364. type: string
  15365. goodsid:
  15366. description: 商品ID
  15367. type: integer
  15368. goodsname:
  15369. description: 商品名称
  15370. type: string
  15371. goodsqty:
  15372. description: 交易商品手数(69模式按成交量小数位放大取整)
  15373. type: number
  15374. handlestatus:
  15375. description: 处理状态
  15376. type: integer
  15377. logincode:
  15378. description: 账号(登录代码, 有可能为空)
  15379. type: string
  15380. marketid:
  15381. description: 市场ID
  15382. type: integer
  15383. phonenum:
  15384. description: 提货人联系方式
  15385. type: string
  15386. pickupgoodsagreeunit:
  15387. description: 提货商品合约乘数
  15388. type: number
  15389. pickupgoodsid:
  15390. description: 提货商品ID
  15391. type: string
  15392. pickupgoodsname:
  15393. description: 提货商品名称
  15394. type: string
  15395. pickupgoodsqty:
  15396. description: 提货商品手数(数量)
  15397. type: number
  15398. pickupgoodsunitid:
  15399. description: 单位ID(提货商品)
  15400. type: integer
  15401. pickupratio:
  15402. description: 提货系数
  15403. type: number
  15404. preparedays:
  15405. description: 备货期(天)-提货单明细表
  15406. type: integer
  15407. provinceid:
  15408. description: 省
  15409. type: integer
  15410. provincename:
  15411. description: 省名称
  15412. type: string
  15413. qty:
  15414. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  15415. type: number
  15416. qtydecimalplace:
  15417. description: 商品数量小数位
  15418. type: integer
  15419. recivername:
  15420. description: 提货人姓名
  15421. type: string
  15422. reqtime:
  15423. description: 提货申请时间
  15424. type: string
  15425. storeuserid:
  15426. description: 门店用户ID (千海金)
  15427. type: integer
  15428. storeusername:
  15429. description: 门店用户名称
  15430. type: string
  15431. takemode:
  15432. description: 提货方式 - 2:自提 3:配送(邮寄)
  15433. type: integer
  15434. takeorderid:
  15435. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15436. type: string
  15437. takeorderstatus:
  15438. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  15439. 7:已拒绝 8:已撤销
  15440. type: integer
  15441. takeremark:
  15442. description: 提货备注
  15443. type: string
  15444. tradedate:
  15445. description: 交易日(yyyyMMdd)
  15446. type: string
  15447. updatetime:
  15448. description: 更新时间
  15449. type: string
  15450. userid:
  15451. description: 用户ID
  15452. type: integer
  15453. userinfotype:
  15454. description: 客户类型 1-个人 2-企业
  15455. type: integer
  15456. username:
  15457. description: 用户名称
  15458. type: string
  15459. type: object
  15460. models.QhjUserNodeCfgAndStatus:
  15461. properties:
  15462. agreementcontent:
  15463. description: 协议内容
  15464. type: string
  15465. agreementid:
  15466. description: 协议ID
  15467. type: integer
  15468. agreementname:
  15469. description: 协议名称
  15470. type: string
  15471. agreementno:
  15472. description: 协议编号
  15473. type: string
  15474. agreementtype:
  15475. description: 协议类型 - 1:注册 2:登录 3:交易
  15476. type: integer
  15477. agreementversion:
  15478. description: 协议版本号
  15479. type: integer
  15480. configid:
  15481. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  15482. type: integer
  15483. createtime:
  15484. description: 创建时间
  15485. type: string
  15486. goodsid:
  15487. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15488. type: integer
  15489. nodetype:
  15490. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15491. type: integer
  15492. signtimestamp:
  15493. description: 签约状态时间戳(最近一次)
  15494. type: string
  15495. tradedate:
  15496. description: 签约交易日(yyyyMMdd)
  15497. type: string
  15498. userid:
  15499. description: 客户ID
  15500. type: integer
  15501. type: object
  15502. models.Qhjgoodsex:
  15503. properties:
  15504. canfinance:
  15505. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  15506. type: integer
  15507. canregularlybuy:
  15508. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  15509. type: integer
  15510. defaulttradeuserid:
  15511. description: 默认交易用户ID
  15512. type: integer
  15513. deliverygoodsid:
  15514. description: 现货品种ID
  15515. type: integer
  15516. goodsid:
  15517. description: 商品ID(自增ID SEQ_GOODS)
  15518. type: integer
  15519. minamount:
  15520. description: 最小购买金额
  15521. type: number
  15522. regularlybuyminamount:
  15523. description: 定投最小金额
  15524. type: number
  15525. regularlybuyminqty:
  15526. description: 定投最小数量
  15527. type: number
  15528. spotgoodsbrandid:
  15529. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  15530. type: integer
  15531. visibilityforenterprise:
  15532. description: 企业客户是否可见 - 0:不可见 1:可见
  15533. type: integer
  15534. visibilityforpersonal:
  15535. description: 个人客户是否可见 - 0:不可见 1:可见
  15536. type: integer
  15537. wrstandardid:
  15538. description: 现货商品ID
  15539. type: integer
  15540. type: object
  15541. models.QueryErrorInfosRsp:
  15542. properties:
  15543. description:
  15544. description: 异常描述
  15545. type: string
  15546. errorcode:
  15547. description: 异常代码
  15548. type: string
  15549. errorid:
  15550. description: 异常ID
  15551. type: integer
  15552. modulecode:
  15553. description: 所属模块
  15554. type: string
  15555. operatecode:
  15556. description: 所属操作
  15557. type: string
  15558. rownumber:
  15559. description: 行号
  15560. type: string
  15561. required:
  15562. - errorid
  15563. type: object
  15564. models.QueryHedgeOrderDetailRsp:
  15565. properties:
  15566. accountid:
  15567. description: 账户ID
  15568. type: integer
  15569. buyorsell:
  15570. description: 买卖 - 0:买 1:卖
  15571. type: integer
  15572. cancellogincode:
  15573. description: 撤单人
  15574. type: string
  15575. channelbuildtype:
  15576. description: 开平标志 - 0:无 1:建仓 2:平仓
  15577. type: integer
  15578. channelinnerorderstatus:
  15579. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  15580. 9:全部成交
  15581. type: integer
  15582. channeloperatetype:
  15583. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  15584. type: integer
  15585. closetype:
  15586. description: 平仓方式 - 0:无 1:平今 2:平昨
  15587. type: integer
  15588. curexchangerate:
  15589. description: 当前汇率
  15590. type: number
  15591. decimalplace:
  15592. description: 商品报价小数位
  15593. type: integer
  15594. exchangefullname:
  15595. description: 外部交易所全称
  15596. type: string
  15597. goodscode:
  15598. description: 商品代码(内部)
  15599. type: string
  15600. goodsid:
  15601. description: 商品ID
  15602. type: integer
  15603. goodsname:
  15604. description: 商品名称
  15605. type: string
  15606. marketid:
  15607. description: 市场ID
  15608. type: integer
  15609. openfreezemargin:
  15610. description: 冻结保证金(冻结交易金额)
  15611. type: number
  15612. orderid:
  15613. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15614. type: string
  15615. orderlogincode:
  15616. description: 委托人
  15617. type: string
  15618. orderprice:
  15619. description: 委托价格(账户)
  15620. type: number
  15621. orderqty:
  15622. description: 委托数量
  15623. type: integer
  15624. ordertime:
  15625. description: 委托时间
  15626. type: string
  15627. pricemode:
  15628. description: '取价方式 - 1:市价 2: 限价'
  15629. type: integer
  15630. tradedate:
  15631. description: 交易日(yyyyMMdd)
  15632. type: string
  15633. tradeqty:
  15634. description: 成交数量
  15635. type: integer
  15636. type: object
  15637. models.QueryHedgeTradeDetailRsp:
  15638. properties:
  15639. accountid:
  15640. description: 账号ID
  15641. type: integer
  15642. buyorsell:
  15643. description: 方向 - 0:买 1:卖
  15644. type: integer
  15645. channelbuildtype:
  15646. description: 委托单据类型 0:无 1:建仓 2:平仓
  15647. type: integer
  15648. closecharge:
  15649. description: 平仓手续费(账户)
  15650. type: number
  15651. closecharge2:
  15652. description: 平仓手续费(商品)
  15653. type: number
  15654. closepl:
  15655. description: 平仓盈亏(账户)
  15656. type: number
  15657. closepl2:
  15658. description: 平仓盈亏(商品)
  15659. type: number
  15660. closepl3:
  15661. description: 平仓盈亏(账户)(逐笔)
  15662. type: number
  15663. closepl4:
  15664. description: 平仓盈亏(商品)(逐笔)
  15665. type: number
  15666. closetype:
  15667. description: 平仓方式 - 0:无 1:平今 2:平昨
  15668. type: integer
  15669. curexchangerate:
  15670. description: 当前汇率
  15671. type: number
  15672. decimalplace:
  15673. description: 商品报价小数位
  15674. type: integer
  15675. exchangefullname:
  15676. description: 外部交易所全称
  15677. type: string
  15678. goodscode:
  15679. description: 商品代码(内部)
  15680. type: string
  15681. goodsid:
  15682. description: 商品ID
  15683. type: integer
  15684. goodsname:
  15685. description: 商品名称
  15686. type: string
  15687. marketid:
  15688. description: 市场ID
  15689. type: integer
  15690. opencharge:
  15691. description: 建仓手续费(账户)
  15692. type: number
  15693. opencharge2:
  15694. description: 建仓手续费(商品)
  15695. type: number
  15696. orderid:
  15697. description: 委托单号
  15698. type: string
  15699. orderlogincode:
  15700. description: 委托人
  15701. type: string
  15702. tradeamount:
  15703. description: 成交金额(账户)
  15704. type: number
  15705. tradedate:
  15706. description: 交易日(yyyyMMdd)
  15707. type: string
  15708. tradeid:
  15709. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15710. type: string
  15711. tradeprice:
  15712. description: 成交价格
  15713. type: number
  15714. tradeqty:
  15715. description: 成交数量
  15716. type: integer
  15717. tradetime:
  15718. description: 成交时间
  15719. type: string
  15720. tradetype:
  15721. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  15722. type: integer
  15723. type: object
  15724. models.QuotePrimaryMenu:
  15725. properties:
  15726. Index:
  15727. description: 序号
  15728. type: integer
  15729. Key:
  15730. description: 键名
  15731. type: string
  15732. Name:
  15733. description: 菜单名称
  15734. type: string
  15735. SubMenus:
  15736. description: 子菜单
  15737. items:
  15738. $ref: '#/definitions/models.QuoteSecondaryMenu'
  15739. type: array
  15740. SubTitleType:
  15741. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  15742. type: integer
  15743. TradeModes:
  15744. description: 包含市场交易类型
  15745. type: string
  15746. type: object
  15747. models.QuoteSecondaryMenu:
  15748. properties:
  15749. ExExchangeCode:
  15750. description: 外部交易所代码
  15751. type: string
  15752. ExExchangeID:
  15753. description: 外部交易所ID
  15754. type: integer
  15755. GoodsGroupIDs:
  15756. description: 商品组ID列表
  15757. items:
  15758. type: integer
  15759. type: array
  15760. Index:
  15761. description: 序号
  15762. type: integer
  15763. MarketID:
  15764. description: 市场ID
  15765. type: integer
  15766. MenuTitle:
  15767. description: 菜单标题(市场名称或外部交易所名称)
  15768. type: string
  15769. TradeMode:
  15770. description: 交易模式
  15771. type: integer
  15772. type: object
  15773. models.Reckondaytaaccount:
  15774. properties:
  15775. accountid:
  15776. description: 资金账户ID
  15777. type: integer
  15778. accountname:
  15779. description: 账户名称
  15780. type: string
  15781. accountpl:
  15782. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  15783. type: number
  15784. avaiablemoney:
  15785. description: 可用资金
  15786. type: number
  15787. avaiableoutmoney:
  15788. description: 可出资金
  15789. type: number
  15790. balance:
  15791. description: 期初余额
  15792. type: number
  15793. capitalbalance:
  15794. description: 本金余额[外部子账户实际出入金余额]
  15795. type: number
  15796. changeflag:
  15797. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  15798. type: integer
  15799. clearbalance:
  15800. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  15801. type: number
  15802. clearpl:
  15803. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  15804. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  15805. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  15806. type: number
  15807. closepl:
  15808. description: 今日平仓盈亏
  15809. type: number
  15810. closepl2:
  15811. description: 平仓盈亏(逐笔)
  15812. type: number
  15813. creditdecrease:
  15814. description: 今日授信减少
  15815. type: number
  15816. creditincrease:
  15817. description: 今日授信增加
  15818. type: number
  15819. curdebt:
  15820. description: 期末欠款
  15821. type: number
  15822. currencyid:
  15823. description: 货币ID
  15824. type: integer
  15825. currentbalance:
  15826. description: 期末余额
  15827. type: number
  15828. cycletype:
  15829. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  15830. type: integer
  15831. defercharge:
  15832. description: 今日递延费2支出[111, 112]
  15833. type: number
  15834. deliveryamountin:
  15835. description: 今日交收货款收入
  15836. type: number
  15837. deliveryamountout:
  15838. description: 今日交收货款支出
  15839. type: number
  15840. deliverycharge:
  15841. description: 今日交收手续费支出 [105,106]
  15842. type: number
  15843. deliverycompensationfeein:
  15844. description: 今日交收补偿费收入
  15845. type: number
  15846. deliverycompensationfeeout:
  15847. description: 今日交收补偿费支出
  15848. type: number
  15849. dividedcharge:
  15850. description: 今日已收手续费分成
  15851. type: number
  15852. floatnetvalue:
  15853. description: 浮动净值 = 净值 + 浮动盈亏
  15854. type: number
  15855. floatpl:
  15856. description: 浮动盈亏 - 每日有负债类商品
  15857. type: number
  15858. freezecharge:
  15859. description: 手续费冻结
  15860. type: number
  15861. freezemargin:
  15862. description: 冻结保证金
  15863. type: number
  15864. fromaccountid:
  15865. description: 所属上级账户
  15866. type: integer
  15867. holdcharge:
  15868. description: 今日持仓过夜费支出[108,109,110]
  15869. type: number
  15870. inamount:
  15871. description: 今日入金金额
  15872. type: number
  15873. interestcharge:
  15874. description: 今日递延费支出[103, 104]
  15875. type: number
  15876. ismain:
  15877. description: 是否账号 0:不是母账户 1:是母账户
  15878. type: integer
  15879. ismarketaccount:
  15880. description: 是否机构接单账号 0:不是 1:是
  15881. type: integer
  15882. isreckonaccount:
  15883. description: 是否机构分润账号 0:不是 1:是
  15884. type: integer
  15885. mortgagecredit:
  15886. description: 授信金额
  15887. type: number
  15888. netvalue:
  15889. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  15890. type: number
  15891. oridebt:
  15892. description: 期初欠款
  15893. type: number
  15894. orifreezecharge:
  15895. description: 期初手续费冻结
  15896. type: number
  15897. orifreezemargin:
  15898. description: 期初冻结保证金
  15899. type: number
  15900. orimortgagecredit:
  15901. description: 期初授信金额
  15902. type: number
  15903. oriothercredit:
  15904. description: 期初其它授信金额
  15905. type: number
  15906. oriotherfreezemargin:
  15907. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15908. type: number
  15909. orioutamountfreeze:
  15910. description: 期初出金冻结
  15911. type: number
  15912. oriusedmargin:
  15913. description: 期初占用保证金
  15914. type: number
  15915. othercredit:
  15916. description: 其它授信金额
  15917. type: number
  15918. othercreditdecrease:
  15919. description: 今日其它授信减少
  15920. type: number
  15921. othercreditincrease:
  15922. description: 今日其它授信增加
  15923. type: number
  15924. otherfreezemargin:
  15925. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  15926. type: number
  15927. otherincome:
  15928. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  15929. type: number
  15930. otherpay:
  15931. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  15932. type: number
  15933. outamount:
  15934. description: 今日出金金额
  15935. type: number
  15936. outamountfreeze:
  15937. description: 出金冻结
  15938. type: number
  15939. outthreshold:
  15940. description: 出金阈值
  15941. type: number
  15942. ownershipvalue:
  15943. description: 所有权市值
  15944. type: number
  15945. parentaccountid:
  15946. description: 所属根账户
  15947. type: integer
  15948. password:
  15949. description: 资金密码
  15950. type: string
  15951. paycharge:
  15952. description: 今日手续费支出
  15953. type: number
  15954. paycharge2:
  15955. description: 今日手续费支出(外部配置)
  15956. type: number
  15957. payexchcharge:
  15958. description: 今日应付交易所手续费
  15959. type: number
  15960. reckondate:
  15961. description: 日照日期(yyyyMMdd)
  15962. type: string
  15963. reckonpl:
  15964. description: 今日结算盈亏
  15965. type: number
  15966. reckonpl2:
  15967. description: 结算盈亏(逐笔) - 汇总取期末
  15968. type: number
  15969. relatedaccountstatus:
  15970. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  15971. type: integer
  15972. relateuserid:
  15973. description: 关联用户
  15974. type: integer
  15975. riskrate:
  15976. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  15977. type: number
  15978. signstatus:
  15979. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  15980. type: integer
  15981. spotvalue:
  15982. description: 现货市值-统计服务更新
  15983. type: number
  15984. sublevelpath:
  15985. description: 账号层级路径(逗号分隔,首尾加逗号)
  15986. type: string
  15987. taaccounttype:
  15988. description: 外部/内部账号 - 1:外部账号 2:内部账号
  15989. type: integer
  15990. thirdinamount:
  15991. description: 今日三方入金
  15992. type: number
  15993. thirdoutamount:
  15994. description: 今日三方出金
  15995. type: number
  15996. tradeamount:
  15997. description: 今日成交金额
  15998. type: number
  15999. tradecharge:
  16000. description: 今日交易手续费支出 [101,102]
  16001. type: number
  16002. tradeqty:
  16003. description: 今日成交量
  16004. type: integer
  16005. tradestatus:
  16006. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  16007. type: integer
  16008. transferamount:
  16009. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  16010. type: number
  16011. usedmargin:
  16012. description: 占用保证金
  16013. type: number
  16014. userid:
  16015. description: 用户ID
  16016. type: integer
  16017. required:
  16018. - userid
  16019. type: object
  16020. models.Reckongzmemtradesum:
  16021. properties:
  16022. buylistingamount:
  16023. description: 买挂牌金额 - 无数据,预留
  16024. type: number
  16025. buylistinglot:
  16026. description: 买挂牌宗数
  16027. type: integer
  16028. buylistingqty:
  16029. description: 买挂牌数量 - 无数据,预留
  16030. type: number
  16031. buytradeamount:
  16032. description: 购买金额
  16033. type: number
  16034. buytradelot:
  16035. description: 购买宗数
  16036. type: integer
  16037. buytradeqty:
  16038. description: 购买数量
  16039. type: number
  16040. marketid:
  16041. description: 市场ID
  16042. type: integer
  16043. reckondate:
  16044. description: 日照日期(yyyyMMdd)
  16045. type: string
  16046. selllistingamount:
  16047. description: 卖挂牌金额
  16048. type: number
  16049. selllistinglot:
  16050. description: 卖挂牌宗数
  16051. type: integer
  16052. selllistingqty:
  16053. description: 卖挂牌数量
  16054. type: number
  16055. selltradeamount:
  16056. description: 销售金额
  16057. type: number
  16058. selltradelot:
  16059. description: 销售宗数
  16060. type: integer
  16061. selltradeqty:
  16062. description: 销售数量
  16063. type: number
  16064. updatetime:
  16065. description: 更新时间
  16066. type: string
  16067. userid:
  16068. description: 用户ID
  16069. type: integer
  16070. zscategory:
  16071. description: 钻石分类 - 枚举”ZSCategory“
  16072. type: integer
  16073. zscategorydisplay:
  16074. type: string
  16075. zscurrencytype:
  16076. description: 货币类型 - 枚举“ZSCurrencyType”
  16077. type: integer
  16078. zscurrencytypedisplay:
  16079. type: string
  16080. zscurrencytypedisplayunit:
  16081. type: string
  16082. required:
  16083. - userid
  16084. type: object
  16085. models.RegisterMoney:
  16086. properties:
  16087. amount:
  16088. description: 红包
  16089. type: number
  16090. type: object
  16091. models.RelatedTaAccount:
  16092. properties:
  16093. accountid:
  16094. description: 资金账户ID
  16095. type: integer
  16096. type: object
  16097. models.RoleMenu:
  16098. properties:
  16099. hasright:
  16100. description: 是否有权限 0-没有权限 1-有权限
  16101. type: integer
  16102. iconame:
  16103. description: 菜单图标
  16104. type: string
  16105. menutype:
  16106. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  16107. type: integer
  16108. parentcode:
  16109. description: 上级资源代码
  16110. type: string
  16111. remark:
  16112. description: 菜单备注
  16113. type: string
  16114. resourcecode:
  16115. description: 菜单代码
  16116. type: string
  16117. resourcelevel:
  16118. description: 级别
  16119. type: integer
  16120. resourcename:
  16121. description: 菜单名称
  16122. type: string
  16123. roleid:
  16124. description: 角色id
  16125. type: integer
  16126. sort:
  16127. description: 排序
  16128. type: integer
  16129. subMenu:
  16130. description: 子级菜单(结构同上层一样, swag解析不出来)
  16131. items:
  16132. $ref: '#/definitions/models.RoleMenu'
  16133. type: array
  16134. url:
  16135. description: URL
  16136. type: string
  16137. userid:
  16138. description: 用户id
  16139. type: integer
  16140. type: object
  16141. models.SearchGoods:
  16142. properties:
  16143. goodscode:
  16144. description: 商品代码(内部)
  16145. type: string
  16146. goodsid:
  16147. description: 商品ID(自增ID SEQ_GOODS)
  16148. type: integer
  16149. goodsname:
  16150. description: 商品名称
  16151. type: string
  16152. marketid:
  16153. description: 所属市场ID
  16154. type: integer
  16155. marketname:
  16156. description: 市场名称
  16157. type: string
  16158. trademode:
  16159. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16160. 21:竞拍-大宗式 22:受托竞价
  16161. type: integer
  16162. required:
  16163. - goodscode
  16164. - goodsid
  16165. - goodsname
  16166. - marketid
  16167. - trademode
  16168. type: object
  16169. models.SellOrder:
  16170. properties:
  16171. accountid:
  16172. description: 资金账号
  16173. type: integer
  16174. applyid:
  16175. description: 申请单ID
  16176. type: integer
  16177. attachment1:
  16178. description: 附件1
  16179. type: string
  16180. attachment2:
  16181. description: 附件2
  16182. type: string
  16183. buyorsell:
  16184. description: 买卖 - 0:买 1:卖
  16185. type: integer
  16186. canbargain:
  16187. description: 是否可议价 - 0:不可 1:可
  16188. type: integer
  16189. cancelqty:
  16190. description: 撤销数量
  16191. type: integer
  16192. canceltime:
  16193. description: 撤销时间
  16194. type: string
  16195. cerno:
  16196. type: string
  16197. chargealgorithm:
  16198. description: 手续费收取方式 1:比率 2:固定
  16199. type: integer
  16200. chargealgorithmvalue:
  16201. description: 手续费设置值(交易所部分)
  16202. type: number
  16203. chargealgorithmvalue2:
  16204. description: 手续费设置值(会员部分)
  16205. type: number
  16206. clientordertime:
  16207. description: 客户端委托时间
  16208. type: string
  16209. cpcertno:
  16210. type: string
  16211. exchangerate:
  16212. description: 汇率[67]
  16213. type: number
  16214. firstratio:
  16215. description: 首付比率 - [挂牌时指定,摘牌时使用]
  16216. type: number
  16217. fixedprice:
  16218. description: '[克拉单价]固定价格 - [挂牌]'
  16219. type: number
  16220. freezecharge:
  16221. description: 冻结手续费
  16222. type: number
  16223. freezefirstamount:
  16224. description: 冻结首付金额 - [摘牌]
  16225. type: number
  16226. freezemargin:
  16227. description: 冻结保证金
  16228. type: number
  16229. goodsno:
  16230. description: 商品编号
  16231. type: string
  16232. imagepath:
  16233. type: string
  16234. isQueryDiamond:
  16235. description: 是否钻石查询
  16236. type: boolean
  16237. isspecified:
  16238. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16239. type: integer
  16240. kppath:
  16241. type: string
  16242. kpweight:
  16243. type: string
  16244. marginalgorithm:
  16245. description: 保证金方式 - 1:比率 2:固定
  16246. type: integer
  16247. marginvalue:
  16248. description: 保证金设置值
  16249. type: number
  16250. marketid:
  16251. description: 市场ID
  16252. type: integer
  16253. marketprice:
  16254. type: string
  16255. orderamount:
  16256. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  16257. type: number
  16258. ordertime:
  16259. description: 委托时间
  16260. type: string
  16261. performancetemplateid:
  16262. description: 履约计划模板ID
  16263. type: integer
  16264. price:
  16265. description: 价格
  16266. type: number
  16267. pricefactor:
  16268. description: 价格系数(浮动价时填写) - [挂牌]
  16269. type: number
  16270. pricemove:
  16271. description: 升贴水(浮动价时填写) - [挂牌]
  16272. type: number
  16273. priceper:
  16274. type: string
  16275. relatedwrtradeorderid:
  16276. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  16277. type: integer
  16278. remainqty:
  16279. description: 剩余重量
  16280. type: number
  16281. remark:
  16282. type: string
  16283. retcode:
  16284. description: 错误代码
  16285. type: integer
  16286. sellusername:
  16287. description: 卖方(查询字段-模糊查询)
  16288. type: string
  16289. settingmaterial:
  16290. description: 镶嵌材料
  16291. type: string
  16292. size1:
  16293. type: string
  16294. size2:
  16295. type: string
  16296. size3:
  16297. type: string
  16298. sizedisplay:
  16299. description: 尺寸
  16300. type: string
  16301. stonedesc:
  16302. description: 配石描述
  16303. type: string
  16304. totalqty:
  16305. description: 总重量
  16306. type: number
  16307. tradedate:
  16308. description: 交易日(yyyyMMdd)
  16309. type: string
  16310. tradeprice:
  16311. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16312. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16313. type: number
  16314. unfreezecharge:
  16315. description: 解冻手续费
  16316. type: number
  16317. unfreezefirstamount:
  16318. description: 解冻首付金额 - [摘牌]
  16319. type: number
  16320. unfreezemargin:
  16321. description: 解冻保证金
  16322. type: number
  16323. userid:
  16324. description: 用户ID
  16325. type: integer
  16326. uuid:
  16327. description: 发起端唯一id
  16328. type: string
  16329. validtime:
  16330. description: 有效期限
  16331. type: string
  16332. validtype:
  16333. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16334. type: integer
  16335. warehousenamedisplay:
  16336. type: string
  16337. wrbargainid:
  16338. description: 议价申请单ID
  16339. type: integer
  16340. wrfactortypeid:
  16341. description: 仓单要素类型ID/商品ID(77)
  16342. type: integer
  16343. wrpath:
  16344. type: string
  16345. wrpricetype:
  16346. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16347. type: integer
  16348. wrstandardid:
  16349. description: 现货商品ID
  16350. type: integer
  16351. wrtradeorderid:
  16352. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16353. type: string
  16354. wrtradeorderstatus:
  16355. 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:撤单解冻贷款失败
  16356. type: integer
  16357. wrtradetype:
  16358. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16359. type: integer
  16360. wrtransferuserid:
  16361. description: 仓单受让用户 - [摘牌]
  16362. type: integer
  16363. zscategory:
  16364. description: 钻石分类 - 枚举”ZSCategory“
  16365. type: integer
  16366. zscategorydisplay:
  16367. description: 钻石分类 - 描述
  16368. type: string
  16369. zscerttypedisplay:
  16370. type: string
  16371. zsclaritytype1display:
  16372. type: string
  16373. zsclaritytype2display:
  16374. type: string
  16375. zscolortype1display:
  16376. type: string
  16377. zscolortype2display:
  16378. type: string
  16379. zscrystaltype:
  16380. type: string
  16381. zscrystaltypedisplay:
  16382. type: string
  16383. zscurrencytype:
  16384. description: 货币类型 - 枚举“ZSCurrencyType”
  16385. type: integer
  16386. zscurrencytypedisplay:
  16387. type: string
  16388. zscurrencytypedisplayunit:
  16389. type: string
  16390. zscuttype1display:
  16391. type: string
  16392. zscuttype2display:
  16393. type: string
  16394. zsczcolor1typedisplay:
  16395. type: string
  16396. zsczcolor2typedisplay:
  16397. type: string
  16398. zsczcolor3typedisplay:
  16399. type: string
  16400. zsfluorescencetype1display:
  16401. type: string
  16402. zsfluorescencetype2display:
  16403. type: string
  16404. zspolishtype1display:
  16405. type: string
  16406. zspolishtype2display:
  16407. type: string
  16408. zsshapetypedisplay:
  16409. type: string
  16410. zsstyletypedisplay:
  16411. type: string
  16412. zssymmetrytype1display:
  16413. type: string
  16414. zssymmetrytype2display:
  16415. type: string
  16416. type: object
  16417. models.SellOrderQueryReq:
  16418. properties:
  16419. origin:
  16420. description: 原产地
  16421. type: string
  16422. page:
  16423. description: 页码
  16424. type: integer
  16425. pagesize:
  16426. description: 每页大小
  16427. type: integer
  16428. total:
  16429. description: 总条数
  16430. type: integer
  16431. warehouseid:
  16432. description: 仓库ID
  16433. type: integer
  16434. weight1:
  16435. description: 总重量(克拉重量)-从
  16436. type: number
  16437. weight2:
  16438. description: 总重量(克拉重量)-至
  16439. type: number
  16440. weightavg1:
  16441. description: 平均单颗重量-从
  16442. type: number
  16443. weightavg2:
  16444. description: 平均单颗重量-至
  16445. type: number
  16446. zscategory:
  16447. description: 钻石分类 - 枚举”ZSCategory“
  16448. type: integer
  16449. zscerttype:
  16450. description: 证书类型
  16451. items:
  16452. type: string
  16453. type: array
  16454. zsclaritytype:
  16455. description: 净度
  16456. items:
  16457. type: integer
  16458. type: array
  16459. zscolortype:
  16460. description: 颜色
  16461. items:
  16462. type: integer
  16463. type: array
  16464. zscurrencytype:
  16465. description: 货币类型 - 枚举“ZSCurrencyType”
  16466. items:
  16467. type: string
  16468. type: array
  16469. zscuttype:
  16470. description: 切工
  16471. items:
  16472. type: integer
  16473. type: array
  16474. zsczcolor1type:
  16475. description: 彩钻颜色1
  16476. items:
  16477. type: string
  16478. type: array
  16479. zsfluorescencetype:
  16480. description: 荧光
  16481. items:
  16482. type: integer
  16483. type: array
  16484. zspolishtype:
  16485. description: 抛光度
  16486. items:
  16487. type: integer
  16488. type: array
  16489. zsshapetype:
  16490. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  16491. items:
  16492. type: string
  16493. type: array
  16494. zsstyletype:
  16495. description: 款式
  16496. items:
  16497. type: string
  16498. type: array
  16499. zssymmetrytype:
  16500. description: 对称度
  16501. items:
  16502. type: integer
  16503. type: array
  16504. required:
  16505. - zscategory
  16506. type: object
  16507. models.Systemparam:
  16508. properties:
  16509. loginid:
  16510. description: 更新用户账号,登录账号
  16511. type: string
  16512. modifyflag:
  16513. description: 修改标志0 不允许修改 1 允许修改
  16514. type: integer
  16515. paramcode:
  16516. description: 参数代码
  16517. type: string
  16518. paramname:
  16519. description: 参数名
  16520. type: string
  16521. paramtype:
  16522. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  16523. type: integer
  16524. paramvalue:
  16525. description: 参数值
  16526. type: string
  16527. paramvalue2:
  16528. description: 参数值(CLOB)
  16529. type: string
  16530. regexpress:
  16531. description: 正则表达式
  16532. type: string
  16533. remark:
  16534. description: 备注
  16535. type: string
  16536. serverip:
  16537. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  16538. type: string
  16539. showflag:
  16540. description: 是否显示0 不显示 1 显示
  16541. type: integer
  16542. updatetime:
  16543. description: 更新时间
  16544. type: string
  16545. userid:
  16546. description: 更新用户ID
  16547. type: integer
  16548. required:
  16549. - paramcode
  16550. type: object
  16551. models.Szdz3convertconfig:
  16552. properties:
  16553. canin:
  16554. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  16555. type: integer
  16556. canout:
  16557. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  16558. type: integer
  16559. converttype:
  16560. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16561. 6:交易转花生米(不设置)
  16562. type: integer
  16563. createtime:
  16564. description: 创建时间
  16565. type: string
  16566. creatorid:
  16567. description: 创建人
  16568. type: integer
  16569. daymaxvalue:
  16570. description: 当日最大转入限制
  16571. type: number
  16572. freezedays:
  16573. description: 冻结天数 [5:花生米转交易]
  16574. type: integer
  16575. innergoodsid:
  16576. description: 内部商品ID[交易]
  16577. type: integer
  16578. inratio:
  16579. description: 目标值
  16580. type: integer
  16581. modifierid:
  16582. description: 修改人
  16583. type: integer
  16584. modifytime:
  16585. description: 修改时间
  16586. type: string
  16587. outergoodscode:
  16588. description: 外部商品代码[JD\PD]
  16589. type: string
  16590. outratio:
  16591. description: 源值
  16592. type: integer
  16593. pddecimalplace:
  16594. description: PD小数位
  16595. type: integer
  16596. timemaxvalue:
  16597. description: 单次最大转入限制
  16598. type: number
  16599. timeminvalue:
  16600. description: 单次最小转入限制
  16601. type: number
  16602. required:
  16603. - converttype
  16604. - innergoodsid
  16605. - outergoodscode
  16606. type: object
  16607. models.Szdz3searchwhitelist:
  16608. properties:
  16609. createtime:
  16610. description: 创建时间
  16611. type: string
  16612. creatorid:
  16613. description: 创建人
  16614. type: integer
  16615. modifierid:
  16616. description: 修改人
  16617. type: integer
  16618. modifytime:
  16619. description: 修改时间
  16620. type: string
  16621. userid:
  16622. description: 用户ID
  16623. type: integer
  16624. required:
  16625. - userid
  16626. type: object
  16627. models.TBGoods:
  16628. properties:
  16629. agreeunit:
  16630. description: 合约乘数
  16631. type: number
  16632. enumdicname:
  16633. description: 单位名称
  16634. type: string
  16635. goodscode:
  16636. description: 商品代码(内部)
  16637. type: string
  16638. goodsid:
  16639. description: 商品ID(自增ID SEQ_GOODS)
  16640. type: integer
  16641. goodsname:
  16642. description: 商品名称
  16643. type: string
  16644. type: object
  16645. models.TBGoodsGroup:
  16646. properties:
  16647. GDLST:
  16648. description: 商品列表
  16649. items:
  16650. $ref: '#/definitions/models.TBGoods'
  16651. type: array
  16652. convertratio:
  16653. description: 折算系数
  16654. type: number
  16655. enumdicname:
  16656. description: 单位名称
  16657. type: string
  16658. exexchangecode:
  16659. description: 交易所代码
  16660. type: string
  16661. exexchangename:
  16662. description: 交易所名称
  16663. type: string
  16664. goodsgroupid:
  16665. description: 商品组ID(自增ID)
  16666. type: integer
  16667. goodsgroupname:
  16668. description: 商品组名称
  16669. type: string
  16670. goodunitid:
  16671. description: 报价单位ID
  16672. type: integer
  16673. type: object
  16674. models.TBMiddleGoods:
  16675. properties:
  16676. GPLST:
  16677. description: 期货品种列表
  16678. items:
  16679. $ref: '#/definitions/models.TBGoodsGroup'
  16680. type: array
  16681. WDLST:
  16682. description: 商品信息列表(现货品类)
  16683. items:
  16684. $ref: '#/definitions/models.TBWrstandard'
  16685. type: array
  16686. areauserid:
  16687. description: 机构用户ID
  16688. type: integer
  16689. enumdicname:
  16690. description: 单位名称
  16691. type: string
  16692. goodsunitid:
  16693. description: 套保品种单位id
  16694. type: integer
  16695. middlegoodscode:
  16696. description: 套保品种代码
  16697. type: string
  16698. middlegoodsid:
  16699. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  16700. type: integer
  16701. middlegoodsname:
  16702. description: 套保品种名称
  16703. type: string
  16704. needarbitrageratio:
  16705. description: 套利比率
  16706. type: number
  16707. needhedgeratio:
  16708. description: 套保比率
  16709. type: number
  16710. type: object
  16711. models.TBWrstandard:
  16712. properties:
  16713. convertratio:
  16714. description: 折算系数
  16715. type: number
  16716. deliverygoodsname:
  16717. description: 品种名称
  16718. type: string
  16719. enumdicname:
  16720. description: 单位名称
  16721. type: string
  16722. vatrate:
  16723. description: 增值税率
  16724. type: number
  16725. wrstandardcode:
  16726. description: 现货商品代码
  16727. type: string
  16728. wrstandardid:
  16729. description: 现货商品ID(SEQ_WRSTANDARD)
  16730. type: integer
  16731. wrstandardname:
  16732. description: 现货商品名称
  16733. type: string
  16734. type: object
  16735. models.THJDeliveryMode:
  16736. properties:
  16737. enumdicname:
  16738. description: 枚举项名称
  16739. type: string
  16740. enumitemname:
  16741. description: 枚举项值
  16742. type: integer
  16743. type: object
  16744. models.THJDeliveryMonth:
  16745. properties:
  16746. enddate:
  16747. description: 预售结束日期(yyyy-mm-dd)
  16748. type: string
  16749. endmonth:
  16750. description: 预售结束月份(yyyy-mm)
  16751. type: string
  16752. orderqty:
  16753. description: 委托数量
  16754. type: integer
  16755. presaleapplyid:
  16756. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16757. type: string
  16758. remainqty:
  16759. description: 可用数量
  16760. type: integer
  16761. tradeqty:
  16762. description: 成交数量
  16763. type: integer
  16764. type: object
  16765. models.THJPresaleApplyDeposit:
  16766. properties:
  16767. depositrate:
  16768. description: 定金比例
  16769. type: number
  16770. discountamount:
  16771. description: 优惠金额(每吨)
  16772. type: number
  16773. type: object
  16774. models.THJSigninReq:
  16775. properties:
  16776. userid:
  16777. description: 用户ID
  16778. type: integer
  16779. required:
  16780. - userid
  16781. type: object
  16782. models.THJSigninRsp:
  16783. properties:
  16784. signinstatus:
  16785. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  16786. type: integer
  16787. type: object
  16788. models.THJSpotGoodsPriceLog:
  16789. properties:
  16790. spotgoodsprice:
  16791. description: 现货价格
  16792. type: number
  16793. tradedate:
  16794. description: 交易日(yyyyMMdd)
  16795. type: string
  16796. type: object
  16797. models.THJWrstandard:
  16798. properties:
  16799. thumurls:
  16800. description: 缩略图片(1:1)(逗号分隔)
  16801. type: string
  16802. wrstandardcode:
  16803. description: 现货商品代码
  16804. type: string
  16805. wrstandardid:
  16806. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16807. type: integer
  16808. wrstandardname:
  16809. description: 现货商品名称(模糊查询)
  16810. type: string
  16811. type: object
  16812. models.THJWrstandardDetail_GoodsInfo:
  16813. properties:
  16814. pictureurls:
  16815. description: 详情图片(逗号分隔)
  16816. type: string
  16817. spotgoodsprice:
  16818. description: 现货价格
  16819. type: number
  16820. wrstandardcode:
  16821. description: 现货商品代码
  16822. type: string
  16823. wrstandardid:
  16824. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  16825. type: integer
  16826. wrstandardname:
  16827. description: 现货商品名称
  16828. type: string
  16829. type: object
  16830. models.THJWrstandardDetailRsp:
  16831. properties:
  16832. deliverymodes:
  16833. description: 交割方式
  16834. items:
  16835. $ref: '#/definitions/models.THJDeliveryMode'
  16836. type: array
  16837. deliverymonth:
  16838. description: 交割月份
  16839. items:
  16840. $ref: '#/definitions/models.THJDeliveryMonth'
  16841. type: array
  16842. goodsinfo:
  16843. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  16844. description: 商品信息
  16845. presaleapplydeposits:
  16846. description: 支付方式
  16847. items:
  16848. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  16849. type: array
  16850. spotgoodspricelogs:
  16851. description: 历史价格走势
  16852. items:
  16853. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  16854. type: array
  16855. type: object
  16856. models.Taaccount:
  16857. properties:
  16858. accountflag:
  16859. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  16860. type: integer
  16861. accountid:
  16862. description: 资金账户ID
  16863. type: integer
  16864. accountname:
  16865. description: 账户名称
  16866. type: string
  16867. balance:
  16868. description: 期初余额
  16869. type: number
  16870. capitalbalance:
  16871. description: 本金余额[外部子账户实际出入金余额]
  16872. type: number
  16873. changeflag:
  16874. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  16875. type: integer
  16876. changetime:
  16877. description: 账户状态变更时间
  16878. type: string
  16879. closepl:
  16880. description: 今日平仓盈亏
  16881. type: number
  16882. creditdecrease:
  16883. description: 今日授信减少
  16884. type: number
  16885. creditincrease:
  16886. description: 今日授信增加
  16887. type: number
  16888. curamount:
  16889. description: 总市值(从持仓中统计)
  16890. type: number
  16891. currencyid:
  16892. description: 货币ID
  16893. type: integer
  16894. currentbalance:
  16895. description: 期末余额
  16896. type: number
  16897. freezecharge:
  16898. description: 手续费冻结
  16899. type: number
  16900. freezemargin:
  16901. description: 冻结保证金
  16902. type: number
  16903. fromaccountid:
  16904. description: 所属上级账户
  16905. type: integer
  16906. inamount:
  16907. description: 今日入金金额(包括三方入金)
  16908. type: number
  16909. ismain:
  16910. description: 是否母账号 0:不是母账户 1:是母账户
  16911. type: integer
  16912. ismarketaccount:
  16913. description: 是否机构接单账号 0:不是 1:是
  16914. type: integer
  16915. isreckonaccount:
  16916. description: 是否机构分润账号 0:不是 1:是
  16917. type: integer
  16918. mortgagecredit:
  16919. description: 授信金额
  16920. type: number
  16921. orifreezecharge:
  16922. description: 期初手续费冻结
  16923. type: number
  16924. orifreezemargin:
  16925. description: 期初冻结保证金
  16926. type: number
  16927. orimortgagecredit:
  16928. description: 期初授信金额
  16929. type: number
  16930. oriothercredit:
  16931. description: 期初其它授信金额
  16932. type: number
  16933. oriotherfreezemargin:
  16934. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  16935. type: number
  16936. orioutamountfreeze:
  16937. description: 期初出金冻结
  16938. type: number
  16939. oriusedmargin:
  16940. description: 期初占用保证金
  16941. type: number
  16942. othercredit:
  16943. description: 其它授信金额
  16944. type: number
  16945. othercreditdecrease:
  16946. description: 今日其它授信减少
  16947. type: number
  16948. othercreditincrease:
  16949. description: 今日其它授信增加
  16950. type: number
  16951. otherfreezemargin:
  16952. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  16953. type: number
  16954. otherincome:
  16955. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  16956. type: number
  16957. otherpay:
  16958. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  16959. type: number
  16960. outamount:
  16961. description: 今日出金金额(包括三方出金)
  16962. type: number
  16963. outamountfreeze:
  16964. description: 出金冻结
  16965. type: number
  16966. outthreshold:
  16967. description: 出金阈值
  16968. type: number
  16969. parentaccountid:
  16970. description: 所属根账号
  16971. type: integer
  16972. paycharge:
  16973. description: 今日手续费支出
  16974. type: number
  16975. relatedaccountstatus:
  16976. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  16977. type: integer
  16978. relateduserid:
  16979. description: 关联用户
  16980. type: integer
  16981. remainamount:
  16982. description: 融资额(从融资合同中统计)
  16983. type: number
  16984. serivcegroup:
  16985. description: 服务分组
  16986. type: integer
  16987. signstatus:
  16988. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  16989. type: integer
  16990. sublevelpath:
  16991. description: 账号层级路径(逗号分隔,首尾加逗号)
  16992. type: string
  16993. taaccounttype:
  16994. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16995. type: integer
  16996. thirdinamount:
  16997. description: 今日三方入金
  16998. type: number
  16999. thirdoutamount:
  17000. description: 今日三方出金
  17001. type: number
  17002. tradestatus:
  17003. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  17004. type: integer
  17005. tradestatuschangetime:
  17006. description: 激活时间
  17007. type: string
  17008. transferamount:
  17009. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  17010. type: number
  17011. usedmargin:
  17012. description: 占用保证金
  17013. type: number
  17014. userid:
  17015. description: 用户ID
  17016. type: integer
  17017. required:
  17018. - accountid
  17019. - userid
  17020. type: object
  17021. models.Tablecolumnconfig:
  17022. properties:
  17023. aligntype:
  17024. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  17025. type: integer
  17026. autoid:
  17027. description: AutoID
  17028. type: integer
  17029. columnfield:
  17030. description: 列字段
  17031. type: string
  17032. columntitle:
  17033. description: 列Title
  17034. type: string
  17035. columnwidth:
  17036. description: 列宽
  17037. type: string
  17038. fixed:
  17039. description: 固定类型 - 空 | left | right
  17040. type: string
  17041. formatterstring:
  17042. description: 格式化字符
  17043. type: string
  17044. formattertype:
  17045. description: 格式化类型
  17046. type: string
  17047. groupname:
  17048. description: 表头分组名称
  17049. type: string
  17050. ismerge:
  17051. description: 是否合并显示 - 0:不合并 1:合并
  17052. type: integer
  17053. isshow:
  17054. description: 是否显示 - 0:不显示 1:显示
  17055. type: integer
  17056. needsummary:
  17057. description: 是否需要汇总 - 0:不需要 1:需要
  17058. type: integer
  17059. orderindex:
  17060. description: 顺序
  17061. type: integer
  17062. remark:
  17063. description: 备注
  17064. type: string
  17065. summarytype:
  17066. description: 汇总类型 - 1:加总 2:最后一个
  17067. type: integer
  17068. tablekey:
  17069. description: 列表Key
  17070. type: string
  17071. required:
  17072. - autoid
  17073. type: object
  17074. models.Thjpurchasetradedetail:
  17075. properties:
  17076. buyaccountid:
  17077. description: 买方账号ID
  17078. type: integer
  17079. buychargevalue:
  17080. description: 买方到期手续费
  17081. type: number
  17082. buyconfirmremark:
  17083. description: 买方确认备注
  17084. type: string
  17085. buyconfirmtime:
  17086. description: 买方确认时间
  17087. type: string
  17088. buyfreezecharge:
  17089. description: 买方摘牌冻结手续费
  17090. type: number
  17091. buyuserid:
  17092. description: 买方用户ID
  17093. type: integer
  17094. contactinfo:
  17095. description: 联系方式
  17096. type: string
  17097. contactname:
  17098. description: 联系人姓名
  17099. type: string
  17100. contractaddrbuy:
  17101. description: 贸易合同地址(买家)
  17102. type: string
  17103. contractaddrsell:
  17104. description: 贸易合同地址(卖家)
  17105. type: string
  17106. deliverygoodsid:
  17107. description: 现货品种ID
  17108. type: integer
  17109. depositrate:
  17110. description: 定金比例
  17111. type: number
  17112. desaddress:
  17113. description: 目的地地址
  17114. type: string
  17115. discountamount:
  17116. description: 优惠总金额(优惠金额*TradeQty)
  17117. type: number
  17118. handlestatus:
  17119. description: 处理状态
  17120. type: integer
  17121. lastamount:
  17122. description: 到期总货款 = 到期价格 * 摘牌数量
  17123. type: number
  17124. lastprice:
  17125. description: 到期价格
  17126. type: number
  17127. lastpricedate:
  17128. description: 到期价格日期 - 暂不使用
  17129. type: string
  17130. marketid:
  17131. description: 市场ID
  17132. type: integer
  17133. orderstatus:
  17134. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  17135. (枚举:THJOrderStatus)
  17136. type: integer
  17137. payeddeposit:
  17138. description: 买方已付定金
  17139. type: number
  17140. payedtradedate:
  17141. description: 支付尾款成功交易日
  17142. type: string
  17143. presaleapplyid:
  17144. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17145. type: integer
  17146. receiptinfo:
  17147. description: 发票信息
  17148. type: string
  17149. remainamount:
  17150. description: 剩余货款 = 到期总货款 - 已付定金 - 优惠金额
  17151. type: number
  17152. sellaccountid:
  17153. description: 卖方账号ID
  17154. type: integer
  17155. sellchargevalue:
  17156. description: 卖方到期手续费
  17157. type: number
  17158. sellconfirmattach:
  17159. description: 卖方确认附件
  17160. type: string
  17161. sellconfirmremark:
  17162. description: 卖方确认备注
  17163. type: string
  17164. sellconfirmtime:
  17165. description: 卖方确认时间
  17166. type: string
  17167. sellconfirmtradedate:
  17168. description: 卖方确认交易日
  17169. type: string
  17170. selluserid:
  17171. description: 卖方用户ID
  17172. type: integer
  17173. thjdeliverymode:
  17174. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  17175. type: integer
  17176. thjdeliverymodedisplay:
  17177. description: 提货方式
  17178. type: string
  17179. thjorderstatusdisplay:
  17180. description: 状态
  17181. type: string
  17182. tradeamount:
  17183. description: 摘牌总货款
  17184. type: number
  17185. tradedate:
  17186. description: 交易日(yyyyMMdd)
  17187. type: string
  17188. tradeprice:
  17189. description: 摘牌价格
  17190. type: number
  17191. tradeqty:
  17192. description: 摘牌数量
  17193. type: integer
  17194. tradetime:
  17195. description: 摘牌时间
  17196. type: string
  17197. warehouseid:
  17198. description: 仓库ID
  17199. type: integer
  17200. warehousename:
  17201. description: 仓库名称
  17202. type: string
  17203. wrfactortypeid:
  17204. description: 仓单要素类型ID
  17205. type: integer
  17206. wrstandardid:
  17207. description: 现货商品ID
  17208. type: integer
  17209. wrstandardname:
  17210. description: 现货商品名称
  17211. type: string
  17212. wrtradedetailid:
  17213. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17214. type: integer
  17215. required:
  17216. - buyuserid
  17217. type: object
  17218. models.Thjscoreconfig:
  17219. properties:
  17220. parma1:
  17221. description: 参数1
  17222. type: integer
  17223. parma2:
  17224. description: 参数2
  17225. type: integer
  17226. parma3:
  17227. description: 参数3
  17228. type: integer
  17229. parma4:
  17230. description: 参数4
  17231. type: integer
  17232. parma5:
  17233. description: 参数5
  17234. type: integer
  17235. parma6:
  17236. description: 参数6
  17237. type: integer
  17238. parma7:
  17239. description: 参数6
  17240. type: integer
  17241. scoreconfigtype:
  17242. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  17243. 7:抽奖得红包
  17244. type: integer
  17245. type: object
  17246. models.TjmdHolderDetailTradeInfo:
  17247. properties:
  17248. agreeunit:
  17249. description: 合约乘数
  17250. type: number
  17251. buyaccountid:
  17252. description: 买方账户
  17253. type: string
  17254. buyusername:
  17255. description: 买方
  17256. type: string
  17257. delistingdate:
  17258. description: 最后结算日
  17259. type: string
  17260. expiredate:
  17261. description: 到期结算价定价日
  17262. type: string
  17263. exprieprice:
  17264. description: 到期清算价格
  17265. type: string
  17266. goodscode:
  17267. description: 商品代码
  17268. type: string
  17269. goodsid:
  17270. description: 商品ID
  17271. type: integer
  17272. goodsname:
  17273. description: 商品名称(交易标的)
  17274. type: string
  17275. lasttradedate:
  17276. description: 最后交易日
  17277. type: string
  17278. listingdate:
  17279. description: 开始交易日
  17280. type: string
  17281. openprice:
  17282. description: 成交价
  17283. type: number
  17284. openqty:
  17285. description: 交易数量
  17286. type: integer
  17287. sellaccountid:
  17288. description: 卖方账户
  17289. type: string
  17290. sellusername:
  17291. description: 卖方
  17292. type: string
  17293. tradeamount:
  17294. description: 初始名义价值
  17295. type: number
  17296. tradedate:
  17297. description: 成交日期
  17298. type: string
  17299. tradeid:
  17300. description: 成交编号
  17301. type: string
  17302. type: object
  17303. models.TjmdMarketSection:
  17304. properties:
  17305. marketsectionid:
  17306. description: 市场版块ID(SEQ_MARKETSECTION)
  17307. type: integer
  17308. marketsectionname:
  17309. description: 市场版块名称
  17310. type: string
  17311. mlist:
  17312. description: 市场列表(板块下面有多少个市场)
  17313. items:
  17314. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  17315. type: array
  17316. orderindex:
  17317. description: 排序
  17318. type: integer
  17319. pictureurl:
  17320. description: 图片url, 规格(90*90)
  17321. type: string
  17322. remark:
  17323. description: 备注
  17324. type: string
  17325. type: object
  17326. models.TjmdMarketSectionConfig:
  17327. properties:
  17328. auctionwrtype:
  17329. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  17330. type: integer
  17331. canacceptquote:
  17332. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  17333. type: integer
  17334. cangoodsexercise:
  17335. description: '[期权]是否可现货行权- 0:否 1:是'
  17336. type: integer
  17337. cangoodsexercisetype:
  17338. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  17339. type: integer
  17340. canmanualquotestrike:
  17341. description: 是否可手动报行权价- 0:否 1:是 [期权]
  17342. type: integer
  17343. canmutistage:
  17344. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  17345. type: integer
  17346. canpreexercise:
  17347. description: '[期权]是否可预申报- 0:否 1:是'
  17348. type: integer
  17349. clearinterval:
  17350. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  17351. type: integer
  17352. contracttmp:
  17353. description: 合同模板[荷兰式][竞价式][仓单贸易]
  17354. type: string
  17355. exchareaid:
  17356. description: 所属交易所,可以没有
  17357. type: integer
  17358. financemarketid:
  17359. description: 融资回购市场ID [仓单贸易]
  17360. type: integer
  17361. goodstype:
  17362. description: 商品类型 - 1:交易商品 2:仓单商品
  17363. type: integer
  17364. hasrebate:
  17365. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  17366. type: integer
  17367. hastradecredit:
  17368. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  17369. type: integer
  17370. haswr:
  17371. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  17372. type: integer
  17373. isdeductmargin:
  17374. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  17375. type: integer
  17376. isrecordsource:
  17377. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  17378. type: integer
  17379. isreleasemargin:
  17380. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  17381. type: integer
  17382. isupdatereckonprice:
  17383. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  17384. type: integer
  17385. listingmode:
  17386. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  17387. type: integer
  17388. marginformula:
  17389. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17390. type: integer
  17391. marginformula2:
  17392. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  17393. type: integer
  17394. marketid:
  17395. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  17396. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  17397. type: integer
  17398. marketname:
  17399. description: 市场名称
  17400. type: string
  17401. marketsectionid:
  17402. description: 市场版块ID(SEQ_MARKETSECTION)
  17403. type: integer
  17404. marketserviceid:
  17405. description: 市场服务ID
  17406. type: integer
  17407. marketstatus:
  17408. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  17409. type: integer
  17410. markettype:
  17411. description: 市场类型- 1:非交易服务 2:交易服务
  17412. type: integer
  17413. matchermode:
  17414. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  17415. type: integer
  17416. nowrquotaflag:
  17417. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  17418. type: integer
  17419. openmethod:
  17420. description: 开盘模式 - 0 自动 1手动
  17421. type: integer
  17422. orderindex:
  17423. description: 排序
  17424. type: integer
  17425. otcuserid:
  17426. description: 场外期权做市商[场外期权]
  17427. type: integer
  17428. outersynctime:
  17429. description: 外部同步时间点(h24:mi:ss)[场外期权]
  17430. type: string
  17431. paylaterflag:
  17432. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  17433. type: integer
  17434. pendingflag:
  17435. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  17436. type: integer
  17437. pendingtime:
  17438. description: 待开市时间[通道交易-对冲](HH:mm)
  17439. type: string
  17440. performancetempid:
  17441. description: 履约计划模板ID - 作废
  17442. type: integer
  17443. premiumquotemode:
  17444. description: 权利金报价方式 - 1:自动 2:手动
  17445. type: integer
  17446. rebateratio:
  17447. description: 返利比率[竞价式]
  17448. type: number
  17449. reckonorder:
  17450. description: 结算顺序
  17451. type: integer
  17452. reckonpricealgorithm:
  17453. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  17454. 6.卖一价 7.买一卖一均价 8.外部结算价'
  17455. type: integer
  17456. reckonpriceparam:
  17457. description: 结算价参数
  17458. type: integer
  17459. reckontime:
  17460. description: 结算时间[通道交易-对冲](HH:mm)
  17461. type: string
  17462. roleprioritytype:
  17463. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  17464. type: integer
  17465. selllistingauditflag:
  17466. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  17467. type: integer
  17468. trademarkettype:
  17469. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  17470. type: integer
  17471. trademode:
  17472. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17473. 21:竞拍-大宗式 22:受托竞价
  17474. type: integer
  17475. tradeproperty:
  17476. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  17477. 8:场外期权
  17478. type: integer
  17479. tradetype:
  17480. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  17481. type: integer
  17482. updatereckonpriceinterval:
  17483. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  17484. type: integer
  17485. type: object
  17486. models.TjmdQuoteGoods:
  17487. properties:
  17488. buyqty:
  17489. description: 买量(暂不做, 无值, 保留字段)
  17490. type: number
  17491. decimalplace:
  17492. description: 报价小数位
  17493. type: integer
  17494. goodscode:
  17495. description: 合约代码
  17496. type: string
  17497. goodsgroupid:
  17498. description: 商品组ID(自增ID)
  17499. type: integer
  17500. goodsgroupname:
  17501. description: 商品组名称
  17502. type: string
  17503. goodsid:
  17504. description: 合约id
  17505. type: integer
  17506. goodsname:
  17507. description: 合约名称
  17508. type: string
  17509. refgoodscode:
  17510. description: 标的合约代码
  17511. type: string
  17512. refgoodsid:
  17513. description: 标的合约id
  17514. type: integer
  17515. refgoodsname:
  17516. description: 标的合约名称
  17517. type: string
  17518. sellqty:
  17519. description: 卖量(暂不做, 无值, 保留字段)
  17520. type: number
  17521. type: object
  17522. models.TjmdTodayAccountMargin:
  17523. properties:
  17524. accountid:
  17525. description: 账号ID
  17526. type: integer
  17527. goodsid:
  17528. description: 商品ID
  17529. type: integer
  17530. infoc:
  17531. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  17532. description: 配置参数
  17533. marketid:
  17534. description: 市场ID
  17535. type: integer
  17536. type: object
  17537. models.TjmdTradeOrderDetail:
  17538. properties:
  17539. buyorsell:
  17540. description: 买卖方向 0-买 1-卖
  17541. type: integer
  17542. goodsid:
  17543. description: 商品id
  17544. type: integer
  17545. marketmaxsub:
  17546. description: 市价最大偏移范围 [浮动价 - 点差]
  17547. type: number
  17548. orderid:
  17549. description: 委托单号
  17550. type: string
  17551. orderprice:
  17552. description: 期初均价
  17553. type: number
  17554. orderqty:
  17555. description: 委托数量
  17556. type: integer
  17557. pricemode:
  17558. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  17559. type: integer
  17560. userid:
  17561. description: 用户id
  17562. type: integer
  17563. username:
  17564. description: 用户名称(已脱敏)
  17565. type: string
  17566. type: object
  17567. models.TjmdTransferApply:
  17568. properties:
  17569. applyid:
  17570. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  17571. type: integer
  17572. applystatus:
  17573. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  17574. type: integer
  17575. applytime:
  17576. description: 申请时间(时间)
  17577. type: string
  17578. auditremark:
  17579. description: 审核备注(拒绝原因?)
  17580. type: string
  17581. begindate:
  17582. description: 开始交易日(yyyymmdd)
  17583. type: string
  17584. buyorsell:
  17585. description: 买卖 - 0:买 1:卖
  17586. type: integer
  17587. enddate:
  17588. description: 结束交易日(yyyymmdd)
  17589. type: string
  17590. goodscode:
  17591. description: 商品代码
  17592. type: string
  17593. goodsid:
  17594. description: 商品ID
  17595. type: integer
  17596. goodsname:
  17597. description: 商品名称
  17598. type: string
  17599. marketid:
  17600. description: 市场ID
  17601. type: integer
  17602. qty:
  17603. description: 期初均价
  17604. type: number
  17605. tradeid:
  17606. description: 成交单号(关联持仓)
  17607. type: string
  17608. transferamount:
  17609. description: 转让总金额(金额)
  17610. type: number
  17611. transferprice:
  17612. description: 转让价格(协议价格)
  17613. type: number
  17614. type: object
  17615. models.TradeHolderDetail:
  17616. properties:
  17617. accountid:
  17618. description: 账号ID
  17619. type: integer
  17620. agreeunit:
  17621. description: 合约乘数
  17622. type: number
  17623. buyorsell:
  17624. description: 方向 - 0:买 1:卖
  17625. type: integer
  17626. currencyid:
  17627. description: 商品币种id
  17628. type: integer
  17629. currencyname:
  17630. description: 币种名称
  17631. type: string
  17632. decimalplace:
  17633. description: 商品价格小数位
  17634. type: integer
  17635. enumdicname:
  17636. description: 商品单位名称
  17637. type: string
  17638. expirecycle:
  17639. description: 行权周期(天) - 1:滚动行权时填写
  17640. type: integer
  17641. expiredate:
  17642. description: 行权日(yyyyMMdd) - 到期日
  17643. type: string
  17644. expiretype:
  17645. description: 行权日类型 - 1:滚动行权 2:固定日行权
  17646. type: integer
  17647. freezeqty:
  17648. description: 期初均价
  17649. type: number
  17650. goodscode:
  17651. description: 商品代码
  17652. type: string
  17653. goodsid:
  17654. description: 商品ID
  17655. type: integer
  17656. goodsname:
  17657. description: 商品名称
  17658. type: string
  17659. goodunitid:
  17660. description: 商品单位id
  17661. type: integer
  17662. holderamount:
  17663. description: 持仓金额
  17664. type: number
  17665. holdercredit:
  17666. description: 持仓授信金额
  17667. type: number
  17668. holderdays:
  17669. description: 剩余冻结天数
  17670. type: integer
  17671. holderprice:
  17672. description: 持仓价格
  17673. type: number
  17674. holderqty:
  17675. description: 期初均价
  17676. type: number
  17677. isconfirmexercise:
  17678. description: 是否确认行权- 0:否 1:是
  17679. type: integer
  17680. ispreexercise:
  17681. description: 是否预申报- 0:否 1:是 2:不可行权
  17682. type: integer
  17683. marketid:
  17684. description: 市场id
  17685. type: integer
  17686. marketname:
  17687. description: 市场名称
  17688. type: string
  17689. openprice:
  17690. description: 建仓价格
  17691. type: number
  17692. openqty:
  17693. description: 期初均价
  17694. type: number
  17695. optiontype:
  17696. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17697. type: integer
  17698. preexerciseprice:
  17699. description: 预申报价格
  17700. type: number
  17701. premium:
  17702. description: 权利金
  17703. type: number
  17704. qtydecimalplace:
  17705. description: 商品成交量小数位
  17706. type: integer
  17707. refgoodscode:
  17708. description: 标的合约代码
  17709. type: string
  17710. refgoodsid:
  17711. description: 标的合约id
  17712. type: integer
  17713. releaseamount:
  17714. description: 释放持仓金额
  17715. type: number
  17716. releaseholdercredit:
  17717. description: 释放持仓授信金额
  17718. type: number
  17719. taname:
  17720. description: 资金账号名称
  17721. type: string
  17722. tradeamount:
  17723. description: 成交金额
  17724. type: number
  17725. tradedate:
  17726. description: 交易日(yyyyMMdd)
  17727. type: string
  17728. tradeid:
  17729. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17730. type: string
  17731. trademode:
  17732. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17733. 21:竞拍-大宗式 22:受托竞价 46:掉期
  17734. type: integer
  17735. tradeproperty:
  17736. description: 交易属性
  17737. type: integer
  17738. tradetime:
  17739. description: 交易时间
  17740. type: string
  17741. userid:
  17742. description: 用户id
  17743. type: integer
  17744. username:
  17745. description: 用户名称
  17746. type: string
  17747. type: object
  17748. models.Unlinkermcphedgeplan:
  17749. properties:
  17750. accountid:
  17751. description: 期货账户ID - 作废
  17752. type: integer
  17753. accountname:
  17754. description: 交易用户
  17755. type: string
  17756. applyid:
  17757. description: 申请人
  17758. type: integer
  17759. applysrc:
  17760. description: 申请来源 - 1:管理端 2:终端
  17761. type: integer
  17762. applytime:
  17763. description: 申请时间
  17764. type: string
  17765. areauserid:
  17766. description: '[企业ID]机构ID'
  17767. type: integer
  17768. auditid:
  17769. description: 审核人
  17770. type: integer
  17771. auditremark:
  17772. description: 审核备注
  17773. type: string
  17774. auditsrc:
  17775. description: 审核来源 - 1:管理端 2:终端
  17776. type: integer
  17777. audittime:
  17778. description: 审核时间
  17779. type: string
  17780. audittradedate:
  17781. description: 审核交易日(yyyyMMdd)
  17782. type: string
  17783. biztype:
  17784. description: 业务类型 - 1:套保
  17785. type: integer
  17786. contracttype:
  17787. description: 计划类型 - 1:采购 -1:销售
  17788. type: integer
  17789. convertfactor:
  17790. description: 标仓系数 - 作废
  17791. type: number
  17792. createtime:
  17793. description: 创建时间
  17794. type: string
  17795. currencyid:
  17796. description: 结算币种ID - 作废
  17797. type: integer
  17798. deliverygoodsid:
  17799. description: 现货品种ID
  17800. type: integer
  17801. enumdicname:
  17802. description: 结算币种
  17803. type: string
  17804. hedgeplanid:
  17805. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  17806. type: string
  17807. hedgeplanno:
  17808. description: '[计划编号]套保计划编号,模糊查询'
  17809. type: string
  17810. hedgeplanstatus:
  17811. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  17812. type: integer
  17813. isrelated:
  17814. description: 是否已关联计划项目 - 0:否 1:是
  17815. type: integer
  17816. planqty:
  17817. description: '[计划量]计划数量'
  17818. type: number
  17819. plantime:
  17820. description: 计划时间
  17821. type: string
  17822. producttype:
  17823. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  17824. type: integer
  17825. remark:
  17826. description: 备注
  17827. type: string
  17828. spotgoodsdesc:
  17829. description: 商品型号
  17830. type: string
  17831. tradedate:
  17832. description: 交易日(yyyyMMdd)
  17833. type: string
  17834. tradeuserid:
  17835. description: 交易用户ID
  17836. type: integer
  17837. updatetime:
  17838. description: 更新时间
  17839. type: string
  17840. wrstandardid:
  17841. description: 现货商品ID
  17842. type: integer
  17843. wrstandardname:
  17844. description: 现货商品,模糊查询
  17845. type: string
  17846. required:
  17847. - areauserid
  17848. type: object
  17849. models.UserCollectConfig:
  17850. properties:
  17851. accountstatus:
  17852. description: 账户状态 - 1:正常 2:停用 3:注销
  17853. type: integer
  17854. collectaccountname:
  17855. description: 收款人账户名称
  17856. type: string
  17857. collectaccountno:
  17858. description: 收款人账户
  17859. type: string
  17860. collectbankname:
  17861. description: 收款人开户行
  17862. type: string
  17863. collectbranchbankname:
  17864. description: 收款人开户支行
  17865. type: string
  17866. collectconfigid:
  17867. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  17868. type: string
  17869. remark:
  17870. description: 备注
  17871. type: string
  17872. userid:
  17873. description: 收款人用户ID
  17874. type: integer
  17875. type: object
  17876. models.UserReceiveInfo:
  17877. properties:
  17878. address:
  17879. description: 提货人详细地址
  17880. type: string
  17881. autoid:
  17882. description: AutoID
  17883. type: integer
  17884. cardnum:
  17885. description: 证件号码(加密存储)
  17886. type: string
  17887. cardtypeid:
  17888. description: 证件类型
  17889. type: integer
  17890. cityid:
  17891. description: 市
  17892. type: integer
  17893. cityname:
  17894. description: 城市名称
  17895. type: string
  17896. countryid:
  17897. description: 国家
  17898. type: integer
  17899. countryname:
  17900. description: 国家名称
  17901. type: string
  17902. districtid:
  17903. description: 地区
  17904. type: integer
  17905. districtname:
  17906. description: 地区名称
  17907. type: string
  17908. hasencrypt:
  17909. description: 数据是否已加密 - 0:未加密 1:已加密
  17910. type: integer
  17911. isdefault:
  17912. description: 是否默认地址 - 0:否 1:是
  17913. type: integer
  17914. phonenum:
  17915. description: 提货人联系方式(加密存储)
  17916. type: string
  17917. provinceid:
  17918. description: 省
  17919. type: integer
  17920. provincename:
  17921. description: 省名称
  17922. type: string
  17923. receivername:
  17924. description: 提货人姓名
  17925. type: string
  17926. takeremark:
  17927. description: 提货备注
  17928. type: string
  17929. userid:
  17930. description: 用户ID
  17931. type: integer
  17932. type: object
  17933. models.Useraccount:
  17934. properties:
  17935. accountname:
  17936. description: 账户名称(机构名称)
  17937. type: string
  17938. accountstatus:
  17939. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  17940. type: integer
  17941. applysrc:
  17942. description: 申请来源 - 1:管理端 2:终端
  17943. type: integer
  17944. auditremark:
  17945. description: 审核备注
  17946. type: string
  17947. auditsrc:
  17948. description: 审核来源 - 1:管理端 2:终端
  17949. type: integer
  17950. audittime:
  17951. description: 审核时间
  17952. type: string
  17953. audituserid:
  17954. description: 审核人
  17955. type: integer
  17956. broker:
  17957. description: 所属经纪人ID
  17958. type: integer
  17959. canceltime:
  17960. description: 销户时间
  17961. type: string
  17962. canceluserid:
  17963. description: 销户人
  17964. type: integer
  17965. canrecommend:
  17966. description: 是否可推荐 - 0:不可 1;可
  17967. type: integer
  17968. createtime:
  17969. description: 创建时间
  17970. type: string
  17971. creatorid:
  17972. description: 创建人
  17973. type: integer
  17974. curscore:
  17975. description: 积分
  17976. type: integer
  17977. hasauth:
  17978. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  17979. type: integer
  17980. isanonymous:
  17981. description: 是否匿名下单 - 0:否 1:是
  17982. type: integer
  17983. issigned:
  17984. description: 今日是否已签到
  17985. type: boolean
  17986. maxinvestornum:
  17987. description: 最大用户数(经纪会员下投资者个数)
  17988. type: integer
  17989. memberuserid:
  17990. description: 所属会员ID
  17991. type: integer
  17992. modifierid:
  17993. description: 修改人
  17994. type: integer
  17995. modifyremark:
  17996. description: 变更备注
  17997. type: string
  17998. modifystatus:
  17999. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  18000. type: integer
  18001. modifytime:
  18002. description: 修改时间
  18003. type: string
  18004. parenttopuser:
  18005. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  18006. type: string
  18007. parentuserid:
  18008. description: 所属机构ID
  18009. type: integer
  18010. reckonaccountid:
  18011. description: 默认结算资金账号ID(机构分润使用) 作废
  18012. type: integer
  18013. refercount:
  18014. description: 推荐总人数
  18015. type: integer
  18016. refereeuserid:
  18017. description: 推荐人ID
  18018. type: integer
  18019. refernum:
  18020. description: 推荐码
  18021. type: string
  18022. rootuserid:
  18023. description: 根用户ID
  18024. type: integer
  18025. subaccountlevel:
  18026. description: 子账户层数
  18027. type: integer
  18028. subarealevelpath:
  18029. description: 子机构层级路径(逗号分隔,首尾加逗号)
  18030. type: string
  18031. todayrefercount:
  18032. description: 今日推荐人数
  18033. type: integer
  18034. userid:
  18035. description: 用户ID
  18036. type: integer
  18037. usertype:
  18038. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  18039. type: integer
  18040. required:
  18041. - userid
  18042. type: object
  18043. models.Userfavoritegoods:
  18044. properties:
  18045. goodsid:
  18046. description: 商品ID
  18047. type: integer
  18048. required:
  18049. - goodsid
  18050. type: object
  18051. models.Userinfo:
  18052. properties:
  18053. address:
  18054. description: 地址
  18055. type: string
  18056. attachment1:
  18057. description: 附件1
  18058. type: string
  18059. attachment2:
  18060. description: 附件2
  18061. type: string
  18062. bankaccount:
  18063. description: 银行帐号 (加密存储)
  18064. type: string
  18065. bankaccountname:
  18066. description: 收款人名称
  18067. type: string
  18068. bankcardfrontphotourl:
  18069. description: 银行卡正面照地址
  18070. type: string
  18071. bankid:
  18072. description: 银行编码
  18073. type: string
  18074. bankname:
  18075. description: 银行名称
  18076. type: string
  18077. biznature:
  18078. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  18079. type: integer
  18080. bizscope:
  18081. description: 企业经营范围(企业)
  18082. type: string
  18083. cardbackphotourl:
  18084. description: 证件背面图片地址
  18085. type: string
  18086. cardfrontphotourl:
  18087. description: 证件正面图片地址
  18088. type: string
  18089. cardnum:
  18090. description: 证件号码(加密存储)
  18091. type: string
  18092. cardtypeid:
  18093. description: 证件类型ID
  18094. type: integer
  18095. cityid:
  18096. description: 市
  18097. type: integer
  18098. company:
  18099. description: 公司(个人)
  18100. type: string
  18101. contactname:
  18102. description: 联系人
  18103. type: string
  18104. countryid:
  18105. description: 国家
  18106. type: integer
  18107. createtime:
  18108. description: 创建时间
  18109. type: string
  18110. creatorid:
  18111. description: 创建人
  18112. type: integer
  18113. customername:
  18114. description: 客户名称(企业名称)
  18115. type: string
  18116. districtid:
  18117. description: 地区
  18118. type: integer
  18119. email:
  18120. description: 邮件(加密存储)
  18121. type: string
  18122. fax:
  18123. description: 传真(加密存储)
  18124. type: string
  18125. halfbodyphotourl:
  18126. description: 半身照地址
  18127. type: string
  18128. hasencrypt:
  18129. description: 数据是否已加密 - 0:未加密 1:已加密
  18130. type: integer
  18131. headurl:
  18132. description: 头像地址
  18133. type: string
  18134. legalcardbackphotourl:
  18135. description: 法人身份证背面照地址
  18136. type: string
  18137. legalcardfrontphotourl:
  18138. description: 法人身份证正面照地址
  18139. type: string
  18140. legalpersonname:
  18141. description: 法人姓名(企业)
  18142. type: string
  18143. mobile:
  18144. description: 手机号码(加密存储)
  18145. type: string
  18146. mobile2:
  18147. description: 手机号码[明文-尚志]
  18148. type: string
  18149. modifierid:
  18150. description: 修改人
  18151. type: integer
  18152. modifiertime:
  18153. description: 修改时间
  18154. type: string
  18155. needinvoice:
  18156. description: 是否需要发票 - 0:不需要 1:需要
  18157. type: integer
  18158. nickname:
  18159. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  18160. type: string
  18161. openmode:
  18162. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  18163. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  18164. type: integer
  18165. otherurl:
  18166. description: 其它图片地址[使用分号分隔]
  18167. type: string
  18168. postalcode:
  18169. description: 邮政编码
  18170. type: string
  18171. provinceid:
  18172. description: 省
  18173. type: integer
  18174. qq:
  18175. description: QQ(加密存储
  18176. type: string
  18177. remark:
  18178. description: 备注
  18179. type: string
  18180. sex:
  18181. description: '用户性别 0: 女 1: 男'
  18182. type: integer
  18183. signpdfurl:
  18184. description: 签约pdf文件
  18185. type: string
  18186. telphone:
  18187. description: 联系电话(加密存储)
  18188. type: string
  18189. userid:
  18190. description: 用户ID
  18191. type: integer
  18192. userinfotype:
  18193. description: 用户信息类型 - 1:个人 2:企业
  18194. type: integer
  18195. userstatus:
  18196. description: 用户状态 - 1:正常 2:注销
  18197. type: integer
  18198. usertype:
  18199. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  18200. type: integer
  18201. wechat:
  18202. description: 微信(加密存储)
  18203. type: string
  18204. wskhinfo:
  18205. description: 开户申请信息(JSON)
  18206. type: string
  18207. required:
  18208. - userid
  18209. type: object
  18210. models.WRPositionReport:
  18211. properties:
  18212. accountid:
  18213. description: 帐户ID
  18214. type: integer
  18215. brandid:
  18216. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  18217. type: integer
  18218. buylistinglot:
  18219. description: 买挂牌宗数
  18220. type: integer
  18221. buytradeamount:
  18222. description: 购买金额
  18223. type: number
  18224. buytradelot:
  18225. description: 购买宗数
  18226. type: integer
  18227. buytradeqty:
  18228. description: 购买数量
  18229. type: number
  18230. creditcurqty:
  18231. description: 授信当前数量
  18232. type: integer
  18233. creditfreezeqty:
  18234. description: 授信冻结数量
  18235. type: integer
  18236. credittotalqty:
  18237. description: 授信总数量
  18238. type: integer
  18239. credittradeqty:
  18240. description: 授信成交数量
  18241. type: integer
  18242. decreaseqty:
  18243. description: 今日减少数量
  18244. type: integer
  18245. deliverygoodsid:
  18246. description: 交割商品ID
  18247. type: integer
  18248. deliverymonthid:
  18249. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  18250. type: integer
  18251. freezeqty:
  18252. description: 总冻结数量
  18253. type: integer
  18254. increaseqty:
  18255. description: 今日增加数量
  18256. type: integer
  18257. marketvalue:
  18258. description: 市值
  18259. type: number
  18260. pickupqty:
  18261. description: 今日提货数量
  18262. type: integer
  18263. qualityid:
  18264. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  18265. type: integer
  18266. reckondate:
  18267. description: 日照时期(yyyyMMdd)
  18268. type: string
  18269. relatedqty:
  18270. description: 关联数量
  18271. type: integer
  18272. selllistingamount:
  18273. description: 卖挂牌金额
  18274. type: number
  18275. selllistinglot:
  18276. description: 卖挂牌宗数
  18277. type: integer
  18278. selllistingqty:
  18279. description: 卖挂牌数量
  18280. type: number
  18281. selltradeamount:
  18282. description: 销售金额
  18283. type: number
  18284. selltradelot:
  18285. description: 销售宗数
  18286. type: integer
  18287. selltradeqty:
  18288. description: 销售数量
  18289. type: number
  18290. specid:
  18291. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  18292. type: integer
  18293. totalprice:
  18294. description: 销售金额(¥)
  18295. type: number
  18296. totalqty:
  18297. description: 总数量
  18298. type: integer
  18299. totalweight:
  18300. description: 销售重量(ct)
  18301. type: number
  18302. tradewrqty:
  18303. description: 订单仓单头寸总数量
  18304. type: integer
  18305. transfertradewrqty:
  18306. description: 今日转订单数量
  18307. type: integer
  18308. warehouseid:
  18309. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  18310. type: integer
  18311. wrfactortypeid:
  18312. description: 仓单要素类型ID
  18313. type: integer
  18314. wrpositionid:
  18315. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  18316. type: integer
  18317. wrstandardcode:
  18318. description: 现货商品代码
  18319. type: string
  18320. wrstandardid:
  18321. description: 现货商品ID
  18322. type: integer
  18323. wruserid:
  18324. description: 持有人ID
  18325. type: integer
  18326. zscategory:
  18327. description: 商品分类
  18328. type: integer
  18329. zscategorydisplay:
  18330. type: string
  18331. zscurrencytype:
  18332. description: 商品币种
  18333. type: integer
  18334. zscurrencytypedisplay:
  18335. type: string
  18336. zscurrencytypedisplayunit:
  18337. type: string
  18338. type: object
  18339. models.WRSConverTDetail:
  18340. properties:
  18341. convertratio:
  18342. description: 套保系数
  18343. type: number
  18344. deliverygoodscode:
  18345. description: 现货商品代码
  18346. type: string
  18347. deliverygoodsid:
  18348. description: 现货品种ID
  18349. type: integer
  18350. deliverygoodsname:
  18351. description: 现货商品名称
  18352. type: string
  18353. enumdicname:
  18354. description: 单位名称
  18355. type: string
  18356. goodsunitid:
  18357. description: 套保品种单位id
  18358. type: integer
  18359. middlegoodscode:
  18360. description: 套保品种代码
  18361. type: string
  18362. middlegoodsid:
  18363. description: 套保品种ID
  18364. type: integer
  18365. middlegoodsname:
  18366. description: 套保品种名称
  18367. type: string
  18368. modifytime:
  18369. description: 修改时间
  18370. type: string
  18371. wrstandardid:
  18372. description: 品类ID
  18373. type: integer
  18374. type: object
  18375. models.WRStandardInfo:
  18376. properties:
  18377. areauserid:
  18378. description: 所属机构
  18379. type: integer
  18380. convertfactor:
  18381. description: 标仓系数
  18382. type: number
  18383. createtime:
  18384. description: 创建时间
  18385. type: string
  18386. creatorid:
  18387. description: 创建人
  18388. type: integer
  18389. deliverygoodsid:
  18390. description: 品种ID
  18391. type: integer
  18392. deliverygoodsname:
  18393. description: 交割商品名称
  18394. type: string
  18395. factoryitemjson:
  18396. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  18397. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  18398. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  18399. 逗号分隔'
  18400. type: string
  18401. isvalid:
  18402. description: 是否有效 - 0:无效 1:有效
  18403. type: integer
  18404. minivalue:
  18405. description: 最小变动值
  18406. type: integer
  18407. minivaluedp:
  18408. description: 最小变动值小数位
  18409. type: integer
  18410. realminivalue:
  18411. description: 实际最小变动值
  18412. type: integer
  18413. realminivaluedp:
  18414. description: 实际最小变动值小数位
  18415. type: integer
  18416. remark:
  18417. description: 备注
  18418. type: string
  18419. unitid:
  18420. description: 单位ID
  18421. type: integer
  18422. unitname:
  18423. description: 单位
  18424. type: string
  18425. updatetime:
  18426. description: 更新时间
  18427. type: string
  18428. updatorid:
  18429. description: 更新人
  18430. type: integer
  18431. wrsstatus:
  18432. description: 状态 - 作废 - 0:未激活 1:正常
  18433. type: integer
  18434. wrstandardcode:
  18435. description: 现货品类代码
  18436. type: string
  18437. wrstandardid:
  18438. description: 现货品类ID(SEQ_WRSTANDARD)
  18439. type: integer
  18440. wrstandardname:
  18441. description: 现货品类名称
  18442. type: string
  18443. required:
  18444. - wrstandardid
  18445. type: object
  18446. models.WRTradeBargainApply:
  18447. properties:
  18448. accountid:
  18449. description: 摘牌资金账号
  18450. type: integer
  18451. applyprice:
  18452. description: 申请价格(议价价格)
  18453. type: string
  18454. applyqty:
  18455. description: 摘牌数量(议价数量)
  18456. type: number
  18457. applyremark:
  18458. description: 申请备注
  18459. type: string
  18460. applystatus:
  18461. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  18462. type: integer
  18463. applytime:
  18464. description: 申请时间(议价时间)
  18465. type: string
  18466. begindate:
  18467. description: 开始交易日(yyyymmdd)
  18468. type: string
  18469. buyorsell:
  18470. description: 买卖(挂牌类型) - 0:买 1:卖
  18471. type: integer
  18472. confirmremark:
  18473. description: 确认备注
  18474. type: string
  18475. confirmtime:
  18476. description: 确认时间
  18477. type: string
  18478. confirmuserid:
  18479. description: 确认人
  18480. type: integer
  18481. deliverygoodscode:
  18482. description: 品种代码
  18483. type: string
  18484. deliverygoodsid:
  18485. description: 品种ID
  18486. type: integer
  18487. deliverygoodsname:
  18488. description: 品种名称
  18489. type: string
  18490. deliverymonth:
  18491. description: 交收月
  18492. type: string
  18493. enddate:
  18494. description: 结束交易日(yyyymmdd)
  18495. type: string
  18496. enumdicname:
  18497. description: 单位名称
  18498. type: string
  18499. fixedprice:
  18500. description: 期初均价
  18501. type: number
  18502. handlestatus:
  18503. description: 处理状态
  18504. type: integer
  18505. marginvalue:
  18506. description: 期初均价
  18507. type: number
  18508. marketid:
  18509. description: 市场ID
  18510. type: integer
  18511. matchaccountid:
  18512. description: 挂牌方资金账号
  18513. type: integer
  18514. matchuserid:
  18515. description: 挂牌方用户id
  18516. type: integer
  18517. matchusername:
  18518. description: 挂牌方用户名称(已脱敏)
  18519. type: string
  18520. minivalue:
  18521. description: 现货商品最小变动值
  18522. type: integer
  18523. optioncompare:
  18524. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  18525. type: string
  18526. orderqty:
  18527. description: 挂牌数量
  18528. type: integer
  18529. refprice:
  18530. description: 参考价格
  18531. type: string
  18532. retcode:
  18533. description: 委托返回代码
  18534. type: integer
  18535. templatename:
  18536. description: 履约方式(履约模板名称)
  18537. type: string
  18538. tradedate:
  18539. description: 交易日(yyyyMMdd)
  18540. type: string
  18541. userid:
  18542. description: 摘牌人用户ID(议价人ID)
  18543. type: integer
  18544. username:
  18545. description: 议价人名字(已脱敏)
  18546. type: string
  18547. validtime:
  18548. description: 有效期限
  18549. type: string
  18550. warehouseid:
  18551. description: 仓库ID
  18552. type: integer
  18553. warehousename:
  18554. description: 仓库名称
  18555. type: string
  18556. wrbargainid:
  18557. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  18558. type: string
  18559. wrfactortypeid:
  18560. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  18561. type: string
  18562. wrfactortypename:
  18563. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  18564. type: string
  18565. wrstandardcode:
  18566. description: 现货商品代码
  18567. type: string
  18568. wrstandardid:
  18569. description: 现货商品ID
  18570. type: integer
  18571. wrstandardname:
  18572. description: 商品名称
  18573. type: string
  18574. wrtradeorderid:
  18575. description: 关联委托单ID
  18576. type: string
  18577. wrtypename:
  18578. description: 商品
  18579. type: string
  18580. type: object
  18581. models.Warehouseinfo:
  18582. properties:
  18583. address:
  18584. description: 详细地址
  18585. type: string
  18586. areauserid:
  18587. description: 所属机构
  18588. type: integer
  18589. autoid:
  18590. description: 自增ID
  18591. type: integer
  18592. cityid:
  18593. description: 市
  18594. type: integer
  18595. contactname:
  18596. description: 联系人
  18597. type: string
  18598. contactnum:
  18599. description: 联系电话
  18600. type: string
  18601. countryid:
  18602. description: 国家
  18603. type: integer
  18604. createtime:
  18605. description: 创建时间
  18606. type: string
  18607. districtid:
  18608. description: 区
  18609. type: integer
  18610. hasvideo:
  18611. description: 是否有视频 - 0:无 1:有
  18612. type: integer
  18613. provinceid:
  18614. description: 省
  18615. type: integer
  18616. remark:
  18617. description: 审核备注
  18618. type: string
  18619. videourl:
  18620. description: 视频地址
  18621. type: string
  18622. warehousecode:
  18623. description: 仓库代码
  18624. type: string
  18625. warehousename:
  18626. description: 仓库名称
  18627. type: string
  18628. warehousestatus:
  18629. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  18630. type: integer
  18631. warehousetype:
  18632. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  18633. type: integer
  18634. required:
  18635. - autoid
  18636. - warehousecode
  18637. type: object
  18638. models.WrAverageTradePrice:
  18639. properties:
  18640. averageprice:
  18641. description: 期初均价
  18642. type: number
  18643. tradedate:
  18644. description: 交易日yyyymm
  18645. type: string
  18646. type: object
  18647. models.WrBrandAndYears:
  18648. properties:
  18649. brandlst:
  18650. description: 品牌列表
  18651. items:
  18652. $ref: '#/definitions/models.DgFactoryItem'
  18653. type: array
  18654. yearslst:
  18655. description: 年份列表
  18656. items:
  18657. $ref: '#/definitions/models.DgFactoryItem'
  18658. type: array
  18659. type: object
  18660. models.WrBsGoodsInfo:
  18661. properties:
  18662. buyorsell:
  18663. description: 买卖方向 0-买 1-卖
  18664. type: integer
  18665. goodsid:
  18666. description: 交易合约ID
  18667. type: integer
  18668. lstitem:
  18669. description: 商品信息项
  18670. items:
  18671. $ref: '#/definitions/models.WrTypeItem'
  18672. type: array
  18673. lststep:
  18674. description: 履约规则
  18675. items:
  18676. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  18677. type: array
  18678. type: object
  18679. models.WrBuybackDetail:
  18680. properties:
  18681. buybackamount:
  18682. description: 回购金额
  18683. type: number
  18684. buybackqty:
  18685. description: 回购数量
  18686. type: number
  18687. buybackreleasemargin:
  18688. description: 回购释放保证金
  18689. type: number
  18690. buybacktime:
  18691. description: 回购时间
  18692. type: string
  18693. errordesc:
  18694. description: 错误描述
  18695. type: string
  18696. handlestatus:
  18697. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  18698. type: integer
  18699. relatedwrid:
  18700. description: 关联仓单ID
  18701. type: integer
  18702. scfcontractid:
  18703. description: SCF合同ID
  18704. type: string
  18705. scfwrbuybackid:
  18706. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  18707. type: integer
  18708. tradedate:
  18709. description: 交易日(yyyyMMdd)
  18710. type: string
  18711. type: object
  18712. models.WrClientAdSpaceConfig:
  18713. properties:
  18714. adspaceid:
  18715. description: 广告位ID
  18716. type: integer
  18717. adspacename:
  18718. description: 广告位名称
  18719. type: string
  18720. adspacetype:
  18721. description: 广告位类型 - 1:固定广告位
  18722. type: integer
  18723. areauserid:
  18724. description: 所属机构ID
  18725. type: integer
  18726. createdate:
  18727. description: 创建时间
  18728. type: string
  18729. imagepath:
  18730. description: 图片
  18731. type: string
  18732. modifierid:
  18733. description: 操作人
  18734. type: integer
  18735. recsize:
  18736. description: 推荐尺寸
  18737. type: string
  18738. title:
  18739. description: 标题
  18740. type: string
  18741. updatedate:
  18742. description: 更新时间
  18743. type: string
  18744. urlcontent:
  18745. description: 链接(地址\商品ID\功能菜单Key\appid)
  18746. type: string
  18747. urltype:
  18748. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  18749. type: integer
  18750. type: object
  18751. models.WrDeliveryAvalidHoldLB:
  18752. properties:
  18753. accountid:
  18754. description: 资金账号
  18755. type: integer
  18756. avalidqty:
  18757. description: 数量(可点选数量)
  18758. type: number
  18759. deliverygoodsid:
  18760. description: 品种id
  18761. type: integer
  18762. enumdicname:
  18763. description: 单位名称
  18764. type: string
  18765. goodsid:
  18766. description: x合约商品id
  18767. type: integer
  18768. ladingbillid:
  18769. description: 提单id
  18770. type: string
  18771. pgoodscode:
  18772. description: p商品代码(点价合约)
  18773. type: string
  18774. pgoodsid:
  18775. description: p商品id(点价合约)
  18776. type: integer
  18777. pgoodsname:
  18778. description: p商品名称(点价合约)
  18779. type: string
  18780. pricemove:
  18781. description: 升贴水
  18782. type: number
  18783. subnum:
  18784. description: 提单子id
  18785. type: integer
  18786. userid:
  18787. description: 用户id
  18788. type: integer
  18789. username:
  18790. description: 仓单持有人
  18791. type: string
  18792. warehousecode:
  18793. description: 仓库代码
  18794. type: string
  18795. warehouseid:
  18796. description: 仓库id
  18797. type: integer
  18798. warehousename:
  18799. description: 仓库名称
  18800. type: string
  18801. wrfactortypeid:
  18802. description: 仓单要素id
  18803. type: string
  18804. wrstandardcode:
  18805. description: 品代码
  18806. type: string
  18807. wrstandardid:
  18808. description: 品类d
  18809. type: integer
  18810. wrstandardname:
  18811. description: 品类名称
  18812. type: string
  18813. wrtypename:
  18814. description: 商品
  18815. type: string
  18816. xgoodscode:
  18817. description: x合约代码
  18818. type: string
  18819. xgoodsname:
  18820. description: x合约名称
  18821. type: string
  18822. type: object
  18823. models.WrDeliveryDetail:
  18824. properties:
  18825. accountid:
  18826. description: 账号ID
  18827. type: integer
  18828. averageprice:
  18829. description: 期初均价
  18830. type: number
  18831. begindate:
  18832. description: 开始交易日(yyyymmdd)
  18833. type: string
  18834. buyorsell:
  18835. description: 方向 - 0:买 1:卖
  18836. type: integer
  18837. deliveryamount:
  18838. description: 货款金额(X总货款+P总货款)
  18839. type: number
  18840. deliveryid:
  18841. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  18842. type: string
  18843. deliveryorderid:
  18844. description: 申报单号
  18845. type: string
  18846. deliverypricemove:
  18847. description: 升贴水(升贴水总额)
  18848. type: number
  18849. deliveryqty:
  18850. description: 交收数量(点选数量)
  18851. type: number
  18852. deliverystatus:
  18853. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  18854. type: integer
  18855. deliverytime:
  18856. description: 交割时间
  18857. type: string
  18858. deliverytotalamount:
  18859. description: 交收金额
  18860. type: number
  18861. enddate:
  18862. description: 结束交易日(yyyymmdd)
  18863. type: string
  18864. enumdicname:
  18865. description: 单位名称
  18866. type: string
  18867. matchaccountid:
  18868. description: 对手账号ID
  18869. type: integer
  18870. matchusername:
  18871. description: 对手方名称(仓单持有人)
  18872. type: string
  18873. p1goodsremainamount:
  18874. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  18875. type: number
  18876. pdeliverycloseqty:
  18877. description: p合约平仓数量
  18878. type: number
  18879. pdeliveryprice:
  18880. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  18881. type: number
  18882. pgoodscode:
  18883. description: 商品代码
  18884. type: string
  18885. pgoodsid:
  18886. description: p点选合约id
  18887. type: integer
  18888. pgoodsname:
  18889. description: 商品名称
  18890. type: string
  18891. ppricemode:
  18892. description: 点价价格方式 - 1:商品价 2:固定值
  18893. type: integer
  18894. tradedate:
  18895. description: 交易日(yyyymmdd)
  18896. type: string
  18897. userid:
  18898. description: 用户id
  18899. type: integer
  18900. username:
  18901. description: 用户名称
  18902. type: string
  18903. warehousename:
  18904. description: 仓库名称
  18905. type: string
  18906. wrfactortypeid:
  18907. description: 仓单要素类型ID
  18908. type: string
  18909. wrtypename:
  18910. description: 商品
  18911. type: string
  18912. xdeliverycloseqty:
  18913. description: 合约数量
  18914. type: number
  18915. xgoodsamount:
  18916. description: 期初均价
  18917. type: number
  18918. xgoodscode:
  18919. description: 商品代码
  18920. type: string
  18921. xgoodsid:
  18922. description: x交易合约ID
  18923. type: integer
  18924. xgoodsname:
  18925. description: 商品名称
  18926. type: string
  18927. type: object
  18928. models.WrDeliveryGoodsSection:
  18929. properties:
  18930. dglst:
  18931. description: 板块商品列表
  18932. items:
  18933. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  18934. type: array
  18935. imagepath:
  18936. description: 图片地址
  18937. type: string
  18938. orderindex:
  18939. description: 排序
  18940. type: integer
  18941. sectionid:
  18942. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  18943. = 1的版块1 - 云融指数
  18944. type: integer
  18945. sectionname:
  18946. description: 版块名称
  18947. type: string
  18948. sectiontype:
  18949. description: 版块类型 - 1:指数版块 2:普通版块
  18950. type: integer
  18951. type: object
  18952. models.WrDeliveryGoodsSectionConfig:
  18953. properties:
  18954. deliverygoodscode:
  18955. description: 现货商品代码
  18956. type: string
  18957. deliverygoodsid:
  18958. description: 现货品种ID(SEQ_DELIVERYGOODS)
  18959. type: integer
  18960. deliverygoodsname:
  18961. description: 现货商品名称
  18962. type: string
  18963. orderindex:
  18964. description: 排序
  18965. type: integer
  18966. type: object
  18967. models.WrDraftUserInfo:
  18968. properties:
  18969. address:
  18970. description: 地址
  18971. type: string
  18972. attachment1:
  18973. description: 附件1
  18974. type: string
  18975. attachment2:
  18976. description: 附件2
  18977. type: string
  18978. attachment3:
  18979. description: 附件3
  18980. type: string
  18981. attachment4:
  18982. description: 附件4
  18983. type: string
  18984. attachment5:
  18985. description: 附件5
  18986. type: string
  18987. bankaccount:
  18988. description: 银行帐号 (加密存储)
  18989. type: string
  18990. bankaccountname:
  18991. description: 收款人名称
  18992. type: string
  18993. bankcardfrontphotourl:
  18994. description: 银行卡正面照地址
  18995. type: string
  18996. bankid:
  18997. description: 银行编码
  18998. type: string
  18999. bankname:
  19000. description: 银行名称
  19001. type: string
  19002. birthday:
  19003. description: 生日(个人:年月日)
  19004. type: string
  19005. biznature:
  19006. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  19007. type: integer
  19008. bizscope:
  19009. description: 企业经营范围(企业)
  19010. type: string
  19011. biztype:
  19012. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  19013. type: integer
  19014. cardbackphotourl:
  19015. description: 证件背面图片地址
  19016. type: string
  19017. cardfrontphotourl:
  19018. description: 证件正面图片地址
  19019. type: string
  19020. cardnum:
  19021. description: 证件号码(加密存储)
  19022. type: string
  19023. cardtypeid:
  19024. description: 证件类型ID
  19025. type: integer
  19026. cityid:
  19027. description: 市
  19028. type: integer
  19029. company:
  19030. description: 公司(个人)
  19031. type: string
  19032. contactcardbackphotourl:
  19033. description: 联系人证件背面图片地址
  19034. type: string
  19035. contactcardfrontphotourl:
  19036. description: 联系人证件正面图片地址
  19037. type: string
  19038. contactname:
  19039. description: 联系人
  19040. type: string
  19041. countryid:
  19042. description: 国家
  19043. type: integer
  19044. createtime:
  19045. description: 创建时间
  19046. type: string
  19047. creatorid:
  19048. description: 创建人
  19049. type: integer
  19050. creditquota:
  19051. description: 授信额度(金瑞)
  19052. type: number
  19053. customername:
  19054. description: 客户名称(企业名称)
  19055. type: string
  19056. districtid:
  19057. description: 地区
  19058. type: integer
  19059. email:
  19060. description: 邮件(加密存储)
  19061. type: string
  19062. fax:
  19063. description: 传真(加密存储)
  19064. type: string
  19065. halfbodyphotourl:
  19066. description: 半身照地址
  19067. type: string
  19068. hasencrypt:
  19069. description: 数据是否已加密 - 0:未加密 1:已加密
  19070. type: integer
  19071. headurl:
  19072. description: 头像地址
  19073. type: string
  19074. legalcardbackphotourl:
  19075. description: 法人身份证背面照地址
  19076. type: string
  19077. legalcardfrontphotourl:
  19078. description: 法人身份证正面照地址
  19079. type: string
  19080. legalpersonname:
  19081. description: 法人姓名(企业)
  19082. type: string
  19083. mobile:
  19084. description: 手机号码(加密存储)
  19085. type: string
  19086. mobile2:
  19087. description: 手机号码[明文-尚志]
  19088. type: string
  19089. modifierid:
  19090. description: 修改人
  19091. type: integer
  19092. modifiertime:
  19093. description: 修改时间
  19094. type: string
  19095. needinvoice:
  19096. description: 是否需要发票 - 0:不需要 1:需要
  19097. type: integer
  19098. nickname:
  19099. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  19100. type: string
  19101. openmode:
  19102. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  19103. 6:苹果手机端注册 7:PC交易端注册"
  19104. type: integer
  19105. otherurl:
  19106. description: 其它图片地址[使用分号分隔]
  19107. type: string
  19108. postalcode:
  19109. description: 邮政编码
  19110. type: string
  19111. provinceid:
  19112. description: 省
  19113. type: integer
  19114. proxystatementurl:
  19115. description: 授权委托书
  19116. type: string
  19117. qq:
  19118. description: QQ(加密存储
  19119. type: string
  19120. remark:
  19121. description: 备注
  19122. type: string
  19123. sex:
  19124. description: '用户性别 0: 女 1: 男'
  19125. type: integer
  19126. signpdfurl:
  19127. description: 签约pdf文件
  19128. type: string
  19129. taxpayernum:
  19130. description: 纳税人识别号
  19131. type: string
  19132. telphone:
  19133. description: 联系电话(加密存储)
  19134. type: string
  19135. userid:
  19136. description: 用户ID
  19137. type: integer
  19138. userinfotype:
  19139. description: 用户信息类型 - 1:个人 2:企业
  19140. type: integer
  19141. userstatus:
  19142. description: 用户状态 - 1:正常 2:注销
  19143. type: integer
  19144. usertype:
  19145. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  19146. type: integer
  19147. wechat:
  19148. description: 微信(加密存储)
  19149. type: string
  19150. wskhinfo:
  19151. description: 开户申请信息(JSON)
  19152. type: string
  19153. type: object
  19154. models.WrFAProductDetail:
  19155. properties:
  19156. accountid:
  19157. description: 资金账号
  19158. type: integer
  19159. areauserid:
  19160. description: 金融机构ID
  19161. type: integer
  19162. financingdays:
  19163. description: 天数(天)
  19164. type: integer
  19165. interestminlen:
  19166. description: 最小起息天数
  19167. type: integer
  19168. interestrate:
  19169. description: 利率
  19170. type: number
  19171. interestratemode:
  19172. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19173. type: integer
  19174. interestsettlemode:
  19175. description: 结息方式 - 1:按日结息 3:按月结息
  19176. type: integer
  19177. interestsettlevalue:
  19178. description: 结息方式值
  19179. type: integer
  19180. isautoloan:
  19181. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  19182. type: integer
  19183. loantag:
  19184. description: '放款标识: "放款快" 或者为空'
  19185. type: string
  19186. marginratio:
  19187. description: 保证金比率质押率 - [仓单质押]
  19188. type: number
  19189. productdetailid:
  19190. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  19191. type: integer
  19192. productid:
  19193. description: 金融产品ID
  19194. type: integer
  19195. productname:
  19196. description: 产品名称
  19197. type: string
  19198. updatetime:
  19199. description: 更新时间
  19200. type: string
  19201. username:
  19202. description: 融出方
  19203. type: string
  19204. type: object
  19205. models.WrFactorTypeInfo:
  19206. properties:
  19207. deliverygoodscode:
  19208. description: 品种代码
  19209. type: string
  19210. deliverygoodsname:
  19211. description: 品种名称
  19212. type: string
  19213. dgfactoryitemid:
  19214. description: 选择项id
  19215. type: integer
  19216. dgfactoryitemtypeid:
  19217. description: 要素选择项ID (1-仓库 2-品牌)
  19218. type: integer
  19219. dgfactoryitemvalue:
  19220. description: 要素项值
  19221. type: string
  19222. itemtypename:
  19223. description: 要素项名称
  19224. type: string
  19225. optioncompare:
  19226. description: 选择比较串
  19227. type: string
  19228. warehouseid:
  19229. description: 仓库id
  19230. type: integer
  19231. wrfactortypeid:
  19232. description: 仓单要素ID
  19233. type: string
  19234. wrfactortypename:
  19235. description: 要素名称
  19236. type: string
  19237. wrfactortypename2:
  19238. description: 要素名称(不含仓库)
  19239. type: string
  19240. wrstandardcode:
  19241. description: 品类代码
  19242. type: string
  19243. wrstandardid:
  19244. description: 品类id
  19245. type: integer
  19246. wrstandardname:
  19247. description: 品类名称
  19248. type: string
  19249. type: object
  19250. models.WrFilterItem:
  19251. properties:
  19252. itemcode:
  19253. description: 代码
  19254. type: string
  19255. itemid:
  19256. description: 项id
  19257. type: integer
  19258. itemname:
  19259. description: 名称
  19260. type: string
  19261. itemtype:
  19262. description: 类型 1-品种 2-品类(商品) 3-仓库
  19263. type: integer
  19264. type: object
  19265. models.WrFinanceBuyApply:
  19266. properties:
  19267. applydate:
  19268. description: 申请时间
  19269. type: string
  19270. applystatus:
  19271. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  19272. type: integer
  19273. applyuserid:
  19274. description: 申请人
  19275. type: integer
  19276. auditdate:
  19277. description: 审核时间
  19278. type: string
  19279. auditremark:
  19280. description: 审核备注
  19281. type: string
  19282. audituserid:
  19283. description: 审核人
  19284. type: integer
  19285. buyaccountid:
  19286. description: 买方资金账号
  19287. type: integer
  19288. buyorsell:
  19289. description: 买卖 - 0:买 1:卖
  19290. type: integer
  19291. buyuserid:
  19292. description: 买方用户ID
  19293. type: integer
  19294. buyusername:
  19295. description: 买方名称
  19296. type: string
  19297. buywrtradeorderid:
  19298. description: 融资方买委托单ID
  19299. type: string
  19300. deliverygoodscode:
  19301. description: 品种代码
  19302. type: string
  19303. deliverygoodsid:
  19304. description: 品种ID
  19305. type: integer
  19306. deliverygoodsname:
  19307. description: 品种名称
  19308. type: string
  19309. deliverymonth:
  19310. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  19311. type: string
  19312. enumdicname:
  19313. description: 单位名称
  19314. type: string
  19315. financeaccountid:
  19316. description: 融资方资金帐户ID
  19317. type: integer
  19318. financeapplyid:
  19319. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19320. type: string
  19321. financeareauserid:
  19322. description: 融资方用户ID
  19323. type: string
  19324. financename:
  19325. description: 融出方名称
  19326. type: string
  19327. financetype:
  19328. description: 融资类型 1-融资回购
  19329. type: integer
  19330. financingdays:
  19331. description: 天数(天)
  19332. type: integer
  19333. freezebuymargin:
  19334. description: 冻结融资保证金(买方)
  19335. type: number
  19336. handleremark:
  19337. description: 处理备注
  19338. type: string
  19339. handlestatus:
  19340. description: 处理状态
  19341. type: integer
  19342. interestminlen:
  19343. description: 最小起息天数
  19344. type: integer
  19345. interestrate:
  19346. description: 利率
  19347. type: number
  19348. interestratemode:
  19349. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  19350. type: integer
  19351. interestsettlemode:
  19352. description: 结息方式 - 1:按日结息 3:按月结息
  19353. type: integer
  19354. interestsettlevalue:
  19355. description: 结息方式值
  19356. type: integer
  19357. isautoloan:
  19358. description: 是否自动放款 - 0:手动 1:自动
  19359. type: integer
  19360. marginratio:
  19361. description: 保证金比率质押率 - [仓单质押]
  19362. type: number
  19363. marketid:
  19364. description: 市场ID
  19365. type: integer
  19366. minivalue:
  19367. description: 现货商品最小变动值
  19368. type: integer
  19369. optioncompare:
  19370. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19371. type: string
  19372. orderqty:
  19373. description: 委托数量(商品数量)
  19374. type: number
  19375. productdetailid:
  19376. description: 产品组合ID
  19377. type: integer
  19378. productid:
  19379. description: 金融产品ID
  19380. type: integer
  19381. productname:
  19382. description: 产品名称
  19383. type: string
  19384. remark:
  19385. description: 备注
  19386. type: string
  19387. scfcontractid:
  19388. description: 仓单回购合同ID
  19389. type: string
  19390. sellaccountid:
  19391. description: 卖方资金账号
  19392. type: integer
  19393. selluserid:
  19394. description: 卖方用户ID
  19395. type: integer
  19396. sellwrtradeorderid:
  19397. description: 卖方委托单ID
  19398. type: string
  19399. tradeamount:
  19400. description: 成交金额(借款金额)
  19401. type: number
  19402. tradedate:
  19403. description: 交易日(yyyyMMdd)
  19404. type: string
  19405. tradeprice:
  19406. description: 成交价格
  19407. type: number
  19408. warehouseid:
  19409. description: 仓库ID
  19410. type: integer
  19411. warehousename:
  19412. description: 仓库名称
  19413. type: string
  19414. wrfactortypeid:
  19415. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19416. type: string
  19417. wrfactortypename:
  19418. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19419. type: string
  19420. wrpricetype:
  19421. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  19422. type: integer
  19423. wrstandardcode:
  19424. description: 现货商品代码
  19425. type: string
  19426. wrstandardid:
  19427. description: 现货商品ID
  19428. type: integer
  19429. wrstandardname:
  19430. description: 商品名称
  19431. type: string
  19432. wrtypename:
  19433. description: 商品
  19434. type: string
  19435. type: object
  19436. models.WrFriendApply:
  19437. properties:
  19438. applicantid:
  19439. description: 申请人
  19440. type: integer
  19441. applyname:
  19442. description: 申请人名称
  19443. type: string
  19444. applysrc:
  19445. description: 申请来源 - 1:管理端 2:终端
  19446. type: integer
  19447. applystatus:
  19448. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19449. type: integer
  19450. applytime:
  19451. description: 申请时间
  19452. type: string
  19453. auditname:
  19454. description: 审核人名称
  19455. type: string
  19456. auditorid:
  19457. description: 审核人
  19458. type: integer
  19459. auditremark:
  19460. description: 审核备注
  19461. type: string
  19462. auditsrc:
  19463. description: 审核来源 - 1:管理端 2:终端
  19464. type: integer
  19465. audittime:
  19466. description: 审核时间
  19467. type: string
  19468. friendapplyid:
  19469. description: 申请ID(SEQ_FRIENDAPPLY)
  19470. type: string
  19471. friendname:
  19472. description: 好友名字(已脱敏)
  19473. type: string
  19474. frienduserid:
  19475. description: 好友用户ID
  19476. type: string
  19477. remark:
  19478. description: 备注
  19479. type: string
  19480. userid:
  19481. description: 申请人用户ID
  19482. type: integer
  19483. type: object
  19484. models.WrFtDeliveryGoods:
  19485. properties:
  19486. deliverygoodscode:
  19487. description: 品种代码
  19488. type: string
  19489. deliverygoodsid:
  19490. description: 品种ID
  19491. type: integer
  19492. deliverygoodsname:
  19493. description: 品种名称
  19494. type: string
  19495. wdlst:
  19496. description: 商品列表
  19497. items:
  19498. $ref: '#/definitions/models.WrFtWrstandard'
  19499. type: array
  19500. type: object
  19501. models.WrFtWrstandard:
  19502. properties:
  19503. enumdicname:
  19504. description: 单位名称
  19505. type: string
  19506. minivalue:
  19507. description: 最小变动值
  19508. type: integer
  19509. wrstandardcode:
  19510. description: 现货商品代码
  19511. type: string
  19512. wrstandardid:
  19513. description: 现货商品ID
  19514. type: integer
  19515. wrstandardname:
  19516. description: 商品名称
  19517. type: string
  19518. type: object
  19519. models.WrGoodsInfo:
  19520. properties:
  19521. haswr:
  19522. description: 0:仓单预售 1:仓单贸易
  19523. type: integer
  19524. lstitem:
  19525. description: 商品信息项
  19526. items:
  19527. $ref: '#/definitions/models.WrTypeItem'
  19528. type: array
  19529. lststep:
  19530. description: 履约规则
  19531. items:
  19532. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  19533. type: array
  19534. marketid:
  19535. description: 市场id
  19536. type: integer
  19537. type: object
  19538. models.WrGoodsPerformanceStep:
  19539. properties:
  19540. autoid:
  19541. description: AutoID
  19542. type: integer
  19543. isauto:
  19544. description: 是否自动 - 0:不自动 1:自动
  19545. type: integer
  19546. remark:
  19547. description: 备注
  19548. type: string
  19549. stepdate:
  19550. description: 天数信息(T+N)
  19551. type: string
  19552. stepdays:
  19553. description: 距离上一步天数
  19554. type: integer
  19555. stepindex:
  19556. description: 步骤序号
  19557. type: integer
  19558. stepinfo:
  19559. description: 步骤信息(步骤名称+步骤值)
  19560. type: string
  19561. steptypeid:
  19562. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  19563. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  19564. type: integer
  19565. steptypename:
  19566. description: 步骤名称
  19567. type: string
  19568. stepvalue:
  19569. description: 期初均价
  19570. type: number
  19571. templateid:
  19572. description: 履约计划模板ID
  19573. type: integer
  19574. type: object
  19575. models.WrHoldLB:
  19576. properties:
  19577. accountid:
  19578. description: 持有人帐户ID
  19579. type: integer
  19580. bannerpicurl:
  19581. description: Banner图
  19582. type: string
  19583. createtime:
  19584. description: 创建时间(过户时间)
  19585. type: string
  19586. deliverygoodscode:
  19587. description: 品种代码
  19588. type: string
  19589. deliverygoodsid:
  19590. description: 品种ID
  19591. type: integer
  19592. deliverygoodsname:
  19593. description: 品种名称
  19594. type: string
  19595. enableqty:
  19596. description: 可用数量
  19597. type: number
  19598. enumdicname:
  19599. description: 单位名称
  19600. type: string
  19601. freezerqty:
  19602. description: 冻结数量
  19603. type: number
  19604. ladingbillid:
  19605. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19606. type: string
  19607. minivalue:
  19608. description: 现货商品最小变动值
  19609. type: integer
  19610. optioncompare:
  19611. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19612. type: string
  19613. parentsubnum:
  19614. description: 拆分父子单号
  19615. type: integer
  19616. pledgeqty:
  19617. description: 质押数量
  19618. type: number
  19619. qty:
  19620. description: 数量
  19621. type: number
  19622. subnum:
  19623. description: 提单子单号
  19624. type: integer
  19625. thumurls:
  19626. description: 缩略图
  19627. type: string
  19628. tradedate:
  19629. description: 交易日(yyyyMMdd)
  19630. type: string
  19631. userid:
  19632. description: 持有人ID
  19633. type: integer
  19634. warehouseid:
  19635. description: 仓库ID
  19636. type: integer
  19637. warehousename:
  19638. description: 仓库名称
  19639. type: string
  19640. wrfactortypeid:
  19641. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19642. type: string
  19643. wrfactortypename:
  19644. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19645. type: string
  19646. wrholdeno:
  19647. description: 仓单编号
  19648. type: string
  19649. wrid:
  19650. description: 仓单变更ID
  19651. type: string
  19652. wrstandardcode:
  19653. description: 现货商品代码
  19654. type: string
  19655. wrstandardid:
  19656. description: 现货商品ID
  19657. type: integer
  19658. wrstandardname:
  19659. description: 商品名称
  19660. type: string
  19661. wrtypename:
  19662. description: 商品
  19663. type: string
  19664. type: object
  19665. models.WrMarketTradeConfig:
  19666. properties:
  19667. basisdownratio:
  19668. description: 浮动价基差下限比例(仓单贸易)
  19669. type: number
  19670. basisupratio:
  19671. description: 浮动价基差上限比例(仓单贸易)
  19672. type: number
  19673. buychargealgorithm:
  19674. description: 买方手续费收取方式 1:比率 2:固定
  19675. type: integer
  19676. buychargealgorithm2:
  19677. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  19678. type: integer
  19679. buychargealgorithmvalue:
  19680. description: 买方手续费设置值(交易所部分)
  19681. type: number
  19682. buychargealgorithmvalue2:
  19683. description: 买方手续费设置值(会员部分)
  19684. type: number
  19685. buychargealgorithmvalue3:
  19686. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  19687. type: number
  19688. buychargealgorithmvalue4:
  19689. description: 回购买方手续费设置值(会员部分) --77:现货商城
  19690. type: number
  19691. buyfirstmarginalgorithm:
  19692. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  19693. type: integer
  19694. buyfirstmarginvalue:
  19695. description: 买方出价保证金设置值 - [竞拍]
  19696. type: number
  19697. buymarginalgorithm:
  19698. description: 买方保证金方式 - 1:比率 2:固定
  19699. type: integer
  19700. buymarginvalue:
  19701. description: 买方保证金设置值
  19702. type: number
  19703. buyreleaseratio:
  19704. description: 买方释放比率[2:分步履约]
  19705. type: number
  19706. executemode:
  19707. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  19708. type: integer
  19709. executeside:
  19710. description: 执行方[2:分步履约] - 1:买方 2:卖方
  19711. type: integer
  19712. failedchargealgorithm:
  19713. description: 流拍手续费收取方式 1:比率 2:固定
  19714. type: integer
  19715. failedchargevalue:
  19716. description: 流拍手续费设置值
  19717. type: number
  19718. failedchargevalue2:
  19719. description: 流拍卖方手续费设置值
  19720. type: number
  19721. holddays:
  19722. description: 合同期限[2:分步履约]
  19723. type: integer
  19724. listingmode:
  19725. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19726. type: integer
  19727. marketid:
  19728. description: 市场ID-仓单贸易、竞拍、预售
  19729. type: integer
  19730. minqty:
  19731. description: 最小执行量[2:分步履约]
  19732. type: number
  19733. modifierid:
  19734. description: 修改人
  19735. type: integer
  19736. nowrquotaflag:
  19737. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  19738. type: integer
  19739. performancetempid:
  19740. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19741. 立即执行(-1)
  19742. type: integer
  19743. performancetempid2:
  19744. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  19745. 立即执行
  19746. type: integer
  19747. performancetempid2s:
  19748. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19749. - 履约方式: 立即执行
  19750. type: string
  19751. performancetempids:
  19752. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  19753. - 履约方式: 立即执行(-1)
  19754. type: string
  19755. performanceway:
  19756. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  19757. type: integer
  19758. sellchargealgorithm:
  19759. description: 卖方手续费收取方式 1:比率 2:固定
  19760. type: integer
  19761. sellchargealgorithm2:
  19762. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  19763. type: integer
  19764. sellchargealgorithmvalue:
  19765. description: 卖方手续费设置值(交易所部分)
  19766. type: number
  19767. sellchargealgorithmvalue2:
  19768. description: 卖方手续费设置值(会员部分)
  19769. type: number
  19770. sellchargealgorithmvalue3:
  19771. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  19772. type: number
  19773. sellchargealgorithmvalue4:
  19774. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  19775. type: number
  19776. sellmarginalgorithm:
  19777. description: 卖方保证金方式 - 1:比率 2:固定
  19778. type: integer
  19779. sellmarginvalue:
  19780. description: 卖方保证金设置值
  19781. type: number
  19782. sellmarginvalue2:
  19783. description: 卖方保证金设置值(无仓单)
  19784. type: number
  19785. sellreleaseratio:
  19786. description: 卖方释放比率[2:分步履约]
  19787. type: number
  19788. updatetime:
  19789. description: 更新时间
  19790. type: string
  19791. type: object
  19792. models.WrOrderDetail:
  19793. properties:
  19794. accountid:
  19795. description: 交易账号(资金账号)
  19796. type: integer
  19797. allfriendsflag:
  19798. description: 是否全好友可见 - 0:否 1:是
  19799. type: integer
  19800. amount:
  19801. description: 期初均价
  19802. type: number
  19803. bannerpicurl:
  19804. description: Banner图
  19805. type: string
  19806. begindate:
  19807. description: 开始交易日(yyyymmdd)
  19808. type: string
  19809. buyorsell:
  19810. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  19811. type: integer
  19812. canbargain:
  19813. description: 是否可议价 - 0:不可 1:可
  19814. type: integer
  19815. cancelqty:
  19816. description: 撤销数量
  19817. type: number
  19818. canpart:
  19819. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  19820. type: integer
  19821. delistminqty:
  19822. description: 起摘数量
  19823. type: integer
  19824. deliverygoodscode:
  19825. description: 品种代码
  19826. type: string
  19827. deliverygoodsid:
  19828. description: 品种ID
  19829. type: integer
  19830. deliverygoodsname:
  19831. description: 品种名称
  19832. type: string
  19833. deliverymonth:
  19834. description: 交收月
  19835. type: string
  19836. enddate:
  19837. description: 结束交易日(yyyymmdd)
  19838. type: string
  19839. enumdicname:
  19840. description: 单位名称
  19841. type: string
  19842. fixedprice:
  19843. description: 固定价格 - [挂牌]
  19844. type: number
  19845. freezecharge:
  19846. description: 期初均价
  19847. type: number
  19848. freezemargin:
  19849. description: 期初均价
  19850. type: number
  19851. futupricemove:
  19852. description: 期货升贴水
  19853. type: number
  19854. futushow:
  19855. description: 期货合约/升贴水
  19856. type: string
  19857. goodscode:
  19858. description: 期货合约
  19859. type: string
  19860. goodsid:
  19861. description: 期货商品id
  19862. type: integer
  19863. goodsname:
  19864. description: 商品名称
  19865. type: string
  19866. haswr:
  19867. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  19868. type: integer
  19869. isspecified:
  19870. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  19871. type: integer
  19872. ladingbillid:
  19873. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  19874. type: string
  19875. marginvalue:
  19876. description: 期初均价
  19877. type: number
  19878. marketid:
  19879. description: 市场ID
  19880. type: integer
  19881. matchusername:
  19882. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  19883. type: string
  19884. minivalue:
  19885. description: 现货商品最小变动值
  19886. type: integer
  19887. optioncompare:
  19888. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  19889. type: string
  19890. orderqty:
  19891. description: 委托数量
  19892. type: number
  19893. ordertime:
  19894. description: 委托时间(挂牌时间)
  19895. type: string
  19896. performancetemplateid:
  19897. description: 履约模板id
  19898. type: integer
  19899. pricemove:
  19900. description: 升贴水(浮动价时填写) - [挂牌]
  19901. type: number
  19902. taname:
  19903. description: 交易用户名称(资金账号名称)
  19904. type: string
  19905. thumurls:
  19906. description: 缩略图
  19907. type: string
  19908. tradedate:
  19909. description: 交易日(yyyyMMdd)
  19910. type: string
  19911. tradeprice:
  19912. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  19913. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  19914. type: number
  19915. tradeqty:
  19916. description: 成交数量
  19917. type: number
  19918. userid:
  19919. description: 用户ID
  19920. type: integer
  19921. validtime:
  19922. description: 挂牌有效期
  19923. type: string
  19924. validtype:
  19925. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  19926. type: integer
  19927. warehouseid:
  19928. description: 仓库ID
  19929. type: integer
  19930. warehousename:
  19931. description: 仓库名称
  19932. type: string
  19933. wrfactortypeid:
  19934. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  19935. type: string
  19936. wrfactortypename:
  19937. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  19938. type: string
  19939. wrpricetype:
  19940. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  19941. type: integer
  19942. wrstandardcode:
  19943. description: 现货商品代码
  19944. type: string
  19945. wrstandardid:
  19946. description: 现货商品ID
  19947. type: integer
  19948. wrstandardname:
  19949. description: 商品名称
  19950. type: string
  19951. wrtradeorderid:
  19952. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  19953. type: string
  19954. wrtradeorderstatus:
  19955. 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:撤单解冻贷款失败
  19956. type: integer
  19957. wrtradetype:
  19958. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  19959. type: integer
  19960. wrtypename:
  19961. description: 商品
  19962. type: string
  19963. type: object
  19964. models.WrOrderQuote:
  19965. properties:
  19966. bannerpicurl:
  19967. description: Banner图
  19968. type: string
  19969. buyprice:
  19970. description: 买价
  19971. type: number
  19972. buypricemove:
  19973. description: 买升贴水(基差)
  19974. type: number
  19975. buyqty:
  19976. description: 买量
  19977. type: number
  19978. deliverygoodscode:
  19979. description: 品种代码
  19980. type: string
  19981. deliverygoodsid:
  19982. description: 品种id
  19983. type: integer
  19984. deliverygoodsname:
  19985. description: 品种名称
  19986. type: string
  19987. deliverymonth:
  19988. description: 交收月
  19989. type: string
  19990. enumdicname:
  19991. description: 单位名称
  19992. type: string
  19993. goodscode:
  19994. description: 商品合约(浮动价列表才有)
  19995. type: string
  19996. goodsid:
  19997. description: 商品id(浮动价列表才有)
  19998. type: integer
  19999. minivalue:
  20000. description: 现货商品最小变动值
  20001. type: integer
  20002. pictureurls:
  20003. description: 详情图片(逗号分隔)
  20004. type: string
  20005. sellprice:
  20006. description: 卖价
  20007. type: number
  20008. sellpricemove:
  20009. description: 卖升贴水(基差)
  20010. type: number
  20011. sellqty:
  20012. description: 卖量
  20013. type: number
  20014. thumurls:
  20015. description: 缩略图片(1:1)(逗号分隔)
  20016. type: string
  20017. warehousecode:
  20018. description: 仓库代码
  20019. type: string
  20020. warehouseid:
  20021. description: 仓库id
  20022. type: integer
  20023. warehousename:
  20024. description: 仓库名称
  20025. type: string
  20026. wrfactortypeid:
  20027. description: 仓单要素id
  20028. type: string
  20029. wrfactortypename:
  20030. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20031. type: string
  20032. wrgoodsname:
  20033. description: 商品(商品名称+仓库要素名称 拼接)
  20034. type: string
  20035. wrstandardcode:
  20036. description: 商品代码
  20037. type: string
  20038. wrstandardid:
  20039. description: 商品id
  20040. type: integer
  20041. wrstandardname:
  20042. description: 商品名称
  20043. type: string
  20044. type: object
  20045. models.WrOrderQuoteDetail:
  20046. properties:
  20047. buyorsell:
  20048. description: 买卖 - 0:买 1:卖
  20049. type: integer
  20050. delistminqty:
  20051. description: 期初均价
  20052. type: number
  20053. deliverymonth:
  20054. description: 交收月
  20055. type: string
  20056. enumdicname:
  20057. description: 单位名称
  20058. type: string
  20059. fixedprice:
  20060. description: 买(卖)价
  20061. type: number
  20062. marketid:
  20063. description: 市场id
  20064. type: integer
  20065. minivalue:
  20066. description: 现货商品最小变动值
  20067. type: integer
  20068. orderqty:
  20069. description: 买(卖)量(=委托量-成交量)
  20070. type: number
  20071. ordertime:
  20072. description: 委托时间
  20073. type: string
  20074. pricemove:
  20075. description: 买(卖)升贴水- 基差
  20076. type: number
  20077. userid:
  20078. description: 购买方(销售方)用户ID
  20079. type: integer
  20080. username:
  20081. description: 购买方(销售方)
  20082. type: string
  20083. wrtradeorderid:
  20084. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20085. type: string
  20086. type: object
  20087. models.WrOutInApply:
  20088. properties:
  20089. applyid:
  20090. description: 申请单id
  20091. type: string
  20092. applystatus:
  20093. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  20094. 8:已撤销
  20095. type: integer
  20096. applytime:
  20097. description: 申请时间
  20098. type: string
  20099. applytype:
  20100. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  20101. type: integer
  20102. bannerpicurl:
  20103. description: Banner图
  20104. type: string
  20105. begindate:
  20106. description: 开始交易日(yyyymmdd)
  20107. type: string
  20108. deliverygoodscode:
  20109. description: 品种代码
  20110. type: string
  20111. deliverygoodsid:
  20112. description: 品种ID
  20113. type: integer
  20114. deliverygoodsname:
  20115. description: 品种名称
  20116. type: string
  20117. enddate:
  20118. description: 结束交易日(yyyymmdd)
  20119. type: string
  20120. enumdicname:
  20121. description: 单位名称
  20122. type: string
  20123. expresscompany:
  20124. description: 物流公司
  20125. type: string
  20126. expressnum:
  20127. description: 物流单号
  20128. type: string
  20129. minivalue:
  20130. description: 现货商品最小变动值
  20131. type: integer
  20132. optioncompare:
  20133. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20134. type: string
  20135. qty:
  20136. description: 数量
  20137. type: integer
  20138. userid:
  20139. description: 用户id
  20140. type: integer
  20141. warehouseid:
  20142. description: 仓库ID
  20143. type: integer
  20144. warehousename:
  20145. description: 仓库名称
  20146. type: string
  20147. wrfactortypeid:
  20148. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20149. type: string
  20150. wrfactortypename:
  20151. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20152. type: string
  20153. wrstandardcode:
  20154. description: 现货商品代码
  20155. type: string
  20156. wrstandardid:
  20157. description: 现货商品ID
  20158. type: integer
  20159. wrstandardname:
  20160. description: 商品名称
  20161. type: string
  20162. wrtypename:
  20163. description: 商品
  20164. type: string
  20165. type: object
  20166. models.WrPerformancePlan:
  20167. properties:
  20168. activatemonth:
  20169. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  20170. type: string
  20171. amount:
  20172. description: 履约金额(总金额)
  20173. type: number
  20174. begindate:
  20175. description: 开始交易日(yyyymmdd)
  20176. type: string
  20177. buyaccountid:
  20178. description: 买方账号
  20179. type: integer
  20180. buyerfreezeamount:
  20181. description: 履约冻结(买履约)
  20182. type: number
  20183. buyerfreezeamountremain:
  20184. description: 履约冻结剩余(买履约)
  20185. type: number
  20186. buyorsell:
  20187. description: 买卖方向 0-买 1-卖
  20188. type: integer
  20189. buypaidamount:
  20190. description: 买方已冻/已扣金额 (已付金额)
  20191. type: number
  20192. buyusername:
  20193. description: 买方名字
  20194. type: string
  20195. contractid:
  20196. description: 合同ID
  20197. type: integer
  20198. createtime:
  20199. description: 创建时间
  20200. type: string
  20201. creatorid:
  20202. description: 创建人
  20203. type: integer
  20204. curstepdeadline:
  20205. description: 当前步骤到期时间
  20206. type: string
  20207. curstepid:
  20208. description: 当前步骤ID
  20209. type: string
  20210. curstepname:
  20211. description: 当前步骤名称
  20212. type: string
  20213. deliverygoodscode:
  20214. description: 品种代码
  20215. type: string
  20216. deliverygoodsid:
  20217. description: 品种ID
  20218. type: integer
  20219. deliverygoodsname:
  20220. description: 品种名称
  20221. type: string
  20222. enddate:
  20223. description: 结束交易日(yyyymmdd)
  20224. type: string
  20225. enumdicname:
  20226. description: 单位名称
  20227. type: string
  20228. expressfee:
  20229. description: 运费
  20230. type: number
  20231. expressfeeconfirmed:
  20232. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  20233. type: integer
  20234. hasovershort:
  20235. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  20236. type: integer
  20237. haswr:
  20238. description: 类型 0-仓单预售 1-仓单贸易
  20239. type: integer
  20240. marketid:
  20241. description: 市场ID
  20242. type: integer
  20243. middleaccountid:
  20244. description: 中间商资金账号ID
  20245. type: integer
  20246. middleuserid:
  20247. description: 中间商用户ID
  20248. type: integer
  20249. minivalue:
  20250. description: 现货商品最小变动值
  20251. type: integer
  20252. optioncompare:
  20253. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20254. type: string
  20255. overshortamount:
  20256. description: 溢短金额
  20257. type: number
  20258. overshortqty:
  20259. description: 溢短数量
  20260. type: number
  20261. paymenttype:
  20262. description: 付款方式 - 1:冻结 2:扣款
  20263. type: integer
  20264. performanceplanid:
  20265. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  20266. type: string
  20267. performancestatus:
  20268. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  20269. 9:超时待处理 10:超时关闭
  20270. type: integer
  20271. performancetype:
  20272. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  20273. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  20274. type: integer
  20275. qty:
  20276. description: 履约数量
  20277. type: number
  20278. relatedorderid:
  20279. description: 关联单号(履约类型的关联单号)
  20280. type: string
  20281. remark:
  20282. description: 备注
  20283. type: string
  20284. sellaccountid:
  20285. description: 卖方账号
  20286. type: integer
  20287. sellerfreezeamount:
  20288. description: 履约冻结(卖履约)
  20289. type: number
  20290. sellerfreezeamountremain:
  20291. description: 履约冻结剩余(卖履约)
  20292. type: number
  20293. sellreceivedamount:
  20294. description: 卖方已收金额
  20295. type: number
  20296. sellusername:
  20297. description: 卖方名字
  20298. type: string
  20299. shipremark:
  20300. description: 发货备注[物流单号]
  20301. type: string
  20302. starttime:
  20303. description: 开始时间
  20304. type: string
  20305. steptypeid:
  20306. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20307. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20308. type: integer
  20309. typename:
  20310. description: 履约类型 名称
  20311. type: string
  20312. unpaidamount:
  20313. description: 期初均价
  20314. type: number
  20315. userid:
  20316. description: 用户id
  20317. type: integer
  20318. warehouseid:
  20319. description: 仓库ID
  20320. type: integer
  20321. warehousename:
  20322. description: 仓库名称
  20323. type: string
  20324. wrfactortypeid:
  20325. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20326. type: string
  20327. wrfactortypename:
  20328. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20329. type: string
  20330. wrstandardcode:
  20331. description: 现货商品代码
  20332. type: string
  20333. wrstandardid:
  20334. description: 现货商品ID
  20335. type: integer
  20336. wrstandardname:
  20337. description: 商品名称
  20338. type: string
  20339. wrtransferuserid:
  20340. description: 仓单受让用户
  20341. type: integer
  20342. wrtypename:
  20343. description: 商品
  20344. type: string
  20345. required:
  20346. - userid
  20347. type: object
  20348. models.WrPerformancePlanStep:
  20349. properties:
  20350. delaydays:
  20351. description: 延期申请天数
  20352. type: integer
  20353. deliverygoodscode:
  20354. description: 品种代码
  20355. type: string
  20356. deliverygoodsid:
  20357. description: 品种ID
  20358. type: integer
  20359. deliverygoodsname:
  20360. description: 品种名称
  20361. type: string
  20362. endtime:
  20363. description: 结束日期
  20364. type: string
  20365. enumdicname:
  20366. description: 单位名称
  20367. type: string
  20368. executeside:
  20369. description: 步骤执行方 - 1:买方 2:卖方
  20370. type: integer
  20371. handlestatus:
  20372. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  20373. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  20374. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  20375. type: integer
  20376. isauto:
  20377. description: 是否自动 - 0:不自动 1:自动
  20378. type: integer
  20379. islastreceivestep:
  20380. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  20381. type: integer
  20382. minivalue:
  20383. description: 现货商品最小变动值
  20384. type: integer
  20385. optioncompare:
  20386. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20387. type: string
  20388. overdays:
  20389. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  20390. type: integer
  20391. performancestepid:
  20392. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  20393. type: string
  20394. planid:
  20395. description: 所属履约计划ID
  20396. type: string
  20397. realamount:
  20398. description: 实际完成金额
  20399. type: number
  20400. relatedorderid:
  20401. description: 关联单号
  20402. type: string
  20403. remaindays:
  20404. description: 剩余天数
  20405. type: integer
  20406. remark:
  20407. description: 错误备注
  20408. type: string
  20409. starttime:
  20410. description: 开始日期
  20411. type: string
  20412. stepamount:
  20413. description: 步骤金额
  20414. type: number
  20415. stepdays:
  20416. description: 距离上一步天数(分钟)
  20417. type: integer
  20418. stepindex:
  20419. description: 步骤序号
  20420. type: integer
  20421. steplanchtype:
  20422. description: 步骤启动类型 - 1:系统自动 2:手动
  20423. type: integer
  20424. stepremark:
  20425. description: 步骤备注
  20426. type: string
  20427. stepstatus:
  20428. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  20429. type: integer
  20430. steptypeid:
  20431. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  20432. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  20433. type: integer
  20434. steptypename:
  20435. description: 步骤名称
  20436. type: string
  20437. stepvalue:
  20438. description: 步骤值
  20439. type: number
  20440. warehouseid:
  20441. description: 仓库ID
  20442. type: integer
  20443. warehousename:
  20444. description: 仓库名称
  20445. type: string
  20446. wrfactortypeid:
  20447. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20448. type: string
  20449. wrfactortypename:
  20450. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20451. type: string
  20452. wrstandardcode:
  20453. description: 现货商品代码
  20454. type: string
  20455. wrstandardid:
  20456. description: 现货商品ID
  20457. type: integer
  20458. wrstandardname:
  20459. description: 商品名称
  20460. type: string
  20461. wrtypename:
  20462. description: 商品
  20463. type: string
  20464. type: object
  20465. models.WrPerformanceStepType:
  20466. properties:
  20467. canauto:
  20468. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  20469. type: integer
  20470. steptypeid:
  20471. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  20472. type: integer
  20473. steptypename:
  20474. description: 步骤类型名称
  20475. type: string
  20476. type: object
  20477. models.WrPerformanceTemplateEx:
  20478. properties:
  20479. autoid:
  20480. description: AutoID 模板id
  20481. type: integer
  20482. createtime:
  20483. description: 创建时间
  20484. type: string
  20485. creatorid:
  20486. description: 创建人
  20487. type: integer
  20488. lstStep:
  20489. description: 步骤信息列表
  20490. items:
  20491. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20492. type: array
  20493. paymenttype:
  20494. description: 支付方式 - 1:冻结 2:扣款
  20495. type: integer
  20496. takemode:
  20497. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  20498. type: integer
  20499. templatename:
  20500. description: 模板名称
  20501. type: string
  20502. templatetype:
  20503. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  20504. (无仓单) 5:挂牌期权 6:竞拍-降价式
  20505. type: integer
  20506. userid:
  20507. description: 所属用户
  20508. type: integer
  20509. type: object
  20510. models.WrPosition:
  20511. properties:
  20512. accountid:
  20513. description: 帐户ID
  20514. type: integer
  20515. buyexcuteqty:
  20516. description: 采购履约中数量
  20517. type: number
  20518. creditcurqty:
  20519. description: 授信当前数量(预售仓单:预售当前量)
  20520. type: number
  20521. creditenableqty:
  20522. description: '授信可用数量(预售仓单: 可用数量)'
  20523. type: number
  20524. creditfreezeqty:
  20525. description: '授信冻结数量(预售仓单: 当前数量)'
  20526. type: number
  20527. credittotalqty:
  20528. description: 授信总数量(预售仓单:预售总量)
  20529. type: number
  20530. credittradeqty:
  20531. description: 授信成交数量(预售仓单:成交总量)
  20532. type: number
  20533. deliverygoodscode:
  20534. description: 品种代码
  20535. type: string
  20536. deliverygoodsid:
  20537. description: 品种ID
  20538. type: integer
  20539. deliverygoodsname:
  20540. description: 品种名称
  20541. type: string
  20542. enalbeqty:
  20543. description: 可用数量
  20544. type: number
  20545. enumdicname:
  20546. description: 单位名称
  20547. type: string
  20548. freezeqty:
  20549. description: 总冻结数量
  20550. type: number
  20551. haswr:
  20552. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  20553. type: integer
  20554. minivalue:
  20555. description: 现货商品最小变动值
  20556. type: integer
  20557. modifytime:
  20558. description: 修改时间(过户时间)
  20559. type: string
  20560. optioncompare:
  20561. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20562. type: string
  20563. pledgeqty:
  20564. description: 质押数量
  20565. type: number
  20566. querytype:
  20567. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  20568. type: integer
  20569. sellexcuteqty:
  20570. description: 销售履约中数量
  20571. type: number
  20572. totalqty:
  20573. description: 总数量(库存数量)
  20574. type: number
  20575. warehouseid:
  20576. description: 仓库ID
  20577. type: integer
  20578. warehousename:
  20579. description: 仓库名称
  20580. type: string
  20581. wrfactortypeid:
  20582. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20583. type: string
  20584. wrfactortypename:
  20585. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20586. type: string
  20587. wrpositionid:
  20588. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20589. type: string
  20590. wrpositionno:
  20591. description: 仓单编号
  20592. type: string
  20593. wrstandardcode:
  20594. description: 现货商品代码
  20595. type: string
  20596. wrstandardid:
  20597. description: 现货商品ID
  20598. type: integer
  20599. wrstandardname:
  20600. description: 商品名称
  20601. type: string
  20602. wrtypename:
  20603. description: 商品
  20604. type: string
  20605. wruserid:
  20606. description: 持有人ID
  20607. type: integer
  20608. type: object
  20609. models.WrPreSaleInfo:
  20610. properties:
  20611. bannerpicurl:
  20612. description: Banner图
  20613. type: string
  20614. baseqty:
  20615. description: 中签基数
  20616. type: number
  20617. createtime:
  20618. description: 创建时间
  20619. type: string
  20620. deliverygoodsid:
  20621. description: 现货品种ID
  20622. type: integer
  20623. enddate:
  20624. description: 预售结束日期
  20625. type: string
  20626. enumdicname:
  20627. description: 单位名称
  20628. type: string
  20629. lotteryflag:
  20630. description: 摇号标识 - 0:未摇号 1:已摇号
  20631. type: integer
  20632. lotteryqty:
  20633. description: 摇号总量
  20634. type: number
  20635. luckyqty:
  20636. description: 已中签量
  20637. type: number
  20638. marketid:
  20639. description: 市场ID
  20640. type: integer
  20641. maxbuyqty:
  20642. description: 单人最大申购量
  20643. type: number
  20644. maxluckyqty:
  20645. description: 单人最大中签量
  20646. type: number
  20647. pictureurls:
  20648. description: 详情图片(逗号分隔)
  20649. type: string
  20650. placeqty:
  20651. description: 已配售量
  20652. type: number
  20653. presaleapplyid:
  20654. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  20655. example: "0"
  20656. type: string
  20657. presaleqty:
  20658. description: 预售总量
  20659. type: number
  20660. presalestatus:
  20661. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  20662. type: integer
  20663. sellaccountid:
  20664. description: 发行方资金账户ID
  20665. type: integer
  20666. selluserid:
  20667. description: 发行方用户ID
  20668. type: integer
  20669. sellwrtradeorderid:
  20670. description: 发行方卖委托单ID
  20671. type: string
  20672. startdate:
  20673. description: 预售开始日期
  20674. type: string
  20675. takestartdate:
  20676. description: 提货开始日期
  20677. type: string
  20678. thumurls:
  20679. description: 缩略图片(1:1)(逗号分隔)
  20680. type: string
  20681. tradedate:
  20682. description: 交易日
  20683. type: string
  20684. unitid:
  20685. description: 单位ID
  20686. type: integer
  20687. unitprice:
  20688. description: 商品单价
  20689. type: number
  20690. username:
  20691. description: 发行方用户名称
  20692. type: string
  20693. warehousecode:
  20694. description: 仓库代码(仓库简称)
  20695. type: string
  20696. warehouseid:
  20697. description: 仓库ID
  20698. type: integer
  20699. warehousename:
  20700. description: 仓库名称
  20701. type: string
  20702. wrfactortypeid:
  20703. description: 仓单要素类型ID - 根据现货商品\仓库生成
  20704. example: "0"
  20705. type: string
  20706. wrstandardid:
  20707. description: 现货商品ID
  20708. type: integer
  20709. wrstandardname:
  20710. description: 现货商品名称
  20711. type: string
  20712. type: object
  20713. models.WrQuoteOrderMyq:
  20714. properties:
  20715. buyorsell:
  20716. description: 买卖 - 0:买 1:卖
  20717. type: integer
  20718. canbargain:
  20719. description: 是否可议价 - 0:不可 1:可
  20720. type: integer
  20721. canpart:
  20722. description: 是否允许部份摘牌 - 0:不允许 1:允许
  20723. type: integer
  20724. delistminqty:
  20725. description: 期初均价
  20726. type: number
  20727. deliverygoodscode:
  20728. description: 品种代码
  20729. type: string
  20730. deliverygoodsid:
  20731. description: 品种ID
  20732. type: integer
  20733. deliverygoodsname:
  20734. description: 品种名称
  20735. type: string
  20736. deliverymonth:
  20737. description: 交收月
  20738. type: string
  20739. enumdicname:
  20740. description: 单位名称
  20741. type: string
  20742. fixedprice:
  20743. description: 买(卖)价
  20744. type: number
  20745. goodscode:
  20746. description: 商品合约代码
  20747. type: string
  20748. marginflag:
  20749. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  20750. type: integer
  20751. marginvalue:
  20752. description: 保证金设置值
  20753. type: number
  20754. minivalue:
  20755. description: 现货商品最小变动值
  20756. type: integer
  20757. orderqty:
  20758. description: 买(卖)量(=委托量-成交量)
  20759. type: number
  20760. ordertime:
  20761. description: 委托时间
  20762. type: string
  20763. performancetemplateid:
  20764. description: 履约模板id
  20765. type: integer
  20766. pricemove:
  20767. description: 买(卖)升贴水- 基差
  20768. type: number
  20769. templatename:
  20770. description: 履约模板名称
  20771. type: string
  20772. userid:
  20773. description: 购买方(销售方)用户ID
  20774. type: integer
  20775. username:
  20776. description: 购买方(销售方)
  20777. type: string
  20778. validtime:
  20779. description: 有效期限
  20780. type: string
  20781. validtype:
  20782. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  20783. type: integer
  20784. warehousename:
  20785. description: 仓库名称
  20786. type: string
  20787. wrfactortypeid:
  20788. description: 仓单要素id
  20789. type: string
  20790. wrstandardcode:
  20791. description: 现货商品代码
  20792. type: string
  20793. wrstandardid:
  20794. description: 现货商品ID
  20795. type: integer
  20796. wrstandardname:
  20797. description: 商品名称
  20798. type: string
  20799. wrtradeorderid:
  20800. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  20801. type: string
  20802. wrtypename:
  20803. description: 商品
  20804. type: string
  20805. type: object
  20806. models.WrReckonSpotGoodsTradeSum:
  20807. properties:
  20808. begindate:
  20809. description: 开始日期(结果含开始日期) yyyymmdd
  20810. type: string
  20811. enddate:
  20812. description: 结束日期(结果含结束日期) yyyymmdd
  20813. type: string
  20814. istoday:
  20815. description: 是否当日
  20816. type: boolean
  20817. marketid:
  20818. description: 市场ID
  20819. type: integer
  20820. price:
  20821. description: 价格 = 日成交金额 / 日成交数量
  20822. type: string
  20823. reckondate:
  20824. description: 日期 格式 yyyymmdd
  20825. type: string
  20826. tradeamount:
  20827. description: 期初均价
  20828. type: number
  20829. tradeqty:
  20830. description: 期初均价
  20831. type: number
  20832. wrstandardid:
  20833. description: 现货商品ID
  20834. type: integer
  20835. type: object
  20836. models.WrScfContract:
  20837. properties:
  20838. borroweruserid:
  20839. description: 借款用户ID
  20840. type: integer
  20841. buybackwrpositionqty:
  20842. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  20843. type: number
  20844. closeinterest:
  20845. description: 已结利息 -> 已结费用
  20846. type: number
  20847. currisklevel:
  20848. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  20849. type: integer
  20850. deadline:
  20851. description: 截止日期(yyyyMMdd) -> 借款到期时间
  20852. type: string
  20853. deliverygoodscode:
  20854. description: 品种代码
  20855. type: string
  20856. deliverygoodsid:
  20857. description: 品种ID
  20858. type: integer
  20859. deliverygoodsname:
  20860. description: 品种名称
  20861. type: string
  20862. enumdicname:
  20863. description: 单位名称
  20864. type: string
  20865. financingdays:
  20866. description: 天数(天)
  20867. type: integer
  20868. initmargin:
  20869. description: 保证金 - [仓单回购]
  20870. type: number
  20871. interestamount:
  20872. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  20873. type: number
  20874. interestdebt:
  20875. description: 利息欠款(记录负数) -> 费用欠款
  20876. type: number
  20877. interestminlen:
  20878. description: 最小起息天数
  20879. type: integer
  20880. interestrate:
  20881. description: 利率
  20882. type: number
  20883. interestratemode:
  20884. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  20885. type: integer
  20886. interestsettlemode:
  20887. description: 结息方式 - 1:按日结息 3:按月结息
  20888. type: integer
  20889. interestsettlevalue:
  20890. description: 结息方式值
  20891. type: integer
  20892. isautoloan:
  20893. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  20894. type: integer
  20895. lastcloseinterestday:
  20896. description: 最近结息日(yyyyMMdd)
  20897. type: string
  20898. lenderamount:
  20899. description: 贷款金额 -> 借款金额
  20900. type: number
  20901. lenderuserid:
  20902. description: 贷款方用户ID -> 融出方用户ID
  20903. type: integer
  20904. lenderusername:
  20905. description: 融出方
  20906. type: string
  20907. marginratio:
  20908. description: 保证金比率质押率 - [仓单质押]
  20909. type: number
  20910. marketid:
  20911. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  20912. type: integer
  20913. minivalue:
  20914. description: 现货商品最小变动值
  20915. type: integer
  20916. optioncompare:
  20917. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20918. type: string
  20919. pricemove:
  20920. description: 估值升贴水值
  20921. type: number
  20922. productdetailid:
  20923. description: 产品组合ID
  20924. type: integer
  20925. productid:
  20926. description: 金融产品ID
  20927. type: integer
  20928. productname:
  20929. description: 产品名称
  20930. type: string
  20931. remainamount:
  20932. description: 合同剩余金额 -> 剩余金额
  20933. type: number
  20934. remainwrpositionqty:
  20935. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  20936. type: number
  20937. remark:
  20938. description: 备注
  20939. type: string
  20940. scfcontractid:
  20941. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  20942. type: string
  20943. scfcontractstatus:
  20944. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  20945. 9:违约结束 10:已注销 11:已关闭 99:未提交
  20946. type: integer
  20947. scfcontracttype:
  20948. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  20949. type: integer
  20950. startinterestday:
  20951. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  20952. type: string
  20953. totalinterest:
  20954. description: 已计利息 -> 已计费用
  20955. type: number
  20956. unpaidinterest:
  20957. description: 期初均价
  20958. type: number
  20959. updatetime:
  20960. description: 更新时间
  20961. type: string
  20962. warehouseid:
  20963. description: 仓库ID
  20964. type: integer
  20965. warehousename:
  20966. description: 仓库名称
  20967. type: string
  20968. wrfactortypeid:
  20969. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20970. type: string
  20971. wrfactortypename:
  20972. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20973. type: string
  20974. wrqty:
  20975. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  20976. type: number
  20977. wrstandardcode:
  20978. description: 现货商品代码
  20979. type: string
  20980. wrstandardid:
  20981. description: 现货商品ID
  20982. type: integer
  20983. wrstandardname:
  20984. description: 商品名称
  20985. type: string
  20986. wrtypename:
  20987. description: 商品
  20988. type: string
  20989. type: object
  20990. models.WrScfContractInterest:
  20991. properties:
  20992. closeinterest:
  20993. description: 已结利息
  20994. type: number
  20995. closeintereststatus:
  20996. description: 结息状态 - 1:未结 2:已结
  20997. type: integer
  20998. closetime:
  20999. description: 结息时间
  21000. type: string
  21001. closetradedate:
  21002. description: 结息交易日
  21003. type: string
  21004. creatorid:
  21005. description: 操作人ID
  21006. type: integer
  21007. dayrate:
  21008. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  21009. type: number
  21010. interest:
  21011. description: 利息
  21012. type: number
  21013. interestamount:
  21014. description: 计息金额
  21015. type: number
  21016. interestday:
  21017. description: 计息日(yyyyMMdd)
  21018. type: string
  21019. scfcontractid:
  21020. description: SCF合同ID
  21021. type: string
  21022. scfcontractinterestid:
  21023. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  21024. type: integer
  21025. updatetime:
  21026. description: 更新时间
  21027. type: string
  21028. type: object
  21029. models.WrSearchUser:
  21030. properties:
  21031. userid:
  21032. description: 用户ID
  21033. type: integer
  21034. username:
  21035. description: 用户名称(已脱敏)
  21036. type: string
  21037. username2:
  21038. description: 用户名称(未脱敏)
  21039. type: string
  21040. usertype:
  21041. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  21042. type: integer
  21043. required:
  21044. - username
  21045. type: object
  21046. models.WrSiteColumnDetail:
  21047. properties:
  21048. author:
  21049. description: 作者
  21050. type: string
  21051. brief:
  21052. description: 简介
  21053. type: string
  21054. context:
  21055. description: 内容
  21056. type: string
  21057. coverimage:
  21058. description: 封面图片
  21059. type: string
  21060. creaedate:
  21061. description: 创建时间
  21062. type: string
  21063. id:
  21064. description: ID(SEQ_SITE_COLUMNDETAIL)
  21065. type: integer
  21066. istop:
  21067. description: 是否置顶 - 0:不置 1:置顶
  21068. type: integer
  21069. publishdate:
  21070. description: 发布日期
  21071. type: string
  21072. title:
  21073. description: 标题
  21074. type: string
  21075. updatedate:
  21076. description: 修改时间
  21077. type: string
  21078. type: object
  21079. models.WrSpecialMatchOrder:
  21080. properties:
  21081. amount:
  21082. description: 金额 = 数量 * 价格
  21083. type: number
  21084. buyorsell:
  21085. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21086. type: integer
  21087. cancelqty:
  21088. description: 撤销数量
  21089. type: number
  21090. deliverygoodscode:
  21091. description: 品种代码
  21092. type: string
  21093. deliverygoodsid:
  21094. description: 品种ID
  21095. type: integer
  21096. deliverygoodsname:
  21097. description: 品种名称
  21098. type: string
  21099. enumdicname:
  21100. description: 单位名称
  21101. type: string
  21102. fixedprice:
  21103. description: 固定价格(价格)
  21104. type: number
  21105. haswr:
  21106. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21107. type: integer
  21108. isspecified:
  21109. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  21110. type: integer
  21111. marketid:
  21112. description: 市场ID
  21113. type: integer
  21114. matchuserid:
  21115. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  21116. type: integer
  21117. matchusername:
  21118. description: 指定方
  21119. type: string
  21120. minivalue:
  21121. description: 现货商品最小变动值
  21122. type: integer
  21123. optioncompare:
  21124. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21125. type: string
  21126. orderqty:
  21127. description: 委托数量
  21128. type: number
  21129. ordertime:
  21130. description: 委托时间
  21131. type: string
  21132. pricemove:
  21133. description: 升贴水(浮动价时填写) - [挂牌]
  21134. type: number
  21135. tradedate:
  21136. description: 交易日(yyyyMMdd)
  21137. type: string
  21138. tradeprice:
  21139. description: 成交价格
  21140. type: number
  21141. tradeqty:
  21142. description: 成交数量
  21143. type: number
  21144. userid:
  21145. description: 用户ID
  21146. type: integer
  21147. username:
  21148. description: 发起方
  21149. type: string
  21150. warehouseid:
  21151. description: 仓库ID
  21152. type: integer
  21153. warehousename:
  21154. description: 仓库名称
  21155. type: string
  21156. wrfactortypeid:
  21157. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21158. type: string
  21159. wrfactortypename:
  21160. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21161. type: string
  21162. wrpricetype:
  21163. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  21164. type: integer
  21165. wrstandardcode:
  21166. description: 现货商品代码
  21167. type: string
  21168. wrstandardid:
  21169. description: 现货商品ID
  21170. type: integer
  21171. wrstandardname:
  21172. description: 商品名称
  21173. type: string
  21174. wrtradeorderid:
  21175. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21176. type: string
  21177. wrtradeorderstatus:
  21178. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  21179. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  21180. type: integer
  21181. wrtradetype:
  21182. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21183. type: integer
  21184. wrtypename:
  21185. description: 商品
  21186. type: string
  21187. type: object
  21188. models.WrSpotGroupTradeSum:
  21189. properties:
  21190. deliverygoodscode:
  21191. description: 现货品种代码
  21192. type: string
  21193. deliverygoodsid:
  21194. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21195. type: integer
  21196. deliverygoodsname:
  21197. description: 现货品种名称
  21198. type: string
  21199. lastavgprice:
  21200. description: 上上个交易日价格(前2天价格)
  21201. type: string
  21202. lastreckondate:
  21203. description: 上上个交易日(前2天交易日)
  21204. type: string
  21205. reckondate:
  21206. description: 上个交易日(前1天交易日)
  21207. type: string
  21208. todayavgprice:
  21209. description: 上个交易日价格(前1天价格)
  21210. type: string
  21211. updown:
  21212. description: 涨跌
  21213. type: string
  21214. updownratio:
  21215. description: 涨幅(已格式化, 直接显示即可)
  21216. type: string
  21217. type: object
  21218. models.WrSpotGroupTradeSumDetail:
  21219. properties:
  21220. deliverygoodsid:
  21221. description: 现货商品id
  21222. type: integer
  21223. price:
  21224. description: 价格
  21225. type: number
  21226. reckondate:
  21227. description: 日期(yyymmdd, 如:20211031)
  21228. type: string
  21229. type: object
  21230. models.WrSpotGroupTradeSumEx:
  21231. properties:
  21232. lst:
  21233. description: 指数列表
  21234. items:
  21235. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  21236. type: array
  21237. prereckondate:
  21238. description: 上上个交易日(yyymmdd)
  21239. type: string
  21240. reckondate:
  21241. description: 上个交易日(yyyymmdd)
  21242. type: string
  21243. type: object
  21244. models.WrStandardFactoryItem:
  21245. properties:
  21246. dgfactoryitemid:
  21247. description: 选择项id
  21248. type: integer
  21249. dgfactoryitemvalue:
  21250. description: 要素项值
  21251. type: string
  21252. warehouseid:
  21253. description: 仓库id
  21254. type: integer
  21255. type: object
  21256. models.WrStandardFactoryItemEx:
  21257. properties:
  21258. dgfactoryitemtypeid:
  21259. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  21260. type: integer
  21261. itemlst:
  21262. description: 要素项列表
  21263. items:
  21264. $ref: '#/definitions/models.WrStandardFactoryItem'
  21265. type: array
  21266. itemtypename:
  21267. description: 要素项类型名称
  21268. type: string
  21269. wrstandardid:
  21270. description: 品类
  21271. type: integer
  21272. type: object
  21273. models.WrTradeDetail:
  21274. properties:
  21275. accountid:
  21276. description: 资金账号
  21277. type: integer
  21278. bannerpicurl:
  21279. description: Banner图
  21280. type: string
  21281. begindate:
  21282. description: 开始交易日(yyyymmdd)
  21283. type: string
  21284. buyorsell:
  21285. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21286. type: integer
  21287. chargevalue:
  21288. description: 手续费
  21289. type: number
  21290. deliverygoodscode:
  21291. description: 品种代码
  21292. type: string
  21293. deliverygoodsid:
  21294. description: 品种ID
  21295. type: integer
  21296. deliverygoodsname:
  21297. description: 品种名称
  21298. type: string
  21299. deliverymonth:
  21300. description: 交收月
  21301. type: string
  21302. enddate:
  21303. description: 结束交易日(yyyymmdd)
  21304. type: string
  21305. enumdicname:
  21306. description: 单位名称
  21307. type: string
  21308. haswr:
  21309. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  21310. type: integer
  21311. marketid:
  21312. description: 市场ID
  21313. type: integer
  21314. matchaccountid:
  21315. description: 对手账号
  21316. type: integer
  21317. matchusername:
  21318. description: 对手方
  21319. type: string
  21320. minivalue:
  21321. description: 现货商品最小变动值
  21322. type: integer
  21323. optioncompare:
  21324. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21325. type: string
  21326. thumurls:
  21327. description: 缩略图
  21328. type: string
  21329. tradedate:
  21330. description: 交易日(yyyyMMdd)
  21331. type: string
  21332. tradeprice:
  21333. description: 成交价格
  21334. type: number
  21335. tradeqty:
  21336. description: 成交数量
  21337. type: number
  21338. tradetime:
  21339. description: 成交时间
  21340. type: string
  21341. userid:
  21342. description: 用户ID
  21343. type: integer
  21344. warehouseid:
  21345. description: 仓库ID
  21346. type: integer
  21347. warehousename:
  21348. description: 仓库名称
  21349. type: string
  21350. wrfactortypeid:
  21351. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21352. type: string
  21353. wrfactortypename:
  21354. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21355. type: string
  21356. wrstandardcode:
  21357. description: 现货商品代码
  21358. type: string
  21359. wrstandardid:
  21360. description: 现货商品ID
  21361. type: integer
  21362. wrstandardname:
  21363. description: 商品名称
  21364. type: string
  21365. wrtradedetailid:
  21366. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21367. type: string
  21368. wrtradetype:
  21369. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  21370. type: integer
  21371. wrtypename:
  21372. description: 商品
  21373. type: string
  21374. type: object
  21375. models.WrTradeOrderDetail:
  21376. properties:
  21377. buyorsell:
  21378. description: 买卖方向 0-买 1-卖
  21379. type: integer
  21380. goodsid:
  21381. description: 商品id
  21382. type: integer
  21383. orderid:
  21384. description: 委托单号
  21385. type: string
  21386. orderprice:
  21387. description: 期初均价
  21388. type: number
  21389. orderqty:
  21390. description: 委托数量
  21391. type: integer
  21392. userid:
  21393. description: 用户id
  21394. type: integer
  21395. username:
  21396. description: 用户名称(已脱敏)
  21397. type: string
  21398. type: object
  21399. models.WrTypeItem:
  21400. properties:
  21401. name:
  21402. description: 名称
  21403. type: string
  21404. value:
  21405. description: 值
  21406. type: string
  21407. type: object
  21408. models.WrUserFriend:
  21409. properties:
  21410. friendname:
  21411. description: 朋友名称(已脱敏)
  21412. type: string
  21413. frienduserid:
  21414. description: 朋友id
  21415. type: integer
  21416. isfriend:
  21417. description: 是否好友 0-不是 1-是
  21418. type: integer
  21419. userid:
  21420. description: 用户id
  21421. type: integer
  21422. type: object
  21423. models.WrUserReceiptInfo:
  21424. properties:
  21425. address:
  21426. description: 地址[发票类型:企业]
  21427. type: string
  21428. autoid:
  21429. description: AutoID
  21430. type: integer
  21431. contactinfo:
  21432. description: 联系方式
  21433. type: string
  21434. idnum:
  21435. description: 身份证号码[发票类型:个人]
  21436. type: string
  21437. isdefault:
  21438. description: 是否默认地址 - 0:否 1:是
  21439. type: integer
  21440. receiptaccount:
  21441. description: 发票帐号[发票类型:企业]
  21442. type: string
  21443. receiptbank:
  21444. description: 发票开户行[发票类型:企业]
  21445. type: string
  21446. receipttype:
  21447. description: 发票类型 - 1:个人 2:企业
  21448. type: integer
  21449. taxpayerid:
  21450. description: 纳税人识别号
  21451. type: string
  21452. userid:
  21453. description: 用户ID
  21454. type: integer
  21455. username:
  21456. description: 户名(个人姓名或企业名称)
  21457. type: string
  21458. type: object
  21459. models.Wrtradetradequote:
  21460. properties:
  21461. buyaccountid:
  21462. description: 买方账号ID
  21463. type: integer
  21464. buychargevalue:
  21465. description: 买方手续费
  21466. type: number
  21467. buyuserid:
  21468. description: 买方用户ID
  21469. type: integer
  21470. deliverygoodsid:
  21471. description: 现货品种ID
  21472. type: integer
  21473. exchangerate:
  21474. description: 汇率
  21475. type: number
  21476. marketid:
  21477. description: 市场ID
  21478. type: integer
  21479. oritradeamount:
  21480. description: 成交金额[商品币种]
  21481. type: number
  21482. performanceplanid:
  21483. description: 履约计划ID/合同ID
  21484. type: integer
  21485. sellaccountid:
  21486. description: 卖方账号ID
  21487. type: integer
  21488. sellchargevalue:
  21489. description: 卖方手续费
  21490. type: number
  21491. selluserid:
  21492. description: 卖方用户ID
  21493. type: integer
  21494. tradeamount:
  21495. description: 成交金额
  21496. type: number
  21497. tradedate:
  21498. description: 交易日(yyyyMMdd)
  21499. type: string
  21500. tradeprice:
  21501. description: 成交价格
  21502. type: number
  21503. tradeqty:
  21504. description: 成交数量
  21505. type: integer
  21506. tradetime:
  21507. description: 成交时间
  21508. type: string
  21509. wrfactortypeid:
  21510. description: 仓单要素类型ID
  21511. type: integer
  21512. wrstandardid:
  21513. description: 现货商品ID
  21514. type: integer
  21515. wrtradedetailid:
  21516. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  21517. type: integer
  21518. type: object
  21519. models.XHBRAND:
  21520. properties:
  21521. brandid:
  21522. description: 品牌id
  21523. type: integer
  21524. brandname:
  21525. description: 品牌名称
  21526. type: string
  21527. isvalid:
  21528. description: 是否有效 0-无效 1-有效
  21529. type: integer
  21530. type: object
  21531. models.XHDeliveryGoods:
  21532. properties:
  21533. areauserid:
  21534. description: 所属机构
  21535. type: integer
  21536. bdlst:
  21537. description: 品牌列表
  21538. items:
  21539. $ref: '#/definitions/models.XHBRAND'
  21540. type: array
  21541. deliverygoodscode:
  21542. description: 现货品种代码
  21543. type: string
  21544. deliverygoodsid:
  21545. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21546. type: integer
  21547. deliverygoodsname:
  21548. description: 现货品种名称
  21549. type: string
  21550. dgstatus:
  21551. description: 品种状态 - 作废 - 0:未激活 1:正常
  21552. type: integer
  21553. filterSubEmpty:
  21554. description: 过滤下级为空的
  21555. type: integer
  21556. isvalid:
  21557. description: 是否有效 - 0:无效 1:有效
  21558. type: integer
  21559. remark:
  21560. description: 备注
  21561. type: string
  21562. unitid:
  21563. description: 单位id(目前看,数据库中是空值)
  21564. type: integer
  21565. wdlst:
  21566. description: 品类(现货商品)列表
  21567. items:
  21568. $ref: '#/definitions/models.XHWrstandard'
  21569. type: array
  21570. type: object
  21571. models.XHMiddleGoods:
  21572. properties:
  21573. GPLST:
  21574. description: 期货品种列表
  21575. items:
  21576. $ref: '#/definitions/models.TBGoodsGroup'
  21577. type: array
  21578. convertratio:
  21579. description: 拆算系数
  21580. type: number
  21581. costratio:
  21582. description: 成本权重
  21583. type: number
  21584. deliverygoodsid:
  21585. description: 现货商品id
  21586. type: integer
  21587. enumdicname:
  21588. description: 单位名称
  21589. type: string
  21590. middlegoodscode:
  21591. description: 套保品种代码
  21592. type: string
  21593. middlegoodsid:
  21594. description: 套保品种id
  21595. type: integer
  21596. middlegoodsname:
  21597. description: 套保品种名称
  21598. type: string
  21599. unitid:
  21600. description: 单位id
  21601. type: integer
  21602. type: object
  21603. models.XHWrstandard:
  21604. properties:
  21605. bannerpicurl:
  21606. description: banner图
  21607. type: string
  21608. deliverygoodsid:
  21609. description: 品种ID
  21610. type: integer
  21611. enumdicname:
  21612. description: 单位名称
  21613. type: string
  21614. mglst:
  21615. description: 套保品列表
  21616. items:
  21617. $ref: '#/definitions/models.XHMiddleGoods'
  21618. type: array
  21619. pictureurls:
  21620. description: 详情图片(逗号分隔)
  21621. type: string
  21622. thumurls:
  21623. description: 缩略图片(1:1)(逗号分隔)
  21624. type: string
  21625. unitid:
  21626. description: 单位id
  21627. type: integer
  21628. vatrate:
  21629. description: 增值税率
  21630. type: number
  21631. wrstandardcode:
  21632. description: 现货商品代码
  21633. type: string
  21634. wrstandardid:
  21635. description: 现货商品ID(SEQ_WRSTANDARD)
  21636. type: integer
  21637. wrstandardname:
  21638. description: 现货商品名称
  21639. type: string
  21640. type: object
  21641. models.XhcpSellBackApplyEx:
  21642. properties:
  21643. applyremark:
  21644. description: 申请备注
  21645. type: string
  21646. expirytype:
  21647. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21648. type: integer
  21649. goodsspec:
  21650. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21651. type: integer
  21652. holeflag:
  21653. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21654. type: integer
  21655. isunopened:
  21656. description: 是否原封 - 1:否 2:是
  21657. type: integer
  21658. mpflag:
  21659. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21660. type: integer
  21661. openflag:
  21662. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21663. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21664. type: integer
  21665. phonenum:
  21666. description: 联系电话
  21667. type: string
  21668. userid:
  21669. description: 所属用户ID
  21670. type: integer
  21671. zpflag:
  21672. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21673. type: integer
  21674. required:
  21675. - userid
  21676. type: object
  21677. models.Xhcpsellbackapply:
  21678. properties:
  21679. applyid:
  21680. description: 申请人
  21681. type: integer
  21682. applyremark:
  21683. description: 申请备注
  21684. type: string
  21685. applysrc:
  21686. description: 申请来源 - 1:管理端 2:终端
  21687. type: integer
  21688. applystatus:
  21689. description: 申请状态 - 1:待确认 2:已处理
  21690. type: integer
  21691. applytime:
  21692. description: 申请时间
  21693. type: string
  21694. auditremark:
  21695. description: 审核备注
  21696. type: string
  21697. auditsrc:
  21698. description: 审核来源 - 1:管理端 2:终端
  21699. type: integer
  21700. expirytype:
  21701. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  21702. type: integer
  21703. goodsspec:
  21704. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  21705. type: integer
  21706. holeflag:
  21707. description: 是否破洞[原封] - 1:无破洞 2:破洞
  21708. type: integer
  21709. isunopened:
  21710. description: 是否原封 - 1:否 2:是
  21711. type: integer
  21712. mpflag:
  21713. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  21714. type: integer
  21715. openflag:
  21716. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  21717. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  21718. type: integer
  21719. phonenum:
  21720. description: 联系电话
  21721. type: string
  21722. sellbackapplyid:
  21723. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  21724. type: string
  21725. userid:
  21726. description: 所属用户ID
  21727. type: integer
  21728. zpflag:
  21729. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  21730. type: integer
  21731. required:
  21732. - userid
  21733. type: object
  21734. order.QueryHisTradeDetailRsp:
  21735. properties:
  21736. accountid:
  21737. description: 账户ID[报价币种]
  21738. type: integer
  21739. advanceratio:
  21740. description: 首付比率
  21741. type: number
  21742. buildtype:
  21743. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  21744. type: integer
  21745. buyorsell:
  21746. description: 方向 - 0:买 1:卖
  21747. type: integer
  21748. charge:
  21749. description: 手续费
  21750. type: number
  21751. closecharge:
  21752. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21753. type: number
  21754. closeexchagechargevalue:
  21755. description: 平仓交易所手续费设置值
  21756. type: number
  21757. closefeealgorithm:
  21758. description: 平仓手续费收取方式 1:比率 2:固定
  21759. type: integer
  21760. closememberchargevalue:
  21761. description: 平仓会员手续费设置值
  21762. type: number
  21763. closepl:
  21764. description: 平仓盈亏
  21765. type: number
  21766. closepl2:
  21767. description: 平仓盈亏[逐笔]
  21768. type: number
  21769. closeqty:
  21770. description: 平仓数量(先建后平操作 需要记录)
  21771. type: number
  21772. creditamount:
  21773. description: 授信金额
  21774. type: number
  21775. decimalplace:
  21776. description: 商品报价小数位
  21777. type: integer
  21778. enumdicname:
  21779. description: 单位名称
  21780. type: string
  21781. gcaccountid:
  21782. description: 账户ID[合约币种]
  21783. type: integer
  21784. goodscode:
  21785. description: 商品代码
  21786. type: string
  21787. goodsid:
  21788. description: 商品ID
  21789. type: integer
  21790. goodsname:
  21791. description: 商品名称
  21792. type: string
  21793. goodunitid:
  21794. description: 商品单位id
  21795. type: integer
  21796. histradedate:
  21797. description: 历史交易日
  21798. type: string
  21799. intclosepl:
  21800. description: 整型盈亏(用于交易结算试算平衡-收益权)
  21801. type: integer
  21802. isconfirmexercise:
  21803. description: 是否确认行权- 0:否 1:是
  21804. type: integer
  21805. ismain:
  21806. description: 是否主单 - 0:不是 1:是
  21807. type: integer
  21808. ispreexercise:
  21809. description: 是否预申报- 0:否 1:是
  21810. type: integer
  21811. isreckoned:
  21812. description: 是否结算 - 0:未结算 1:已结算
  21813. type: integer
  21814. isvaliddata:
  21815. description: 是否有效 - 0:无效 1:有效
  21816. type: integer
  21817. listingselecttype:
  21818. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  21819. type: integer
  21820. marketid:
  21821. description: 市场ID
  21822. type: integer
  21823. marketname:
  21824. description: 市场名称
  21825. type: string
  21826. matchaccountid:
  21827. description: 对手账号id
  21828. type: integer
  21829. memberuserid:
  21830. description: 会员id 个人投资者 需要填写
  21831. type: integer
  21832. opencharge:
  21833. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  21834. type: number
  21835. openexchagechargevalue:
  21836. description: 建仓交易所手续费设置值
  21837. type: number
  21838. openfeealgorithm:
  21839. description: 建仓手续费收取方式 1:比率 2:固定
  21840. type: integer
  21841. openmemberchargevalue:
  21842. description: 建仓会员手续费设置值
  21843. type: number
  21844. openqty:
  21845. description: 开仓数量(先建后平操作 需要记录)
  21846. type: number
  21847. optiontype:
  21848. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  21849. type: integer
  21850. orderid:
  21851. description: 委托单号
  21852. type: string
  21853. payamount:
  21854. description: 支付金额(付款金额)
  21855. type: number
  21856. performanceplanid:
  21857. description: 履约计划ID[期权]
  21858. type: integer
  21859. performancestatus:
  21860. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  21861. type: integer
  21862. preexerciseprice:
  21863. description: 预申报价格
  21864. type: number
  21865. premium:
  21866. description: 权利金 - [持仓单的权利金]
  21867. type: number
  21868. qtydecimalplace:
  21869. description: 商品报价小数位
  21870. type: integer
  21871. recvamount:
  21872. description: 到账金额 = 成交金额 - 手续费
  21873. type: number
  21874. relatedouttradeid:
  21875. description: 关联外部成交单ID
  21876. type: integer
  21877. status:
  21878. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  21879. type: integer
  21880. totalamount:
  21881. description: 订单总额 = 成交金额 + 手续费
  21882. type: number
  21883. tradeamount:
  21884. description: 成交金额[账户币种,用于所有权]
  21885. type: number
  21886. tradedate:
  21887. description: 交易日(yyyyMMdd)
  21888. type: string
  21889. tradeid:
  21890. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  21891. type: string
  21892. trademode:
  21893. description: 交易模式
  21894. type: integer
  21895. tradeprice:
  21896. description: 成交价格
  21897. type: number
  21898. tradeproperty:
  21899. description: 交易属性
  21900. type: integer
  21901. tradeqty:
  21902. description: 成交数量
  21903. type: number
  21904. tradetime:
  21905. description: 成交时间
  21906. type: string
  21907. tradetype:
  21908. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  21909. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  21910. type: integer
  21911. required:
  21912. - accountid
  21913. - buyorsell
  21914. - goodsid
  21915. - histradedate
  21916. - marketid
  21917. - memberuserid
  21918. - orderid
  21919. - tradeamount
  21920. - tradedate
  21921. - tradeid
  21922. - tradeprice
  21923. - tradeqty
  21924. - tradetime
  21925. type: object
  21926. order.QueryHisTradeOrderDetailRsp:
  21927. properties:
  21928. accountid:
  21929. description: 账户ID[报价币种]
  21930. type: integer
  21931. buildtype:
  21932. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  21933. type: integer
  21934. buyorsell:
  21935. description: 买卖 - 0:买 1:卖
  21936. type: integer
  21937. cancelorderid:
  21938. description: 撤单单号(撤单时填写)
  21939. type: string
  21940. cancelqty:
  21941. description: 撤单数量
  21942. type: number
  21943. clientordertime:
  21944. description: 客户端委托时间
  21945. type: string
  21946. clientticket:
  21947. description: 客户端流水号
  21948. type: string
  21949. clienttype:
  21950. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  21951. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  21952. type: integer
  21953. closeexchagechargevalue:
  21954. description: 平仓交易所手续费设置值
  21955. type: number
  21956. closefeealgorithm:
  21957. description: 平仓手续费收取方式 1:比率 2:固定
  21958. type: integer
  21959. closefreezecharge:
  21960. description: 平仓冻结手续费(先建后平操作,需要记录)
  21961. type: number
  21962. closememberchargevalue:
  21963. description: 平仓会员手续费设置值
  21964. type: number
  21965. closeqty:
  21966. description: 平仓数量(先建后平操作 需要记录)
  21967. type: number
  21968. closetradeqty:
  21969. description: 平仓成交数量(先建后平操作,需要记录)
  21970. type: number
  21971. closeunfreezecharge:
  21972. description: 平仓解冻手续费(先建后平操作,需要记录)
  21973. type: number
  21974. decimalplace:
  21975. description: 商品报价小数位
  21976. type: integer
  21977. delistingtype:
  21978. description: 摘牌类型 - 1:价格最优 2:点选成交
  21979. type: integer
  21980. enumdicname:
  21981. description: 单位名称
  21982. type: string
  21983. freezecharge:
  21984. description: 冻结手续费
  21985. type: number
  21986. freezemargin:
  21987. description: 冻结保证金(冻结交易金额)
  21988. type: number
  21989. gcaccountid:
  21990. description: 账户ID[合约币种]
  21991. type: integer
  21992. goodscode:
  21993. description: 商品代码
  21994. type: string
  21995. goodsid:
  21996. description: 商品ID
  21997. type: integer
  21998. goodsname:
  21999. description: 商品名称
  22000. type: string
  22001. goodunitid:
  22002. description: 商品单位id
  22003. type: integer
  22004. histradedate:
  22005. description: 历史交易日
  22006. type: string
  22007. isconfirmexercise:
  22008. description: 是否确认行权- 0:否 1:是
  22009. type: integer
  22010. ispreexercise:
  22011. description: 是否预申报- 0:否 1:是
  22012. type: integer
  22013. isvaliddata:
  22014. description: 是否有效 - 0:无效 1:有效
  22015. type: integer
  22016. listingselecttype:
  22017. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22018. type: integer
  22019. marginalgorithm:
  22020. description: 保证金收取方式 1:比率 2:固定
  22021. type: integer
  22022. marginvalue:
  22023. description: 即市保证金设置值
  22024. type: number
  22025. marketid:
  22026. description: 市场ID
  22027. type: integer
  22028. marketmaxsub:
  22029. description: 市价最大偏移范围
  22030. type: number
  22031. marketname:
  22032. description: 市场名称
  22033. type: string
  22034. memberuserid:
  22035. description: 所属会员UserID
  22036. type: integer
  22037. openexchagechargevalue:
  22038. description: 建仓交易所手续费设置值
  22039. type: number
  22040. openfeealgorithm:
  22041. description: 建仓手续费收取方式 1:比率 2:固定
  22042. type: integer
  22043. openfreezecharge:
  22044. description: 开仓冻结手续费(先建后平操作,需要记录)
  22045. type: number
  22046. openmemberchargevalue:
  22047. description: 建仓会员手续费设置值
  22048. type: number
  22049. openqty:
  22050. description: 开仓数量(先建后平操作,需要记录)
  22051. type: number
  22052. opentradeqty:
  22053. description: 开仓成交数量(先建后平操作,需要记录)
  22054. type: number
  22055. openunfreezecharge:
  22056. description: 开仓解冻手续费(先建后平操作,需要记录)
  22057. type: number
  22058. operatetype:
  22059. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22060. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22061. 15:管理端协议转让
  22062. type: integer
  22063. operatorid:
  22064. description: 登录账号(LoginID)
  22065. type: integer
  22066. optiontype:
  22067. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22068. type: integer
  22069. orderid:
  22070. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22071. type: string
  22072. orderprice:
  22073. description: 委托价格
  22074. type: number
  22075. orderqty:
  22076. description: 委托数量
  22077. type: number
  22078. ordersrc:
  22079. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22080. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22081. type: integer
  22082. orderstatus:
  22083. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22084. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22085. 16:成交失败违约(荷兰式竞拍专用)
  22086. type: integer
  22087. ordertime:
  22088. description: 委托时间
  22089. type: string
  22090. preexerciseprice:
  22091. description: 预申报价格
  22092. type: number
  22093. premium:
  22094. description: 权利金
  22095. type: number
  22096. preorderid:
  22097. description: 关联预埋单号(止盈止损单时填写)
  22098. type: string
  22099. pricemode:
  22100. description: '取价方式 - 1:市价 2: 限价'
  22101. type: integer
  22102. qtydecimalplace:
  22103. description: 成交量小数位
  22104. type: integer
  22105. quoteid:
  22106. description: 报价单ID
  22107. type: integer
  22108. relatedid:
  22109. description: 关联单号(交割单)
  22110. type: string
  22111. retcode:
  22112. description: 错误代码
  22113. type: integer
  22114. sessionid:
  22115. description: 会话ID
  22116. type: integer
  22117. tradedate:
  22118. description: 交易日(yyyyMMdd)
  22119. type: string
  22120. trademode:
  22121. description: 交易模式
  22122. type: integer
  22123. tradeproperty:
  22124. description: 交易属性
  22125. type: integer
  22126. tradeqty:
  22127. description: 成交数量
  22128. type: number
  22129. unfreezecharge:
  22130. description: 解冻手续费
  22131. type: number
  22132. unfreezemargin:
  22133. description: 解冻保证金
  22134. type: number
  22135. updatetime:
  22136. description: 更新时间
  22137. type: string
  22138. uuid:
  22139. description: 发起端唯一id
  22140. type: string
  22141. validtime:
  22142. description: 有效期限
  22143. type: string
  22144. validtype:
  22145. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22146. type: integer
  22147. volumetype:
  22148. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22149. type: integer
  22150. required:
  22151. - accountid
  22152. - buildtype
  22153. - buyorsell
  22154. - goodsid
  22155. - histradedate
  22156. - marketid
  22157. - memberuserid
  22158. - operatetype
  22159. - orderid
  22160. - orderqty
  22161. - ordertime
  22162. - pricemode
  22163. - tradedate
  22164. - validtype
  22165. type: object
  22166. order.QueryTradeDetailRsp:
  22167. properties:
  22168. accountid:
  22169. description: 账户ID[报价币种]
  22170. type: integer
  22171. advanceratio:
  22172. description: 首付比率
  22173. type: number
  22174. buildtype:
  22175. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  22176. type: integer
  22177. buyorsell:
  22178. description: 方向 - 0:买 1:卖
  22179. type: integer
  22180. charge:
  22181. description: 手续费
  22182. type: number
  22183. closecharge:
  22184. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22185. type: number
  22186. closeexchagechargevalue:
  22187. description: 平仓交易所手续费设置值
  22188. type: number
  22189. closefeealgorithm:
  22190. description: 平仓手续费收取方式 1:比率 2:固定
  22191. type: integer
  22192. closememberchargevalue:
  22193. description: 平仓会员手续费设置值
  22194. type: number
  22195. closepl:
  22196. description: 平仓盈亏
  22197. type: number
  22198. closepl2:
  22199. description: 平仓盈亏[逐笔]
  22200. type: number
  22201. closeqty:
  22202. description: 平仓数量(先建后平操作 需要记录)
  22203. type: number
  22204. creditamount:
  22205. description: 授信金额
  22206. type: number
  22207. decimalplace:
  22208. description: 商品报价小数位
  22209. type: integer
  22210. enumdicname:
  22211. description: 单位名称
  22212. type: string
  22213. gcaccountid:
  22214. description: 账户ID[合约币种]
  22215. type: integer
  22216. goodscode:
  22217. description: 商品代码
  22218. type: string
  22219. goodsid:
  22220. description: 商品ID
  22221. type: integer
  22222. goodsname:
  22223. description: 商品名称
  22224. type: string
  22225. goodunitid:
  22226. description: 商品单位id
  22227. type: integer
  22228. intclosepl:
  22229. description: 整型盈亏(用于交易结算试算平衡-收益权)
  22230. type: integer
  22231. isconfirmexercise:
  22232. description: 是否确认行权- 0:否 1:是
  22233. type: integer
  22234. ismain:
  22235. description: 是否主单 - 0:不是 1:是
  22236. type: integer
  22237. ispreexercise:
  22238. description: 是否预申报- 0:否 1:是
  22239. type: integer
  22240. isreckoned:
  22241. description: 是否结算 - 0:未结算 1:已结算
  22242. type: integer
  22243. listingselecttype:
  22244. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22245. type: integer
  22246. marketid:
  22247. description: 市场ID
  22248. type: integer
  22249. marketname:
  22250. description: 市场名称
  22251. type: string
  22252. matchaccountid:
  22253. description: 对手账号id
  22254. type: integer
  22255. memberuserid:
  22256. description: 会员id 个人投资者 需要填写
  22257. type: integer
  22258. opencharge:
  22259. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  22260. type: number
  22261. openexchagechargevalue:
  22262. description: 建仓交易所手续费设置值
  22263. type: number
  22264. openfeealgorithm:
  22265. description: 建仓手续费收取方式 1:比率 2:固定
  22266. type: integer
  22267. openmemberchargevalue:
  22268. description: 建仓会员手续费设置值
  22269. type: number
  22270. openqty:
  22271. description: 开仓数量(先建后平操作 需要记录)
  22272. type: number
  22273. optiontype:
  22274. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  22275. type: integer
  22276. orderid:
  22277. description: 委托单号
  22278. type: string
  22279. payamount:
  22280. description: 支付金额(付款金额)
  22281. type: number
  22282. performanceplanid:
  22283. description: 履约计划ID[期权]
  22284. type: integer
  22285. performancestatus:
  22286. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  22287. type: integer
  22288. preexerciseprice:
  22289. description: 预申报价格
  22290. type: number
  22291. premium:
  22292. description: 权利金 - [持仓单的权利金]
  22293. type: number
  22294. qtydecimalplace:
  22295. description: 商品报价小数位
  22296. type: integer
  22297. recvamount:
  22298. description: 到账金额 = 成交金额 - 手续费
  22299. type: number
  22300. relatedouttradeid:
  22301. description: 关联外部成交单ID
  22302. type: integer
  22303. status:
  22304. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  22305. type: integer
  22306. totalamount:
  22307. description: 订单总额 = 成交金额 + 手续费
  22308. type: number
  22309. tradeamount:
  22310. description: 成交金额[账户币种,用于所有权]
  22311. type: number
  22312. tradedate:
  22313. description: 交易日(yyyyMMdd)
  22314. type: string
  22315. tradeid:
  22316. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22317. type: string
  22318. trademode:
  22319. description: 交易模式
  22320. type: integer
  22321. tradeprice:
  22322. description: 成交价格
  22323. type: number
  22324. tradeproperty:
  22325. description: 交易属性
  22326. type: integer
  22327. tradeqty:
  22328. description: 成交数量
  22329. type: number
  22330. tradetime:
  22331. description: 成交时间
  22332. type: string
  22333. tradetype:
  22334. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  22335. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  22336. type: integer
  22337. required:
  22338. - accountid
  22339. - buyorsell
  22340. - goodsid
  22341. - marketid
  22342. - memberuserid
  22343. - orderid
  22344. - tradeamount
  22345. - tradedate
  22346. - tradeid
  22347. - tradeprice
  22348. - tradeqty
  22349. - tradetime
  22350. type: object
  22351. order.QueryTradeOrderDetailRsp:
  22352. properties:
  22353. accountid:
  22354. description: 账户ID[报价币种]
  22355. type: integer
  22356. buildtype:
  22357. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  22358. type: integer
  22359. buyorsell:
  22360. description: 买卖 - 0:买 1:卖
  22361. type: integer
  22362. cancelorderid:
  22363. description: 撤单单号(撤单时填写)
  22364. type: string
  22365. cancelqty:
  22366. description: 撤单数量
  22367. type: number
  22368. clienttype:
  22369. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  22370. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  22371. type: integer
  22372. closefreezecharge:
  22373. description: 平仓冻结手续费(先建后平操作,需要记录)
  22374. type: number
  22375. closeqty:
  22376. description: 平仓数量(先建后平操作 需要记录)
  22377. type: number
  22378. closetradeqty:
  22379. description: 平仓成交数量(先建后平操作,需要记录)
  22380. type: number
  22381. closeunfreezecharge:
  22382. description: 平仓解冻手续费(先建后平操作,需要记录)
  22383. type: number
  22384. decimalplace:
  22385. description: 商品报价小数位
  22386. type: integer
  22387. delistingtype:
  22388. description: 摘牌类型 - 1:价格最优 2:点选成交
  22389. type: integer
  22390. enableqty:
  22391. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  22392. type: number
  22393. enumdicname:
  22394. description: 单位名称
  22395. type: string
  22396. freezecharge:
  22397. description: 冻结手续费
  22398. type: number
  22399. freezemargin:
  22400. description: 冻结保证金(冻结交易金额)
  22401. type: number
  22402. goodscode:
  22403. description: 商品代码
  22404. type: string
  22405. goodsid:
  22406. description: 商品ID
  22407. type: integer
  22408. goodsname:
  22409. description: 商品名称
  22410. type: string
  22411. goodunitid:
  22412. description: 商品单位id
  22413. type: integer
  22414. listingselecttype:
  22415. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  22416. type: integer
  22417. marketid:
  22418. description: 市场ID
  22419. type: integer
  22420. marketname:
  22421. description: 市场名称
  22422. type: string
  22423. openfreezecharge:
  22424. description: 开仓冻结手续费(先建后平操作,需要记录)
  22425. type: number
  22426. openqty:
  22427. description: 开仓数量(先建后平操作,需要记录)
  22428. type: number
  22429. opentradeqty:
  22430. description: 开仓成交数量(先建后平操作,需要记录)
  22431. type: number
  22432. openunfreezecharge:
  22433. description: 开仓解冻手续费(先建后平操作,需要记录)
  22434. type: number
  22435. operatetype:
  22436. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  22437. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  22438. 15:管理端协议转让
  22439. type: integer
  22440. operatorid:
  22441. description: 登录账号(LoginID)
  22442. type: integer
  22443. orderid:
  22444. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  22445. type: string
  22446. orderprice:
  22447. description: 委托价格
  22448. type: number
  22449. orderqty:
  22450. description: 委托数量
  22451. type: number
  22452. ordersrc:
  22453. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  22454. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  22455. type: integer
  22456. orderstatus:
  22457. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  22458. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  22459. 16:成交失败违约(荷兰式竞拍专用)
  22460. type: integer
  22461. ordertime:
  22462. description: 委托时间
  22463. type: string
  22464. preorderid:
  22465. description: 关联预埋单号(止盈止损单时填写)
  22466. type: string
  22467. pricemode:
  22468. description: '取价方式 - 1:市价 2: 限价'
  22469. type: integer
  22470. qtydecimalplace:
  22471. description: 商品报价小数位
  22472. type: integer
  22473. relatedid:
  22474. description: 关联单号(交割单)
  22475. type: string
  22476. tradedate:
  22477. description: 交易日(yyyyMMdd)
  22478. type: string
  22479. trademode:
  22480. description: 交易模式
  22481. type: integer
  22482. tradeqty:
  22483. description: 成交数量
  22484. type: number
  22485. unfreezecharge:
  22486. description: 解冻手续费
  22487. type: number
  22488. unfreezemargin:
  22489. description: 解冻保证金
  22490. type: number
  22491. validtime:
  22492. description: 有效期限
  22493. type: string
  22494. validtype:
  22495. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  22496. type: integer
  22497. volumetype:
  22498. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  22499. type: integer
  22500. required:
  22501. - accountid
  22502. - buildtype
  22503. - buyorsell
  22504. - goodsid
  22505. - marketid
  22506. - operatetype
  22507. - orderqty
  22508. - ordertime
  22509. - pricemode
  22510. - tradedate
  22511. - validtype
  22512. type: object
  22513. order.QueryTradePositionRsp:
  22514. properties:
  22515. accountid:
  22516. description: 资金账户
  22517. type: integer
  22518. agreeunit:
  22519. description: 合约单位
  22520. type: number
  22521. averageprice:
  22522. description: 持仓均价
  22523. type: number
  22524. buyorsell:
  22525. description: 方向 - 0:买 1:卖
  22526. type: integer
  22527. closetotalqty:
  22528. description: 平仓总数量
  22529. type: number
  22530. curholderamount:
  22531. description: 当前持仓总金额[商品币种]
  22532. type: number
  22533. curpositionqty:
  22534. description: 当前持仓总数量
  22535. type: number
  22536. currencyid:
  22537. description: 报价货币ID
  22538. type: integer
  22539. curtdposition:
  22540. description: 期末今日头寸
  22541. type: number
  22542. decimalplace:
  22543. description: 报价小数位
  22544. type: integer
  22545. enableqty:
  22546. description: 可用量
  22547. type: number
  22548. fretdposition:
  22549. description: 冻结今日头寸
  22550. type: number
  22551. frozenqty:
  22552. description: 持仓冻结数量
  22553. type: number
  22554. goodscode:
  22555. description: 商品代码
  22556. type: string
  22557. goodsid:
  22558. description: 商品Id
  22559. type: integer
  22560. goodsname:
  22561. description: 商品名称
  22562. type: string
  22563. goodunit:
  22564. description: 报价单位
  22565. type: string
  22566. goodunitid:
  22567. description: 报价单位ID
  22568. type: integer
  22569. holderamount:
  22570. description: 期初持仓总金额[商品币种]
  22571. type: number
  22572. lastprice:
  22573. description: 最新价
  22574. type: number
  22575. marketamount:
  22576. description: 市值
  22577. type: number
  22578. marketid:
  22579. description: 所属市场ID
  22580. type: integer
  22581. openreqqty:
  22582. description: 开仓申请数量(用于比较最大持仓数量)
  22583. type: number
  22584. opentotalqty:
  22585. description: 开仓总数量
  22586. type: number
  22587. otherfrozenqty:
  22588. description: 持仓其他冻结数量(交割冻结)
  22589. type: number
  22590. positionpl:
  22591. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  22592. * 合约单位
  22593. type: number
  22594. positionplrate:
  22595. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  22596. type: number
  22597. positionqty:
  22598. description: 期初持仓数量
  22599. type: number
  22600. qtydecimalplace:
  22601. description: 成交量小数位
  22602. type: integer
  22603. refgoodscode:
  22604. description: 参考商品代码
  22605. type: string
  22606. refgoodsid:
  22607. description: 参考商品ID
  22608. type: integer
  22609. tnqty:
  22610. description: T+N冻结总量
  22611. type: number
  22612. tnusedqty:
  22613. description: T+N使用量(可以使用T+N的冻结数量)
  22614. type: number
  22615. trademode:
  22616. description: 交易模式
  22617. type: integer
  22618. tradeproperty:
  22619. description: 交易属性
  22620. type: integer
  22621. usedmargin:
  22622. description: 占用保证金[商品币种]
  22623. type: number
  22624. required:
  22625. - goodsid
  22626. type: object
  22627. pb.GoodsMarginCfgStruct:
  22628. properties:
  22629. CustomerTypeID:
  22630. description: 投资者客户类型
  22631. type: integer
  22632. GoodsID:
  22633. description: 商品ID
  22634. type: integer
  22635. IsDefault:
  22636. description: 是否默认标志位
  22637. type: integer
  22638. LockMarginValue:
  22639. description: 锁仓保证金
  22640. type: number
  22641. MarginAlgorithm:
  22642. description: 保证金计算方式
  22643. type: integer
  22644. MarketMarginValue:
  22645. description: 即市保证金值
  22646. type: number
  22647. RealMarginAlgorithm:
  22648. description: 实付保证金计算方式
  22649. type: integer
  22650. RealMarginValue:
  22651. description: 实付比例
  22652. type: number
  22653. ReckonMarginValue:
  22654. description: 结算保证金值
  22655. type: number
  22656. type: object
  22657. quote.HistoryData:
  22658. properties:
  22659. c:
  22660. description: 收盘价
  22661. type: number
  22662. f:
  22663. description: 是否补充数据
  22664. type: boolean
  22665. h:
  22666. description: 最高价
  22667. type: number
  22668. hv:
  22669. description: 持仓量
  22670. type: integer
  22671. l:
  22672. description: 最低价
  22673. type: number
  22674. o:
  22675. description: 开盘价
  22676. type: number
  22677. s:
  22678. description: 结算价,日线周期(包括)以上才有
  22679. type: number
  22680. ts:
  22681. description: 时间
  22682. type: string
  22683. tt:
  22684. description: 总金额
  22685. type: number
  22686. tv:
  22687. description: 总量(成交量)
  22688. type: integer
  22689. type: object
  22690. quote.HistoryTikData:
  22691. properties:
  22692. AV:
  22693. description: 卖量
  22694. type: integer
  22695. Ask:
  22696. description: 卖价
  22697. type: number
  22698. BV:
  22699. description: 买量
  22700. type: integer
  22701. Bid:
  22702. description: 买价
  22703. type: number
  22704. HI:
  22705. description: 单笔持仓
  22706. type: integer
  22707. HV:
  22708. description: 持仓量
  22709. type: integer
  22710. PE:
  22711. description: 现价
  22712. type: number
  22713. TDR:
  22714. description: 交易方向,0:买 1:卖
  22715. type: integer
  22716. TK:
  22717. description: 交易类型
  22718. type: integer
  22719. TS:
  22720. description: 行情时间文本
  22721. type: string
  22722. TT:
  22723. description: 现金额
  22724. type: number
  22725. Vol:
  22726. description: 现量
  22727. type: integer
  22728. type: object
  22729. quote.QueryQuoteDayRsp:
  22730. properties:
  22731. ask:
  22732. description: 卖1
  22733. type: number
  22734. ask2:
  22735. description: 卖2
  22736. type: number
  22737. ask3:
  22738. description: 卖3
  22739. type: number
  22740. ask4:
  22741. description: 卖4
  22742. type: number
  22743. ask5:
  22744. description: 卖5
  22745. type: number
  22746. ask6:
  22747. description: 卖6
  22748. type: number
  22749. ask7:
  22750. description: 卖7
  22751. type: number
  22752. ask8:
  22753. description: 卖8
  22754. type: number
  22755. ask9:
  22756. description: 卖9
  22757. type: number
  22758. ask10:
  22759. description: 卖10
  22760. type: number
  22761. askorderid:
  22762. description: 卖单号1
  22763. type: integer
  22764. askorderid2:
  22765. description: 卖单号2
  22766. type: integer
  22767. askorderid3:
  22768. description: 卖单号3
  22769. type: integer
  22770. askorderid4:
  22771. description: 卖单号4
  22772. type: integer
  22773. askorderid5:
  22774. description: 卖单号5
  22775. type: integer
  22776. askordervolume:
  22777. description: 卖单量1
  22778. type: integer
  22779. askordervolume2:
  22780. description: 卖单量2
  22781. type: integer
  22782. askordervolume3:
  22783. description: 卖单量3
  22784. type: integer
  22785. askordervolume4:
  22786. description: 卖单量4
  22787. type: integer
  22788. askordervolume5:
  22789. description: 卖单量5
  22790. type: integer
  22791. askordervolume6:
  22792. description: 卖单量6
  22793. type: integer
  22794. askordervolume7:
  22795. description: 卖单量7
  22796. type: integer
  22797. askordervolume8:
  22798. description: 卖单量8
  22799. type: integer
  22800. askordervolume9:
  22801. description: 卖单量9
  22802. type: integer
  22803. askordervolume10:
  22804. description: 卖单量10
  22805. type: integer
  22806. askqueueinfo:
  22807. description: 大利市卖港股用
  22808. type: string
  22809. askvolume:
  22810. description: 卖量1
  22811. type: integer
  22812. askvolume2:
  22813. description: 卖量2
  22814. type: integer
  22815. askvolume3:
  22816. description: 卖量3
  22817. type: integer
  22818. askvolume4:
  22819. description: 卖量4
  22820. type: integer
  22821. askvolume5:
  22822. description: 卖量5
  22823. type: integer
  22824. askvolume6:
  22825. description: 卖量6
  22826. type: integer
  22827. askvolume7:
  22828. description: 卖量7
  22829. type: integer
  22830. askvolume8:
  22831. description: 卖量8
  22832. type: integer
  22833. askvolume9:
  22834. description: 卖量9
  22835. type: integer
  22836. askvolume10:
  22837. description: 卖量10
  22838. type: integer
  22839. averageprice:
  22840. description: 均价
  22841. type: number
  22842. bid:
  22843. description: 买1
  22844. type: number
  22845. bid2:
  22846. description: 买2
  22847. type: number
  22848. bid3:
  22849. description: 买3
  22850. type: number
  22851. bid4:
  22852. description: 买4
  22853. type: number
  22854. bid5:
  22855. description: 买5
  22856. type: number
  22857. bid6:
  22858. description: 买6
  22859. type: number
  22860. bid7:
  22861. description: 买7
  22862. type: number
  22863. bid8:
  22864. description: 买8
  22865. type: number
  22866. bid9:
  22867. description: 买9
  22868. type: number
  22869. bid10:
  22870. description: 买10
  22871. type: number
  22872. bidorderid:
  22873. description: 买单号1
  22874. type: integer
  22875. bidorderid2:
  22876. description: 买单号2
  22877. type: integer
  22878. bidorderid3:
  22879. description: 买单号3
  22880. type: integer
  22881. bidorderid4:
  22882. description: 买单号4
  22883. type: integer
  22884. bidorderid5:
  22885. description: 买单号5
  22886. type: integer
  22887. bidordervolume:
  22888. description: 买单量1
  22889. type: integer
  22890. bidordervolume2:
  22891. description: 买单量2
  22892. type: integer
  22893. bidordervolume3:
  22894. description: 买单量3
  22895. type: integer
  22896. bidordervolume4:
  22897. description: 买单量4
  22898. type: integer
  22899. bidordervolume5:
  22900. description: 买单量5
  22901. type: integer
  22902. bidordervolume6:
  22903. description: 买单量6
  22904. type: integer
  22905. bidordervolume7:
  22906. description: 买单量7
  22907. type: integer
  22908. bidordervolume8:
  22909. description: 买单量8
  22910. type: integer
  22911. bidordervolume9:
  22912. description: 买单量9
  22913. type: integer
  22914. bidordervolume10:
  22915. description: 买单量10
  22916. type: integer
  22917. bidqueueinfo:
  22918. description: 大利市买港股用
  22919. type: string
  22920. bidvolume:
  22921. description: 买量1
  22922. type: integer
  22923. bidvolume2:
  22924. description: 买量2
  22925. type: integer
  22926. bidvolume3:
  22927. description: 买量3
  22928. type: integer
  22929. bidvolume4:
  22930. description: 买量4
  22931. type: integer
  22932. bidvolume5:
  22933. description: 买量5
  22934. type: integer
  22935. bidvolume6:
  22936. description: 买量6
  22937. type: integer
  22938. bidvolume7:
  22939. description: 买量7
  22940. type: integer
  22941. bidvolume8:
  22942. description: 买量8
  22943. type: integer
  22944. bidvolume9:
  22945. description: 买量9
  22946. type: integer
  22947. bidvolume10:
  22948. description: 买量10
  22949. type: integer
  22950. calloptionpremiums:
  22951. description: 认购期权1
  22952. type: integer
  22953. calloptionpremiums2:
  22954. description: 认购期权2
  22955. type: integer
  22956. calloptionpremiums3:
  22957. description: 认购期权3
  22958. type: integer
  22959. calloptionpremiums4:
  22960. description: 认购期权4
  22961. type: integer
  22962. calloptionpremiums5:
  22963. description: 认购期权5
  22964. type: integer
  22965. cleartime:
  22966. description: 清盘时间
  22967. type: integer
  22968. exchangecode:
  22969. description: 交易所代码
  22970. type: integer
  22971. exchangedate:
  22972. description: 交易日
  22973. type: integer
  22974. goodscode:
  22975. description: 商品代码
  22976. type: string
  22977. grepmarketprice:
  22978. description: 暗盘价 港股专用
  22979. type: number
  22980. highest:
  22981. description: 最高价
  22982. type: number
  22983. holdincrement:
  22984. description: 单笔持仓
  22985. type: integer
  22986. holdvolume:
  22987. description: 持仓
  22988. type: integer
  22989. iep:
  22990. description: 平衡价 港股专用
  22991. type: number
  22992. iev:
  22993. description: 平衡量 港股专用
  22994. type: number
  22995. inventory:
  22996. description: 库存
  22997. type: integer
  22998. iscleared:
  22999. description: 是否清盘标志
  23000. type: integer
  23001. issettled:
  23002. description: 是否结算标志
  23003. type: integer
  23004. last:
  23005. description: 最新价
  23006. type: number
  23007. lastlot:
  23008. description: 最新成交手数
  23009. type: integer
  23010. lasttime:
  23011. description: 行情时间(只有现价变化行情时间才变化)
  23012. type: string
  23013. lastturnover:
  23014. description: 最新成交金额
  23015. type: number
  23016. lastvolume:
  23017. description: 最新成交量
  23018. type: integer
  23019. limitdown:
  23020. description: 跌停价
  23021. type: number
  23022. limitup:
  23023. description: 涨停价
  23024. type: number
  23025. lowest:
  23026. description: 最低价
  23027. type: number
  23028. nontotalholdervolume:
  23029. description: 非交易持仓量
  23030. type: integer
  23031. nontotallot:
  23032. description: 非交易总手数
  23033. type: integer
  23034. nontotalturnover:
  23035. description: 非交易总金额
  23036. type: integer
  23037. nontotalvolume:
  23038. description: 非交易总量
  23039. type: integer
  23040. opened:
  23041. description: 开盘价
  23042. type: number
  23043. opentime:
  23044. description: 开盘时间
  23045. type: string
  23046. orderid:
  23047. description: 序号
  23048. type: integer
  23049. preclose:
  23050. description: 昨收
  23051. type: number
  23052. preholdvolume:
  23053. description: 昨持仓
  23054. type: integer
  23055. presettle:
  23056. description: 昨结价
  23057. type: number
  23058. publictradetype:
  23059. description: 公共交易标志类型 港股专用
  23060. type: string
  23061. putoptionpremiums:
  23062. description: 认沽期权1
  23063. type: integer
  23064. putoptionpremiums2:
  23065. description: 认沽期权2
  23066. type: integer
  23067. putoptionpremiums3:
  23068. description: 认沽期权3
  23069. type: integer
  23070. putoptionpremiums4:
  23071. description: 认沽期权4
  23072. type: integer
  23073. putoptionpremiums5:
  23074. description: 认沽期权5
  23075. type: integer
  23076. settle:
  23077. description: 结算价
  23078. type: number
  23079. strikeprice:
  23080. description: 发行价
  23081. type: number
  23082. totalaskvolume:
  23083. description: 内盘
  23084. type: integer
  23085. totalbidvolume:
  23086. description: 外盘
  23087. type: integer
  23088. totallot:
  23089. description: 总手数
  23090. type: integer
  23091. totalturnover:
  23092. description: 总金额
  23093. type: number
  23094. totalvolume:
  23095. description: 总量
  23096. type: integer
  23097. utclasttime:
  23098. description: utc的行情时间
  23099. type: string
  23100. type: object
  23101. quote.QueryTSDataRsp:
  23102. properties:
  23103. Count:
  23104. description: 交易日应有数据个数
  23105. type: integer
  23106. decimalPlace:
  23107. description: 小数位
  23108. type: integer
  23109. endTime:
  23110. description: 结束时间
  23111. type: string
  23112. goodsCode:
  23113. description: 商品代码
  23114. type: string
  23115. historyDatas:
  23116. description: 历史数据
  23117. items:
  23118. $ref: '#/definitions/quote.HistoryData'
  23119. type: array
  23120. outGoodsCode:
  23121. description: 外部商品代码
  23122. type: string
  23123. preSettle:
  23124. description: 昨结价
  23125. type: number
  23126. runSteps:
  23127. description: 交易日开休市计划
  23128. items:
  23129. $ref: '#/definitions/quote.TSDataRunStep'
  23130. type: array
  23131. startTime:
  23132. description: 开始时间
  23133. type: string
  23134. tradeDate:
  23135. description: 交易日
  23136. type: string
  23137. type: object
  23138. quote.TSDataRunStep:
  23139. properties:
  23140. end:
  23141. description: 真实结束时间
  23142. type: string
  23143. endflag:
  23144. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  23145. type: integer
  23146. endtime:
  23147. description: 结束时间(HH:mm)
  23148. type: string
  23149. endweekday:
  23150. description: 结束周几
  23151. type: integer
  23152. groupid:
  23153. description: 分组ID
  23154. type: integer
  23155. runstep:
  23156. description: 运行阶段 - 2:连续交易
  23157. type: integer
  23158. sectionid:
  23159. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  23160. 结束时间=结算时间 结束周几=结算周几
  23161. type: integer
  23162. start:
  23163. description: 真实开始时间
  23164. type: string
  23165. startflag:
  23166. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  23167. type: integer
  23168. starttime:
  23169. description: 起始时间(HH:mm)
  23170. type: string
  23171. startweekday:
  23172. description: 起始周几
  23173. type: integer
  23174. tradeweekday:
  23175. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  23176. type: integer
  23177. type: object
  23178. szdz.QueryConvertLogRsp:
  23179. properties:
  23180. accountid:
  23181. description: 资金账户ID
  23182. type: integer
  23183. clientticket:
  23184. description: 客户端流水号
  23185. type: string
  23186. converttype:
  23187. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  23188. type: integer
  23189. createtime:
  23190. description: 记账时间
  23191. type: string
  23192. daymaxvalue:
  23193. description: 配置当日最大转入限制
  23194. type: number
  23195. daymaxvalue2:
  23196. description: 配置当日最大转入限制(转入)
  23197. type: number
  23198. goodscode:
  23199. description: 商品代码
  23200. type: string
  23201. goodsname:
  23202. description: 商品名称
  23203. type: string
  23204. handlestatus:
  23205. description: 处理状态
  23206. type: integer
  23207. innergoodsid:
  23208. description: 内部商品ID
  23209. type: integer
  23210. inratio:
  23211. description: 配置转入比值
  23212. type: integer
  23213. invalue:
  23214. description: 目标值
  23215. type: number
  23216. logid:
  23217. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  23218. type: integer
  23219. mobile:
  23220. description: 手机号码(加密存储)
  23221. type: string
  23222. outergoodscode:
  23223. description: 外部商品代码[JD\PD]
  23224. type: string
  23225. outratio:
  23226. description: 配置转出比值
  23227. type: integer
  23228. outvalue:
  23229. description: 源值
  23230. type: number
  23231. pddecimalplace:
  23232. description: PD小数位
  23233. type: integer
  23234. qty:
  23235. description: 数量
  23236. type: string
  23237. remark:
  23238. description: 备注
  23239. type: string
  23240. sessionid:
  23241. description: 会话ID
  23242. type: integer
  23243. timemaxvalue:
  23244. description: 配置单次最大转入限制
  23245. type: number
  23246. timemaxvalue2:
  23247. description: 配置单次最大转入限制(转入)
  23248. type: number
  23249. timeminvalue:
  23250. description: 配置单次最小数量限制
  23251. type: number
  23252. timeminvalue2:
  23253. description: 配置单次最小数量限制(转入)
  23254. type: number
  23255. tradedate:
  23256. description: 交易日(yyyyMMdd)
  23257. type: string
  23258. userid:
  23259. description: 用户ID
  23260. type: integer
  23261. required:
  23262. - logid
  23263. type: object
  23264. szdz.QueryGoodsPickupRsp:
  23265. properties:
  23266. accountid:
  23267. description: 账户ID
  23268. type: integer
  23269. address:
  23270. description: 提货人详细地址
  23271. type: string
  23272. auditer:
  23273. description: 审核人
  23274. type: integer
  23275. audittime:
  23276. description: 审核时间
  23277. type: string
  23278. cardnum:
  23279. description: 提货人证件号码
  23280. type: string
  23281. cardtypeid:
  23282. description: 提货人证件类型
  23283. type: integer
  23284. checkremark:
  23285. description: 审核备注
  23286. type: string
  23287. goodscode:
  23288. description: 商品代码
  23289. type: string
  23290. goodsid:
  23291. description: 商品ID
  23292. type: integer
  23293. goodsname:
  23294. description: 商品名称
  23295. type: string
  23296. handlestatus:
  23297. description: 处理状态
  23298. type: integer
  23299. marketid:
  23300. description: 市场ID
  23301. type: integer
  23302. phonenum:
  23303. description: 提货人联系方式
  23304. type: string
  23305. qty:
  23306. description: 提货数量
  23307. type: number
  23308. recivername:
  23309. description: 提货人姓名
  23310. type: string
  23311. reqtime:
  23312. description: 更新时间
  23313. type: string
  23314. takemode:
  23315. description: 提货方式 - 2:自提 3:配送
  23316. type: integer
  23317. takeorderid:
  23318. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  23319. type: string
  23320. takeorderstatus:
  23321. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23322. type: integer
  23323. takeremark:
  23324. description: 提货备注
  23325. type: string
  23326. tradedate:
  23327. description: 交易日(yyyyMMdd)
  23328. type: string
  23329. userid:
  23330. description: 用户ID
  23331. type: integer
  23332. required:
  23333. - takeorderid
  23334. type: object
  23335. szdz.QueryRecieptOrderRsp:
  23336. properties:
  23337. accountName:
  23338. description: 所属账号名称(已脱敏)
  23339. type: string
  23340. accountid:
  23341. description: 资金账号
  23342. type: integer
  23343. buyorsell:
  23344. description: 方向 - 0:买 1:卖
  23345. type: integer
  23346. enableqty:
  23347. description: 可摘数量
  23348. type: integer
  23349. goodscode:
  23350. description: 商品代码
  23351. type: string
  23352. goodsid:
  23353. description: 商品ID
  23354. type: integer
  23355. goodsname:
  23356. description: 商品名称
  23357. type: string
  23358. orderid:
  23359. description: 委托单号
  23360. type: string
  23361. orderprice:
  23362. description: 委托价格
  23363. type: number
  23364. ordertime:
  23365. description: 委托时间
  23366. type: string
  23367. tradedate:
  23368. description: 交易日(yyyyMMdd)
  23369. type: string
  23370. required:
  23371. - ordertime
  23372. type: object
  23373. szdz.QuerySZDZTradePositionRsp:
  23374. properties:
  23375. accountid:
  23376. description: 账号Id
  23377. type: integer
  23378. agreeunit:
  23379. description: 合约单位
  23380. type: number
  23381. averageprice:
  23382. description: 持仓均价
  23383. type: number
  23384. buyorsell:
  23385. description: 方向 - 0:买 1:卖
  23386. type: integer
  23387. closetotalqty:
  23388. description: 平仓总数量
  23389. type: integer
  23390. curholderamount:
  23391. description: 当前持仓总金额
  23392. type: number
  23393. curpositionqty:
  23394. description: 当前持仓总数量
  23395. type: integer
  23396. currencyid:
  23397. description: 报价货币ID
  23398. type: integer
  23399. curtdposition:
  23400. description: 期末今日头寸
  23401. type: integer
  23402. decimalplace:
  23403. description: 报价小数位
  23404. type: integer
  23405. enableqty:
  23406. description: 可用量
  23407. type: integer
  23408. fretdposition:
  23409. description: 冻结今日头寸
  23410. type: integer
  23411. frozenqty:
  23412. description: 持仓冻结数量
  23413. type: integer
  23414. goodscode:
  23415. description: 商品代码(内部)
  23416. type: string
  23417. goodsid:
  23418. description: 商品Id
  23419. type: integer
  23420. goodsname:
  23421. description: 商品名称
  23422. type: string
  23423. goodunit:
  23424. description: 报价单位
  23425. type: string
  23426. goodunitid:
  23427. description: 报价单位ID
  23428. type: integer
  23429. holderamount:
  23430. description: 期初持仓总金额
  23431. type: number
  23432. marketid:
  23433. description: 市场ID
  23434. type: integer
  23435. openreqqty:
  23436. description: 开仓申请数量
  23437. type: integer
  23438. opentotalqty:
  23439. description: 开仓总数量
  23440. type: integer
  23441. otherfrozenqty:
  23442. description: 持仓其他冻结数量(交割冻结)
  23443. type: integer
  23444. positionqty:
  23445. description: 期初持仓数量
  23446. type: integer
  23447. szdz3freezqty:
  23448. description: 尚志大宗转换冻结总数量
  23449. type: integer
  23450. tnqty:
  23451. description: T+N冻结总量
  23452. type: integer
  23453. tnusedqty:
  23454. description: T+N使用量
  23455. type: integer
  23456. trademode:
  23457. description: 交易模式
  23458. type: integer
  23459. usedmargin:
  23460. description: 占用保证金
  23461. type: number
  23462. type: object
  23463. taaccount.QueryAmountLogRsp:
  23464. properties:
  23465. accountid:
  23466. description: 资金账户ID
  23467. type: integer
  23468. agoodscode:
  23469. description: 竞拍商品代码
  23470. type: string
  23471. agoodsname:
  23472. description: 竞拍商品名称
  23473. type: string
  23474. amount:
  23475. description: 资金金额
  23476. type: number
  23477. amountadjusttype:
  23478. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23479. type: integer
  23480. autoid:
  23481. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23482. type: integer
  23483. balance:
  23484. description: 期初余额
  23485. type: number
  23486. businesscode:
  23487. description: 业务编号
  23488. type: integer
  23489. createtime:
  23490. description: 发生时间
  23491. type: string
  23492. currencyid:
  23493. description: 币种ID
  23494. type: integer
  23495. currentbalance:
  23496. description: 期末余额(变动后金额)
  23497. type: number
  23498. dgoodscode:
  23499. description: 交割商品代码
  23500. type: string
  23501. dgoodsname:
  23502. description: 交割商品名称
  23503. type: string
  23504. goodscode:
  23505. description: 商品代码
  23506. type: string
  23507. goodsid:
  23508. description: 商品ID
  23509. type: integer
  23510. goodsname:
  23511. description: 商品名称
  23512. type: string
  23513. marketid:
  23514. description: 市场ID
  23515. type: integer
  23516. marketname:
  23517. description: 市场名称
  23518. type: string
  23519. moneyticket:
  23520. description: 资金流水号:银行端流水号
  23521. type: integer
  23522. operatetype:
  23523. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23524. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23525. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23526. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23527. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23528. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23529. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23530. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23531. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23532. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23533. type: integer
  23534. relationorderid:
  23535. description: 关联单号
  23536. type: string
  23537. remark:
  23538. description: 备注
  23539. type: string
  23540. trademode:
  23541. description: 交易模式
  23542. type: integer
  23543. required:
  23544. - accountid
  23545. - amount
  23546. - amountadjusttype
  23547. - autoid
  23548. - balance
  23549. - createtime
  23550. - currentbalance
  23551. - operatetype
  23552. type: object
  23553. taaccount.QueryHisAmountLogRsp:
  23554. properties:
  23555. accountid:
  23556. description: 资金账户ID
  23557. type: integer
  23558. agoodscode:
  23559. description: 竞拍商品代码
  23560. type: string
  23561. agoodsname:
  23562. description: 竞拍商品名称
  23563. type: string
  23564. amount:
  23565. description: 资金金额
  23566. type: number
  23567. amountadjusttype:
  23568. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  23569. type: integer
  23570. autoid:
  23571. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  23572. type: integer
  23573. balance:
  23574. description: 期初余额
  23575. type: number
  23576. businesscode:
  23577. description: 业务编号
  23578. type: integer
  23579. createtime:
  23580. description: 发生时间
  23581. type: string
  23582. currencyid:
  23583. description: 币种ID
  23584. type: integer
  23585. currentbalance:
  23586. description: 期末余额(变动后金额)
  23587. type: number
  23588. dgoodscode:
  23589. description: 交割商品代码
  23590. type: string
  23591. dgoodsname:
  23592. description: 交割商品名称
  23593. type: string
  23594. goodscode:
  23595. description: 商品代码
  23596. type: string
  23597. goodsid:
  23598. description: 商品ID
  23599. type: integer
  23600. goodsname:
  23601. description: 商品名称
  23602. type: string
  23603. histradedate:
  23604. description: 历史交易日
  23605. type: string
  23606. isvaliddata:
  23607. description: 是否有效 - 0:无效 1:有效
  23608. type: integer
  23609. marketid:
  23610. description: 市场ID
  23611. type: integer
  23612. marketname:
  23613. description: 市场名称
  23614. type: string
  23615. moneyticket:
  23616. description: 资金流水号:银行端流水号
  23617. type: integer
  23618. operatetype:
  23619. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  23620. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  23621. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  23622. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  23623. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  23624. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  23625. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  23626. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  23627. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  23628. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  23629. type: integer
  23630. relationorderid:
  23631. description: 关联单号
  23632. type: string
  23633. remark:
  23634. description: 备注
  23635. type: string
  23636. trademode:
  23637. description: 交易模式
  23638. type: integer
  23639. required:
  23640. - accountid
  23641. - amount
  23642. - amountadjusttype
  23643. - autoid
  23644. - balance
  23645. - createtime
  23646. - currentbalance
  23647. - histradedate
  23648. - operatetype
  23649. type: object
  23650. trade.QueryRecieptOrderRsp:
  23651. properties:
  23652. accountName:
  23653. description: 所属账号名称(已脱敏)
  23654. type: string
  23655. accountid:
  23656. description: 资金账号
  23657. type: integer
  23658. buyorsell:
  23659. description: 方向 - 0:买 1:卖
  23660. type: integer
  23661. enableqty:
  23662. description: 可摘数量
  23663. type: integer
  23664. goodscode:
  23665. description: 商品代码
  23666. type: string
  23667. goodsid:
  23668. description: 商品ID
  23669. type: integer
  23670. goodsname:
  23671. description: 商品名称
  23672. type: string
  23673. orderid:
  23674. description: 委托单号
  23675. type: string
  23676. orderprice:
  23677. description: 委托价格
  23678. type: number
  23679. ordertime:
  23680. description: 委托时间
  23681. type: string
  23682. tradedate:
  23683. description: 交易日(yyyyMMdd)
  23684. type: string
  23685. required:
  23686. - ordertime
  23687. type: object
  23688. user.LoginQueryRsp:
  23689. properties:
  23690. areaRoles:
  23691. description: 所属角色信息
  23692. items:
  23693. $ref: '#/definitions/models.Arearole'
  23694. type: array
  23695. exchangeRateConfigs:
  23696. description: 汇率信息
  23697. items:
  23698. $ref: '#/definitions/models.Exchangerateconfig'
  23699. type: array
  23700. externalExchanges:
  23701. description: 外部交易所
  23702. items:
  23703. $ref: '#/definitions/models.Externalexchange'
  23704. type: array
  23705. goodsgroups:
  23706. description: 商品组
  23707. items:
  23708. $ref: '#/definitions/models.Goodsgroup'
  23709. type: array
  23710. loginAccount:
  23711. $ref: '#/definitions/models.Loginaccount'
  23712. description: 登录账号
  23713. markets:
  23714. description: 市场
  23715. items:
  23716. $ref: '#/definitions/models.Market'
  23717. type: array
  23718. systemParams:
  23719. description: 系统参数
  23720. items:
  23721. $ref: '#/definitions/models.Systemparam'
  23722. type: array
  23723. userAccount:
  23724. $ref: '#/definitions/models.Useraccount'
  23725. description: 用户账号
  23726. userInfo:
  23727. $ref: '#/definitions/models.Userinfo'
  23728. description: 用户信息
  23729. username:
  23730. description: 用户姓名
  23731. type: string
  23732. type: object
  23733. info:
  23734. contact: {}
  23735. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  23736. termsOfService: http://www.muchinfo.cn
  23737. title: MTP2.0 查询服务 API
  23738. version: "1.0"
  23739. paths:
  23740. /CPTrade/QueryCPTradeMyBidInfos:
  23741. get:
  23742. parameters:
  23743. - description: 资金账户
  23744. in: query
  23745. name: accountid
  23746. required: true
  23747. type: integer
  23748. - description: 预售市场ID
  23749. in: query
  23750. name: marketid
  23751. type: integer
  23752. - description: 预售商品ID
  23753. in: query
  23754. name: goodsid
  23755. type: integer
  23756. produces:
  23757. - application/json
  23758. responses:
  23759. "200":
  23760. description: OK
  23761. schema:
  23762. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  23763. "500":
  23764. description: Internal Server Error
  23765. schema:
  23766. $ref: '#/definitions/app.Response'
  23767. security:
  23768. - ApiKeyAuth: []
  23769. summary: 查询产能预售我的出价信息
  23770. tags:
  23771. - 产能预售
  23772. /CPTrade/QueryCPTradeOrderDetail:
  23773. get:
  23774. parameters:
  23775. - description: 预售商品ID
  23776. in: query
  23777. name: goodsid
  23778. type: integer
  23779. - description: 预售市场ID
  23780. in: query
  23781. name: marketid
  23782. type: integer
  23783. - description: 预售商品ID列表 - 格式:1,2,3
  23784. in: query
  23785. name: goodsids
  23786. type: string
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  23794. "500":
  23795. description: Internal Server Error
  23796. schema:
  23797. $ref: '#/definitions/app.Response'
  23798. security:
  23799. - ApiKeyAuth: []
  23800. summary: 查询产能预售委托单信息
  23801. tags:
  23802. - 产能预售
  23803. /CPTrade/QueryMyCPTradeGoods:
  23804. get:
  23805. parameters:
  23806. - description: 资金账户
  23807. in: query
  23808. name: accountid
  23809. required: true
  23810. type: integer
  23811. produces:
  23812. - application/json
  23813. responses:
  23814. "200":
  23815. description: OK
  23816. schema:
  23817. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  23818. "500":
  23819. description: Internal Server Error
  23820. schema:
  23821. $ref: '#/definitions/app.Response'
  23822. security:
  23823. - ApiKeyAuth: []
  23824. summary: 查询我的预售信息
  23825. tags:
  23826. - 产能预售
  23827. /CPTrade/QueryPositionCancel:
  23828. get:
  23829. parameters:
  23830. - description: 账户ID
  23831. in: query
  23832. name: userid
  23833. required: true
  23834. type: integer
  23835. - description: 注销ID
  23836. in: query
  23837. name: cancelid
  23838. type: integer
  23839. - description: 资金账户ID
  23840. in: query
  23841. name: accountid
  23842. type: integer
  23843. produces:
  23844. - application/json
  23845. responses:
  23846. "200":
  23847. description: OK
  23848. schema:
  23849. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  23850. "500":
  23851. description: Internal Server Error
  23852. schema:
  23853. $ref: '#/definitions/app.Response'
  23854. security:
  23855. - ApiKeyAuth: []
  23856. summary: 查询远期订单注销申请信息
  23857. tags:
  23858. - 产能预售
  23859. /CPTrade/QueryPreasleApply:
  23860. get:
  23861. parameters:
  23862. - description: 账户ID
  23863. in: query
  23864. name: userid
  23865. required: true
  23866. type: integer
  23867. - description: 申请ID
  23868. in: query
  23869. name: applyid
  23870. type: integer
  23871. - description: 资金账户ID
  23872. in: query
  23873. name: accountid
  23874. type: integer
  23875. produces:
  23876. - application/json
  23877. responses:
  23878. "200":
  23879. description: OK
  23880. schema:
  23881. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  23882. "500":
  23883. description: Internal Server Error
  23884. schema:
  23885. $ref: '#/definitions/app.Response'
  23886. security:
  23887. - ApiKeyAuth: []
  23888. summary: 查询产能预售申请信息
  23889. tags:
  23890. - 产能预售
  23891. /CPTrade/QueryPresaleGoodsEx:
  23892. get:
  23893. parameters:
  23894. - description: 预售商品ID
  23895. in: query
  23896. name: goodsid
  23897. type: integer
  23898. - description: 预售市场ID
  23899. in: query
  23900. name: marketid
  23901. type: integer
  23902. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  23903. in: query
  23904. name: presalemode
  23905. type: integer
  23906. - description: 预售商品ID列表 - 格式:1,2,3
  23907. in: query
  23908. name: goodsids
  23909. type: string
  23910. - description: 预售商品代码
  23911. in: query
  23912. name: goodscode
  23913. type: string
  23914. produces:
  23915. - application/json
  23916. responses:
  23917. "200":
  23918. description: OK
  23919. schema:
  23920. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  23921. "500":
  23922. description: Internal Server Error
  23923. schema:
  23924. $ref: '#/definitions/app.Response'
  23925. security:
  23926. - ApiKeyAuth: []
  23927. summary: 查询产能预售商品扩展信息
  23928. tags:
  23929. - 产能预售
  23930. /CPTrade/QueryUserGoodsData:
  23931. get:
  23932. parameters:
  23933. - description: 资金账户ID
  23934. in: query
  23935. name: accountid
  23936. required: true
  23937. type: integer
  23938. produces:
  23939. - application/json
  23940. responses:
  23941. "200":
  23942. description: OK
  23943. schema:
  23944. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  23945. "500":
  23946. description: Internal Server Error
  23947. schema:
  23948. $ref: '#/definitions/app.Response'
  23949. security:
  23950. - ApiKeyAuth: []
  23951. summary: 查询远期订单信息
  23952. tags:
  23953. - 产能预售
  23954. /Common/DeleteNewFuncmenu:
  23955. delete:
  23956. consumes:
  23957. - application/json
  23958. parameters:
  23959. - description: 菜单表数据,只需要resourcecode字段即可
  23960. in: body
  23961. name: data
  23962. required: true
  23963. schema:
  23964. $ref: '#/definitions/models.NewFuncmenulist'
  23965. produces:
  23966. - application/json
  23967. responses:
  23968. "200":
  23969. description: OK
  23970. schema:
  23971. $ref: '#/definitions/app.Response'
  23972. "500":
  23973. description: Internal Server Error
  23974. schema:
  23975. $ref: '#/definitions/app.Response'
  23976. security:
  23977. - ApiKeyAuth: []
  23978. summary: 删除菜单表数据
  23979. tags:
  23980. - 通用服务
  23981. /Common/FindNewFuncmenu:
  23982. get:
  23983. parameters:
  23984. - description: 资源代码
  23985. in: query
  23986. name: resourcecode
  23987. type: string
  23988. - description: 上级资源代码
  23989. in: query
  23990. name: parentcode
  23991. type: string
  23992. - description: 资源名(Title), 模糊查询
  23993. in: query
  23994. name: resourcename
  23995. type: string
  23996. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  23997. in: query
  23998. name: menutype
  23999. type: string
  24000. produces:
  24001. - application/json
  24002. responses:
  24003. "200":
  24004. description: OK
  24005. schema:
  24006. items:
  24007. $ref: '#/definitions/models.NewFuncmenulist'
  24008. type: array
  24009. "500":
  24010. description: Internal Server Error
  24011. schema:
  24012. $ref: '#/definitions/app.Response'
  24013. security:
  24014. - ApiKeyAuth: []
  24015. summary: 获取菜单表数据
  24016. tags:
  24017. - 通用服务
  24018. /Common/GetAllEnums:
  24019. get:
  24020. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  24021. parameters:
  24022. - description: 起始自增ID
  24023. in: query
  24024. name: autoid
  24025. type: integer
  24026. produces:
  24027. - application/json
  24028. responses:
  24029. "200":
  24030. description: OK
  24031. schema:
  24032. $ref: '#/definitions/models.Enumdicitem'
  24033. "500":
  24034. description: Internal Server Error
  24035. schema:
  24036. $ref: '#/definitions/app.Response'
  24037. summary: 获取所有枚举信息
  24038. tags:
  24039. - 通用服务
  24040. /Common/GetClientMenus:
  24041. get:
  24042. parameters:
  24043. - description: 登录账号
  24044. in: query
  24045. name: loginID
  24046. required: true
  24047. type: integer
  24048. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  24049. in: query
  24050. name: clientType
  24051. type: integer
  24052. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  24053. in: query
  24054. name: name
  24055. type: string
  24056. produces:
  24057. - application/json
  24058. responses:
  24059. "200":
  24060. description: OK
  24061. schema:
  24062. items:
  24063. $ref: '#/definitions/common.ClientMenu'
  24064. type: array
  24065. "500":
  24066. description: Internal Server Error
  24067. schema:
  24068. $ref: '#/definitions/app.Response'
  24069. security:
  24070. - ApiKeyAuth: []
  24071. summary: 获取交易端菜单
  24072. tags:
  24073. - 通用服务
  24074. /Common/GetClientNewFuncmenu:
  24075. get:
  24076. parameters:
  24077. - description: 登录账号
  24078. in: query
  24079. name: loginid
  24080. required: true
  24081. type: integer
  24082. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  24083. in: query
  24084. name: menutype
  24085. required: true
  24086. type: integer
  24087. produces:
  24088. - application/json
  24089. responses:
  24090. "200":
  24091. description: OK
  24092. schema:
  24093. items:
  24094. $ref: '#/definitions/models.NewFuncmenulist'
  24095. type: array
  24096. "500":
  24097. description: Internal Server Error
  24098. schema:
  24099. $ref: '#/definitions/app.Response'
  24100. security:
  24101. - ApiKeyAuth: []
  24102. summary: 获取终端菜单
  24103. tags:
  24104. - 通用服务
  24105. /Common/GetDivisions:
  24106. get:
  24107. produces:
  24108. - application/json
  24109. responses:
  24110. "200":
  24111. description: OK
  24112. schema:
  24113. $ref: '#/definitions/models.Division'
  24114. "500":
  24115. description: Internal Server Error
  24116. schema:
  24117. $ref: '#/definitions/app.Response'
  24118. summary: 查询区域信息
  24119. tags:
  24120. - 通用服务
  24121. /Common/GetPCWebMenus:
  24122. get:
  24123. parameters:
  24124. - description: 登录账号
  24125. in: query
  24126. name: loginID
  24127. required: true
  24128. type: integer
  24129. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  24130. in: query
  24131. name: name
  24132. type: string
  24133. produces:
  24134. - application/json
  24135. responses:
  24136. "200":
  24137. description: OK
  24138. schema:
  24139. items:
  24140. $ref: '#/definitions/common.PCWebMenu'
  24141. type: array
  24142. "500":
  24143. description: Internal Server Error
  24144. schema:
  24145. $ref: '#/definitions/app.Response'
  24146. security:
  24147. - ApiKeyAuth: []
  24148. summary: 获取PCWeb交易端菜单
  24149. tags:
  24150. - 通用服务
  24151. /Common/GetServerTime:
  24152. get:
  24153. produces:
  24154. - application/json
  24155. responses:
  24156. "200":
  24157. description: OK
  24158. schema:
  24159. $ref: '#/definitions/app.Response'
  24160. "500":
  24161. description: Internal Server Error
  24162. schema:
  24163. $ref: '#/definitions/app.Response'
  24164. summary: 获取服务器时间
  24165. tags:
  24166. - 通用服务
  24167. /Common/InsertNewFuncmenu:
  24168. post:
  24169. consumes:
  24170. - application/json
  24171. parameters:
  24172. - description: 菜单表数据
  24173. in: body
  24174. name: data
  24175. required: true
  24176. schema:
  24177. $ref: '#/definitions/models.NewFuncmenulist'
  24178. produces:
  24179. - application/json
  24180. responses:
  24181. "200":
  24182. description: OK
  24183. schema:
  24184. $ref: '#/definitions/app.Response'
  24185. "500":
  24186. description: Internal Server Error
  24187. schema:
  24188. $ref: '#/definitions/app.Response'
  24189. security:
  24190. - ApiKeyAuth: []
  24191. summary: 插入菜单表数据
  24192. tags:
  24193. - 通用服务
  24194. /Common/NoticeReaded:
  24195. post:
  24196. parameters:
  24197. - description: 登录账号
  24198. in: query
  24199. name: loginID
  24200. required: true
  24201. type: integer
  24202. - description: 通知公告ID
  24203. in: query
  24204. name: noticeID
  24205. required: true
  24206. type: integer
  24207. produces:
  24208. - application/json
  24209. responses:
  24210. "200":
  24211. description: OK
  24212. schema:
  24213. $ref: '#/definitions/app.Response'
  24214. "500":
  24215. description: Internal Server Error
  24216. schema:
  24217. $ref: '#/definitions/app.Response'
  24218. security:
  24219. - ApiKeyAuth: []
  24220. summary: 通知公告设置已读请求
  24221. tags:
  24222. - 通用服务
  24223. /Common/QueryErrorInfos:
  24224. get:
  24225. description: 如果传入rowNumber,则返回此rowNumber后的数据
  24226. parameters:
  24227. - description: 起始行号前索引
  24228. in: query
  24229. name: rowNumber
  24230. type: string
  24231. produces:
  24232. - application/json
  24233. responses:
  24234. "200":
  24235. description: OK
  24236. schema:
  24237. $ref: '#/definitions/models.QueryErrorInfosRsp'
  24238. "500":
  24239. description: Internal Server Error
  24240. schema:
  24241. $ref: '#/definitions/app.Response'
  24242. summary: 获取数据库错误信息
  24243. tags:
  24244. - 通用服务
  24245. /Common/QueryImageConfigs:
  24246. get:
  24247. parameters:
  24248. - description: 用户id
  24249. in: query
  24250. name: userId
  24251. type: integer
  24252. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  24253. in: query
  24254. name: imageType
  24255. type: integer
  24256. produces:
  24257. - application/json
  24258. responses:
  24259. "200":
  24260. description: OK
  24261. schema:
  24262. $ref: '#/definitions/common.QueryImageConfigsRsp'
  24263. "500":
  24264. description: Internal Server Error
  24265. schema:
  24266. $ref: '#/definitions/app.Response'
  24267. summary: 查询轮播图配置信息
  24268. tags:
  24269. - 通用服务
  24270. /Common/QueryNotice:
  24271. get:
  24272. parameters:
  24273. - description: 页码
  24274. in: query
  24275. name: page
  24276. type: integer
  24277. - description: 每页条数
  24278. in: query
  24279. name: pagesize
  24280. type: integer
  24281. - description: 登录账号
  24282. in: query
  24283. name: loginID
  24284. required: true
  24285. type: integer
  24286. - description: 消息类型 - 1:公告通知 2:系统消息
  24287. in: query
  24288. name: msgType
  24289. type: integer
  24290. - description: 是否只获取未读信息
  24291. in: query
  24292. name: onlyUnRead
  24293. type: boolean
  24294. - description: 自增ID,传入后会返回这个ID后面的记录
  24295. in: query
  24296. name: lastID
  24297. type: integer
  24298. produces:
  24299. - application/json
  24300. responses:
  24301. "200":
  24302. description: OK
  24303. schema:
  24304. $ref: '#/definitions/common.QueryNoticeRsp'
  24305. "500":
  24306. description: Internal Server Error
  24307. schema:
  24308. $ref: '#/definitions/app.Response'
  24309. security:
  24310. - ApiKeyAuth: []
  24311. summary: 通知公告系统消息查询
  24312. tags:
  24313. - 通用服务
  24314. /Common/QueryProvincesAndCities:
  24315. get:
  24316. parameters:
  24317. - description: 省ID
  24318. in: query
  24319. name: provinceID
  24320. type: integer
  24321. produces:
  24322. - application/json
  24323. responses:
  24324. "200":
  24325. description: OK
  24326. schema:
  24327. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  24328. "500":
  24329. description: Internal Server Error
  24330. schema:
  24331. $ref: '#/definitions/app.Response'
  24332. summary: 查询省市信息(不包括区)
  24333. tags:
  24334. - 通用服务
  24335. /Common/QueryRates:
  24336. get:
  24337. parameters:
  24338. - description: 页码
  24339. in: query
  24340. name: page
  24341. type: integer
  24342. - description: 每页条数
  24343. in: query
  24344. name: pagesize
  24345. type: integer
  24346. - description: 源币种ID
  24347. in: query
  24348. name: oricurrencyid
  24349. type: integer
  24350. - description: 目标币种ID
  24351. in: query
  24352. name: descurrencyid
  24353. type: integer
  24354. produces:
  24355. - application/json
  24356. responses:
  24357. "200":
  24358. description: OK
  24359. schema:
  24360. items:
  24361. $ref: '#/definitions/models.Exchangerateconfig'
  24362. type: array
  24363. "500":
  24364. description: Internal Server Error
  24365. schema:
  24366. $ref: '#/definitions/app.Response'
  24367. security:
  24368. - ApiKeyAuth: []
  24369. - LoginID: []
  24370. - Group: []
  24371. summary: 查询汇率信息
  24372. tags:
  24373. - 通用服务
  24374. /Common/QueryTableDefine:
  24375. get:
  24376. parameters:
  24377. - description: 表key
  24378. in: query
  24379. name: tableKey
  24380. type: string
  24381. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  24382. in: query
  24383. name: tableType
  24384. type: integer
  24385. produces:
  24386. - application/json
  24387. responses:
  24388. "200":
  24389. description: OK
  24390. schema:
  24391. $ref: '#/definitions/common.QueryTableDefineRsp'
  24392. "500":
  24393. description: Internal Server Error
  24394. schema:
  24395. $ref: '#/definitions/app.Response'
  24396. summary: 查询交易端列表头信息
  24397. tags:
  24398. - 通用服务
  24399. /Common/QueryTraderMenu:
  24400. get:
  24401. parameters:
  24402. - description: 登录账号
  24403. in: query
  24404. name: loginid
  24405. required: true
  24406. type: integer
  24407. produces:
  24408. - application/json
  24409. responses:
  24410. "200":
  24411. description: OK
  24412. schema:
  24413. $ref: '#/definitions/common.QueryTraderMenuRsp'
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. summary: 查询交易端菜单
  24419. tags:
  24420. - 通用服务
  24421. /Common/UpdateNewFuncmenu:
  24422. put:
  24423. consumes:
  24424. - application/json
  24425. parameters:
  24426. - description: 菜单表数据
  24427. in: body
  24428. name: data
  24429. required: true
  24430. schema:
  24431. $ref: '#/definitions/models.NewFuncmenulist'
  24432. produces:
  24433. - application/json
  24434. responses:
  24435. "200":
  24436. description: OK
  24437. schema:
  24438. $ref: '#/definitions/app.Response'
  24439. "500":
  24440. description: Internal Server Error
  24441. schema:
  24442. $ref: '#/definitions/app.Response'
  24443. security:
  24444. - ApiKeyAuth: []
  24445. summary: 更新菜单表数据
  24446. tags:
  24447. - 通用服务
  24448. /Delivery/QueryDeliveryRelation:
  24449. get:
  24450. parameters:
  24451. - description: 商品ID
  24452. in: query
  24453. name: goodsid
  24454. type: integer
  24455. - description: 品种ID
  24456. in: query
  24457. name: deliverygoodsid
  24458. type: integer
  24459. - description: 市场ID
  24460. in: query
  24461. name: marketid
  24462. type: integer
  24463. produces:
  24464. - application/json
  24465. responses:
  24466. "200":
  24467. description: OK
  24468. schema:
  24469. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  24470. "500":
  24471. description: Internal Server Error
  24472. schema:
  24473. $ref: '#/definitions/app.Response'
  24474. security:
  24475. - ApiKeyAuth: []
  24476. summary: 查询商品交割关系表
  24477. tags:
  24478. - 交割服务
  24479. /Ermcp/GetErmcpGoods:
  24480. get:
  24481. parameters:
  24482. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  24483. in: query
  24484. name: userid
  24485. type: integer
  24486. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24487. in: query
  24488. name: lastUpdateTime
  24489. type: string
  24490. produces:
  24491. - application/json
  24492. responses:
  24493. "200":
  24494. description: OK
  24495. schema:
  24496. $ref: '#/definitions/models.ErmcpGoods'
  24497. "500":
  24498. description: Internal Server Error
  24499. schema:
  24500. $ref: '#/definitions/app.Response'
  24501. security:
  24502. - ApiKeyAuth: []
  24503. summary: 查询企业风管期货商品信息
  24504. tags:
  24505. - 企业风险管理(app)
  24506. /Ermcp/GetErmcpGoodsSortByPosition:
  24507. get:
  24508. parameters:
  24509. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  24510. in: query
  24511. name: sortIndex
  24512. type: string
  24513. produces:
  24514. - application/json
  24515. responses:
  24516. "200":
  24517. description: OK
  24518. schema:
  24519. $ref: '#/definitions/models.Goodssortbypreposition'
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 查询企业风管期货主力、次主力商品信息
  24527. tags:
  24528. - 企业风险管理(app)
  24529. /Ermcp/GetErmcpOutAccountStatus:
  24530. get:
  24531. parameters:
  24532. - description: 登录账号
  24533. in: query
  24534. name: loginID
  24535. required: true
  24536. type: integer
  24537. produces:
  24538. - application/json
  24539. responses:
  24540. "200":
  24541. description: OK
  24542. schema:
  24543. $ref: '#/definitions/models.Hedgemarketopenlog'
  24544. "500":
  24545. description: Internal Server Error
  24546. schema:
  24547. $ref: '#/definitions/app.Response'
  24548. security:
  24549. - ApiKeyAuth: []
  24550. summary: 获取目标登录账号当前对冲账号在线状态
  24551. tags:
  24552. - 企业风险管理(app)
  24553. /Ermcp/GetErmcpRoleFuncMenuLists:
  24554. get:
  24555. parameters:
  24556. - description: 登录账号
  24557. in: query
  24558. name: loginID
  24559. required: true
  24560. type: integer
  24561. produces:
  24562. - application/json
  24563. responses:
  24564. "200":
  24565. description: OK
  24566. schema:
  24567. $ref: '#/definitions/models.Funcmenulist'
  24568. "500":
  24569. description: Internal Server Error
  24570. schema:
  24571. $ref: '#/definitions/app.Response'
  24572. security:
  24573. - ApiKeyAuth: []
  24574. summary: 获取企业风管终端权限
  24575. tags:
  24576. - 企业风险管理(app)
  24577. /Ermcp/QueryAccMgrBizGroupSet:
  24578. get:
  24579. parameters:
  24580. - description: 用户ID
  24581. in: query
  24582. name: userid
  24583. required: true
  24584. type: integer
  24585. - description: 现货商品id
  24586. in: query
  24587. name: deliverygoodsid
  24588. type: integer
  24589. produces:
  24590. - application/json
  24591. responses:
  24592. "200":
  24593. description: OK
  24594. schema:
  24595. items:
  24596. $ref: '#/definitions/models.ErmcpBizGroupEx'
  24597. type: array
  24598. "500":
  24599. description: Internal Server Error
  24600. schema:
  24601. $ref: '#/definitions/app.Response'
  24602. security:
  24603. - ApiKeyAuth: []
  24604. summary: 查询业务类型分组(账户管理/账户设置)
  24605. tags:
  24606. - 企业风险管理(app)
  24607. /Ermcp/QueryAccMgrLoginUser:
  24608. get:
  24609. parameters:
  24610. - description: 用户ID
  24611. in: query
  24612. name: userid
  24613. required: true
  24614. type: integer
  24615. - description: 用户类型 2-机构 7-企业成员
  24616. in: query
  24617. name: usertype
  24618. type: integer
  24619. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  24620. in: query
  24621. name: querytype
  24622. required: true
  24623. type: integer
  24624. produces:
  24625. - application/json
  24626. responses:
  24627. "200":
  24628. description: OK
  24629. schema:
  24630. items:
  24631. $ref: '#/definitions/models.ErmcpLoginUserEx'
  24632. type: array
  24633. "500":
  24634. description: Internal Server Error
  24635. schema:
  24636. $ref: '#/definitions/app.Response'
  24637. security:
  24638. - ApiKeyAuth: []
  24639. summary: 查询账户管理登录账号(账户管理/登录账号)
  24640. tags:
  24641. - 企业风险管理(app)
  24642. /Ermcp/QueryAccMgrMainAccountInfo:
  24643. get:
  24644. parameters:
  24645. - description: 用户ID
  24646. in: query
  24647. name: userid
  24648. type: integer
  24649. - description: 主账号id
  24650. in: query
  24651. name: accountid
  24652. type: integer
  24653. produces:
  24654. - application/json
  24655. responses:
  24656. "200":
  24657. description: OK
  24658. schema:
  24659. items:
  24660. $ref: '#/definitions/models.MainAccountInfo'
  24661. type: array
  24662. "500":
  24663. description: Internal Server Error
  24664. schema:
  24665. $ref: '#/definitions/app.Response'
  24666. security:
  24667. - ApiKeyAuth: []
  24668. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  24669. tags:
  24670. - 企业风险管理(app)
  24671. /Ermcp/QueryAccMgrRole:
  24672. get:
  24673. parameters:
  24674. - description: 用户ID
  24675. in: query
  24676. name: userid
  24677. required: true
  24678. type: integer
  24679. produces:
  24680. - application/json
  24681. responses:
  24682. "200":
  24683. description: OK
  24684. schema:
  24685. items:
  24686. $ref: '#/definitions/models.ErmcpRole'
  24687. type: array
  24688. "500":
  24689. description: Internal Server Error
  24690. schema:
  24691. $ref: '#/definitions/app.Response'
  24692. security:
  24693. - ApiKeyAuth: []
  24694. summary: 查询账户管理角色设置(账户管理/角色设置)
  24695. tags:
  24696. - 企业风险管理(app)
  24697. /Ermcp/QueryAccMgrRoleMenu:
  24698. get:
  24699. parameters:
  24700. - description: 用户ID
  24701. in: query
  24702. name: userid
  24703. required: true
  24704. type: integer
  24705. - description: 角色id(可多个,逗号隔开)
  24706. in: query
  24707. name: roleid
  24708. type: string
  24709. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  24710. in: query
  24711. name: menutype
  24712. type: integer
  24713. produces:
  24714. - application/json
  24715. responses:
  24716. "200":
  24717. description: OK
  24718. schema:
  24719. items:
  24720. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  24721. type: array
  24722. "500":
  24723. description: Internal Server Error
  24724. schema:
  24725. $ref: '#/definitions/app.Response'
  24726. security:
  24727. - ApiKeyAuth: []
  24728. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  24729. tags:
  24730. - 企业风险管理(app)
  24731. /Ermcp/QueryAccMgrTaAccountInfo:
  24732. get:
  24733. parameters:
  24734. - description: 用户ID
  24735. in: query
  24736. name: userid
  24737. required: true
  24738. type: integer
  24739. - description: 账号id
  24740. in: query
  24741. name: accountid
  24742. type: integer
  24743. produces:
  24744. - application/json
  24745. responses:
  24746. "200":
  24747. description: OK
  24748. schema:
  24749. items:
  24750. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  24751. type: array
  24752. "500":
  24753. description: Internal Server Error
  24754. schema:
  24755. $ref: '#/definitions/app.Response'
  24756. security:
  24757. - ApiKeyAuth: []
  24758. summary: 查询账户管理授信(账户管理/账户设置/授信)
  24759. tags:
  24760. - 企业风险管理(app)
  24761. /Ermcp/QueryAccMgrTaaccount:
  24762. get:
  24763. parameters:
  24764. - description: 用户ID
  24765. in: query
  24766. name: userid
  24767. required: true
  24768. type: integer
  24769. produces:
  24770. - application/json
  24771. responses:
  24772. "200":
  24773. description: OK
  24774. schema:
  24775. items:
  24776. $ref: '#/definitions/models.ErmcpTaAccountEx'
  24777. type: array
  24778. "500":
  24779. description: Internal Server Error
  24780. schema:
  24781. $ref: '#/definitions/app.Response'
  24782. security:
  24783. - ApiKeyAuth: []
  24784. summary: 查询账户管理期货账号(账户管理/期货账号)
  24785. tags:
  24786. - 企业风险管理(app)
  24787. /Ermcp/QueryAvaildGoodsGroup:
  24788. get:
  24789. parameters:
  24790. - description: 所属机构ID
  24791. in: query
  24792. name: userid
  24793. required: true
  24794. type: integer
  24795. produces:
  24796. - application/json
  24797. responses:
  24798. "200":
  24799. description: OK
  24800. schema:
  24801. items:
  24802. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  24803. type: array
  24804. "500":
  24805. description: Internal Server Error
  24806. schema:
  24807. $ref: '#/definitions/app.Response'
  24808. security:
  24809. - ApiKeyAuth: []
  24810. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  24811. tags:
  24812. - 企业风险管理(app)
  24813. /Ermcp/QueryBusinessDj:
  24814. get:
  24815. parameters:
  24816. - description: 用户ID
  24817. in: query
  24818. name: UserId
  24819. required: true
  24820. type: integer
  24821. - description: 用户类型 2-机构 7-企业成员
  24822. in: query
  24823. name: usertype
  24824. type: integer
  24825. - description: 现货合同ID, 不填则查所有
  24826. in: query
  24827. name: relatedid
  24828. type: string
  24829. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24830. in: query
  24831. name: applystatus
  24832. type: string
  24833. produces:
  24834. - application/json
  24835. responses:
  24836. "200":
  24837. description: OK
  24838. schema:
  24839. items:
  24840. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  24841. type: array
  24842. "500":
  24843. description: Internal Server Error
  24844. schema:
  24845. $ref: '#/definitions/app.Response'
  24846. security:
  24847. - ApiKeyAuth: []
  24848. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  24849. tags:
  24850. - 企业风险管理(app)
  24851. /Ermcp/QueryBusinessFp:
  24852. get:
  24853. parameters:
  24854. - description: 用户ID
  24855. in: query
  24856. name: UserId
  24857. required: true
  24858. type: integer
  24859. - description: 用户类型 2-机构 7-企业成员
  24860. in: query
  24861. name: usertype
  24862. type: integer
  24863. - description: 现货合同ID, 不填则查所有
  24864. in: query
  24865. name: relatedid
  24866. type: string
  24867. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24868. in: query
  24869. name: applystatus
  24870. type: string
  24871. produces:
  24872. - application/json
  24873. responses:
  24874. "200":
  24875. description: OK
  24876. schema:
  24877. items:
  24878. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  24879. type: array
  24880. "500":
  24881. description: Internal Server Error
  24882. schema:
  24883. $ref: '#/definitions/app.Response'
  24884. security:
  24885. - ApiKeyAuth: []
  24886. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  24887. tags:
  24888. - 企业风险管理(app)
  24889. /Ermcp/QueryBusinessJs:
  24890. get:
  24891. parameters:
  24892. - description: 用户ID
  24893. in: query
  24894. name: UserId
  24895. required: true
  24896. type: integer
  24897. - description: 用户类型 2-机构 7-企业成员
  24898. in: query
  24899. name: usertype
  24900. type: integer
  24901. - description: 现货合同ID, 不填则查所有
  24902. in: query
  24903. name: relatedid
  24904. type: string
  24905. - description: 操作申请id
  24906. in: query
  24907. name: operateapplyid
  24908. type: string
  24909. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24910. in: query
  24911. name: applystatus
  24912. type: string
  24913. produces:
  24914. - application/json
  24915. responses:
  24916. "200":
  24917. description: OK
  24918. schema:
  24919. items:
  24920. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  24921. type: array
  24922. "500":
  24923. description: Internal Server Error
  24924. schema:
  24925. $ref: '#/definitions/app.Response'
  24926. security:
  24927. - ApiKeyAuth: []
  24928. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  24929. tags:
  24930. - 企业风险管理(app)
  24931. /Ermcp/QueryBusinessJsEx:
  24932. get:
  24933. parameters:
  24934. - description: 用户ID
  24935. in: query
  24936. name: UserId
  24937. required: true
  24938. type: integer
  24939. - description: 用户类型 2-机构 7-企业成员
  24940. in: query
  24941. name: usertype
  24942. type: integer
  24943. - description: 现货合同ID, 不填则查所有
  24944. in: query
  24945. name: relatedid
  24946. type: string
  24947. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24948. in: query
  24949. name: applystatus
  24950. type: string
  24951. produces:
  24952. - application/json
  24953. responses:
  24954. "200":
  24955. description: OK
  24956. schema:
  24957. items:
  24958. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  24959. type: array
  24960. "500":
  24961. description: Internal Server Error
  24962. schema:
  24963. $ref: '#/definitions/app.Response'
  24964. security:
  24965. - ApiKeyAuth: []
  24966. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  24967. tags:
  24968. - 企业风险管理(app)
  24969. /Ermcp/QueryBusinessKx:
  24970. get:
  24971. parameters:
  24972. - description: 用户ID
  24973. in: query
  24974. name: UserId
  24975. required: true
  24976. type: integer
  24977. - description: 用户类型 2-机构 7-企业成员
  24978. in: query
  24979. name: usertype
  24980. type: integer
  24981. - description: 现货合同ID, 不填则查所有
  24982. in: query
  24983. name: relatedid
  24984. type: string
  24985. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24986. in: query
  24987. name: applystatus
  24988. type: string
  24989. produces:
  24990. - application/json
  24991. responses:
  24992. "200":
  24993. description: OK
  24994. schema:
  24995. items:
  24996. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  24997. type: array
  24998. "500":
  24999. description: Internal Server Error
  25000. schema:
  25001. $ref: '#/definitions/app.Response'
  25002. security:
  25003. - ApiKeyAuth: []
  25004. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  25005. tags:
  25006. - 企业风险管理(app)
  25007. /Ermcp/QueryChangeLog:
  25008. get:
  25009. parameters:
  25010. - description: 合同ID
  25011. in: query
  25012. name: RelatedId
  25013. required: true
  25014. type: string
  25015. produces:
  25016. - application/json
  25017. responses:
  25018. "200":
  25019. description: OK
  25020. schema:
  25021. items:
  25022. $ref: '#/definitions/ermcp.QryOPLogRsp'
  25023. type: array
  25024. "500":
  25025. description: Internal Server Error
  25026. schema:
  25027. $ref: '#/definitions/app.Response'
  25028. security:
  25029. - ApiKeyAuth: []
  25030. summary: 查询变更记录
  25031. tags:
  25032. - 企业风险管理(app)
  25033. /Ermcp/QueryErmcpHisOrderDetails:
  25034. get:
  25035. parameters:
  25036. - description: 资金账户ID
  25037. in: query
  25038. name: accountID
  25039. required: true
  25040. type: integer
  25041. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25042. in: query
  25043. name: startDate
  25044. type: string
  25045. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25046. in: query
  25047. name: endDate
  25048. type: string
  25049. produces:
  25050. - application/json
  25051. responses:
  25052. "200":
  25053. description: OK
  25054. schema:
  25055. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25056. "500":
  25057. description: Internal Server Error
  25058. schema:
  25059. $ref: '#/definitions/app.Response'
  25060. security:
  25061. - ApiKeyAuth: []
  25062. summary: 获取企业风管期货历史委托单信息
  25063. tags:
  25064. - 企业风险管理(app)
  25065. /Ermcp/QueryErmcpHisTradeDetails:
  25066. get:
  25067. parameters:
  25068. - description: 资金账户ID
  25069. in: query
  25070. name: accountID
  25071. required: true
  25072. type: integer
  25073. - description: 商品ID
  25074. in: query
  25075. name: goodsID
  25076. type: integer
  25077. - description: 买卖方向,0:买 1:卖
  25078. in: query
  25079. name: buyOrSell
  25080. type: integer
  25081. - description: 关联委托单号
  25082. in: query
  25083. name: orderID
  25084. type: integer
  25085. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25086. in: query
  25087. name: startDate
  25088. type: string
  25089. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25090. in: query
  25091. name: endDate
  25092. type: string
  25093. produces:
  25094. - application/json
  25095. responses:
  25096. "200":
  25097. description: OK
  25098. schema:
  25099. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25100. "500":
  25101. description: Internal Server Error
  25102. schema:
  25103. $ref: '#/definitions/app.Response'
  25104. security:
  25105. - ApiKeyAuth: []
  25106. summary: 获取企业风管期货历史成交单信息
  25107. tags:
  25108. - 企业风险管理(app)
  25109. /Ermcp/QueryErmcpInnerHolderDetails:
  25110. get:
  25111. parameters:
  25112. - description: 资金账户ID
  25113. in: query
  25114. name: accountID
  25115. required: true
  25116. type: integer
  25117. - description: 商品ID
  25118. in: query
  25119. name: goodsID
  25120. type: integer
  25121. - description: 买卖方向,0:买 1:卖
  25122. in: query
  25123. name: buyOrSell
  25124. type: integer
  25125. produces:
  25126. - application/json
  25127. responses:
  25128. "200":
  25129. description: OK
  25130. schema:
  25131. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  25132. "500":
  25133. description: Internal Server Error
  25134. schema:
  25135. $ref: '#/definitions/app.Response'
  25136. security:
  25137. - ApiKeyAuth: []
  25138. summary: 获取企业风管期货内部持仓单信息
  25139. tags:
  25140. - 企业风险管理(app)
  25141. /Ermcp/QueryErmcpOrderDetails:
  25142. get:
  25143. parameters:
  25144. - description: 资金账户ID
  25145. in: query
  25146. name: accountID
  25147. required: true
  25148. type: integer
  25149. produces:
  25150. - application/json
  25151. responses:
  25152. "200":
  25153. description: OK
  25154. schema:
  25155. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  25156. "500":
  25157. description: Internal Server Error
  25158. schema:
  25159. $ref: '#/definitions/app.Response'
  25160. security:
  25161. - ApiKeyAuth: []
  25162. summary: 获取企业风管期货委托单信息
  25163. tags:
  25164. - 企业风险管理(app)
  25165. /Ermcp/QueryErmcpTradeDetails:
  25166. get:
  25167. parameters:
  25168. - description: 资金账户ID
  25169. in: query
  25170. name: accountID
  25171. required: true
  25172. type: integer
  25173. - description: 商品ID
  25174. in: query
  25175. name: goodsID
  25176. type: integer
  25177. - description: 买卖方向,0:买 1:卖
  25178. in: query
  25179. name: buyOrSell
  25180. type: integer
  25181. - description: 关联委托单号
  25182. in: query
  25183. name: orderID
  25184. type: integer
  25185. produces:
  25186. - application/json
  25187. responses:
  25188. "200":
  25189. description: OK
  25190. schema:
  25191. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  25192. "500":
  25193. description: Internal Server Error
  25194. schema:
  25195. $ref: '#/definitions/app.Response'
  25196. security:
  25197. - ApiKeyAuth: []
  25198. summary: 获取企业风管期货成交单信息
  25199. tags:
  25200. - 企业风险管理(app)
  25201. /Ermcp/QueryErmcpTradePosition:
  25202. get:
  25203. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  25204. parameters:
  25205. - description: 资金账户ID
  25206. in: query
  25207. name: accountID
  25208. required: true
  25209. type: integer
  25210. - description: 所属市场ID
  25211. in: query
  25212. name: marketID
  25213. type: integer
  25214. produces:
  25215. - application/json
  25216. responses:
  25217. "200":
  25218. description: OK
  25219. schema:
  25220. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  25221. "500":
  25222. description: Internal Server Error
  25223. schema:
  25224. $ref: '#/definitions/app.Response'
  25225. security:
  25226. - ApiKeyAuth: []
  25227. summary: 获取企业风管期货持仓头寸信息
  25228. tags:
  25229. - 企业风险管理(app)
  25230. /Ermcp/QueryExposureDetail:
  25231. get:
  25232. parameters:
  25233. - description: 所属机构ID
  25234. in: query
  25235. name: areaUserId
  25236. required: true
  25237. type: integer
  25238. - description: 套保商品
  25239. in: query
  25240. name: middleGoodsId
  25241. required: true
  25242. type: integer
  25243. produces:
  25244. - application/json
  25245. responses:
  25246. "200":
  25247. description: OK
  25248. schema:
  25249. items:
  25250. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  25251. type: array
  25252. "500":
  25253. description: Internal Server Error
  25254. schema:
  25255. $ref: '#/definitions/app.Response'
  25256. security:
  25257. - ApiKeyAuth: []
  25258. summary: 查询敞口现货明细
  25259. tags:
  25260. - 企业风险管理(app)
  25261. /Ermcp/QueryExposureGoods:
  25262. get:
  25263. parameters:
  25264. - description: 套保商品id
  25265. in: query
  25266. name: middlegoodsid
  25267. required: true
  25268. type: integer
  25269. produces:
  25270. - application/json
  25271. responses:
  25272. "200":
  25273. description: OK
  25274. schema:
  25275. items:
  25276. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  25277. type: array
  25278. "500":
  25279. description: Internal Server Error
  25280. schema:
  25281. $ref: '#/definitions/app.Response'
  25282. security:
  25283. - ApiKeyAuth: []
  25284. summary: 查询敞口主力合约
  25285. tags:
  25286. - 企业风险管理(app)
  25287. /Ermcp/QueryExposureHedgePosition:
  25288. get:
  25289. parameters:
  25290. - description: 用户id
  25291. in: query
  25292. name: userid
  25293. required: true
  25294. type: integer
  25295. produces:
  25296. - application/json
  25297. responses:
  25298. "200":
  25299. description: OK
  25300. schema:
  25301. items:
  25302. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  25303. type: array
  25304. "500":
  25305. description: Internal Server Error
  25306. schema:
  25307. $ref: '#/definitions/app.Response'
  25308. security:
  25309. - ApiKeyAuth: []
  25310. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  25311. tags:
  25312. - 企业风险管理(app)
  25313. /Ermcp/QueryExposureHedgePositionDetail:
  25314. get:
  25315. parameters:
  25316. - description: 所属机构ID
  25317. in: query
  25318. name: userid
  25319. required: true
  25320. type: integer
  25321. - description: 商品id
  25322. in: query
  25323. name: goodsId
  25324. required: true
  25325. type: integer
  25326. produces:
  25327. - application/json
  25328. responses:
  25329. "200":
  25330. description: OK
  25331. schema:
  25332. items:
  25333. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  25334. type: array
  25335. "500":
  25336. description: Internal Server Error
  25337. schema:
  25338. $ref: '#/definitions/app.Response'
  25339. security:
  25340. - ApiKeyAuth: []
  25341. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  25342. tags:
  25343. - 企业风险管理(app)
  25344. /Ermcp/QueryExposureSpot:
  25345. get:
  25346. parameters:
  25347. - description: 所属机构ID
  25348. in: query
  25349. name: areaUserId
  25350. required: true
  25351. type: integer
  25352. produces:
  25353. - application/json
  25354. responses:
  25355. "200":
  25356. description: OK
  25357. schema:
  25358. items:
  25359. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  25360. type: array
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 查询敞口现货头寸(敞口/现货头寸)
  25368. tags:
  25369. - 企业风险管理(app)
  25370. /Ermcp/QueryExposureSpotDetail:
  25371. get:
  25372. parameters:
  25373. - description: 所属机构ID
  25374. in: query
  25375. name: areaUserId
  25376. required: true
  25377. type: integer
  25378. - description: 现货品种ID
  25379. in: query
  25380. name: wrstandardId
  25381. required: true
  25382. type: integer
  25383. produces:
  25384. - application/json
  25385. responses:
  25386. "200":
  25387. description: OK
  25388. schema:
  25389. items:
  25390. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  25391. type: array
  25392. "500":
  25393. description: Internal Server Error
  25394. schema:
  25395. $ref: '#/definitions/app.Response'
  25396. security:
  25397. - ApiKeyAuth: []
  25398. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  25399. tags:
  25400. - 企业风险管理(app)
  25401. /Ermcp/QueryFuturesCompany:
  25402. get:
  25403. produces:
  25404. - application/json
  25405. responses:
  25406. "200":
  25407. description: OK
  25408. schema:
  25409. items:
  25410. $ref: '#/definitions/models.ErmcpFuturesCompany'
  25411. type: array
  25412. "500":
  25413. description: Internal Server Error
  25414. schema:
  25415. $ref: '#/definitions/app.Response'
  25416. security:
  25417. - ApiKeyAuth: []
  25418. summary: 查询期货公司
  25419. tags:
  25420. - 企业风险管理(app)
  25421. /Ermcp/QueryGGConvertConfig:
  25422. get:
  25423. parameters:
  25424. - description: 品种id(不填则查所有)
  25425. in: query
  25426. name: goodsgroupid
  25427. type: integer
  25428. produces:
  25429. - application/json
  25430. responses:
  25431. "200":
  25432. description: OK
  25433. schema:
  25434. items:
  25435. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  25436. type: array
  25437. "500":
  25438. description: Internal Server Error
  25439. schema:
  25440. $ref: '#/definitions/app.Response'
  25441. security:
  25442. - ApiKeyAuth: []
  25443. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  25444. tags:
  25445. - 企业风险管理(app)
  25446. /Ermcp/QueryGoodsBrand:
  25447. get:
  25448. parameters:
  25449. - description: 用户ID
  25450. in: query
  25451. name: userid
  25452. required: true
  25453. type: integer
  25454. - description: 现货商品ID
  25455. in: query
  25456. name: wrstandardid
  25457. type: integer
  25458. produces:
  25459. - application/json
  25460. responses:
  25461. "200":
  25462. description: OK
  25463. schema:
  25464. items:
  25465. $ref: '#/definitions/models.ErmcpGoodsBrand'
  25466. type: array
  25467. "500":
  25468. description: Internal Server Error
  25469. schema:
  25470. $ref: '#/definitions/app.Response'
  25471. security:
  25472. - ApiKeyAuth: []
  25473. summary: 查询商品品牌
  25474. tags:
  25475. - 企业风险管理(app)
  25476. /Ermcp/QueryGoodsModel:
  25477. get:
  25478. parameters:
  25479. - description: 用户ID
  25480. in: query
  25481. name: userid
  25482. required: true
  25483. type: integer
  25484. produces:
  25485. - application/json
  25486. responses:
  25487. "200":
  25488. description: OK
  25489. schema:
  25490. items:
  25491. $ref: '#/definitions/models.ErmcpGoodsModel'
  25492. type: array
  25493. "500":
  25494. description: Internal Server Error
  25495. schema:
  25496. $ref: '#/definitions/app.Response'
  25497. security:
  25498. - ApiKeyAuth: []
  25499. summary: 查询商品型号
  25500. tags:
  25501. - 企业风险管理(app)
  25502. /Ermcp/QueryHisExposure:
  25503. get:
  25504. parameters:
  25505. - description: 用户id
  25506. in: query
  25507. name: userid
  25508. required: true
  25509. type: integer
  25510. - description: 每个品种记录数
  25511. in: query
  25512. name: lastNum
  25513. required: true
  25514. type: integer
  25515. produces:
  25516. - application/json
  25517. responses:
  25518. "200":
  25519. description: OK
  25520. schema:
  25521. items:
  25522. $ref: '#/definitions/ermcp.HisExposureRsp'
  25523. type: array
  25524. "500":
  25525. description: Internal Server Error
  25526. schema:
  25527. $ref: '#/definitions/app.Response'
  25528. security:
  25529. - ApiKeyAuth: []
  25530. summary: 查询历史敞口(菜单:敞口/历史敞口)
  25531. tags:
  25532. - 企业风险管理(app)
  25533. /Ermcp/QueryMiddleGoods:
  25534. get:
  25535. parameters:
  25536. - description: 所属机构ID
  25537. in: query
  25538. name: userid
  25539. required: true
  25540. type: integer
  25541. - description: 状态 0-停用 1-正常
  25542. in: query
  25543. name: status
  25544. required: true
  25545. type: integer
  25546. produces:
  25547. - application/json
  25548. responses:
  25549. "200":
  25550. description: OK
  25551. schema:
  25552. items:
  25553. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  25554. type: array
  25555. "500":
  25556. description: Internal Server Error
  25557. schema:
  25558. $ref: '#/definitions/app.Response'
  25559. security:
  25560. - ApiKeyAuth: []
  25561. summary: 查询套保品种(菜单:套保品种)
  25562. tags:
  25563. - 企业风险管理(app)
  25564. /Ermcp/QueryMiddleGoodsChangeLog:
  25565. get:
  25566. parameters:
  25567. - description: 所属机构ID
  25568. in: query
  25569. name: userid
  25570. required: true
  25571. type: integer
  25572. - description: 套保品种id
  25573. in: query
  25574. name: middlegoodsid
  25575. required: true
  25576. type: integer
  25577. produces:
  25578. - application/json
  25579. responses:
  25580. "200":
  25581. description: OK
  25582. schema:
  25583. items:
  25584. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  25585. type: array
  25586. "500":
  25587. description: Internal Server Error
  25588. schema:
  25589. $ref: '#/definitions/app.Response'
  25590. security:
  25591. - ApiKeyAuth: []
  25592. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  25593. tags:
  25594. - 企业风险管理(app)
  25595. /Ermcp/QueryMiddleGoodsDetail:
  25596. get:
  25597. parameters:
  25598. - description: 所属机构ID
  25599. in: query
  25600. name: userid
  25601. required: true
  25602. type: integer
  25603. - description: 套保品种id
  25604. in: query
  25605. name: middlegoodsid
  25606. type: integer
  25607. produces:
  25608. - application/json
  25609. responses:
  25610. "200":
  25611. description: OK
  25612. schema:
  25613. items:
  25614. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  25615. type: array
  25616. "500":
  25617. description: Internal Server Error
  25618. schema:
  25619. $ref: '#/definitions/app.Response'
  25620. security:
  25621. - ApiKeyAuth: []
  25622. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  25623. tags:
  25624. - 企业风险管理(app)
  25625. /Ermcp/QueryPendingAuditInfo:
  25626. get:
  25627. parameters:
  25628. - description: 用户ID
  25629. in: query
  25630. name: UserId
  25631. required: true
  25632. type: integer
  25633. produces:
  25634. - application/json
  25635. responses:
  25636. "200":
  25637. description: OK
  25638. schema:
  25639. items:
  25640. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  25641. type: array
  25642. "500":
  25643. description: Internal Server Error
  25644. schema:
  25645. $ref: '#/definitions/app.Response'
  25646. security:
  25647. - ApiKeyAuth: []
  25648. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  25649. tags:
  25650. - 企业风险管理(app)
  25651. /Ermcp/QueryRealtimeExposure:
  25652. get:
  25653. parameters:
  25654. - description: 所属机构ID
  25655. in: query
  25656. name: userid
  25657. required: true
  25658. type: integer
  25659. produces:
  25660. - application/json
  25661. responses:
  25662. "200":
  25663. description: OK
  25664. schema:
  25665. items:
  25666. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  25667. type: array
  25668. "500":
  25669. description: Internal Server Error
  25670. schema:
  25671. $ref: '#/definitions/app.Response'
  25672. security:
  25673. - ApiKeyAuth: []
  25674. summary: 查询实时敞口
  25675. tags:
  25676. - 企业风险管理(app)
  25677. /Ermcp/QueryRealtimeExposurePosition:
  25678. get:
  25679. parameters:
  25680. - description: 用户id
  25681. in: query
  25682. name: userid
  25683. required: true
  25684. type: integer
  25685. - description: 套保商品ID
  25686. in: query
  25687. name: middleGoodsId
  25688. required: true
  25689. type: integer
  25690. produces:
  25691. - application/json
  25692. responses:
  25693. "200":
  25694. description: OK
  25695. schema:
  25696. items:
  25697. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  25698. type: array
  25699. "500":
  25700. description: Internal Server Error
  25701. schema:
  25702. $ref: '#/definitions/app.Response'
  25703. security:
  25704. - ApiKeyAuth: []
  25705. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  25706. tags:
  25707. - 企业风险管理(app)
  25708. /Ermcp/QueryRoleMenu:
  25709. get:
  25710. parameters:
  25711. - description: 登录ID
  25712. in: query
  25713. name: loginid
  25714. required: true
  25715. type: integer
  25716. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  25717. in: query
  25718. name: menutype
  25719. type: integer
  25720. produces:
  25721. - application/json
  25722. responses:
  25723. "200":
  25724. description: OK
  25725. schema:
  25726. items:
  25727. $ref: '#/definitions/models.RoleMenu'
  25728. type: array
  25729. "500":
  25730. description: Internal Server Error
  25731. schema:
  25732. $ref: '#/definitions/app.Response'
  25733. security:
  25734. - ApiKeyAuth: []
  25735. summary: 查询角色菜单和权限
  25736. tags:
  25737. - 企业风险管理(app)
  25738. /Ermcp/QueryTradeConfigTMP:
  25739. get:
  25740. parameters:
  25741. - description: 所属机构id
  25742. in: query
  25743. name: areauserid
  25744. type: integer
  25745. produces:
  25746. - application/json
  25747. responses:
  25748. "200":
  25749. description: OK
  25750. schema:
  25751. items:
  25752. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  25753. type: array
  25754. "500":
  25755. description: Internal Server Error
  25756. schema:
  25757. $ref: '#/definitions/app.Response'
  25758. security:
  25759. - ApiKeyAuth: []
  25760. summary: 查询交易模板配置
  25761. tags:
  25762. - 企业风险管理(app)
  25763. /Ermcp/QueryUserInfo:
  25764. get:
  25765. parameters:
  25766. - description: 所属机构用户ID
  25767. in: query
  25768. name: MemberUserID
  25769. required: true
  25770. type: integer
  25771. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  25772. in: query
  25773. name: queryType
  25774. required: true
  25775. type: integer
  25776. produces:
  25777. - application/json
  25778. responses:
  25779. "200":
  25780. description: OK
  25781. schema:
  25782. items:
  25783. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  25784. type: array
  25785. "500":
  25786. description: Internal Server Error
  25787. schema:
  25788. $ref: '#/definitions/app.Response'
  25789. security:
  25790. - ApiKeyAuth: []
  25791. summary: 查询客户资料
  25792. tags:
  25793. - 企业风险管理(app)
  25794. /Ermcp/QueryWarehouseInfo:
  25795. get:
  25796. parameters:
  25797. - description: 用户ID
  25798. in: query
  25799. name: userid
  25800. required: true
  25801. type: integer
  25802. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  25803. in: query
  25804. name: status
  25805. type: string
  25806. produces:
  25807. - application/json
  25808. responses:
  25809. "200":
  25810. description: OK
  25811. schema:
  25812. items:
  25813. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  25814. type: array
  25815. "500":
  25816. description: Internal Server Error
  25817. schema:
  25818. $ref: '#/definitions/app.Response'
  25819. security:
  25820. - ApiKeyAuth: []
  25821. summary: 查询仓库信息
  25822. tags:
  25823. - 企业风险管理(app)
  25824. /Ermcp3/QryAreaExpourseContractDetail:
  25825. get:
  25826. parameters:
  25827. - description: 用户ID
  25828. in: query
  25829. name: userid
  25830. required: true
  25831. type: integer
  25832. - description: 套保商品id
  25833. in: query
  25834. name: middlegoodsid
  25835. required: true
  25836. type: integer
  25837. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25838. in: query
  25839. name: cycletype
  25840. required: true
  25841. type: integer
  25842. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25843. 全(0)【原值】
  25844. in: query
  25845. name: cycletime
  25846. required: true
  25847. type: string
  25848. produces:
  25849. - application/json
  25850. responses:
  25851. "200":
  25852. description: OK
  25853. schema:
  25854. items:
  25855. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  25856. type: array
  25857. "500":
  25858. description: Internal Server Error
  25859. schema:
  25860. $ref: '#/definitions/app.Response'
  25861. security:
  25862. - ApiKeyAuth: []
  25863. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  25864. tags:
  25865. - 企业风险管理v3(app)
  25866. /Ermcp3/QryAreaExpourseFutuDetail:
  25867. get:
  25868. parameters:
  25869. - description: 用户ID
  25870. in: query
  25871. name: userid
  25872. required: true
  25873. type: integer
  25874. - description: 套保商品id
  25875. in: query
  25876. name: middlegoodsid
  25877. required: true
  25878. type: integer
  25879. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25880. in: query
  25881. name: cycletype
  25882. required: true
  25883. type: integer
  25884. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25885. 全(0)【原值】
  25886. in: query
  25887. name: cycletime
  25888. required: true
  25889. type: string
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. items:
  25897. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  25898. type: array
  25899. "500":
  25900. description: Internal Server Error
  25901. schema:
  25902. $ref: '#/definitions/app.Response'
  25903. security:
  25904. - ApiKeyAuth: []
  25905. summary: 查询敞口期货明细(敞口报表/期货明细)
  25906. tags:
  25907. - 企业风险管理v3(app)
  25908. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  25909. get:
  25910. parameters:
  25911. - description: 用户ID
  25912. in: query
  25913. name: userid
  25914. required: true
  25915. type: integer
  25916. - description: 套保商品id
  25917. in: query
  25918. name: middlegoodsid
  25919. required: true
  25920. type: integer
  25921. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25922. in: query
  25923. name: cycletype
  25924. required: true
  25925. type: integer
  25926. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25927. 全(0)【原值】
  25928. in: query
  25929. name: cycletime
  25930. required: true
  25931. type: string
  25932. produces:
  25933. - application/json
  25934. responses:
  25935. "200":
  25936. description: OK
  25937. schema:
  25938. items:
  25939. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  25940. type: array
  25941. "500":
  25942. description: Internal Server Error
  25943. schema:
  25944. $ref: '#/definitions/app.Response'
  25945. security:
  25946. - ApiKeyAuth: []
  25947. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  25948. tags:
  25949. - 企业风险管理v3(app)
  25950. /Ermcp3/QryAreaExpourseParamChLogDetail:
  25951. get:
  25952. parameters:
  25953. - description: 用户ID
  25954. in: query
  25955. name: userid
  25956. required: true
  25957. type: integer
  25958. - description: 套保商品id
  25959. in: query
  25960. name: middlegoodsid
  25961. required: true
  25962. type: integer
  25963. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25964. in: query
  25965. name: cycletype
  25966. required: true
  25967. type: integer
  25968. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  25969. 全(0)【原值】
  25970. in: query
  25971. name: cycletime
  25972. required: true
  25973. type: string
  25974. produces:
  25975. - application/json
  25976. responses:
  25977. "200":
  25978. description: OK
  25979. schema:
  25980. items:
  25981. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  25982. type: array
  25983. "500":
  25984. description: Internal Server Error
  25985. schema:
  25986. $ref: '#/definitions/app.Response'
  25987. security:
  25988. - ApiKeyAuth: []
  25989. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  25990. tags:
  25991. - 企业风险管理v3(app)
  25992. /Ermcp3/QryAreaExpourseReport:
  25993. get:
  25994. parameters:
  25995. - description: 用户ID
  25996. in: query
  25997. name: userid
  25998. required: true
  25999. type: integer
  26000. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  26001. in: query
  26002. name: querytype
  26003. required: true
  26004. type: integer
  26005. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26006. in: query
  26007. name: cycletype
  26008. required: true
  26009. type: integer
  26010. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26011. 全(0)【原值】
  26012. in: query
  26013. name: cycletime
  26014. required: true
  26015. type: string
  26016. produces:
  26017. - application/json
  26018. responses:
  26019. "200":
  26020. description: OK
  26021. schema:
  26022. items:
  26023. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  26024. type: array
  26025. "500":
  26026. description: Internal Server Error
  26027. schema:
  26028. $ref: '#/definitions/app.Response'
  26029. security:
  26030. - ApiKeyAuth: []
  26031. summary: 查询敞口报表
  26032. tags:
  26033. - 企业风险管理v3(app)
  26034. /Ermcp3/QryAreaSpotplReport:
  26035. get:
  26036. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  26037. parameters:
  26038. - description: 用户ID
  26039. in: query
  26040. name: userid
  26041. required: true
  26042. type: integer
  26043. - description: 查询类型 1-报表 2-报表明细
  26044. in: query
  26045. name: querytype
  26046. required: true
  26047. type: integer
  26048. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26049. in: query
  26050. name: cycletype
  26051. required: true
  26052. type: integer
  26053. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26054. 全(0)【原值】
  26055. in: query
  26056. name: cycletime
  26057. required: true
  26058. type: string
  26059. - description: 现货品种id(明细必填)
  26060. in: query
  26061. name: deliverygoodsid
  26062. type: integer
  26063. - description: 币种id(明细必填)
  26064. in: query
  26065. name: currencyid
  26066. type: integer
  26067. - description: 日/周/月报表汇总维度 1:品种+品类
  26068. in: query
  26069. name: sumflag
  26070. type: integer
  26071. produces:
  26072. - application/json
  26073. responses:
  26074. "200":
  26075. description: OK
  26076. schema:
  26077. items:
  26078. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  26079. type: array
  26080. "500":
  26081. description: Internal Server Error
  26082. schema:
  26083. $ref: '#/definitions/app.Response'
  26084. security:
  26085. - ApiKeyAuth: []
  26086. summary: 查询现货报表
  26087. tags:
  26088. - 企业风险管理v3(app)
  26089. /Ermcp3/QryAreaStockReport:
  26090. get:
  26091. parameters:
  26092. - description: 用户ID
  26093. in: query
  26094. name: userid
  26095. required: true
  26096. type: integer
  26097. - description: 查询类型 1-报表 2-报表明细
  26098. in: query
  26099. name: querytype
  26100. required: true
  26101. type: integer
  26102. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26103. in: query
  26104. name: cycletype
  26105. required: true
  26106. type: integer
  26107. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26108. 全(0)【原值】
  26109. in: query
  26110. name: cycletime
  26111. required: true
  26112. type: string
  26113. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  26114. in: query
  26115. name: sumfields
  26116. type: string
  26117. - description: 品种ID
  26118. in: query
  26119. name: deliverygoodsid
  26120. type: integer
  26121. - description: 品类ID
  26122. in: query
  26123. name: wrstandardid
  26124. type: integer
  26125. - description: 品牌ID
  26126. in: query
  26127. name: spotgoodsbrandid
  26128. type: integer
  26129. - description: 仓库ID
  26130. in: query
  26131. name: warehouseinfoid
  26132. type: integer
  26133. produces:
  26134. - application/json
  26135. responses:
  26136. "200":
  26137. description: OK
  26138. schema:
  26139. items:
  26140. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  26141. type: array
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 查询库存报表
  26149. tags:
  26150. - 企业风险管理v3(app)
  26151. /Ermcp3/QryAreaSumPL:
  26152. get:
  26153. parameters:
  26154. - description: 用户ID
  26155. in: query
  26156. name: userid
  26157. required: true
  26158. type: integer
  26159. - description: 查询类型 1-报表 2-报表明细
  26160. in: query
  26161. name: querytype
  26162. required: true
  26163. type: integer
  26164. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26165. in: query
  26166. name: cycletype
  26167. required: true
  26168. type: integer
  26169. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26170. 全(0)【原值】
  26171. in: query
  26172. name: cycletime
  26173. required: true
  26174. type: string
  26175. - description: 币种id(明细必填)
  26176. in: query
  26177. name: currencyid
  26178. type: integer
  26179. - description: 套保品种ID, 查询类型为2时起效
  26180. in: query
  26181. name: middlegoodsid
  26182. type: integer
  26183. produces:
  26184. - application/json
  26185. responses:
  26186. "200":
  26187. description: OK
  26188. schema:
  26189. items:
  26190. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  26191. type: array
  26192. "500":
  26193. description: Internal Server Error
  26194. schema:
  26195. $ref: '#/definitions/app.Response'
  26196. security:
  26197. - ApiKeyAuth: []
  26198. summary: 查询汇总损益表
  26199. tags:
  26200. - 企业风险管理v3(app)
  26201. /Ermcp3/QryFinanceReport:
  26202. get:
  26203. parameters:
  26204. - description: 用户ID
  26205. in: query
  26206. name: userid
  26207. required: true
  26208. type: integer
  26209. - description: 查询类型 1-报表 2-报表明细
  26210. in: query
  26211. name: querytype
  26212. required: true
  26213. type: integer
  26214. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26215. in: query
  26216. name: cycletype
  26217. required: true
  26218. type: integer
  26219. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26220. 全(0)【原值】
  26221. in: query
  26222. name: cycletime
  26223. required: true
  26224. type: string
  26225. - description: 币种id(报表明细必填)
  26226. in: query
  26227. name: currencyid
  26228. type: integer
  26229. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  26230. in: query
  26231. name: sumfields
  26232. type: string
  26233. produces:
  26234. - application/json
  26235. responses:
  26236. "200":
  26237. description: OK
  26238. schema:
  26239. items:
  26240. $ref: '#/definitions/models.Ermcp3FinanceReport'
  26241. type: array
  26242. "500":
  26243. description: Internal Server Error
  26244. schema:
  26245. $ref: '#/definitions/app.Response'
  26246. security:
  26247. - ApiKeyAuth: []
  26248. summary: 查询财务报表
  26249. tags:
  26250. - 企业风险管理v3(app)
  26251. /Ermcp3/QrySCMiddleGoodsReport:
  26252. get:
  26253. parameters:
  26254. - description: 用户ID
  26255. in: query
  26256. name: userid
  26257. required: true
  26258. type: integer
  26259. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26260. in: query
  26261. name: cycletype
  26262. required: true
  26263. type: integer
  26264. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26265. 全(0)【原值】
  26266. in: query
  26267. name: cycletime
  26268. required: true
  26269. type: string
  26270. - description: 合同id
  26271. in: query
  26272. name: spotcontractid
  26273. type: integer
  26274. - description: 套保品种id
  26275. in: query
  26276. name: middlegoodsid
  26277. type: integer
  26278. - description: 现货品种id
  26279. in: query
  26280. name: deliverygoodsid
  26281. type: integer
  26282. - description: 现货商品id
  26283. in: query
  26284. name: wrstandardid
  26285. type: integer
  26286. - description: 合同编号(模糊匹配)
  26287. in: query
  26288. name: contractno
  26289. type: string
  26290. produces:
  26291. - application/json
  26292. responses:
  26293. "200":
  26294. description: OK
  26295. schema:
  26296. items:
  26297. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  26298. type: array
  26299. "500":
  26300. description: Internal Server Error
  26301. schema:
  26302. $ref: '#/definitions/app.Response'
  26303. security:
  26304. - ApiKeyAuth: []
  26305. summary: 查询定价报表
  26306. tags:
  26307. - 企业风险管理v3(app)
  26308. /Ermcp3/QryTaFutureDataReport:
  26309. get:
  26310. parameters:
  26311. - description: 用户ID
  26312. in: query
  26313. name: userid
  26314. required: true
  26315. type: integer
  26316. - description: 查询类型 1-报表 2-报表明细
  26317. in: query
  26318. name: querytype
  26319. required: true
  26320. type: integer
  26321. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  26322. in: query
  26323. name: cycletype
  26324. required: true
  26325. type: integer
  26326. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  26327. 全(0)【原值】
  26328. in: query
  26329. name: cycletime
  26330. required: true
  26331. type: string
  26332. - description: 币种id(查明细必填)
  26333. in: query
  26334. name: currencyid
  26335. type: integer
  26336. - description: 品种id(查明细必填)
  26337. in: query
  26338. name: goodsgroupid
  26339. type: integer
  26340. - description: 商品id(查明细必填)
  26341. in: query
  26342. name: goodsid
  26343. type: integer
  26344. - description: 买卖方向(查明细必填)
  26345. in: query
  26346. name: buyorsell
  26347. type: integer
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. items:
  26355. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  26356. type: array
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 查询期货报表
  26364. tags:
  26365. - 企业风险管理v3(app)
  26366. /Ermcp3/QueryAreaStock:
  26367. get:
  26368. parameters:
  26369. - description: 用户ID
  26370. in: query
  26371. name: userid
  26372. required: true
  26373. type: integer
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. items:
  26381. $ref: '#/definitions/models.Ermcp3AreaStock'
  26382. type: array
  26383. "500":
  26384. description: Internal Server Error
  26385. schema:
  26386. $ref: '#/definitions/app.Response'
  26387. security:
  26388. - ApiKeyAuth: []
  26389. summary: 查询机构库存(库存管理/当前库存)
  26390. tags:
  26391. - 企业风险管理v3(app)
  26392. /Ermcp3/QueryAreaStockApply:
  26393. get:
  26394. parameters:
  26395. - description: 用户ID
  26396. in: query
  26397. name: userid
  26398. required: true
  26399. type: integer
  26400. - description: 用户类型 2-机构 7-企业成员
  26401. in: query
  26402. name: usertype
  26403. type: integer
  26404. - description: 现货商品ID
  26405. in: query
  26406. name: deliverygoodsid
  26407. type: integer
  26408. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  26409. in: query
  26410. name: inouttype
  26411. type: string
  26412. - description: 合同ID
  26413. in: query
  26414. name: spotcontractid
  26415. type: integer
  26416. - description: 品类ID
  26417. in: query
  26418. name: wrstandardid
  26419. type: integer
  26420. - description: 品牌ID
  26421. in: query
  26422. name: spotgoodsbrandid
  26423. type: integer
  26424. - description: 仓库ID
  26425. in: query
  26426. name: warehouseinfoid
  26427. type: integer
  26428. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  26429. in: query
  26430. name: applystatus
  26431. type: string
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. items:
  26439. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  26440. type: array
  26441. "500":
  26442. description: Internal Server Error
  26443. schema:
  26444. $ref: '#/definitions/app.Response'
  26445. security:
  26446. - ApiKeyAuth: []
  26447. summary: 查询库存申请(出入库记录|库存审核)
  26448. tags:
  26449. - 企业风险管理v3(app)
  26450. /Ermcp3/QueryAreaStockApplySum:
  26451. get:
  26452. parameters:
  26453. - description: 合同ID
  26454. in: query
  26455. name: spotcontractid
  26456. required: true
  26457. type: integer
  26458. produces:
  26459. - application/json
  26460. responses:
  26461. "200":
  26462. description: OK
  26463. schema:
  26464. items:
  26465. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  26466. type: array
  26467. "500":
  26468. description: Internal Server Error
  26469. schema:
  26470. $ref: '#/definitions/app.Response'
  26471. security:
  26472. - ApiKeyAuth: []
  26473. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  26474. tags:
  26475. - 企业风险管理v3(app)
  26476. /Ermcp3/QueryDGFactoryItem:
  26477. get:
  26478. parameters:
  26479. - description: 用户id
  26480. in: query
  26481. name: userid
  26482. type: integer
  26483. - description: 用户类型 2-机构 7-企业成员
  26484. in: query
  26485. name: usertype
  26486. type: integer
  26487. - description: 选择项ID(SEQ_DGFACTORYITEM)
  26488. in: query
  26489. name: dgfactoryitemid
  26490. type: integer
  26491. - description: 现货品种ID
  26492. in: query
  26493. name: deliverygoodsid
  26494. type: integer
  26495. - description: 要素项类型
  26496. in: query
  26497. name: dgfactoryitemtypeid
  26498. type: integer
  26499. - description: 顺序
  26500. in: query
  26501. name: orderindex
  26502. type: integer
  26503. produces:
  26504. - application/json
  26505. responses:
  26506. "200":
  26507. description: OK
  26508. schema:
  26509. items:
  26510. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  26511. type: array
  26512. "500":
  26513. description: Internal Server Error
  26514. schema:
  26515. $ref: '#/definitions/app.Response'
  26516. security:
  26517. - ApiKeyAuth: []
  26518. summary: 查询品种要素定义项
  26519. tags:
  26520. - 企业风险管理v3(app)
  26521. /Ermcp3/QueryDeliveryGoods:
  26522. get:
  26523. parameters:
  26524. - description: 用户id
  26525. in: query
  26526. name: userid
  26527. required: true
  26528. type: integer
  26529. - description: 用户类型 2-机构 7-企业成员
  26530. in: query
  26531. name: usertype
  26532. type: integer
  26533. - description: 排除已配置的业务类型商品 1-套保 2-套利
  26534. in: query
  26535. name: excludecfg
  26536. type: integer
  26537. produces:
  26538. - application/json
  26539. responses:
  26540. "200":
  26541. description: OK
  26542. schema:
  26543. items:
  26544. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  26545. type: array
  26546. "500":
  26547. description: Internal Server Error
  26548. schema:
  26549. $ref: '#/definitions/app.Response'
  26550. security:
  26551. - ApiKeyAuth: []
  26552. summary: 查询现货商品
  26553. tags:
  26554. - 企业风险管理v3(app)
  26555. /Ermcp3/QueryDeliveryGoodsDetail:
  26556. get:
  26557. parameters:
  26558. - description: 用户id
  26559. in: query
  26560. name: userid
  26561. required: true
  26562. type: integer
  26563. - description: 用户类型 2-机构 7-企业成员
  26564. in: query
  26565. name: usertype
  26566. type: integer
  26567. - description: 现货商品id
  26568. in: query
  26569. name: deliverygoodsid
  26570. type: integer
  26571. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  26572. in: query
  26573. name: filtersubempty
  26574. type: integer
  26575. produces:
  26576. - application/json
  26577. responses:
  26578. "200":
  26579. description: OK
  26580. schema:
  26581. items:
  26582. $ref: '#/definitions/models.XHDeliveryGoods'
  26583. type: array
  26584. "500":
  26585. description: Internal Server Error
  26586. schema:
  26587. $ref: '#/definitions/app.Response'
  26588. security:
  26589. - ApiKeyAuth: []
  26590. summary: 查询现货商品详情
  26591. tags:
  26592. - 企业风险管理v3(app)
  26593. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  26594. get:
  26595. parameters:
  26596. - description: 合同id
  26597. in: query
  26598. name: spotcontractid
  26599. required: true
  26600. type: string
  26601. produces:
  26602. - application/json
  26603. responses:
  26604. "200":
  26605. description: OK
  26606. schema:
  26607. items:
  26608. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  26609. type: array
  26610. "500":
  26611. description: Internal Server Error
  26612. schema:
  26613. $ref: '#/definitions/app.Response'
  26614. security:
  26615. - ApiKeyAuth: []
  26616. summary: 查询现货合同期现配置信息
  26617. tags:
  26618. - 企业风险管理v3(app)
  26619. /Ermcp3/QueryExposureDetail:
  26620. get:
  26621. parameters:
  26622. - description: 用户id
  26623. in: query
  26624. name: userid
  26625. required: true
  26626. type: integer
  26627. - description: 用户类型 2-机构 7-企业成员
  26628. in: query
  26629. name: usertype
  26630. type: integer
  26631. - description: 套保商品
  26632. in: query
  26633. name: middlegoodsid
  26634. required: true
  26635. type: integer
  26636. produces:
  26637. - application/json
  26638. responses:
  26639. "200":
  26640. description: OK
  26641. schema:
  26642. items:
  26643. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  26644. type: array
  26645. "500":
  26646. description: Internal Server Error
  26647. schema:
  26648. $ref: '#/definitions/app.Response'
  26649. security:
  26650. - ApiKeyAuth: []
  26651. summary: 查询敞口现货明细
  26652. tags:
  26653. - 企业风险管理v3(app)
  26654. /Ermcp3/QueryExposureSpot:
  26655. get:
  26656. parameters:
  26657. - description: 用户id
  26658. in: query
  26659. name: userid
  26660. required: true
  26661. type: integer
  26662. - description: 用户类型 2-机构 7-企业成员
  26663. in: query
  26664. name: usertype
  26665. type: integer
  26666. produces:
  26667. - application/json
  26668. responses:
  26669. "200":
  26670. description: OK
  26671. schema:
  26672. items:
  26673. $ref: '#/definitions/models.Ermcp3AreaSpot'
  26674. type: array
  26675. "500":
  26676. description: Internal Server Error
  26677. schema:
  26678. $ref: '#/definitions/app.Response'
  26679. security:
  26680. - ApiKeyAuth: []
  26681. summary: 查询敞口现货头寸(敞口/现货头寸)
  26682. tags:
  26683. - 企业风险管理v3(app)
  26684. /Ermcp3/QueryExposureSpotDetail:
  26685. get:
  26686. parameters:
  26687. - description: 用户id
  26688. in: query
  26689. name: userid
  26690. required: true
  26691. type: integer
  26692. - description: 用户类型 2-机构 7-企业成员
  26693. in: query
  26694. name: usertype
  26695. type: integer
  26696. - description: 现货商品ID
  26697. in: query
  26698. name: wrstandardid
  26699. required: true
  26700. type: integer
  26701. produces:
  26702. - application/json
  26703. responses:
  26704. "200":
  26705. description: OK
  26706. schema:
  26707. items:
  26708. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  26709. type: array
  26710. "500":
  26711. description: Internal Server Error
  26712. schema:
  26713. $ref: '#/definitions/app.Response'
  26714. security:
  26715. - ApiKeyAuth: []
  26716. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  26717. tags:
  26718. - 企业风险管理v3(app)
  26719. /Ermcp3/QueryGoodsGroup:
  26720. get:
  26721. parameters:
  26722. - description: 用户id
  26723. in: query
  26724. name: userid
  26725. required: true
  26726. type: integer
  26727. - description: 用户类型 2-机构 7-企业成员
  26728. in: query
  26729. name: usertype
  26730. type: integer
  26731. - description: 排除套保品中已关联的商品组 1-排除
  26732. in: query
  26733. name: excludecfg
  26734. type: integer
  26735. produces:
  26736. - application/json
  26737. responses:
  26738. "200":
  26739. description: OK
  26740. schema:
  26741. items:
  26742. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  26743. type: array
  26744. "500":
  26745. description: Internal Server Error
  26746. schema:
  26747. $ref: '#/definitions/app.Response'
  26748. security:
  26749. - ApiKeyAuth: []
  26750. summary: 查询期货商品组
  26751. tags:
  26752. - 企业风险管理v3(app)
  26753. /Ermcp3/QueryGoodsWrstandard:
  26754. get:
  26755. parameters:
  26756. - description: 用户id
  26757. in: query
  26758. name: userid
  26759. required: true
  26760. type: integer
  26761. - description: 用户类型 2-机构 7-企业成员
  26762. in: query
  26763. name: usertype
  26764. type: integer
  26765. - description: 现货商品id
  26766. in: query
  26767. name: deliverygoodsid
  26768. type: integer
  26769. produces:
  26770. - application/json
  26771. responses:
  26772. "200":
  26773. description: OK
  26774. schema:
  26775. items:
  26776. $ref: '#/definitions/models.Ermcp3Wrstandard'
  26777. type: array
  26778. "500":
  26779. description: Internal Server Error
  26780. schema:
  26781. $ref: '#/definitions/app.Response'
  26782. security:
  26783. - ApiKeyAuth: []
  26784. summary: 查询商品品类
  26785. tags:
  26786. - 企业风险管理v3(app)
  26787. /Ermcp3/QueryGoodsbrand:
  26788. get:
  26789. parameters:
  26790. - description: 用户id
  26791. in: query
  26792. name: userid
  26793. required: true
  26794. type: integer
  26795. - description: 用户类型 2-机构 7-企业成员
  26796. in: query
  26797. name: usertype
  26798. type: integer
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. items:
  26806. $ref: '#/definitions/models.Ermcp3Brand'
  26807. type: array
  26808. "500":
  26809. description: Internal Server Error
  26810. schema:
  26811. $ref: '#/definitions/app.Response'
  26812. security:
  26813. - ApiKeyAuth: []
  26814. summary: 查询商品品牌
  26815. tags:
  26816. - 企业风险管理v3(app)
  26817. /Ermcp3/QueryHPMiddleGoods:
  26818. get:
  26819. parameters:
  26820. - description: 用户ID(填登录用户的userid)
  26821. in: query
  26822. name: userid
  26823. required: true
  26824. type: integer
  26825. - description: 买卖方向 0-买 1-卖
  26826. in: query
  26827. name: buyorsell
  26828. required: true
  26829. type: integer
  26830. - description: 商品组id
  26831. in: query
  26832. name: goodsgroupid
  26833. required: true
  26834. type: integer
  26835. - description: 套保计划编号(模糊匹配)
  26836. in: query
  26837. name: hedgeplanno
  26838. type: string
  26839. - description: 现货商品名称(模糊匹配)
  26840. in: query
  26841. name: wrstandardname
  26842. type: string
  26843. produces:
  26844. - application/json
  26845. responses:
  26846. "200":
  26847. description: OK
  26848. schema:
  26849. items:
  26850. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  26851. type: array
  26852. "500":
  26853. description: Internal Server Error
  26854. schema:
  26855. $ref: '#/definitions/app.Response'
  26856. security:
  26857. - ApiKeyAuth: []
  26858. summary: 查询可关联套保计划
  26859. tags:
  26860. - 企业风险管理v3(app)
  26861. /Ermcp3/QueryHedgePlan:
  26862. get:
  26863. parameters:
  26864. - description: 用户ID
  26865. in: query
  26866. name: userid
  26867. required: true
  26868. type: integer
  26869. - description: 用户类型 2-机构 7-企业成员
  26870. in: query
  26871. name: usertype
  26872. type: integer
  26873. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  26874. in: query
  26875. name: hedgeplanstatus
  26876. required: true
  26877. type: string
  26878. produces:
  26879. - application/json
  26880. responses:
  26881. "200":
  26882. description: OK
  26883. schema:
  26884. items:
  26885. $ref: '#/definitions/models.Ermcp3HedgePlan'
  26886. type: array
  26887. "500":
  26888. description: Internal Server Error
  26889. schema:
  26890. $ref: '#/definitions/app.Response'
  26891. security:
  26892. - ApiKeyAuth: []
  26893. summary: 查询套保计划
  26894. tags:
  26895. - 企业风险管理v3(app)
  26896. /Ermcp3/QueryInnerTradeLink:
  26897. get:
  26898. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  26899. parameters:
  26900. - description: 外部成交单号
  26901. in: query
  26902. name: outtradeid
  26903. required: true
  26904. type: integer
  26905. produces:
  26906. - application/json
  26907. responses:
  26908. "200":
  26909. description: OK
  26910. schema:
  26911. items:
  26912. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  26913. type: array
  26914. "500":
  26915. description: Internal Server Error
  26916. schema:
  26917. $ref: '#/definitions/app.Response'
  26918. security:
  26919. - ApiKeyAuth: []
  26920. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  26921. tags:
  26922. - 企业风险管理v3(app)
  26923. /Ermcp3/QueryMiddleGoodsDetail:
  26924. get:
  26925. parameters:
  26926. - description: 用户id
  26927. in: query
  26928. name: userid
  26929. required: true
  26930. type: integer
  26931. - description: 用户类型 2-机构 7-企业成员
  26932. in: query
  26933. name: usertype
  26934. type: integer
  26935. - description: 套保品种id
  26936. in: query
  26937. name: middlegoodsid
  26938. type: integer
  26939. produces:
  26940. - application/json
  26941. responses:
  26942. "200":
  26943. description: OK
  26944. schema:
  26945. items:
  26946. $ref: '#/definitions/models.TBMiddleGoods'
  26947. type: array
  26948. "500":
  26949. description: Internal Server Error
  26950. schema:
  26951. $ref: '#/definitions/app.Response'
  26952. security:
  26953. - ApiKeyAuth: []
  26954. summary: 查询套保品种详情(套保品种/商品详情)
  26955. tags:
  26956. - 企业风险管理v3(app)
  26957. /Ermcp3/QueryOutTradeLink:
  26958. get:
  26959. description: 页面 app 现货->期现关联->外部成交单关联
  26960. parameters:
  26961. - description: 用户ID(填登录用户的userid)
  26962. in: query
  26963. name: userid
  26964. required: true
  26965. type: integer
  26966. - description: 外部订单号(模糊匹配)
  26967. in: query
  26968. name: outtradeid
  26969. type: string
  26970. - description: 合约名称/代码(模糊匹配)
  26971. in: query
  26972. name: goodsname
  26973. type: string
  26974. - description: 关联状态 0-未关联 1-已关联
  26975. in: query
  26976. name: hasinnerorder
  26977. type: integer
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  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. - 企业风险管理v3(app)
  26996. /Ermcp3/QueryPaAreaAuditCfg:
  26997. get:
  26998. parameters:
  26999. - description: 用户id
  27000. in: query
  27001. name: userid
  27002. required: true
  27003. type: integer
  27004. produces:
  27005. - application/json
  27006. responses:
  27007. "200":
  27008. description: OK
  27009. schema:
  27010. items:
  27011. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  27012. type: array
  27013. "500":
  27014. description: Internal Server Error
  27015. schema:
  27016. $ref: '#/definitions/app.Response'
  27017. security:
  27018. - ApiKeyAuth: []
  27019. summary: 查询审核设置
  27020. tags:
  27021. - 企业风险管理v3(app)
  27022. /Ermcp3/QueryPaAreaSubject:
  27023. get:
  27024. parameters:
  27025. - description: 用户id
  27026. in: query
  27027. name: userid
  27028. required: true
  27029. type: integer
  27030. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  27031. in: query
  27032. name: subjectid
  27033. type: integer
  27034. - description: 主体类型 - 1:交易主体 2:业务部门
  27035. in: query
  27036. name: subjecttype
  27037. type: integer
  27038. - description: '主体状态 - 1:正常 2: 停用'
  27039. in: query
  27040. name: subjectstatus
  27041. type: integer
  27042. produces:
  27043. - application/json
  27044. responses:
  27045. "200":
  27046. description: OK
  27047. schema:
  27048. items:
  27049. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  27050. type: array
  27051. "500":
  27052. description: Internal Server Error
  27053. schema:
  27054. $ref: '#/definitions/app.Response'
  27055. security:
  27056. - ApiKeyAuth: []
  27057. summary: 查询交易主体
  27058. tags:
  27059. - 企业风险管理v3(app)
  27060. /Ermcp3/QueryPaTradeLink:
  27061. get:
  27062. description: 页面 app 现货->期现关联->期现单据关联
  27063. parameters:
  27064. - description: 用户ID
  27065. in: query
  27066. name: userid
  27067. required: true
  27068. type: integer
  27069. produces:
  27070. - application/json
  27071. responses:
  27072. "200":
  27073. description: OK
  27074. schema:
  27075. items:
  27076. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  27077. type: array
  27078. "500":
  27079. description: Internal Server Error
  27080. schema:
  27081. $ref: '#/definitions/app.Response'
  27082. security:
  27083. - ApiKeyAuth: []
  27084. summary: 查询期现单据关联
  27085. tags:
  27086. - 企业风险管理v3(app)
  27087. /Ermcp3/QueryPaTradeLinkDetail:
  27088. get:
  27089. description: 页面 app 现货->期现关联->关联记录
  27090. parameters:
  27091. - description: 用户ID(填登录用户的userid)
  27092. in: query
  27093. name: userid
  27094. required: true
  27095. type: integer
  27096. - description: 关联状态 1:成功 2:失败 3:解绑
  27097. in: query
  27098. name: linkstatus
  27099. type: integer
  27100. - description: 期货订单号(模糊匹配)
  27101. in: query
  27102. name: tradeid
  27103. type: string
  27104. - description: 现货编号(模糊匹配)
  27105. in: query
  27106. name: contractno
  27107. type: string
  27108. - description: 期货账户(模糊匹配)
  27109. in: query
  27110. name: taname
  27111. type: string
  27112. produces:
  27113. - application/json
  27114. responses:
  27115. "200":
  27116. description: OK
  27117. schema:
  27118. items:
  27119. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  27120. type: array
  27121. "500":
  27122. description: Internal Server Error
  27123. schema:
  27124. $ref: '#/definitions/app.Response'
  27125. security:
  27126. - ApiKeyAuth: []
  27127. summary: 查询期现关联记录
  27128. tags:
  27129. - 企业风险管理v3(app)
  27130. /Ermcp3/QueryParamChangeApp:
  27131. get:
  27132. description: |-
  27133. 原型页面:
  27134. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  27135. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  27136. parameters:
  27137. - description: 用户ID
  27138. in: query
  27139. name: userid
  27140. required: true
  27141. type: integer
  27142. - description: 现货品种id
  27143. in: query
  27144. name: deliverygoodsid
  27145. type: integer
  27146. - description: 现货商品id
  27147. in: query
  27148. name: wrstandardid
  27149. type: integer
  27150. - description: 套保商品id
  27151. in: query
  27152. name: middlegoodsid
  27153. type: integer
  27154. - description: 操作类型 1:新增 2:修改
  27155. in: query
  27156. name: operatetype
  27157. type: integer
  27158. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  27159. in: query
  27160. name: paramchangetype
  27161. type: integer
  27162. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27163. in: query
  27164. name: ftstatus
  27165. type: string
  27166. produces:
  27167. - application/json
  27168. responses:
  27169. "200":
  27170. description: OK
  27171. schema:
  27172. items:
  27173. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  27174. type: array
  27175. "500":
  27176. description: Internal Server Error
  27177. schema:
  27178. $ref: '#/definitions/app.Response'
  27179. security:
  27180. - ApiKeyAuth: []
  27181. summary: 查询现货商品参数变更申请(流水)
  27182. tags:
  27183. - 企业风险管理v3(app)
  27184. /Ermcp3/QueryRootUserAccount:
  27185. get:
  27186. parameters:
  27187. - description: 用户ID
  27188. in: query
  27189. name: userid
  27190. required: true
  27191. type: integer
  27192. produces:
  27193. - application/json
  27194. responses:
  27195. "200":
  27196. description: OK
  27197. schema:
  27198. items:
  27199. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  27200. type: array
  27201. "500":
  27202. description: Internal Server Error
  27203. schema:
  27204. $ref: '#/definitions/app.Response'
  27205. security:
  27206. - ApiKeyAuth: []
  27207. summary: 查询顶级用户信息
  27208. tags:
  27209. - 企业风险管理v3(app)
  27210. /Ermcp3/QuerySCMiddleGoods:
  27211. get:
  27212. description: |-
  27213. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  27214. 现货编号 即 合同编号
  27215. parameters:
  27216. - description: 用户ID(填登录用户的userid)
  27217. in: query
  27218. name: userid
  27219. required: true
  27220. type: integer
  27221. - description: 买卖方向 0-买 1-卖
  27222. in: query
  27223. name: buyorsell
  27224. required: true
  27225. type: integer
  27226. - description: 商品组id
  27227. in: query
  27228. name: goodsgroupid
  27229. required: true
  27230. type: integer
  27231. - description: 业务类型 1:套保 2:套利
  27232. in: query
  27233. name: biztype
  27234. type: integer
  27235. - description: 现货编号(模糊匹配)
  27236. in: query
  27237. name: contractno
  27238. type: string
  27239. - description: 对手方(模糊匹配)
  27240. in: query
  27241. name: customername
  27242. type: string
  27243. - description: 现货商品名称(模糊匹配)
  27244. in: query
  27245. name: wrstandardname
  27246. type: string
  27247. produces:
  27248. - application/json
  27249. responses:
  27250. "200":
  27251. description: OK
  27252. schema:
  27253. items:
  27254. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  27255. type: array
  27256. "500":
  27257. description: Internal Server Error
  27258. schema:
  27259. $ref: '#/definitions/app.Response'
  27260. security:
  27261. - ApiKeyAuth: []
  27262. summary: 查询现货订单
  27263. tags:
  27264. - 企业风险管理v3(app)
  27265. /Ermcp3/QuerySpotContract:
  27266. get:
  27267. parameters:
  27268. - description: 用户id(当指定contractid, userid可不填)
  27269. in: query
  27270. name: userid
  27271. required: true
  27272. type: integer
  27273. - description: 用户类型 2-机构 7-企业成员
  27274. in: query
  27275. name: usertype
  27276. type: integer
  27277. - description: 合同类型 1-采购, -1-销售
  27278. in: query
  27279. name: contracttype
  27280. type: integer
  27281. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  27282. in: query
  27283. name: querytype
  27284. type: string
  27285. - description: 合同ID(SpotContractId)
  27286. in: query
  27287. name: contractid
  27288. type: string
  27289. - description: 合同编号(模糊匹配)
  27290. in: query
  27291. name: contractno
  27292. type: string
  27293. - description: 商品名称(模糊匹配)
  27294. in: query
  27295. name: wrstandardname
  27296. type: string
  27297. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27298. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27299. in: query
  27300. name: status
  27301. type: string
  27302. - description: 是否只查今日的合同 1-查今日合同
  27303. in: query
  27304. name: istoday
  27305. type: integer
  27306. produces:
  27307. - application/json
  27308. responses:
  27309. "200":
  27310. description: OK
  27311. schema:
  27312. items:
  27313. $ref: '#/definitions/models.Ermcp3Contract'
  27314. type: array
  27315. "500":
  27316. description: Internal Server Error
  27317. schema:
  27318. $ref: '#/definitions/app.Response'
  27319. security:
  27320. - ApiKeyAuth: []
  27321. summary: 查询现货合同
  27322. tags:
  27323. - 企业风险管理v3(app)
  27324. /Ermcp3/QuerySpotContractBS:
  27325. get:
  27326. parameters:
  27327. - description: 用户id
  27328. in: query
  27329. name: userid
  27330. required: true
  27331. type: integer
  27332. - description: 用户类型 2-机构 7-企业成员
  27333. in: query
  27334. name: usertype
  27335. type: integer
  27336. - description: 合同类型 1-采购, -1-销售
  27337. in: query
  27338. name: contracttype
  27339. required: true
  27340. type: integer
  27341. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  27342. in: query
  27343. name: querytype
  27344. type: integer
  27345. - description: 合同ID(SpotContractId)
  27346. in: query
  27347. name: contractid
  27348. type: string
  27349. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  27350. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27351. in: query
  27352. name: status
  27353. type: string
  27354. - description: 是否只查今日的合同 1-查今日合同
  27355. in: query
  27356. name: istoday
  27357. type: integer
  27358. produces:
  27359. - application/json
  27360. responses:
  27361. "200":
  27362. description: OK
  27363. schema:
  27364. items:
  27365. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  27366. type: array
  27367. "500":
  27368. description: Internal Server Error
  27369. schema:
  27370. $ref: '#/definitions/app.Response'
  27371. security:
  27372. - ApiKeyAuth: []
  27373. summary: 查询合同(采购/销售)
  27374. tags:
  27375. - 企业风险管理v3(app)
  27376. /Ermcp3/QuerySpotGoodsPrice:
  27377. get:
  27378. parameters:
  27379. - description: 用户ID
  27380. in: query
  27381. name: userid
  27382. required: true
  27383. type: integer
  27384. produces:
  27385. - application/json
  27386. responses:
  27387. "200":
  27388. description: OK
  27389. schema:
  27390. items:
  27391. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  27392. type: array
  27393. "500":
  27394. description: Internal Server Error
  27395. schema:
  27396. $ref: '#/definitions/app.Response'
  27397. security:
  27398. - ApiKeyAuth: []
  27399. summary: 查询现货市价(现货市价)
  27400. tags:
  27401. - 企业风险管理v3(app)
  27402. /Ermcp3/QuerySpotGoodsPriceLog:
  27403. get:
  27404. parameters:
  27405. - description: 用户ID
  27406. in: query
  27407. name: userid
  27408. required: true
  27409. type: integer
  27410. - description: 现货商品ID
  27411. in: query
  27412. name: deliverygoodsid
  27413. required: true
  27414. type: integer
  27415. - description: 品牌ID
  27416. in: query
  27417. name: brandid
  27418. type: integer
  27419. - description: 品类ID
  27420. in: query
  27421. name: wrstandardid
  27422. type: integer
  27423. produces:
  27424. - application/json
  27425. responses:
  27426. "200":
  27427. description: OK
  27428. schema:
  27429. items:
  27430. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  27431. type: array
  27432. "500":
  27433. description: Internal Server Error
  27434. schema:
  27435. $ref: '#/definitions/app.Response'
  27436. security:
  27437. - ApiKeyAuth: []
  27438. summary: 查询现货市价详情(现货市价/详情)
  27439. tags:
  27440. - 企业风险管理v3(app)
  27441. /Ermcp3/QuerySubTaaccount:
  27442. get:
  27443. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  27444. parameters:
  27445. - description: 母账号id
  27446. in: query
  27447. name: parentaccountid
  27448. type: integer
  27449. - description: 母账号代码
  27450. in: query
  27451. name: parentaccountcode
  27452. type: string
  27453. produces:
  27454. - application/json
  27455. responses:
  27456. "200":
  27457. description: OK
  27458. schema:
  27459. items:
  27460. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  27461. type: array
  27462. "500":
  27463. description: Internal Server Error
  27464. schema:
  27465. $ref: '#/definitions/app.Response'
  27466. security:
  27467. - ApiKeyAuth: []
  27468. summary: 查询期货子账户
  27469. tags:
  27470. - 企业风险管理v3(app)
  27471. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  27472. get:
  27473. parameters:
  27474. - description: 套期项目ID
  27475. in: query
  27476. name: hedgeditemid
  27477. required: true
  27478. type: integer
  27479. produces:
  27480. - application/json
  27481. responses:
  27482. "200":
  27483. description: OK
  27484. schema:
  27485. items:
  27486. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  27487. type: array
  27488. "500":
  27489. description: Internal Server Error
  27490. schema:
  27491. $ref: '#/definitions/app.Response'
  27492. security:
  27493. - ApiKeyAuth: []
  27494. summary: 现货成交明细查询
  27495. tags:
  27496. - 企业风险管理v8
  27497. /Ermcp8/QueryERMCP2HedgedItemspot:
  27498. get:
  27499. parameters:
  27500. - description: 套期项目ID
  27501. in: query
  27502. name: hedgeditemid
  27503. required: true
  27504. type: integer
  27505. produces:
  27506. - application/json
  27507. responses:
  27508. "200":
  27509. description: OK
  27510. schema:
  27511. items:
  27512. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  27513. type: array
  27514. "500":
  27515. description: Internal Server Error
  27516. schema:
  27517. $ref: '#/definitions/app.Response'
  27518. security:
  27519. - ApiKeyAuth: []
  27520. summary: 套期计划明细查询
  27521. tags:
  27522. - 企业风险管理v8
  27523. /Ermcp8/QueryERMCPJRLinkPos:
  27524. get:
  27525. parameters:
  27526. - description: 套期项目ID
  27527. in: query
  27528. name: hedgeditemid
  27529. required: true
  27530. type: integer
  27531. produces:
  27532. - application/json
  27533. responses:
  27534. "200":
  27535. description: OK
  27536. schema:
  27537. items:
  27538. $ref: '#/definitions/models.Ermcpjrlinkpos'
  27539. type: array
  27540. "500":
  27541. description: Internal Server Error
  27542. schema:
  27543. $ref: '#/definitions/app.Response'
  27544. security:
  27545. - ApiKeyAuth: []
  27546. summary: 期货持仓明细查询
  27547. tags:
  27548. - 企业风险管理v8
  27549. /Ermcp8/QueryERMCPPatradeLinkDetail:
  27550. get:
  27551. parameters:
  27552. - description: 套期项目ID
  27553. in: query
  27554. name: hedgeditemid
  27555. required: true
  27556. type: integer
  27557. produces:
  27558. - application/json
  27559. responses:
  27560. "200":
  27561. description: OK
  27562. schema:
  27563. items:
  27564. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  27565. type: array
  27566. "500":
  27567. description: Internal Server Error
  27568. schema:
  27569. $ref: '#/definitions/app.Response'
  27570. security:
  27571. - ApiKeyAuth: []
  27572. summary: 期货成交单明细查询
  27573. tags:
  27574. - 企业风险管理v8
  27575. /Ermcp8/QueryErmcp2AreaExposure:
  27576. get:
  27577. parameters:
  27578. - description: 用户ID
  27579. in: query
  27580. name: userid
  27581. required: true
  27582. type: string
  27583. produces:
  27584. - application/json
  27585. responses:
  27586. "200":
  27587. description: OK
  27588. schema:
  27589. items:
  27590. $ref: '#/definitions/models.Ermcp2AreaExposure'
  27591. type: array
  27592. "500":
  27593. description: Internal Server Error
  27594. schema:
  27595. $ref: '#/definitions/app.Response'
  27596. security:
  27597. - ApiKeyAuth: []
  27598. summary: 企业敞口查询
  27599. tags:
  27600. - 企业风险管理v8
  27601. /Ermcp8/QueryErmcp2HedgedItem:
  27602. get:
  27603. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  27604. parameters:
  27605. - description: 用户ID
  27606. in: query
  27607. name: userid
  27608. required: true
  27609. type: string
  27610. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27611. in: query
  27612. name: hedgedtype
  27613. type: integer
  27614. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27615. in: query
  27616. name: hedgeditemstatus
  27617. type: integer
  27618. produces:
  27619. - application/json
  27620. responses:
  27621. "200":
  27622. description: OK
  27623. schema:
  27624. items:
  27625. $ref: '#/definitions/models.Ermcp2hedgeditem'
  27626. type: array
  27627. "500":
  27628. description: Internal Server Error
  27629. schema:
  27630. $ref: '#/definitions/app.Response'
  27631. security:
  27632. - ApiKeyAuth: []
  27633. summary: 查询被套期项目信息
  27634. tags:
  27635. - 企业风险管理v8
  27636. /Ermcp8/QueryErmcp2HedgedItemLink:
  27637. get:
  27638. parameters:
  27639. - description: 现货合同ID
  27640. in: query
  27641. name: spotcontractid
  27642. required: true
  27643. type: integer
  27644. produces:
  27645. - application/json
  27646. responses:
  27647. "200":
  27648. description: OK
  27649. schema:
  27650. items:
  27651. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  27652. type: array
  27653. "500":
  27654. description: Internal Server Error
  27655. schema:
  27656. $ref: '#/definitions/app.Response'
  27657. security:
  27658. - ApiKeyAuth: []
  27659. summary: 现货合同关联被套期项目查询
  27660. tags:
  27661. - 企业风险管理v8
  27662. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  27663. get:
  27664. parameters:
  27665. - description: 用户ID
  27666. in: query
  27667. name: userid
  27668. required: true
  27669. type: integer
  27670. - description: 套保品种ID
  27671. in: query
  27672. name: middlegoodsid
  27673. required: true
  27674. type: integer
  27675. produces:
  27676. - application/json
  27677. responses:
  27678. "200":
  27679. description: OK
  27680. schema:
  27681. items:
  27682. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  27683. type: array
  27684. "500":
  27685. description: Internal Server Error
  27686. schema:
  27687. $ref: '#/definitions/app.Response'
  27688. security:
  27689. - ApiKeyAuth: []
  27690. summary: 敞口明细 - 计划变动明细
  27691. tags:
  27692. - 企业风险管理v8
  27693. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  27694. get:
  27695. parameters:
  27696. - description: 用户ID
  27697. in: query
  27698. name: userid
  27699. required: true
  27700. type: integer
  27701. - description: 套保品种ID
  27702. in: query
  27703. name: middlegoodsid
  27704. required: true
  27705. type: integer
  27706. produces:
  27707. - application/json
  27708. responses:
  27709. "200":
  27710. description: OK
  27711. schema:
  27712. items:
  27713. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  27714. type: array
  27715. "500":
  27716. description: Internal Server Error
  27717. schema:
  27718. $ref: '#/definitions/app.Response'
  27719. security:
  27720. - ApiKeyAuth: []
  27721. summary: 敞口明细 - 现货变动明细查询
  27722. tags:
  27723. - 企业风险管理v8
  27724. /Ermcp8/QueryErmcp8EnableHedgeditem:
  27725. get:
  27726. parameters:
  27727. - description: 用户ID
  27728. in: query
  27729. name: userid
  27730. required: true
  27731. type: integer
  27732. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  27733. in: query
  27734. name: spottype
  27735. required: true
  27736. type: integer
  27737. - description: 现货商品ID
  27738. in: query
  27739. name: wrstandardid
  27740. type: integer
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. items:
  27748. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  27749. type: array
  27750. "500":
  27751. description: Internal Server Error
  27752. schema:
  27753. $ref: '#/definitions/app.Response'
  27754. security:
  27755. - ApiKeyAuth: []
  27756. summary: 可关联项目查询
  27757. tags:
  27758. - 企业风险管理v8
  27759. /Ermcp8/QueryErmcp8HedgeditemReport:
  27760. get:
  27761. parameters:
  27762. - description: 用户ID
  27763. in: query
  27764. name: userid
  27765. required: true
  27766. type: integer
  27767. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  27768. in: query
  27769. name: cycletype
  27770. type: integer
  27771. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  27772. 全(0)【原值】
  27773. in: query
  27774. name: cycletime
  27775. required: true
  27776. type: string
  27777. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  27778. in: query
  27779. name: hedgedtype
  27780. type: integer
  27781. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  27782. in: query
  27783. name: hedgeditemstatus
  27784. type: integer
  27785. - description: 项目编号,模糊查询
  27786. in: query
  27787. name: hedgeditemnum
  27788. type: string
  27789. - description: 现货商品ID
  27790. in: query
  27791. name: wrstandardid
  27792. type: integer
  27793. produces:
  27794. - application/json
  27795. responses:
  27796. "200":
  27797. description: OK
  27798. schema:
  27799. items:
  27800. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  27801. type: array
  27802. "500":
  27803. description: Internal Server Error
  27804. schema:
  27805. $ref: '#/definitions/app.Response'
  27806. security:
  27807. - ApiKeyAuth: []
  27808. summary: 套期项目报表查询
  27809. tags:
  27810. - 企业风险管理v8
  27811. /Ermcp8/QueryErmcp8RunningHedgeditem:
  27812. get:
  27813. parameters:
  27814. - description: 用户ID
  27815. in: query
  27816. name: userid
  27817. required: true
  27818. type: string
  27819. produces:
  27820. - application/json
  27821. responses:
  27822. "200":
  27823. description: OK
  27824. schema:
  27825. items:
  27826. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  27827. type: array
  27828. "500":
  27829. description: Internal Server Error
  27830. schema:
  27831. $ref: '#/definitions/app.Response'
  27832. security:
  27833. - ApiKeyAuth: []
  27834. summary: 查询执行中项目查询信息
  27835. tags:
  27836. - 企业风险管理v8
  27837. /Ermcp8/QueryInternalEnableTradeDetail:
  27838. get:
  27839. parameters:
  27840. - description: 企业ID
  27841. in: query
  27842. name: areauserid
  27843. required: true
  27844. type: integer
  27845. - description: 期货合约ID
  27846. in: query
  27847. name: goodsid
  27848. required: true
  27849. type: integer
  27850. - description: 交易用户ID
  27851. in: query
  27852. name: tradeuserid
  27853. required: true
  27854. type: integer
  27855. produces:
  27856. - application/json
  27857. responses:
  27858. "200":
  27859. description: OK
  27860. schema:
  27861. items:
  27862. $ref: '#/definitions/models.InternalEnableTradeDetail'
  27863. type: array
  27864. "500":
  27865. description: Internal Server Error
  27866. schema:
  27867. $ref: '#/definitions/app.Response'
  27868. security:
  27869. - ApiKeyAuth: []
  27870. summary: 内部成交单可关联项目查询
  27871. tags:
  27872. - 企业风险管理v8
  27873. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  27874. get:
  27875. parameters:
  27876. - description: 用户编号
  27877. in: query
  27878. name: userid
  27879. required: true
  27880. type: integer
  27881. - description: 起始日期(格式yyyymmdd)
  27882. in: query
  27883. name: begindate
  27884. type: string
  27885. - description: 终止日期(格式yyyymmdd)
  27886. in: query
  27887. name: enddate
  27888. type: string
  27889. - description: 合约代码
  27890. in: query
  27891. name: goodscode
  27892. type: string
  27893. - description: 合约名称
  27894. in: query
  27895. name: goodsname
  27896. type: string
  27897. - description: 成交单号
  27898. in: query
  27899. name: tradeid
  27900. type: integer
  27901. - description: 方向 - 0:买 1:卖
  27902. in: query
  27903. name: buyorsell
  27904. type: integer
  27905. - description: 套期主体
  27906. in: query
  27907. name: accountname
  27908. type: string
  27909. produces:
  27910. - application/json
  27911. responses:
  27912. "200":
  27913. description: OK
  27914. schema:
  27915. items:
  27916. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  27917. type: array
  27918. "500":
  27919. description: Internal Server Error
  27920. schema:
  27921. $ref: '#/definitions/app.Response'
  27922. security:
  27923. - ApiKeyAuth: []
  27924. summary: 内部未关联成交单查询
  27925. tags:
  27926. - 企业风险管理v8
  27927. /Ermcp8/QueryMarketCalendar:
  27928. get:
  27929. parameters:
  27930. - description: 市场ID
  27931. in: query
  27932. name: marketid
  27933. type: integer
  27934. produces:
  27935. - application/json
  27936. responses:
  27937. "200":
  27938. description: OK
  27939. schema:
  27940. items:
  27941. $ref: '#/definitions/models.Marketcalendar'
  27942. type: array
  27943. "500":
  27944. description: Internal Server Error
  27945. schema:
  27946. $ref: '#/definitions/app.Response'
  27947. security:
  27948. - ApiKeyAuth: []
  27949. summary: 市场节假日查询
  27950. tags:
  27951. - 企业风险管理v8
  27952. /Ermcp8/QueryPatradeLinkDetail:
  27953. get:
  27954. parameters:
  27955. - description: 用户ID
  27956. in: query
  27957. name: userid
  27958. required: true
  27959. type: integer
  27960. - description: 套保品种ID
  27961. in: query
  27962. name: middlegoodsid
  27963. required: true
  27964. type: integer
  27965. produces:
  27966. - application/json
  27967. responses:
  27968. "200":
  27969. description: OK
  27970. schema:
  27971. items:
  27972. $ref: '#/definitions/models.Patradelinkdetail'
  27973. type: array
  27974. "500":
  27975. description: Internal Server Error
  27976. schema:
  27977. $ref: '#/definitions/app.Response'
  27978. security:
  27979. - ApiKeyAuth: []
  27980. summary: 敞口明细 - 期货变动明细
  27981. tags:
  27982. - 企业风险管理v8
  27983. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  27984. get:
  27985. parameters:
  27986. - description: 企业ID
  27987. in: query
  27988. name: areauserid
  27989. required: true
  27990. type: integer
  27991. - description: 计划类型 - 1:采购 -1:销售
  27992. in: query
  27993. name: contracttype
  27994. type: integer
  27995. - description: 计划编号,模糊查询
  27996. in: query
  27997. name: hedgeplanno
  27998. type: string
  27999. - description: 现货商品,模糊查询
  28000. in: query
  28001. name: wrstandardname
  28002. type: string
  28003. produces:
  28004. - application/json
  28005. responses:
  28006. "200":
  28007. description: OK
  28008. schema:
  28009. items:
  28010. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  28011. type: array
  28012. "500":
  28013. description: Internal Server Error
  28014. schema:
  28015. $ref: '#/definitions/app.Response'
  28016. security:
  28017. - ApiKeyAuth: []
  28018. summary: 未关联购销计划
  28019. tags:
  28020. - 企业风险管理v8
  28021. /Ermcp8/QueryUnLinkSpotContract:
  28022. get:
  28023. parameters:
  28024. - description: 用户ID
  28025. in: query
  28026. name: userid
  28027. required: true
  28028. type: integer
  28029. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  28030. in: query
  28031. name: pricetype
  28032. type: integer
  28033. - description: 合同编号, 模拟查询
  28034. in: query
  28035. name: contractno
  28036. type: string
  28037. - description: 对手方, 模拟查询
  28038. in: query
  28039. name: customername
  28040. type: string
  28041. - description: 项合同类型 - 1:采购 -1:销售
  28042. in: query
  28043. name: contracttype
  28044. type: integer
  28045. produces:
  28046. - application/json
  28047. responses:
  28048. "200":
  28049. description: OK
  28050. schema:
  28051. items:
  28052. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  28053. type: array
  28054. "500":
  28055. description: Internal Server Error
  28056. schema:
  28057. $ref: '#/definitions/app.Response'
  28058. security:
  28059. - ApiKeyAuth: []
  28060. summary: 未关联合同查询
  28061. tags:
  28062. - 企业风险管理v8
  28063. /Erms2/QueryArbitrageStrategy:
  28064. get:
  28065. parameters:
  28066. - description: 账户ID
  28067. in: query
  28068. name: userid
  28069. required: true
  28070. type: integer
  28071. - description: 商品组ID(品种ID)
  28072. in: query
  28073. name: goodsgroupid
  28074. type: string
  28075. produces:
  28076. - application/json
  28077. responses:
  28078. "200":
  28079. description: OK
  28080. schema:
  28081. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  28082. "500":
  28083. description: Internal Server Error
  28084. schema:
  28085. $ref: '#/definitions/app.Response'
  28086. security:
  28087. - ApiKeyAuth: []
  28088. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  28089. tags:
  28090. - 风险管理
  28091. /Erms2/QueryInnerTradeDetail:
  28092. get:
  28093. parameters:
  28094. - description: 资金账户
  28095. in: query
  28096. name: accountid
  28097. required: true
  28098. type: integer
  28099. produces:
  28100. - application/json
  28101. responses:
  28102. "200":
  28103. description: OK
  28104. schema:
  28105. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  28106. "500":
  28107. description: Internal Server Error
  28108. schema:
  28109. $ref: '#/definitions/app.Response'
  28110. security:
  28111. - ApiKeyAuth: []
  28112. summary: 查询内部成交单信息
  28113. tags:
  28114. - 风险管理
  28115. /Erms2/QuerySpotContract:
  28116. get:
  28117. parameters:
  28118. - description: 策略申请ID
  28119. in: query
  28120. name: asapplyid
  28121. required: true
  28122. type: integer
  28123. - description: 现货合同ID
  28124. in: query
  28125. name: spotcontractid
  28126. type: integer
  28127. produces:
  28128. - application/json
  28129. responses:
  28130. "200":
  28131. description: OK
  28132. schema:
  28133. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  28134. "500":
  28135. description: Internal Server Error
  28136. schema:
  28137. $ref: '#/definitions/app.Response'
  28138. security:
  28139. - ApiKeyAuth: []
  28140. summary: 查询现货合同表信息(指定策略ID、未结束的)
  28141. tags:
  28142. - 风险管理
  28143. /Erms3/AddErms2ASApply:
  28144. post:
  28145. parameters:
  28146. - description: 申请参数
  28147. in: body
  28148. name: jsonBody
  28149. required: true
  28150. schema:
  28151. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  28152. produces:
  28153. - application/json
  28154. responses:
  28155. "200":
  28156. description: OK
  28157. schema:
  28158. $ref: '#/definitions/app.Response'
  28159. "500":
  28160. description: Internal Server Error
  28161. schema:
  28162. $ref: '#/definitions/app.Response'
  28163. security:
  28164. - ApiKeyAuth: []
  28165. summary: 新增期现套利业务申请
  28166. tags:
  28167. - 风险管理v3
  28168. /Erms3/AddErms2SpotTradeApply:
  28169. post:
  28170. parameters:
  28171. - description: 申请参数
  28172. in: body
  28173. name: jsonBody
  28174. required: true
  28175. schema:
  28176. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  28177. produces:
  28178. - application/json
  28179. responses:
  28180. "200":
  28181. description: OK
  28182. schema:
  28183. $ref: '#/definitions/app.Response'
  28184. "500":
  28185. description: Internal Server Error
  28186. schema:
  28187. $ref: '#/definitions/app.Response'
  28188. security:
  28189. - ApiKeyAuth: []
  28190. summary: 新增现货贸易业务申请
  28191. tags:
  28192. - 风险管理v3
  28193. /Erms3/AddSpotContractApply:
  28194. post:
  28195. parameters:
  28196. - description: 申请参数
  28197. in: body
  28198. name: jsonBody
  28199. required: true
  28200. schema:
  28201. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  28202. produces:
  28203. - application/json
  28204. responses:
  28205. "200":
  28206. description: OK
  28207. schema:
  28208. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  28209. "500":
  28210. description: Internal Server Error
  28211. schema:
  28212. $ref: '#/definitions/app.Response'
  28213. security:
  28214. - ApiKeyAuth: []
  28215. summary: 新增现货合同申请
  28216. tags:
  28217. - 风险管理v3
  28218. /Erms3/AddUserInfoApply:
  28219. post:
  28220. parameters:
  28221. - description: 用户信息
  28222. in: body
  28223. name: jsonBody
  28224. required: true
  28225. schema:
  28226. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  28227. produces:
  28228. - application/json
  28229. responses:
  28230. "200":
  28231. description: OK
  28232. schema:
  28233. $ref: '#/definitions/app.Response'
  28234. "500":
  28235. description: Internal Server Error
  28236. schema:
  28237. $ref: '#/definitions/app.Response'
  28238. security:
  28239. - ApiKeyAuth: []
  28240. summary: 新增客户申请
  28241. tags:
  28242. - 风险管理v3
  28243. /Erms3/DeleteUserInfoApply:
  28244. get:
  28245. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  28246. parameters:
  28247. - description: 用户ID
  28248. in: query
  28249. name: userID
  28250. required: true
  28251. type: integer
  28252. produces:
  28253. - application/json
  28254. responses:
  28255. "200":
  28256. description: OK
  28257. schema:
  28258. $ref: '#/definitions/app.Response'
  28259. "500":
  28260. description: Internal Server Error
  28261. schema:
  28262. $ref: '#/definitions/app.Response'
  28263. security:
  28264. - ApiKeyAuth: []
  28265. summary: 删除客户申请
  28266. tags:
  28267. - 风险管理v3
  28268. /Erms3/ModifyUserInfoApply:
  28269. post:
  28270. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  28271. int, "userstate": 2 }'
  28272. parameters:
  28273. - description: 用户信息
  28274. in: body
  28275. name: jsonBody
  28276. required: true
  28277. schema:
  28278. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  28279. produces:
  28280. - application/json
  28281. responses:
  28282. "200":
  28283. description: OK
  28284. schema:
  28285. $ref: '#/definitions/app.Response'
  28286. "500":
  28287. description: Internal Server Error
  28288. schema:
  28289. $ref: '#/definitions/app.Response'
  28290. security:
  28291. - ApiKeyAuth: []
  28292. summary: 修改客户申请
  28293. tags:
  28294. - 风险管理v3
  28295. /Erms3/QueryBusinessInfo:
  28296. get:
  28297. parameters:
  28298. - description: 资金账号ID列表,用逗号分隔
  28299. in: query
  28300. name: accountids
  28301. required: true
  28302. type: string
  28303. - description: 状态,0为未结束 1为已结束
  28304. in: query
  28305. name: status
  28306. required: true
  28307. type: integer
  28308. produces:
  28309. - application/json
  28310. responses:
  28311. "200":
  28312. description: OK
  28313. schema:
  28314. items:
  28315. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  28316. type: array
  28317. "500":
  28318. description: Internal Server Error
  28319. schema:
  28320. $ref: '#/definitions/app.Response'
  28321. security:
  28322. - ApiKeyAuth: []
  28323. summary: 查询业务表单数据
  28324. tags:
  28325. - 风险管理v3
  28326. /Erms3/QueryPendingAuditContract:
  28327. get:
  28328. parameters:
  28329. - description: 资金账号ID列表,逗号隔开
  28330. in: query
  28331. name: accountids
  28332. required: true
  28333. type: string
  28334. - description: 合同类型 1-采购 -1-销售
  28335. in: query
  28336. name: contracttype
  28337. required: true
  28338. type: integer
  28339. - description: 合同模式 1-普通 2-回购
  28340. in: query
  28341. name: contractmode
  28342. required: true
  28343. type: integer
  28344. produces:
  28345. - application/json
  28346. responses:
  28347. "200":
  28348. description: OK
  28349. schema:
  28350. items:
  28351. $ref: '#/definitions/erms3.QryAuditContractRsp'
  28352. type: array
  28353. "500":
  28354. description: Internal Server Error
  28355. schema:
  28356. $ref: '#/definitions/app.Response'
  28357. security:
  28358. - ApiKeyAuth: []
  28359. summary: 查询待审核合同
  28360. tags:
  28361. - 风险管理v3
  28362. /Erms3/QueryPendingBusiness:
  28363. get:
  28364. parameters:
  28365. - description: 资金账号ID列表,逗号隔开
  28366. in: query
  28367. name: accountids
  28368. required: true
  28369. type: string
  28370. produces:
  28371. - application/json
  28372. responses:
  28373. "200":
  28374. description: OK
  28375. schema:
  28376. items:
  28377. $ref: '#/definitions/erms3.QryPendingBizRsp'
  28378. type: array
  28379. "500":
  28380. description: Internal Server Error
  28381. schema:
  28382. $ref: '#/definitions/app.Response'
  28383. security:
  28384. - ApiKeyAuth: []
  28385. summary: 查询待审核基差贸易业务
  28386. tags:
  28387. - 风险管理v3
  28388. /Erms3/QuerySpotContractAppleForm:
  28389. get:
  28390. parameters:
  28391. - description: 登录账号
  28392. in: query
  28393. name: loginID
  28394. required: true
  28395. type: integer
  28396. produces:
  28397. - application/json
  28398. responses:
  28399. "200":
  28400. description: OK
  28401. schema:
  28402. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  28403. "500":
  28404. description: Internal Server Error
  28405. schema:
  28406. $ref: '#/definitions/app.Response'
  28407. security:
  28408. - ApiKeyAuth: []
  28409. summary: 查询合同申请表单数据
  28410. tags:
  28411. - 风险管理v3
  28412. /Erms3/QuerySpotContractDetail:
  28413. get:
  28414. parameters:
  28415. - description: 资金账号ID列表,用逗号分隔
  28416. in: query
  28417. name: accountids
  28418. required: true
  28419. type: string
  28420. - description: 合同类型,1为采购合同 -1为销售合同
  28421. in: query
  28422. name: contracttype
  28423. required: true
  28424. type: integer
  28425. - description: 合同模式,1为普通合同 2为回购销售合同
  28426. in: query
  28427. name: contractmode
  28428. required: true
  28429. type: integer
  28430. - description: 状态,0为履约中 1为已完成
  28431. in: query
  28432. name: status
  28433. required: true
  28434. type: integer
  28435. produces:
  28436. - application/json
  28437. responses:
  28438. "200":
  28439. description: OK
  28440. schema:
  28441. items:
  28442. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  28443. type: array
  28444. "500":
  28445. description: Internal Server Error
  28446. schema:
  28447. $ref: '#/definitions/app.Response'
  28448. security:
  28449. - ApiKeyAuth: []
  28450. summary: 查询合同详细信息
  28451. tags:
  28452. - 风险管理v3
  28453. /Erms3/QueryUserInfoApplies:
  28454. get:
  28455. parameters:
  28456. - description: 页码
  28457. in: query
  28458. name: page
  28459. type: integer
  28460. - description: 每页条数
  28461. in: query
  28462. name: pagesize
  28463. type: integer
  28464. - description: 客户名称,支持模糊查询
  28465. in: query
  28466. name: userName
  28467. type: string
  28468. produces:
  28469. - application/json
  28470. responses:
  28471. "200":
  28472. description: OK
  28473. schema:
  28474. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  28475. "500":
  28476. description: Internal Server Error
  28477. schema:
  28478. $ref: '#/definitions/app.Response'
  28479. security:
  28480. - ApiKeyAuth: []
  28481. summary: 客户申请信息查询
  28482. tags:
  28483. - 风险管理v3
  28484. /Erms3/QueryUserInfos:
  28485. get:
  28486. parameters:
  28487. - description: 页码
  28488. in: query
  28489. name: page
  28490. type: integer
  28491. - description: 每页条数
  28492. in: query
  28493. name: pagesize
  28494. type: integer
  28495. - description: 客户名称,支持模糊查询
  28496. in: query
  28497. name: userName
  28498. type: string
  28499. produces:
  28500. - application/json
  28501. responses:
  28502. "200":
  28503. description: OK
  28504. schema:
  28505. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  28506. "500":
  28507. description: Internal Server Error
  28508. schema:
  28509. $ref: '#/definitions/app.Response'
  28510. security:
  28511. - ApiKeyAuth: []
  28512. summary: 客户信息查询
  28513. tags:
  28514. - 风险管理v3
  28515. /Ferroalloy/GetSpotGoodsPrice:
  28516. get:
  28517. parameters:
  28518. - description: 页码
  28519. in: query
  28520. name: page
  28521. type: integer
  28522. - description: 每页条数
  28523. in: query
  28524. name: pagesize
  28525. type: integer
  28526. produces:
  28527. - application/json
  28528. responses:
  28529. "200":
  28530. description: OK
  28531. schema:
  28532. items:
  28533. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  28534. type: array
  28535. "500":
  28536. description: Internal Server Error
  28537. schema:
  28538. $ref: '#/definitions/app.Response'
  28539. security:
  28540. - ApiKeyAuth: []
  28541. summary: 获取现货行情
  28542. tags:
  28543. - 铁合金
  28544. /Ferroalloy/QueryMyRefer:
  28545. get:
  28546. parameters:
  28547. - description: 用户ID
  28548. in: query
  28549. name: userid
  28550. required: true
  28551. type: integer
  28552. - description: 页码
  28553. in: query
  28554. name: page
  28555. type: integer
  28556. - description: 每页条数
  28557. in: query
  28558. name: pagesize
  28559. type: integer
  28560. produces:
  28561. - application/json
  28562. responses:
  28563. "200":
  28564. description: OK
  28565. schema:
  28566. items:
  28567. $ref: '#/definitions/models.MyRefer'
  28568. type: array
  28569. "500":
  28570. description: Internal Server Error
  28571. schema:
  28572. $ref: '#/definitions/app.Response'
  28573. security:
  28574. - ApiKeyAuth: []
  28575. summary: 查询我的推荐列表
  28576. tags:
  28577. - 铁合金
  28578. /Ferroalloy/QueryMyRegisterMoney:
  28579. get:
  28580. parameters:
  28581. - description: 资金账户
  28582. in: query
  28583. name: accountid
  28584. required: true
  28585. type: integer
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.RegisterMoney'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. summary: 查询我的注册红包
  28600. tags:
  28601. - 铁合金
  28602. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  28603. get:
  28604. parameters:
  28605. - description: 用户ID
  28606. in: query
  28607. name: userid
  28608. required: true
  28609. type: integer
  28610. - description: 类型 - 0:未完成 1:已完成
  28611. in: query
  28612. name: type
  28613. type: integer
  28614. - description: 页码
  28615. in: query
  28616. name: page
  28617. type: integer
  28618. - description: 每页条数
  28619. in: query
  28620. name: pagesize
  28621. type: integer
  28622. produces:
  28623. - application/json
  28624. responses:
  28625. "200":
  28626. description: OK
  28627. schema:
  28628. items:
  28629. $ref: '#/definitions/models.Thjpurchasetradedetail'
  28630. type: array
  28631. "500":
  28632. description: Internal Server Error
  28633. schema:
  28634. $ref: '#/definitions/app.Response'
  28635. security:
  28636. - ApiKeyAuth: []
  28637. summary: 查询我的订单-采购订单
  28638. tags:
  28639. - 铁合金
  28640. /Ferroalloy/QueryTHJScoreConfig:
  28641. get:
  28642. parameters:
  28643. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  28644. 6:自己供求下单积分 7:抽奖配置'
  28645. in: query
  28646. name: stype
  28647. type: string
  28648. produces:
  28649. - application/json
  28650. responses:
  28651. "200":
  28652. description: OK
  28653. schema:
  28654. items:
  28655. $ref: '#/definitions/models.Thjscoreconfig'
  28656. type: array
  28657. "500":
  28658. description: Internal Server Error
  28659. schema:
  28660. $ref: '#/definitions/app.Response'
  28661. security:
  28662. - ApiKeyAuth: []
  28663. summary: 查询积分配置
  28664. tags:
  28665. - 铁合金
  28666. /Ferroalloy/QueryTHJWrstandard:
  28667. get:
  28668. parameters:
  28669. - description: 现货商品名称(模糊查询)
  28670. in: query
  28671. name: wrstandardname
  28672. type: string
  28673. - description: 页码
  28674. in: query
  28675. name: page
  28676. type: integer
  28677. - description: 每页条数
  28678. in: query
  28679. name: pagesize
  28680. type: integer
  28681. produces:
  28682. - application/json
  28683. responses:
  28684. "200":
  28685. description: OK
  28686. schema:
  28687. items:
  28688. $ref: '#/definitions/models.THJWrstandard'
  28689. type: array
  28690. "500":
  28691. description: Internal Server Error
  28692. schema:
  28693. $ref: '#/definitions/app.Response'
  28694. security:
  28695. - ApiKeyAuth: []
  28696. summary: 查询采购列表
  28697. tags:
  28698. - 铁合金
  28699. /Ferroalloy/QueryTHJWrstandardDetail:
  28700. get:
  28701. parameters:
  28702. - description: 现货商品ID
  28703. in: query
  28704. name: wrstandardid
  28705. required: true
  28706. type: integer
  28707. produces:
  28708. - application/json
  28709. responses:
  28710. "200":
  28711. description: OK
  28712. schema:
  28713. items:
  28714. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  28715. type: array
  28716. "500":
  28717. description: Internal Server Error
  28718. schema:
  28719. $ref: '#/definitions/app.Response'
  28720. security:
  28721. - ApiKeyAuth: []
  28722. summary: 查询采购详情
  28723. tags:
  28724. - 铁合金
  28725. /Ferroalloy/QueryUserScoreLog:
  28726. get:
  28727. parameters:
  28728. - description: 用户ID
  28729. in: query
  28730. name: userid
  28731. required: true
  28732. type: integer
  28733. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  28734. 6:自己供求下单积分 7:抽奖配置'
  28735. in: query
  28736. name: stype
  28737. type: string
  28738. - description: 页码
  28739. in: query
  28740. name: page
  28741. type: integer
  28742. - description: 每页条数
  28743. in: query
  28744. name: pagesize
  28745. type: integer
  28746. produces:
  28747. - application/json
  28748. responses:
  28749. "200":
  28750. description: OK
  28751. schema:
  28752. items:
  28753. $ref: '#/definitions/models.GThjuserscorelog'
  28754. type: array
  28755. "500":
  28756. description: Internal Server Error
  28757. schema:
  28758. $ref: '#/definitions/app.Response'
  28759. security:
  28760. - ApiKeyAuth: []
  28761. summary: 查询我的积分流水
  28762. tags:
  28763. - 铁合金
  28764. /Ferroalloy/Signin:
  28765. post:
  28766. parameters:
  28767. - description: 用户签到请求
  28768. in: body
  28769. name: jsonBody
  28770. required: true
  28771. schema:
  28772. $ref: '#/definitions/models.THJSigninReq'
  28773. produces:
  28774. - application/json
  28775. responses:
  28776. "200":
  28777. description: OK
  28778. schema:
  28779. $ref: '#/definitions/models.THJSigninRsp'
  28780. "500":
  28781. description: Internal Server Error
  28782. schema:
  28783. $ref: '#/definitions/app.Response'
  28784. security:
  28785. - ApiKeyAuth: []
  28786. summary: 用户签到
  28787. tags:
  28788. - 铁合金
  28789. /Guangzuan/GZBSFWOrderOperate:
  28790. get:
  28791. parameters:
  28792. - description: 单据ID
  28793. in: query
  28794. name: orderid
  28795. required: true
  28796. type: integer
  28797. produces:
  28798. - application/json
  28799. responses:
  28800. "200":
  28801. description: OK
  28802. schema:
  28803. items:
  28804. $ref: '#/definitions/models.Gzbsfworderoperate'
  28805. type: array
  28806. "500":
  28807. description: Internal Server Error
  28808. schema:
  28809. $ref: '#/definitions/app.Response'
  28810. security:
  28811. - ApiKeyAuth: []
  28812. - LoginID: []
  28813. - Group: []
  28814. summary: 保税服务单据操作信息
  28815. tags:
  28816. - 广钻
  28817. /Guangzuan/GetGoods:
  28818. get:
  28819. parameters:
  28820. - description: 商品编号
  28821. in: query
  28822. name: goodsno
  28823. required: true
  28824. type: string
  28825. produces:
  28826. - application/json
  28827. responses:
  28828. "200":
  28829. description: OK
  28830. schema:
  28831. $ref: '#/definitions/models.GZGoods'
  28832. "500":
  28833. description: Internal Server Error
  28834. schema:
  28835. $ref: '#/definitions/app.Response'
  28836. security:
  28837. - ApiKeyAuth: []
  28838. - LoginID: []
  28839. - Group: []
  28840. summary: 获取钻石详情
  28841. tags:
  28842. - 广钻
  28843. /Guangzuan/GzCertAddressConfig:
  28844. get:
  28845. produces:
  28846. - application/json
  28847. responses:
  28848. "200":
  28849. description: OK
  28850. schema:
  28851. items:
  28852. $ref: '#/definitions/models.Gzcertaddressconfig'
  28853. type: array
  28854. "500":
  28855. description: Internal Server Error
  28856. schema:
  28857. $ref: '#/definitions/app.Response'
  28858. security:
  28859. - ApiKeyAuth: []
  28860. - LoginID: []
  28861. - Group: []
  28862. summary: Rapaport最新报价表(广钻)
  28863. tags:
  28864. - 广钻
  28865. /Guangzuan/GzCertAddressParam:
  28866. get:
  28867. produces:
  28868. - application/json
  28869. responses:
  28870. "200":
  28871. description: OK
  28872. schema:
  28873. items:
  28874. $ref: '#/definitions/models.Gzcertaddressparam'
  28875. type: array
  28876. "500":
  28877. description: Internal Server Error
  28878. schema:
  28879. $ref: '#/definitions/app.Response'
  28880. security:
  28881. - ApiKeyAuth: []
  28882. - LoginID: []
  28883. - Group: []
  28884. summary: 钻石证书地址参数
  28885. tags:
  28886. - 广钻
  28887. /Guangzuan/HomeData:
  28888. get:
  28889. parameters:
  28890. - description: 用户ID
  28891. in: query
  28892. name: userid
  28893. required: true
  28894. type: integer
  28895. produces:
  28896. - application/json
  28897. responses:
  28898. "200":
  28899. description: OK
  28900. schema:
  28901. $ref: '#/definitions/models.GZHomeData'
  28902. "500":
  28903. description: Internal Server Error
  28904. schema:
  28905. $ref: '#/definitions/app.Response'
  28906. security:
  28907. - ApiKeyAuth: []
  28908. - LoginID: []
  28909. - Group: []
  28910. summary: 首页统计数据
  28911. tags:
  28912. - 广钻
  28913. /Guangzuan/PriceCalc:
  28914. get:
  28915. parameters:
  28916. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  28917. in: query
  28918. name: zsshape
  28919. required: true
  28920. type: integer
  28921. - description: 颜色(D-M)
  28922. in: query
  28923. name: zscolor
  28924. required: true
  28925. type: string
  28926. - description: 净度
  28927. in: query
  28928. name: zsclarity
  28929. required: true
  28930. type: string
  28931. - description: 重量
  28932. in: query
  28933. name: weight
  28934. required: true
  28935. type: number
  28936. - description: 汇率
  28937. in: query
  28938. name: rate
  28939. required: true
  28940. type: number
  28941. - description: 折扣(%), 方向(加:10, 减:-10 )
  28942. in: query
  28943. name: discount
  28944. type: number
  28945. produces:
  28946. - application/json
  28947. responses:
  28948. "200":
  28949. description: OK
  28950. schema:
  28951. items:
  28952. $ref: '#/definitions/models.Gzrapaportprice'
  28953. type: array
  28954. "500":
  28955. description: Internal Server Error
  28956. schema:
  28957. $ref: '#/definitions/app.Response'
  28958. security:
  28959. - ApiKeyAuth: []
  28960. - LoginID: []
  28961. - Group: []
  28962. summary: 钻石价格计算器
  28963. tags:
  28964. - 广钻
  28965. /Guangzuan/QueryBuyOrder:
  28966. get:
  28967. parameters:
  28968. - description: 页码
  28969. in: query
  28970. name: page
  28971. type: integer
  28972. - description: 每页条数
  28973. in: query
  28974. name: pagesize
  28975. type: integer
  28976. - description: 商品(查询字段-模糊查询)
  28977. in: query
  28978. name: zsallproperties
  28979. type: string
  28980. - description: 钻石分类, 格式:1,2,3
  28981. in: query
  28982. name: zscategorys
  28983. type: string
  28984. - description: 委托单号
  28985. in: query
  28986. name: wrtradeorderid
  28987. type: integer
  28988. - description: 买方(查询字段-模糊查询)
  28989. in: query
  28990. name: buyusername
  28991. type: string
  28992. produces:
  28993. - application/json
  28994. responses:
  28995. "200":
  28996. description: OK
  28997. schema:
  28998. items:
  28999. $ref: '#/definitions/models.BuyOrder'
  29000. type: array
  29001. "500":
  29002. description: Internal Server Error
  29003. schema:
  29004. $ref: '#/definitions/app.Response'
  29005. security:
  29006. - ApiKeyAuth: []
  29007. - LoginID: []
  29008. - Group: []
  29009. summary: 查询求购大厅委托单
  29010. tags:
  29011. - 广钻
  29012. /Guangzuan/QueryDiamond:
  29013. post:
  29014. parameters:
  29015. - description: 钻石搜索入参
  29016. in: body
  29017. name: data
  29018. required: true
  29019. schema:
  29020. $ref: '#/definitions/models.SellOrderQueryReq'
  29021. produces:
  29022. - application/json
  29023. responses:
  29024. "200":
  29025. description: OK
  29026. schema:
  29027. items:
  29028. $ref: '#/definitions/models.SellOrder'
  29029. type: array
  29030. "500":
  29031. description: Internal Server Error
  29032. schema:
  29033. $ref: '#/definitions/app.Response'
  29034. security:
  29035. - ApiKeyAuth: []
  29036. - LoginID: []
  29037. - Group: []
  29038. summary: 钻石搜索
  29039. tags:
  29040. - 广钻
  29041. /Guangzuan/QueryGZBSFWOrder:
  29042. get:
  29043. parameters:
  29044. - description: 用户ID
  29045. in: query
  29046. name: userid
  29047. required: true
  29048. type: integer
  29049. - description: 页码
  29050. in: query
  29051. name: page
  29052. type: integer
  29053. - description: 每页条数
  29054. in: query
  29055. name: pagesize
  29056. type: integer
  29057. produces:
  29058. - application/json
  29059. responses:
  29060. "200":
  29061. description: OK
  29062. schema:
  29063. items:
  29064. $ref: '#/definitions/models.GzbsfworderM'
  29065. type: array
  29066. "500":
  29067. description: Internal Server Error
  29068. schema:
  29069. $ref: '#/definitions/app.Response'
  29070. security:
  29071. - ApiKeyAuth: []
  29072. - LoginID: []
  29073. - Group: []
  29074. summary: 查询保税服务单据
  29075. tags:
  29076. - 广钻
  29077. /Guangzuan/QueryGZBSFWOrderDetail:
  29078. get:
  29079. parameters:
  29080. - description: 用户ID
  29081. in: query
  29082. name: userid
  29083. required: true
  29084. type: integer
  29085. - description: 单据ID
  29086. in: query
  29087. name: orderid
  29088. type: integer
  29089. - description: 页码
  29090. in: query
  29091. name: page
  29092. type: integer
  29093. - description: 每页条数
  29094. in: query
  29095. name: pagesize
  29096. type: integer
  29097. produces:
  29098. - application/json
  29099. responses:
  29100. "200":
  29101. description: OK
  29102. schema:
  29103. items:
  29104. $ref: '#/definitions/models.GzbsfworderdetailM'
  29105. type: array
  29106. "500":
  29107. description: Internal Server Error
  29108. schema:
  29109. $ref: '#/definitions/app.Response'
  29110. security:
  29111. - ApiKeyAuth: []
  29112. - LoginID: []
  29113. - Group: []
  29114. summary: 查询保税服务单据明细
  29115. tags:
  29116. - 广钻
  29117. /Guangzuan/QueryGZCJBSOrderFile:
  29118. get:
  29119. parameters:
  29120. - description: 单据ID
  29121. in: query
  29122. name: orderid
  29123. required: true
  29124. type: integer
  29125. - description: 页码
  29126. in: query
  29127. name: page
  29128. type: integer
  29129. - description: 每页条数
  29130. in: query
  29131. name: pagesize
  29132. type: integer
  29133. produces:
  29134. - application/json
  29135. responses:
  29136. "200":
  29137. description: OK
  29138. schema:
  29139. items:
  29140. $ref: '#/definitions/models.GzcjbsorderfileM'
  29141. type: array
  29142. "500":
  29143. description: Internal Server Error
  29144. schema:
  29145. $ref: '#/definitions/app.Response'
  29146. security:
  29147. - ApiKeyAuth: []
  29148. - LoginID: []
  29149. - Group: []
  29150. summary: 出境保税单据文件
  29151. tags:
  29152. - 广钻
  29153. /Guangzuan/QueryGZCJJCOrder:
  29154. get:
  29155. parameters:
  29156. - description: 用户ID
  29157. in: query
  29158. name: userid
  29159. required: true
  29160. type: integer
  29161. - description: 页码
  29162. in: query
  29163. name: page
  29164. type: integer
  29165. - description: 每页条数
  29166. in: query
  29167. name: pagesize
  29168. type: integer
  29169. produces:
  29170. - application/json
  29171. responses:
  29172. "200":
  29173. description: OK
  29174. schema:
  29175. items:
  29176. $ref: '#/definitions/models.GzcjjcorderM'
  29177. type: array
  29178. "500":
  29179. description: Internal Server Error
  29180. schema:
  29181. $ref: '#/definitions/app.Response'
  29182. security:
  29183. - ApiKeyAuth: []
  29184. - LoginID: []
  29185. - Group: []
  29186. summary: 查询出境检测单据
  29187. tags:
  29188. - 广钻
  29189. /Guangzuan/QueryGZCJJCOrderDetail:
  29190. get:
  29191. parameters:
  29192. - description: 用户ID
  29193. in: query
  29194. name: userid
  29195. required: true
  29196. type: integer
  29197. - description: 单据ID
  29198. in: query
  29199. name: orderid
  29200. type: integer
  29201. - description: 页码
  29202. in: query
  29203. name: page
  29204. type: integer
  29205. - description: 每页条数
  29206. in: query
  29207. name: pagesize
  29208. type: integer
  29209. produces:
  29210. - application/json
  29211. responses:
  29212. "200":
  29213. description: OK
  29214. schema:
  29215. items:
  29216. $ref: '#/definitions/models.GzcjjcorderdetailM'
  29217. type: array
  29218. "500":
  29219. description: Internal Server Error
  29220. schema:
  29221. $ref: '#/definitions/app.Response'
  29222. security:
  29223. - ApiKeyAuth: []
  29224. - LoginID: []
  29225. - Group: []
  29226. summary: 查询出境检测单据明细(批次信息)
  29227. tags:
  29228. - 广钻
  29229. /Guangzuan/QueryMemberReport:
  29230. get:
  29231. parameters:
  29232. - description: 用户ID
  29233. in: query
  29234. name: userid
  29235. required: true
  29236. type: integer
  29237. - description: 页码
  29238. in: query
  29239. name: page
  29240. type: integer
  29241. - description: 每页条数
  29242. in: query
  29243. name: pagesize
  29244. type: integer
  29245. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29246. in: query
  29247. name: cycletype
  29248. type: string
  29249. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29250. in: query
  29251. name: begindate
  29252. required: true
  29253. type: string
  29254. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29255. in: query
  29256. name: enddate
  29257. required: true
  29258. type: string
  29259. produces:
  29260. - application/json
  29261. responses:
  29262. "200":
  29263. description: OK
  29264. schema:
  29265. items:
  29266. $ref: '#/definitions/models.Reckondaytaaccount'
  29267. type: array
  29268. "500":
  29269. description: Internal Server Error
  29270. schema:
  29271. $ref: '#/definitions/app.Response'
  29272. security:
  29273. - ApiKeyAuth: []
  29274. - LoginID: []
  29275. - Group: []
  29276. summary: 查询会员报表
  29277. tags:
  29278. - 广钻
  29279. /Guangzuan/QueryMyBargainApply:
  29280. get:
  29281. parameters:
  29282. - description: 用户ID
  29283. in: query
  29284. name: userid
  29285. required: true
  29286. type: integer
  29287. - description: 页码
  29288. in: query
  29289. name: page
  29290. type: integer
  29291. - description: 每页条数
  29292. in: query
  29293. name: pagesize
  29294. type: integer
  29295. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29296. in: query
  29297. name: applystatus
  29298. type: integer
  29299. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29300. in: query
  29301. name: type
  29302. type: integer
  29303. - description: 关联委托单ID
  29304. in: query
  29305. name: wrtradeorderid
  29306. type: string
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. items:
  29314. $ref: '#/definitions/models.MyBargainApply'
  29315. type: array
  29316. "500":
  29317. description: Internal Server Error
  29318. schema:
  29319. $ref: '#/definitions/app.Response'
  29320. security:
  29321. - ApiKeyAuth: []
  29322. - LoginID: []
  29323. - Group: []
  29324. summary: 查询询价-求购
  29325. tags:
  29326. - 广钻
  29327. /Guangzuan/QueryMyBuyOrder:
  29328. get:
  29329. parameters:
  29330. - description: 用户ID
  29331. in: query
  29332. name: userid
  29333. required: true
  29334. type: integer
  29335. - description: 页码
  29336. in: query
  29337. name: page
  29338. type: integer
  29339. - description: 每页条数
  29340. in: query
  29341. name: pagesize
  29342. type: integer
  29343. - description: 商品(查询字段-模糊查询)
  29344. in: query
  29345. name: zsallproperties
  29346. type: string
  29347. - description: 钻石分类, 格式:1,2,3
  29348. in: query
  29349. name: zscategorys
  29350. type: string
  29351. - description: 委托单号
  29352. in: query
  29353. name: wrtradeorderid
  29354. type: integer
  29355. - description: 是否历史查询
  29356. in: query
  29357. name: ishis
  29358. type: boolean
  29359. - description: 开始交易日(yyyymmdd)
  29360. in: query
  29361. name: begindate
  29362. type: string
  29363. - description: 结束交易日(yyyymmdd)
  29364. in: query
  29365. name: enddate
  29366. type: string
  29367. produces:
  29368. - application/json
  29369. responses:
  29370. "200":
  29371. description: OK
  29372. schema:
  29373. items:
  29374. $ref: '#/definitions/models.MyBuyOrder'
  29375. type: array
  29376. "500":
  29377. description: Internal Server Error
  29378. schema:
  29379. $ref: '#/definitions/app.Response'
  29380. security:
  29381. - ApiKeyAuth: []
  29382. - LoginID: []
  29383. - Group: []
  29384. summary: 查询我的求购
  29385. tags:
  29386. - 广钻
  29387. /Guangzuan/QueryMyDeListing:
  29388. get:
  29389. parameters:
  29390. - description: 用户ID
  29391. in: query
  29392. name: userid
  29393. required: true
  29394. type: integer
  29395. - description: 页码
  29396. in: query
  29397. name: page
  29398. type: integer
  29399. - description: 每页条数
  29400. in: query
  29401. name: pagesize
  29402. type: integer
  29403. - description: 商品(查询字段-模糊查询)
  29404. in: query
  29405. name: zsallproperties
  29406. type: string
  29407. - description: 钻石分类, 格式:1,2,3
  29408. in: query
  29409. name: zscategorys
  29410. type: string
  29411. - description: 成交单号
  29412. in: query
  29413. name: wrtradedetailid
  29414. type: integer
  29415. - description: 方向,0-购买 1-出售
  29416. in: query
  29417. name: buyorsell
  29418. type: integer
  29419. - description: 对手方(模糊匹配)
  29420. in: query
  29421. name: matchusername
  29422. type: string
  29423. - description: 开始交易日(yyyymmdd)
  29424. in: query
  29425. name: begindate
  29426. type: string
  29427. - description: 结束交易日(yyyymmdd)
  29428. in: query
  29429. name: enddate
  29430. type: string
  29431. produces:
  29432. - application/json
  29433. responses:
  29434. "200":
  29435. description: OK
  29436. schema:
  29437. items:
  29438. $ref: '#/definitions/models.MyDeListing'
  29439. type: array
  29440. "500":
  29441. description: Internal Server Error
  29442. schema:
  29443. $ref: '#/definitions/app.Response'
  29444. security:
  29445. - ApiKeyAuth: []
  29446. - LoginID: []
  29447. - Group: []
  29448. summary: 查询我的摘牌
  29449. tags:
  29450. - 广钻
  29451. /Guangzuan/QueryMyDelistingApply:
  29452. get:
  29453. parameters:
  29454. - description: 用户ID
  29455. in: query
  29456. name: userid
  29457. required: true
  29458. type: integer
  29459. - description: 页码
  29460. in: query
  29461. name: page
  29462. type: integer
  29463. - description: 每页条数
  29464. in: query
  29465. name: pagesize
  29466. type: integer
  29467. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  29468. in: query
  29469. name: applystatus
  29470. type: integer
  29471. - description: 查询类型 - 0:我的询价 1:我订单的询价
  29472. in: query
  29473. name: type
  29474. type: integer
  29475. - description: 买委托单ID
  29476. in: query
  29477. name: buywrtradeorderid
  29478. type: string
  29479. produces:
  29480. - application/json
  29481. responses:
  29482. "200":
  29483. description: OK
  29484. schema:
  29485. items:
  29486. $ref: '#/definitions/models.MyDelistingApply'
  29487. type: array
  29488. "500":
  29489. description: Internal Server Error
  29490. schema:
  29491. $ref: '#/definitions/app.Response'
  29492. security:
  29493. - ApiKeyAuth: []
  29494. - LoginID: []
  29495. - Group: []
  29496. summary: 查询询价-出售
  29497. tags:
  29498. - 广钻
  29499. /Guangzuan/QueryMyFavorite:
  29500. get:
  29501. parameters:
  29502. - description: 用户ID
  29503. in: query
  29504. name: userid
  29505. required: true
  29506. type: integer
  29507. - description: 页码
  29508. in: query
  29509. name: page
  29510. type: integer
  29511. - description: 每页条数
  29512. in: query
  29513. name: pagesize
  29514. type: integer
  29515. - description: 钻石分类, 格式:1,2,3
  29516. in: query
  29517. name: zscategorys
  29518. type: string
  29519. produces:
  29520. - application/json
  29521. responses:
  29522. "200":
  29523. description: OK
  29524. schema:
  29525. items:
  29526. $ref: '#/definitions/models.MyFavorite'
  29527. type: array
  29528. "500":
  29529. description: Internal Server Error
  29530. schema:
  29531. $ref: '#/definitions/app.Response'
  29532. security:
  29533. - ApiKeyAuth: []
  29534. - LoginID: []
  29535. - Group: []
  29536. summary: 查询我的收藏
  29537. tags:
  29538. - 广钻
  29539. /Guangzuan/QueryMyPerformanc:
  29540. get:
  29541. parameters:
  29542. - description: 用户ID
  29543. in: query
  29544. name: userid
  29545. required: true
  29546. type: integer
  29547. - description: 页码
  29548. in: query
  29549. name: page
  29550. type: integer
  29551. - description: 每页条数
  29552. in: query
  29553. name: pagesize
  29554. type: integer
  29555. - description: 商品(查询字段-模糊查询)
  29556. in: query
  29557. name: zsallproperties
  29558. type: string
  29559. - description: 方向,0-买 1-卖
  29560. in: query
  29561. name: buyorsell
  29562. type: integer
  29563. - description: 是否历史查询
  29564. in: query
  29565. name: ishis
  29566. type: boolean
  29567. - description: 开始交易日(yyyymmdd)
  29568. in: query
  29569. name: begindate
  29570. type: string
  29571. - description: 结束交易日(yyyymmdd)
  29572. in: query
  29573. name: enddate
  29574. type: string
  29575. produces:
  29576. - application/json
  29577. responses:
  29578. "200":
  29579. description: OK
  29580. schema:
  29581. items:
  29582. $ref: '#/definitions/models.MyPerformanc'
  29583. type: array
  29584. "500":
  29585. description: Internal Server Error
  29586. schema:
  29587. $ref: '#/definitions/app.Response'
  29588. security:
  29589. - ApiKeyAuth: []
  29590. - LoginID: []
  29591. - Group: []
  29592. summary: 查询我的履约
  29593. tags:
  29594. - 广钻
  29595. /Guangzuan/QueryMySellOrder:
  29596. get:
  29597. parameters:
  29598. - description: 用户ID
  29599. in: query
  29600. name: userid
  29601. required: true
  29602. type: integer
  29603. - description: 页码
  29604. in: query
  29605. name: page
  29606. type: integer
  29607. - description: 每页条数
  29608. in: query
  29609. name: pagesize
  29610. type: integer
  29611. - description: 商品(查询字段-模糊查询)
  29612. in: query
  29613. name: zsallproperties
  29614. type: string
  29615. - description: 钻石分类, 格式:1,2,3
  29616. in: query
  29617. name: zscategorys
  29618. type: string
  29619. - description: 委托单号
  29620. in: query
  29621. name: wrtradeorderid
  29622. type: integer
  29623. - description: 是否历史查询
  29624. in: query
  29625. name: ishis
  29626. type: boolean
  29627. - description: 开始交易日(yyyymmdd)
  29628. in: query
  29629. name: begindate
  29630. type: string
  29631. - description: 结束交易日(yyyymmdd)
  29632. in: query
  29633. name: enddate
  29634. type: string
  29635. produces:
  29636. - application/json
  29637. responses:
  29638. "200":
  29639. description: OK
  29640. schema:
  29641. items:
  29642. $ref: '#/definitions/models.MySellOrder'
  29643. type: array
  29644. "500":
  29645. description: Internal Server Error
  29646. schema:
  29647. $ref: '#/definitions/app.Response'
  29648. security:
  29649. - ApiKeyAuth: []
  29650. - LoginID: []
  29651. - Group: []
  29652. summary: 查询我的出售
  29653. tags:
  29654. - 广钻
  29655. /Guangzuan/QueryMyWRPosition:
  29656. get:
  29657. parameters:
  29658. - description: 页码
  29659. in: query
  29660. name: page
  29661. type: integer
  29662. - description: 每页条数
  29663. in: query
  29664. name: pagesize
  29665. type: integer
  29666. - description: 登录用户ID
  29667. in: query
  29668. name: wruserid
  29669. required: true
  29670. type: integer
  29671. - description: 商品(查询字段-模糊查询)
  29672. in: query
  29673. name: zsallproperties
  29674. type: string
  29675. - description: 钻石分类, 格式:1,2,3
  29676. in: query
  29677. name: zscategorys
  29678. type: string
  29679. - description: 仓库ID
  29680. in: query
  29681. name: warehouseid
  29682. type: integer
  29683. - description: 是否上架,0-全部 1-是 2-否
  29684. in: query
  29685. name: marketflag
  29686. type: integer
  29687. produces:
  29688. - application/json
  29689. responses:
  29690. "200":
  29691. description: OK
  29692. schema:
  29693. items:
  29694. $ref: '#/definitions/models.MyWRPosition'
  29695. type: array
  29696. "500":
  29697. description: Internal Server Error
  29698. schema:
  29699. $ref: '#/definitions/app.Response'
  29700. security:
  29701. - ApiKeyAuth: []
  29702. - LoginID: []
  29703. - Group: []
  29704. summary: 查询我的库存
  29705. tags:
  29706. - 广钻
  29707. /Guangzuan/QuerySellOrder:
  29708. get:
  29709. parameters:
  29710. - description: 页码
  29711. in: query
  29712. name: page
  29713. type: integer
  29714. - description: 每页条数
  29715. in: query
  29716. name: pagesize
  29717. type: integer
  29718. - description: 商品(查询字段-模糊查询)
  29719. in: query
  29720. name: zsallproperties
  29721. type: string
  29722. - description: 钻石分类, 格式:1,2,3
  29723. in: query
  29724. name: zscategorys
  29725. type: string
  29726. - description: 委托单号
  29727. in: query
  29728. name: wrtradeorderid
  29729. type: integer
  29730. - description: 卖方(查询字段-模糊查询)
  29731. in: query
  29732. name: buyusername
  29733. type: string
  29734. produces:
  29735. - application/json
  29736. responses:
  29737. "200":
  29738. description: OK
  29739. schema:
  29740. items:
  29741. $ref: '#/definitions/models.SellOrder'
  29742. type: array
  29743. "500":
  29744. description: Internal Server Error
  29745. schema:
  29746. $ref: '#/definitions/app.Response'
  29747. security:
  29748. - ApiKeyAuth: []
  29749. - LoginID: []
  29750. - Group: []
  29751. summary: 查询出售大厅委托单
  29752. tags:
  29753. - 广钻
  29754. /Guangzuan/QueryTradeReport:
  29755. get:
  29756. parameters:
  29757. - description: 用户ID
  29758. in: query
  29759. name: userid
  29760. required: true
  29761. type: integer
  29762. - description: 页码
  29763. in: query
  29764. name: page
  29765. type: integer
  29766. - description: 每页条数
  29767. in: query
  29768. name: pagesize
  29769. type: integer
  29770. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29771. in: query
  29772. name: cycletype
  29773. type: string
  29774. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29775. in: query
  29776. name: begindate
  29777. required: true
  29778. type: string
  29779. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29780. in: query
  29781. name: enddate
  29782. required: true
  29783. type: string
  29784. - description: 商品分类
  29785. in: query
  29786. name: zscategory
  29787. type: integer
  29788. - description: 商品币种
  29789. in: query
  29790. name: zscurrencytype
  29791. type: integer
  29792. produces:
  29793. - application/json
  29794. responses:
  29795. "200":
  29796. description: OK
  29797. schema:
  29798. items:
  29799. $ref: '#/definitions/models.Reckongzmemtradesum'
  29800. type: array
  29801. "500":
  29802. description: Internal Server Error
  29803. schema:
  29804. $ref: '#/definitions/app.Response'
  29805. security:
  29806. - ApiKeyAuth: []
  29807. - LoginID: []
  29808. - Group: []
  29809. summary: 查询交易报表
  29810. tags:
  29811. - 广钻
  29812. /Guangzuan/QueryWRPositionReport:
  29813. get:
  29814. parameters:
  29815. - description: 用户ID
  29816. in: query
  29817. name: userid
  29818. required: true
  29819. type: integer
  29820. - description: 页码
  29821. in: query
  29822. name: page
  29823. type: integer
  29824. - description: 每页条数
  29825. in: query
  29826. name: pagesize
  29827. type: integer
  29828. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  29829. in: query
  29830. name: cycletype
  29831. type: string
  29832. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29833. in: query
  29834. name: begindate
  29835. required: true
  29836. type: string
  29837. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  29838. in: query
  29839. name: enddate
  29840. required: true
  29841. type: string
  29842. - description: 商品分类
  29843. in: query
  29844. name: zscategory
  29845. type: integer
  29846. - description: 商品币种
  29847. in: query
  29848. name: zscurrencytype
  29849. type: integer
  29850. produces:
  29851. - application/json
  29852. responses:
  29853. "200":
  29854. description: OK
  29855. schema:
  29856. items:
  29857. $ref: '#/definitions/models.WRPositionReport'
  29858. type: array
  29859. "500":
  29860. description: Internal Server Error
  29861. schema:
  29862. $ref: '#/definitions/app.Response'
  29863. security:
  29864. - ApiKeyAuth: []
  29865. - LoginID: []
  29866. - Group: []
  29867. summary: 查询仓储报表
  29868. tags:
  29869. - 广钻
  29870. /Guangzuan/QueryWarehouseInfo:
  29871. get:
  29872. parameters:
  29873. - description: 页码
  29874. in: query
  29875. name: page
  29876. type: integer
  29877. - description: 每页条数
  29878. in: query
  29879. name: pagesize
  29880. type: integer
  29881. - description: 用户ID
  29882. in: query
  29883. name: userid
  29884. required: true
  29885. type: integer
  29886. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  29887. in: query
  29888. name: status
  29889. type: string
  29890. - description: 是返回交易所仓库
  29891. in: query
  29892. name: isincludeexchange
  29893. type: boolean
  29894. produces:
  29895. - application/json
  29896. responses:
  29897. "200":
  29898. description: OK
  29899. schema:
  29900. items:
  29901. $ref: '#/definitions/models.GZWarehouseinfo'
  29902. type: array
  29903. "500":
  29904. description: Internal Server Error
  29905. schema:
  29906. $ref: '#/definitions/app.Response'
  29907. security:
  29908. - ApiKeyAuth: []
  29909. - LoginID: []
  29910. - Group: []
  29911. summary: 查询仓库信息
  29912. tags:
  29913. - 广钻
  29914. /Market/GetAllExExchanges:
  29915. get:
  29916. produces:
  29917. - application/json
  29918. responses:
  29919. "200":
  29920. description: OK
  29921. schema:
  29922. $ref: '#/definitions/models.Goods'
  29923. "500":
  29924. description: Internal Server Error
  29925. schema:
  29926. $ref: '#/definitions/app.Response'
  29927. security:
  29928. - ApiKeyAuth: []
  29929. summary: 获取所有外部交易所信息
  29930. tags:
  29931. - 通用市场
  29932. /Market/QueryGoodsesByLoginID:
  29933. get:
  29934. parameters:
  29935. - description: 登录账号
  29936. in: query
  29937. name: loginID
  29938. required: true
  29939. type: integer
  29940. - description: 市场ID列表,格式:1,2,3
  29941. in: query
  29942. name: marketIDs
  29943. type: string
  29944. produces:
  29945. - application/json
  29946. responses:
  29947. "200":
  29948. description: OK
  29949. schema:
  29950. $ref: '#/definitions/models.Goods'
  29951. "500":
  29952. description: Internal Server Error
  29953. schema:
  29954. $ref: '#/definitions/app.Response'
  29955. security:
  29956. - ApiKeyAuth: []
  29957. summary: 获取登录账号有权限的商品信息
  29958. tags:
  29959. - 通用市场
  29960. /Market/QueryMarketRun:
  29961. get:
  29962. parameters:
  29963. - description: 市场ID,不传返回所有
  29964. in: query
  29965. name: marketID
  29966. type: integer
  29967. produces:
  29968. - application/json
  29969. responses:
  29970. "200":
  29971. description: OK
  29972. schema:
  29973. $ref: '#/definitions/models.Marketrun'
  29974. "500":
  29975. description: Internal Server Error
  29976. schema:
  29977. $ref: '#/definitions/app.Response'
  29978. security:
  29979. - ApiKeyAuth: []
  29980. summary: 查询市场运行信息
  29981. tags:
  29982. - 通用市场
  29983. /Market/QueryMarketsByLoginID:
  29984. get:
  29985. parameters:
  29986. - description: 登录账号
  29987. in: query
  29988. name: loginID
  29989. required: true
  29990. type: integer
  29991. produces:
  29992. - application/json
  29993. responses:
  29994. "200":
  29995. description: OK
  29996. schema:
  29997. $ref: '#/definitions/models.Market'
  29998. "500":
  29999. description: Internal Server Error
  30000. schema:
  30001. $ref: '#/definitions/app.Response'
  30002. security:
  30003. - ApiKeyAuth: []
  30004. summary: 获取登录账号有权限的市场信息
  30005. tags:
  30006. - 通用市场
  30007. /Order/QueryHisTradeDetail:
  30008. get:
  30009. parameters:
  30010. - description: 资金账户 - 格式:1,2,3
  30011. in: query
  30012. name: accountID
  30013. required: true
  30014. type: string
  30015. - description: 成交单号
  30016. in: query
  30017. name: tradeID
  30018. type: integer
  30019. - description: 委托单号
  30020. in: query
  30021. name: orderID
  30022. type: integer
  30023. - description: 商品ID
  30024. in: query
  30025. name: goodsID
  30026. type: integer
  30027. - description: 交易模式 - 格式:1,2,3
  30028. in: query
  30029. name: tradeMode
  30030. type: string
  30031. - description: 委托单据类型
  30032. in: query
  30033. name: buildType
  30034. type: integer
  30035. - description: 成交类别 - 格式:1,2,3
  30036. in: query
  30037. name: tradeType
  30038. type: string
  30039. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30040. in: query
  30041. name: startDate
  30042. type: string
  30043. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30044. in: query
  30045. name: endDate
  30046. type: string
  30047. produces:
  30048. - application/json
  30049. responses:
  30050. "200":
  30051. description: OK
  30052. schema:
  30053. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  30054. "500":
  30055. description: Internal Server Error
  30056. schema:
  30057. $ref: '#/definitions/app.Response'
  30058. security:
  30059. - ApiKeyAuth: []
  30060. summary: 历史成交单查询(合约市场)
  30061. tags:
  30062. - 通用单据
  30063. /Order/QueryHisTradeOrderDetail:
  30064. get:
  30065. parameters:
  30066. - description: 资金账户 - 格式:1,2,3
  30067. in: query
  30068. name: accountID
  30069. required: true
  30070. type: string
  30071. - description: 交易模式 - 格式:1,2,3
  30072. in: query
  30073. name: tradeMode
  30074. type: string
  30075. - description: 委托状态 - 格式:1,2,3
  30076. in: query
  30077. name: orderStatus
  30078. type: string
  30079. - description: 委托单号
  30080. in: query
  30081. name: orderID
  30082. type: integer
  30083. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  30084. in: query
  30085. name: startDate
  30086. type: string
  30087. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  30088. in: query
  30089. name: endDate
  30090. type: string
  30091. produces:
  30092. - application/json
  30093. responses:
  30094. "200":
  30095. description: OK
  30096. schema:
  30097. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  30098. "500":
  30099. description: Internal Server Error
  30100. schema:
  30101. $ref: '#/definitions/app.Response'
  30102. security:
  30103. - ApiKeyAuth: []
  30104. summary: 历史委托单查询请求(合约市场)
  30105. tags:
  30106. - 通用单据
  30107. /Order/QueryTradeDetail:
  30108. get:
  30109. parameters:
  30110. - description: 资金账户 - 格式:1,2,3
  30111. in: query
  30112. name: accountID
  30113. required: true
  30114. type: string
  30115. - description: 成交单号
  30116. in: query
  30117. name: tradeID
  30118. type: integer
  30119. - description: 委托单号
  30120. in: query
  30121. name: orderID
  30122. type: integer
  30123. - description: 交易模式 - 格式:1,2,3
  30124. in: query
  30125. name: tradeMode
  30126. type: string
  30127. - description: 委托单据类型
  30128. in: query
  30129. name: buildType
  30130. type: integer
  30131. - description: 成交类别 - 格式:1,2,3
  30132. in: query
  30133. name: tradeType
  30134. type: string
  30135. - description: 商品ID
  30136. in: query
  30137. name: goodsID
  30138. type: integer
  30139. produces:
  30140. - application/json
  30141. responses:
  30142. "200":
  30143. description: OK
  30144. schema:
  30145. $ref: '#/definitions/order.QueryTradeDetailRsp'
  30146. "500":
  30147. description: Internal Server Error
  30148. schema:
  30149. $ref: '#/definitions/app.Response'
  30150. security:
  30151. - ApiKeyAuth: []
  30152. summary: 成交单查询(合约市场)
  30153. tags:
  30154. - 通用单据
  30155. /Order/QueryTradeHolderDetail:
  30156. get:
  30157. parameters:
  30158. - description: 用户id
  30159. in: query
  30160. name: userid
  30161. type: integer
  30162. - description: 资金账号, 格式 1,2,3
  30163. in: query
  30164. name: accids
  30165. type: string
  30166. - description: 交易模式, 格式 1,2,3
  30167. in: query
  30168. name: trademodes
  30169. type: string
  30170. - description: 市场id, 格式 1,2,3
  30171. in: query
  30172. name: marketids
  30173. type: string
  30174. - description: 商品id
  30175. in: query
  30176. name: goodsid
  30177. type: integer
  30178. - description: 买卖方向 0-买 1-卖
  30179. in: query
  30180. name: buyorsell
  30181. type: integer
  30182. produces:
  30183. - application/json
  30184. responses:
  30185. "200":
  30186. description: OK
  30187. schema:
  30188. items:
  30189. $ref: '#/definitions/models.TradeHolderDetail'
  30190. type: array
  30191. "500":
  30192. description: Internal Server Error
  30193. schema:
  30194. $ref: '#/definitions/app.Response'
  30195. security:
  30196. - ApiKeyAuth: []
  30197. summary: 查询持仓明细
  30198. tags:
  30199. - 通用单据
  30200. /Order/QueryTradeOrderDetail:
  30201. get:
  30202. parameters:
  30203. - description: 资金账户 - 格式:1,2,3
  30204. in: query
  30205. name: accountID
  30206. required: true
  30207. type: string
  30208. - description: 交易模式 - 格式:1,2,3
  30209. in: query
  30210. name: tradeMode
  30211. type: string
  30212. - description: 委托状态 - 格式:1,2,3
  30213. in: query
  30214. name: orderStatus
  30215. type: string
  30216. - description: 委托单号
  30217. in: query
  30218. name: orderID
  30219. type: integer
  30220. produces:
  30221. - application/json
  30222. responses:
  30223. "200":
  30224. description: OK
  30225. schema:
  30226. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  30227. "500":
  30228. description: Internal Server Error
  30229. schema:
  30230. $ref: '#/definitions/app.Response'
  30231. security:
  30232. - ApiKeyAuth: []
  30233. summary: 委托单查询请求(合约市场)
  30234. tags:
  30235. - 通用单据
  30236. /Order/QueryTradePosition:
  30237. get:
  30238. parameters:
  30239. - description: 资金账户 - 格式:1,2,3
  30240. in: query
  30241. name: accountID
  30242. required: true
  30243. type: string
  30244. - description: 交易模式 - 格式:1,2,3
  30245. in: query
  30246. name: tradeMode
  30247. type: string
  30248. produces:
  30249. - application/json
  30250. responses:
  30251. "200":
  30252. description: OK
  30253. schema:
  30254. $ref: '#/definitions/order.QueryTradePositionRsp'
  30255. "500":
  30256. description: Internal Server Error
  30257. schema:
  30258. $ref: '#/definitions/app.Response'
  30259. security:
  30260. - ApiKeyAuth: []
  30261. summary: 持仓汇总查询(合约市场)
  30262. tags:
  30263. - 通用单据
  30264. /Qhj/QueryAccountInOutApply:
  30265. get:
  30266. parameters:
  30267. - description: 用户ID
  30268. in: query
  30269. name: userid
  30270. required: true
  30271. type: integer
  30272. - description: 申请起始日期(格式yyyymmdd)
  30273. in: query
  30274. name: begindate
  30275. type: string
  30276. - description: 申请截止日期(格式yyyymmdd)
  30277. in: query
  30278. name: enddate
  30279. type: string
  30280. - description: 模糊搜索名称
  30281. in: query
  30282. name: likename
  30283. type: string
  30284. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  30285. in: query
  30286. name: applystatus
  30287. type: integer
  30288. - description: 查询类型 1-提现(出金) 2-充值(入金)
  30289. in: query
  30290. name: querytype
  30291. type: integer
  30292. produces:
  30293. - application/json
  30294. responses:
  30295. "200":
  30296. description: OK
  30297. schema:
  30298. items:
  30299. $ref: '#/definitions/models.QhjAccountOutInApply'
  30300. type: array
  30301. "500":
  30302. description: Internal Server Error
  30303. schema:
  30304. $ref: '#/definitions/app.Response'
  30305. security:
  30306. - ApiKeyAuth: []
  30307. summary: 查询充值提现
  30308. tags:
  30309. - 大连千海金
  30310. /Qhj/QueryAreaFinanceConfig:
  30311. get:
  30312. parameters:
  30313. - description: 机构用户ID 其他做市关系,都设置为 1
  30314. in: query
  30315. name: userid
  30316. type: integer
  30317. produces:
  30318. - application/json
  30319. responses:
  30320. "200":
  30321. description: OK
  30322. schema:
  30323. items:
  30324. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  30325. type: array
  30326. "500":
  30327. description: Internal Server Error
  30328. schema:
  30329. $ref: '#/definitions/app.Response'
  30330. security:
  30331. - ApiKeyAuth: []
  30332. summary: 查询企业配置表
  30333. tags:
  30334. - 大连千海金
  30335. /Qhj/QueryBankAccountSign:
  30336. get:
  30337. parameters:
  30338. - description: 用户ID
  30339. in: query
  30340. name: userid
  30341. required: true
  30342. type: integer
  30343. produces:
  30344. - application/json
  30345. responses:
  30346. "200":
  30347. description: OK
  30348. schema:
  30349. items:
  30350. $ref: '#/definitions/models.QhjBankAccountSign'
  30351. type: array
  30352. "500":
  30353. description: Internal Server Error
  30354. schema:
  30355. $ref: '#/definitions/app.Response'
  30356. security:
  30357. - ApiKeyAuth: []
  30358. summary: 查询签约银行信息(提现账户管理)
  30359. tags:
  30360. - 大连千海金
  30361. /Qhj/QueryBankInfo:
  30362. get:
  30363. produces:
  30364. - application/json
  30365. responses:
  30366. "200":
  30367. description: OK
  30368. schema:
  30369. items:
  30370. $ref: '#/definitions/models.QhjBankInfo'
  30371. type: array
  30372. "500":
  30373. description: Internal Server Error
  30374. schema:
  30375. $ref: '#/definitions/app.Response'
  30376. security:
  30377. - ApiKeyAuth: []
  30378. summary: 查询开户行
  30379. tags:
  30380. - 大连千海金
  30381. /Qhj/QueryBrokerApply:
  30382. get:
  30383. parameters:
  30384. - description: 所属机构ID
  30385. in: query
  30386. name: userid
  30387. type: integer
  30388. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  30389. in: query
  30390. name: filterstatus
  30391. type: string
  30392. produces:
  30393. - application/json
  30394. responses:
  30395. "200":
  30396. description: OK
  30397. schema:
  30398. items:
  30399. $ref: '#/definitions/models.QhjBrokerApply'
  30400. type: array
  30401. "500":
  30402. description: Internal Server Error
  30403. schema:
  30404. $ref: '#/definitions/app.Response'
  30405. security:
  30406. - ApiKeyAuth: []
  30407. summary: 查询经纪人申请
  30408. tags:
  30409. - 大连千海金
  30410. /Qhj/QueryBrokerApplyEx:
  30411. get:
  30412. parameters:
  30413. - description: 所属机构ID
  30414. in: query
  30415. name: userid
  30416. type: integer
  30417. produces:
  30418. - application/json
  30419. responses:
  30420. "200":
  30421. description: OK
  30422. schema:
  30423. items:
  30424. $ref: '#/definitions/models.QhjBrokerApplyEx'
  30425. type: array
  30426. "500":
  30427. description: Internal Server Error
  30428. schema:
  30429. $ref: '#/definitions/app.Response'
  30430. security:
  30431. - ApiKeyAuth: []
  30432. summary: 查询经纪人信息和申请记录
  30433. tags:
  30434. - 大连千海金
  30435. /Qhj/QueryBrokerRewardLog:
  30436. get:
  30437. parameters:
  30438. - description: 用户ID
  30439. in: query
  30440. name: userid
  30441. required: true
  30442. type: integer
  30443. - description: 开始交易日(yyyymmdd)
  30444. in: query
  30445. name: begindate
  30446. type: string
  30447. - description: 结束交易日(yyyymmdd)
  30448. in: query
  30449. name: enddate
  30450. type: string
  30451. produces:
  30452. - application/json
  30453. responses:
  30454. "200":
  30455. description: OK
  30456. schema:
  30457. items:
  30458. $ref: '#/definitions/models.QhjBrokerRewardLog'
  30459. type: array
  30460. "500":
  30461. description: Internal Server Error
  30462. schema:
  30463. $ref: '#/definitions/app.Response'
  30464. security:
  30465. - ApiKeyAuth: []
  30466. summary: 查询奖励流水(我的奖励)
  30467. tags:
  30468. - 大连千海金
  30469. /Qhj/QueryContract:
  30470. get:
  30471. parameters:
  30472. - description: 用户ID
  30473. in: query
  30474. name: userid
  30475. type: integer
  30476. - description: scf合同id
  30477. in: query
  30478. name: scfcontractid
  30479. type: integer
  30480. produces:
  30481. - application/json
  30482. responses:
  30483. "200":
  30484. description: OK
  30485. schema:
  30486. items:
  30487. $ref: '#/definitions/models.QhjContract'
  30488. type: array
  30489. "500":
  30490. description: Internal Server Error
  30491. schema:
  30492. $ref: '#/definitions/app.Response'
  30493. security:
  30494. - ApiKeyAuth: []
  30495. summary: 查询融资明细(合同)
  30496. tags:
  30497. - 大连千海金
  30498. /Qhj/QueryContractLog:
  30499. get:
  30500. parameters:
  30501. - description: scf合同id
  30502. in: query
  30503. name: scfcontractid
  30504. required: true
  30505. type: integer
  30506. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  30507. in: query
  30508. name: amounttype
  30509. type: string
  30510. produces:
  30511. - application/json
  30512. responses:
  30513. "200":
  30514. description: OK
  30515. schema:
  30516. items:
  30517. $ref: '#/definitions/models.QhjContractLog'
  30518. type: array
  30519. "500":
  30520. description: Internal Server Error
  30521. schema:
  30522. $ref: '#/definitions/app.Response'
  30523. security:
  30524. - ApiKeyAuth: []
  30525. summary: 查询融资明细流水(融资明细详情页中的流水)
  30526. tags:
  30527. - 大连千海金
  30528. /Qhj/QueryCusBankSignBank:
  30529. get:
  30530. produces:
  30531. - application/json
  30532. responses:
  30533. "200":
  30534. description: OK
  30535. schema:
  30536. items:
  30537. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  30538. type: array
  30539. "500":
  30540. description: Internal Server Error
  30541. schema:
  30542. $ref: '#/definitions/app.Response'
  30543. security:
  30544. - ApiKeyAuth: []
  30545. summary: 查询托管银行
  30546. tags:
  30547. - 大连千海金
  30548. /Qhj/QueryCustomerInfo:
  30549. get:
  30550. parameters:
  30551. - description: 用户ID
  30552. in: query
  30553. name: userid
  30554. required: true
  30555. type: integer
  30556. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  30557. in: query
  30558. name: querytype
  30559. required: true
  30560. type: integer
  30561. - description: 客户类型 1-个人 2-企业
  30562. in: query
  30563. name: userinfotype
  30564. type: integer
  30565. - description: 客户名称(模糊匹配)
  30566. in: query
  30567. name: customername
  30568. type: string
  30569. - description: 昵称(模糊匹配)
  30570. in: query
  30571. name: nickname
  30572. type: string
  30573. - description: 是否包含子级 1-包含
  30574. in: query
  30575. name: includesub
  30576. type: integer
  30577. produces:
  30578. - application/json
  30579. responses:
  30580. "200":
  30581. description: OK
  30582. schema:
  30583. items:
  30584. $ref: '#/definitions/models.QhjCustomer'
  30585. type: array
  30586. "500":
  30587. description: Internal Server Error
  30588. schema:
  30589. $ref: '#/definitions/app.Response'
  30590. security:
  30591. - ApiKeyAuth: []
  30592. summary: 查询客户资料
  30593. tags:
  30594. - 大连千海金
  30595. /Qhj/QueryGoodsEx:
  30596. get:
  30597. parameters:
  30598. - description: 商品id
  30599. in: query
  30600. name: goodsid
  30601. type: integer
  30602. produces:
  30603. - application/json
  30604. responses:
  30605. "200":
  30606. description: OK
  30607. schema:
  30608. items:
  30609. $ref: '#/definitions/models.Qhjgoodsex'
  30610. type: array
  30611. "500":
  30612. description: Internal Server Error
  30613. schema:
  30614. $ref: '#/definitions/app.Response'
  30615. security:
  30616. - ApiKeyAuth: []
  30617. summary: 交易商品扩展表
  30618. tags:
  30619. - 大连千海金
  30620. /Qhj/QueryMyTeam:
  30621. get:
  30622. parameters:
  30623. - description: 用户ID
  30624. in: query
  30625. name: userid
  30626. required: true
  30627. type: integer
  30628. produces:
  30629. - application/json
  30630. responses:
  30631. "200":
  30632. description: OK
  30633. schema:
  30634. items:
  30635. $ref: '#/definitions/models.QhjMyTeamEx'
  30636. type: array
  30637. "500":
  30638. description: Internal Server Error
  30639. schema:
  30640. $ref: '#/definitions/app.Response'
  30641. security:
  30642. - ApiKeyAuth: []
  30643. summary: 查询我的团队
  30644. tags:
  30645. - 大连千海金
  30646. /Qhj/QueryMyTeamOrder:
  30647. get:
  30648. parameters:
  30649. - description: 页码
  30650. in: query
  30651. name: page
  30652. type: integer
  30653. - description: 每页条数
  30654. in: query
  30655. name: pagesize
  30656. type: integer
  30657. - description: 用户ID
  30658. in: query
  30659. name: userid
  30660. required: true
  30661. type: integer
  30662. - description: 交易模式
  30663. in: query
  30664. name: trademode
  30665. type: integer
  30666. - description: 名称(模糊搜索账户)
  30667. in: query
  30668. name: filtername
  30669. type: string
  30670. produces:
  30671. - application/json
  30672. responses:
  30673. "200":
  30674. description: OK
  30675. schema:
  30676. items:
  30677. $ref: '#/definitions/models.QhjTeamOrder'
  30678. type: array
  30679. "500":
  30680. description: Internal Server Error
  30681. schema:
  30682. $ref: '#/definitions/app.Response'
  30683. security:
  30684. - ApiKeyAuth: []
  30685. summary: 查询团队订单(我的团队/团队订单)
  30686. tags:
  30687. - 大连千海金
  30688. /Qhj/QueryParentAreaList:
  30689. get:
  30690. parameters:
  30691. - description: 用户ID
  30692. in: query
  30693. name: userid
  30694. required: true
  30695. type: integer
  30696. produces:
  30697. - application/json
  30698. responses:
  30699. "200":
  30700. description: OK
  30701. schema:
  30702. items:
  30703. $ref: '#/definitions/models.QhjParentAreaList'
  30704. type: array
  30705. "500":
  30706. description: Internal Server Error
  30707. schema:
  30708. $ref: '#/definitions/app.Response'
  30709. security:
  30710. - ApiKeyAuth: []
  30711. summary: 查询所属机构列表
  30712. tags:
  30713. - 大连千海金
  30714. /Qhj/QueryPayOrder:
  30715. get:
  30716. parameters:
  30717. - description: 资金账号id
  30718. in: query
  30719. name: accountid
  30720. required: true
  30721. type: integer
  30722. - description: 成交单号
  30723. in: query
  30724. name: tradeid
  30725. type: integer
  30726. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  30727. in: query
  30728. name: payflag
  30729. type: string
  30730. produces:
  30731. - application/json
  30732. responses:
  30733. "200":
  30734. description: OK
  30735. schema:
  30736. items:
  30737. $ref: '#/definitions/models.QhjPayOrder'
  30738. type: array
  30739. "500":
  30740. description: Internal Server Error
  30741. schema:
  30742. $ref: '#/definitions/app.Response'
  30743. security:
  30744. - ApiKeyAuth: []
  30745. summary: 查询待付款单据
  30746. tags:
  30747. - 大连千海金
  30748. /Qhj/QueryPickArea:
  30749. get:
  30750. parameters:
  30751. - description: 用户ID
  30752. in: query
  30753. name: userid
  30754. type: integer
  30755. produces:
  30756. - application/json
  30757. responses:
  30758. "200":
  30759. description: OK
  30760. schema:
  30761. items:
  30762. $ref: '#/definitions/models.QhjPickArea'
  30763. type: array
  30764. "500":
  30765. description: Internal Server Error
  30766. schema:
  30767. $ref: '#/definitions/app.Response'
  30768. security:
  30769. - ApiKeyAuth: []
  30770. summary: 查询提货门店
  30771. tags:
  30772. - 大连千海金
  30773. /Qhj/QueryPickGoods:
  30774. get:
  30775. parameters:
  30776. - description: 交易商品id
  30777. in: query
  30778. name: goodsid
  30779. required: true
  30780. type: integer
  30781. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  30782. in: query
  30783. name: status
  30784. type: string
  30785. produces:
  30786. - application/json
  30787. responses:
  30788. "200":
  30789. description: OK
  30790. schema:
  30791. items:
  30792. $ref: '#/definitions/models.QhjPickGoods'
  30793. type: array
  30794. "500":
  30795. description: Internal Server Error
  30796. schema:
  30797. $ref: '#/definitions/app.Response'
  30798. security:
  30799. - ApiKeyAuth: []
  30800. summary: 查询提货商品
  30801. tags:
  30802. - 大连千海金
  30803. /Qhj/QueryRSTriggerLog:
  30804. get:
  30805. parameters:
  30806. - description: 用户ID
  30807. in: query
  30808. name: userid
  30809. type: integer
  30810. - description: 定投策略id
  30811. in: query
  30812. name: regularlystrategyid
  30813. type: integer
  30814. - description: 商品id
  30815. in: query
  30816. name: goodsid
  30817. type: integer
  30818. - description: 开始交易日(yyyymmdd)
  30819. in: query
  30820. name: begindate
  30821. type: string
  30822. - description: 结束交易日(yyyymmdd)
  30823. in: query
  30824. name: enddate
  30825. type: string
  30826. - description: 名称(模糊搜索账户)
  30827. in: query
  30828. name: filtername
  30829. type: string
  30830. produces:
  30831. - application/json
  30832. responses:
  30833. "200":
  30834. description: OK
  30835. schema:
  30836. items:
  30837. $ref: '#/definitions/models.QhjRSTriggerLog'
  30838. type: array
  30839. "500":
  30840. description: Internal Server Error
  30841. schema:
  30842. $ref: '#/definitions/app.Response'
  30843. security:
  30844. - ApiKeyAuth: []
  30845. summary: 查询定投记录(定投管理/详情/定投记录)
  30846. tags:
  30847. - 大连千海金
  30848. /Qhj/QueryRStrategy:
  30849. get:
  30850. parameters:
  30851. - description: 用户ID
  30852. in: query
  30853. name: userid
  30854. type: integer
  30855. - description: 商品id
  30856. in: query
  30857. name: goodsid
  30858. type: integer
  30859. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  30860. in: query
  30861. name: status
  30862. type: string
  30863. - description: 名称(模糊搜索账户)
  30864. in: query
  30865. name: filtername
  30866. type: string
  30867. produces:
  30868. - application/json
  30869. responses:
  30870. "200":
  30871. description: OK
  30872. schema:
  30873. items:
  30874. $ref: '#/definitions/models.QhjRStrategy'
  30875. type: array
  30876. "500":
  30877. description: Internal Server Error
  30878. schema:
  30879. $ref: '#/definitions/app.Response'
  30880. security:
  30881. - ApiKeyAuth: []
  30882. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  30883. tags:
  30884. - 大连千海金
  30885. /Qhj/QueryReckonPriceLog:
  30886. get:
  30887. parameters:
  30888. - description: 商品ID
  30889. in: query
  30890. name: goodsid
  30891. type: integer
  30892. - description: 交易日 格式(yyyymmdd)
  30893. in: query
  30894. name: tradedate
  30895. type: string
  30896. produces:
  30897. - application/json
  30898. responses:
  30899. "200":
  30900. description: OK
  30901. schema:
  30902. items:
  30903. $ref: '#/definitions/models.QhjReckonPriceLog'
  30904. type: array
  30905. "500":
  30906. description: Internal Server Error
  30907. schema:
  30908. $ref: '#/definitions/app.Response'
  30909. security:
  30910. - ApiKeyAuth: []
  30911. summary: 查询定投价(结算价)
  30912. tags:
  30913. - 大连千海金
  30914. /Qhj/QueryScoreLog:
  30915. get:
  30916. parameters:
  30917. - description: 用户ID
  30918. in: query
  30919. name: userid
  30920. required: true
  30921. type: integer
  30922. - description: 开始交易日(yyyymmdd)
  30923. in: query
  30924. name: begindate
  30925. type: string
  30926. - description: 结束交易日(yyyymmdd)
  30927. in: query
  30928. name: enddate
  30929. type: string
  30930. - description: 最近多少条
  30931. in: query
  30932. name: lastnum
  30933. type: integer
  30934. produces:
  30935. - application/json
  30936. responses:
  30937. "200":
  30938. description: OK
  30939. schema:
  30940. items:
  30941. $ref: '#/definitions/models.QhjScoreLog'
  30942. type: array
  30943. "500":
  30944. description: Internal Server Error
  30945. schema:
  30946. $ref: '#/definitions/app.Response'
  30947. security:
  30948. - ApiKeyAuth: []
  30949. summary: 查询积分流水(我的积分)
  30950. tags:
  30951. - 大连千海金
  30952. /Qhj/QuerySiteColumnDetail:
  30953. get:
  30954. parameters:
  30955. - description: 用户ID
  30956. in: query
  30957. name: userid
  30958. required: true
  30959. type: integer
  30960. produces:
  30961. - application/json
  30962. responses:
  30963. "200":
  30964. description: OK
  30965. schema:
  30966. items:
  30967. $ref: '#/definitions/models.QhjSiteColumnDetail'
  30968. type: array
  30969. "500":
  30970. description: Internal Server Error
  30971. schema:
  30972. $ref: '#/definitions/app.Response'
  30973. security:
  30974. - ApiKeyAuth: []
  30975. summary: 查询资讯
  30976. tags:
  30977. - 大连千海金
  30978. /Qhj/QueryTradeGoodsPickup:
  30979. get:
  30980. parameters:
  30981. - description: 用户ID
  30982. in: query
  30983. name: userid
  30984. required: true
  30985. type: integer
  30986. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  30987. 7:已拒绝 8:已撤销
  30988. in: query
  30989. name: takeorderstatus
  30990. type: integer
  30991. produces:
  30992. - application/json
  30993. responses:
  30994. "200":
  30995. description: OK
  30996. schema:
  30997. items:
  30998. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  30999. type: array
  31000. "500":
  31001. description: Internal Server Error
  31002. schema:
  31003. $ref: '#/definitions/app.Response'
  31004. security:
  31005. - ApiKeyAuth: []
  31006. summary: 查询提货
  31007. tags:
  31008. - 大连千海金
  31009. /Qhj/QueryUserCollectConfig:
  31010. get:
  31011. parameters:
  31012. - description: 用户ID
  31013. in: query
  31014. name: userid
  31015. required: true
  31016. type: integer
  31017. produces:
  31018. - application/json
  31019. responses:
  31020. "200":
  31021. description: OK
  31022. schema:
  31023. items:
  31024. $ref: '#/definitions/models.UserCollectConfig'
  31025. type: array
  31026. "500":
  31027. description: Internal Server Error
  31028. schema:
  31029. $ref: '#/definitions/app.Response'
  31030. security:
  31031. - ApiKeyAuth: []
  31032. summary: 查询提现账户设置
  31033. tags:
  31034. - 大连千海金
  31035. /Qhj/QueryUserReceiveInfo:
  31036. get:
  31037. parameters:
  31038. - description: 用户ID
  31039. in: query
  31040. name: userid
  31041. required: true
  31042. type: integer
  31043. produces:
  31044. - application/json
  31045. responses:
  31046. "200":
  31047. description: OK
  31048. schema:
  31049. items:
  31050. $ref: '#/definitions/models.UserReceiveInfo'
  31051. type: array
  31052. "500":
  31053. description: Internal Server Error
  31054. schema:
  31055. $ref: '#/definitions/app.Response'
  31056. security:
  31057. - ApiKeyAuth: []
  31058. summary: 查询收货地址信息
  31059. tags:
  31060. - 大连千海金
  31061. /QhjMgr/QueryAccountInOutApply:
  31062. get:
  31063. parameters:
  31064. - description: 查询类型 1-提现(出金) 2-充值(出金)
  31065. in: query
  31066. name: querytype
  31067. required: true
  31068. type: integer
  31069. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  31070. in: query
  31071. name: applystatus
  31072. type: integer
  31073. - description: 申请起始日期(格式yyyymmdd)
  31074. in: query
  31075. name: begindate
  31076. type: string
  31077. - description: 申请截止日期(格式yyyymmdd)
  31078. in: query
  31079. name: enddate
  31080. type: string
  31081. - description: 模糊搜索名称
  31082. in: query
  31083. name: likename
  31084. type: string
  31085. produces:
  31086. - application/json
  31087. responses:
  31088. "200":
  31089. description: OK
  31090. schema:
  31091. items:
  31092. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  31093. type: array
  31094. "500":
  31095. description: Internal Server Error
  31096. schema:
  31097. $ref: '#/definitions/app.Response'
  31098. security:
  31099. - ApiKeyAuth: []
  31100. summary: 查询充值提现
  31101. tags:
  31102. - 大连千海金(PCWeb)
  31103. /QhjMgr/QueryBrokerApply:
  31104. get:
  31105. parameters:
  31106. - description: 所属机构ID
  31107. in: query
  31108. name: userid
  31109. type: integer
  31110. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  31111. in: query
  31112. name: filterstatus
  31113. type: string
  31114. - description: 名称(模糊匹配)
  31115. in: query
  31116. name: filtername
  31117. type: string
  31118. - description: 是否包含子级 1-包含
  31119. in: query
  31120. name: includesub
  31121. type: integer
  31122. produces:
  31123. - application/json
  31124. responses:
  31125. "200":
  31126. description: OK
  31127. schema:
  31128. items:
  31129. $ref: '#/definitions/models.QhjMgrBrokerApply'
  31130. type: array
  31131. "500":
  31132. description: Internal Server Error
  31133. schema:
  31134. $ref: '#/definitions/app.Response'
  31135. security:
  31136. - ApiKeyAuth: []
  31137. summary: 查询经纪人申请
  31138. tags:
  31139. - 大连千海金(PCWeb)
  31140. /QhjMgr/QueryBrokerRewardReport:
  31141. get:
  31142. parameters:
  31143. - description: 所属机构ID
  31144. in: query
  31145. name: userid
  31146. required: true
  31147. type: integer
  31148. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  31149. in: query
  31150. name: cycletype
  31151. required: true
  31152. type: integer
  31153. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  31154. in: query
  31155. name: cycletime
  31156. required: true
  31157. type: string
  31158. - description: 名称(模糊匹配)
  31159. in: query
  31160. name: filtername
  31161. type: string
  31162. - description: 是否包含子级 1-包含
  31163. in: query
  31164. name: includesub
  31165. type: integer
  31166. produces:
  31167. - application/json
  31168. responses:
  31169. "200":
  31170. description: OK
  31171. schema:
  31172. items:
  31173. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  31174. type: array
  31175. "500":
  31176. description: Internal Server Error
  31177. schema:
  31178. $ref: '#/definitions/app.Response'
  31179. security:
  31180. - ApiKeyAuth: []
  31181. summary: 查询经纪人奖励报表(废弃)
  31182. tags:
  31183. - 大连千海金(PCWeb)
  31184. /QhjMgr/QueryContract:
  31185. get:
  31186. parameters:
  31187. - description: 用户ID
  31188. in: query
  31189. name: userid
  31190. type: integer
  31191. - description: 商品id
  31192. in: query
  31193. name: goodsid
  31194. type: integer
  31195. - description: 名称(模糊搜索账户)
  31196. in: query
  31197. name: filtername
  31198. type: string
  31199. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  31200. in: query
  31201. name: risklevel
  31202. type: string
  31203. - description: 开始交易日(yyyymmdd)
  31204. in: query
  31205. name: begindate
  31206. type: string
  31207. - description: 结束交易日(yyyymmdd)
  31208. in: query
  31209. name: enddate
  31210. type: string
  31211. produces:
  31212. - application/json
  31213. responses:
  31214. "200":
  31215. description: OK
  31216. schema:
  31217. items:
  31218. $ref: '#/definitions/models.QhjMgrContract'
  31219. type: array
  31220. "500":
  31221. description: Internal Server Error
  31222. schema:
  31223. $ref: '#/definitions/app.Response'
  31224. security:
  31225. - ApiKeyAuth: []
  31226. summary: 查询融资信息(合同)
  31227. tags:
  31228. - 大连千海金(PCWeb)
  31229. /QhjMgr/QueryCustomerInfo:
  31230. get:
  31231. parameters:
  31232. - description: 用户ID
  31233. in: query
  31234. name: userid
  31235. required: true
  31236. type: integer
  31237. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  31238. in: query
  31239. name: querytype
  31240. required: true
  31241. type: integer
  31242. - description: 客户类型 1-个人 2-企业
  31243. in: query
  31244. name: userinfotype
  31245. type: integer
  31246. - description: 客户名称(模糊匹配)
  31247. in: query
  31248. name: customername
  31249. type: string
  31250. - description: 昵称(模糊匹配)
  31251. in: query
  31252. name: nickname
  31253. type: string
  31254. - description: 所属客户经理(模糊匹配)
  31255. in: query
  31256. name: brokername
  31257. type: string
  31258. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  31259. 如0503 -5月3日)
  31260. in: query
  31261. name: birthday
  31262. type: string
  31263. - description: 是否包含子级 1-包含
  31264. in: query
  31265. name: includesub
  31266. type: integer
  31267. produces:
  31268. - application/json
  31269. responses:
  31270. "200":
  31271. description: OK
  31272. schema:
  31273. items:
  31274. $ref: '#/definitions/models.QhjMgrCustomer'
  31275. type: array
  31276. "500":
  31277. description: Internal Server Error
  31278. schema:
  31279. $ref: '#/definitions/app.Response'
  31280. security:
  31281. - ApiKeyAuth: []
  31282. summary: 查询客户资料
  31283. tags:
  31284. - 大连千海金(PCWeb)
  31285. /QhjMgr/QueryPickGoods:
  31286. get:
  31287. parameters:
  31288. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  31289. in: query
  31290. name: status
  31291. type: string
  31292. produces:
  31293. - application/json
  31294. responses:
  31295. "200":
  31296. description: OK
  31297. schema:
  31298. items:
  31299. $ref: '#/definitions/models.QhjMgrPickGoods'
  31300. type: array
  31301. "500":
  31302. description: Internal Server Error
  31303. schema:
  31304. $ref: '#/definitions/app.Response'
  31305. security:
  31306. - ApiKeyAuth: []
  31307. summary: 查询提货商品
  31308. tags:
  31309. - 大连千海金(PCWeb)
  31310. /QhjMgr/QuerySubArea:
  31311. get:
  31312. parameters:
  31313. - description: 用户ID
  31314. in: query
  31315. name: userid
  31316. required: true
  31317. type: integer
  31318. produces:
  31319. - application/json
  31320. responses:
  31321. "200":
  31322. description: OK
  31323. schema:
  31324. items:
  31325. $ref: '#/definitions/models.QhjMgrSubArea'
  31326. type: array
  31327. "500":
  31328. description: Internal Server Error
  31329. schema:
  31330. $ref: '#/definitions/app.Response'
  31331. security:
  31332. - ApiKeyAuth: []
  31333. summary: 查询子机构列表
  31334. tags:
  31335. - 大连千海金(PCWeb)
  31336. /QhjMgr/QueryTradeDetail:
  31337. get:
  31338. parameters:
  31339. - description: 用户ID
  31340. in: query
  31341. name: userid
  31342. required: true
  31343. type: integer
  31344. - description: 用户类型 1-个人 2-企业
  31345. in: query
  31346. name: userinfotype
  31347. type: integer
  31348. - description: 交易模式
  31349. in: query
  31350. name: trademode
  31351. type: integer
  31352. - description: 商品id
  31353. in: query
  31354. name: goodsid
  31355. type: integer
  31356. - description: 名称(模糊搜索账户)
  31357. in: query
  31358. name: filtername
  31359. type: string
  31360. - description: 开始交易日(yyyymmdd)
  31361. in: query
  31362. name: begindate
  31363. type: string
  31364. - description: 结束交易日(yyyymmdd)
  31365. in: query
  31366. name: enddate
  31367. type: string
  31368. - description: 是否包含子级 1-包含
  31369. in: query
  31370. name: includesub
  31371. type: integer
  31372. produces:
  31373. - application/json
  31374. responses:
  31375. "200":
  31376. description: OK
  31377. schema:
  31378. items:
  31379. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  31380. type: array
  31381. "500":
  31382. description: Internal Server Error
  31383. schema:
  31384. $ref: '#/definitions/app.Response'
  31385. security:
  31386. - ApiKeyAuth: []
  31387. summary: 查询成交明细
  31388. tags:
  31389. - 大连千海金(PCWeb)
  31390. /QhjMgr/QueryTradeOrderDetail:
  31391. get:
  31392. parameters:
  31393. - description: 用户ID
  31394. in: query
  31395. name: userid
  31396. required: true
  31397. type: integer
  31398. - description: 用户类型 1-个人 2-企业
  31399. in: query
  31400. name: userinfotype
  31401. type: integer
  31402. - description: 交易模式
  31403. in: query
  31404. name: trademode
  31405. type: integer
  31406. - description: 商品id
  31407. in: query
  31408. name: goodsid
  31409. type: integer
  31410. - description: 名称(模糊搜索账户)
  31411. in: query
  31412. name: filtername
  31413. type: string
  31414. - description: 开始交易日(yyyymmdd)
  31415. in: query
  31416. name: begindate
  31417. type: string
  31418. - description: 结束交易日(yyyymmdd)
  31419. in: query
  31420. name: enddate
  31421. type: string
  31422. - description: 是否包含子级 1-包含
  31423. in: query
  31424. name: includesub
  31425. type: integer
  31426. produces:
  31427. - application/json
  31428. responses:
  31429. "200":
  31430. description: OK
  31431. schema:
  31432. items:
  31433. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  31434. type: array
  31435. "500":
  31436. description: Internal Server Error
  31437. schema:
  31438. $ref: '#/definitions/app.Response'
  31439. security:
  31440. - ApiKeyAuth: []
  31441. summary: 查询委托明细
  31442. tags:
  31443. - 大连千海金(PCWeb)
  31444. /QhjMgr/QueryTradePayOrder:
  31445. get:
  31446. parameters:
  31447. - description: 用户ID
  31448. in: query
  31449. name: userid
  31450. required: true
  31451. type: integer
  31452. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  31453. in: query
  31454. name: payflag
  31455. type: string
  31456. - description: 用户类型 1-个人 2-企业
  31457. in: query
  31458. name: userinfotype
  31459. type: integer
  31460. - description: 交易模式
  31461. in: query
  31462. name: trademode
  31463. type: integer
  31464. - description: 商品id
  31465. in: query
  31466. name: goodsid
  31467. type: integer
  31468. - description: 名称(模糊搜索账户)
  31469. in: query
  31470. name: filtername
  31471. type: string
  31472. - description: 开始交易日(yyyymmdd)
  31473. in: query
  31474. name: begindate
  31475. type: string
  31476. - description: 结束交易日(yyyymmdd)
  31477. in: query
  31478. name: enddate
  31479. type: string
  31480. - description: 是否包含子级 1-包含
  31481. in: query
  31482. name: includesub
  31483. type: integer
  31484. produces:
  31485. - application/json
  31486. responses:
  31487. "200":
  31488. description: OK
  31489. schema:
  31490. items:
  31491. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  31492. type: array
  31493. "500":
  31494. description: Internal Server Error
  31495. schema:
  31496. $ref: '#/definitions/app.Response'
  31497. security:
  31498. - ApiKeyAuth: []
  31499. summary: 查询待付款单
  31500. tags:
  31501. - 大连千海金(PCWeb)
  31502. /QhjMgr/QueryTradePosition:
  31503. get:
  31504. parameters:
  31505. - description: 用户ID
  31506. in: query
  31507. name: userid
  31508. required: true
  31509. type: integer
  31510. - description: 用户类型 1-个人 2-企业
  31511. in: query
  31512. name: userinfotype
  31513. type: integer
  31514. - description: 交易模式
  31515. in: query
  31516. name: trademode
  31517. type: integer
  31518. - description: 商品id
  31519. in: query
  31520. name: goodsid
  31521. type: integer
  31522. - description: 名称(模糊搜索账户)
  31523. in: query
  31524. name: filtername
  31525. type: string
  31526. - description: 是否包含子级 1-包含
  31527. in: query
  31528. name: includesub
  31529. type: integer
  31530. produces:
  31531. - application/json
  31532. responses:
  31533. "200":
  31534. description: OK
  31535. schema:
  31536. items:
  31537. $ref: '#/definitions/models.QhjMgrPositionRsp'
  31538. type: array
  31539. "500":
  31540. description: Internal Server Error
  31541. schema:
  31542. $ref: '#/definitions/app.Response'
  31543. security:
  31544. - ApiKeyAuth: []
  31545. summary: 查询持仓汇总
  31546. tags:
  31547. - 大连千海金(PCWeb)
  31548. /QhjSys/QueryAgreementChangeLog:
  31549. get:
  31550. parameters:
  31551. - description: 协议ID
  31552. in: query
  31553. name: agreementid
  31554. type: integer
  31555. - description: 协议版本号
  31556. in: query
  31557. name: agreementversion
  31558. type: integer
  31559. - description: 协议类型 - 1:注册 2:登录 3:交易
  31560. in: query
  31561. name: agreementtype
  31562. type: integer
  31563. - description: 协议编号(模糊匹配)
  31564. in: query
  31565. name: agreementno
  31566. type: string
  31567. - description: 协议名称(模糊匹配)
  31568. in: query
  31569. name: agreementname
  31570. type: string
  31571. produces:
  31572. - application/json
  31573. responses:
  31574. "200":
  31575. description: OK
  31576. schema:
  31577. items:
  31578. $ref: '#/definitions/models.QhjAgreementChangeLog'
  31579. type: array
  31580. "500":
  31581. description: Internal Server Error
  31582. schema:
  31583. $ref: '#/definitions/app.Response'
  31584. security:
  31585. - ApiKeyAuth: []
  31586. summary: 查询协议配置变更流水
  31587. tags:
  31588. - 大连千海金(协议和签约信息)
  31589. /QhjSys/QueryAgreementConfig:
  31590. get:
  31591. parameters:
  31592. - description: 协议ID
  31593. in: query
  31594. name: agreementid
  31595. type: integer
  31596. - description: 协议版本号
  31597. in: query
  31598. name: agreementversion
  31599. type: integer
  31600. - description: 协议类型 - 1:注册 2:登录 3:交易
  31601. in: query
  31602. name: agreementtype
  31603. type: integer
  31604. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  31605. in: query
  31606. name: isvalid
  31607. type: integer
  31608. - description: 协议编号(模糊匹配)
  31609. in: query
  31610. name: agreementno
  31611. type: string
  31612. - description: 协议名称(模糊匹配)
  31613. in: query
  31614. name: agreementname
  31615. type: string
  31616. produces:
  31617. - application/json
  31618. responses:
  31619. "200":
  31620. description: OK
  31621. schema:
  31622. items:
  31623. $ref: '#/definitions/models.QhjAgreementConfig'
  31624. type: array
  31625. "500":
  31626. description: Internal Server Error
  31627. schema:
  31628. $ref: '#/definitions/app.Response'
  31629. security:
  31630. - ApiKeyAuth: []
  31631. summary: 查询协议配置
  31632. tags:
  31633. - 大连千海金(协议和签约信息)
  31634. /QhjSys/QueryCustomerSignStatus:
  31635. get:
  31636. parameters:
  31637. - description: 客户ID
  31638. in: query
  31639. name: userid
  31640. type: integer
  31641. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  31642. in: query
  31643. name: nodetype
  31644. type: integer
  31645. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31646. in: query
  31647. name: goodsid
  31648. type: integer
  31649. - description: 创建交易日(yyyyMMdd)
  31650. in: query
  31651. name: tradedate
  31652. type: string
  31653. - description: 用户名称(模糊匹配)
  31654. in: query
  31655. name: username
  31656. type: string
  31657. produces:
  31658. - application/json
  31659. responses:
  31660. "200":
  31661. description: OK
  31662. schema:
  31663. items:
  31664. $ref: '#/definitions/models.QhjCustomerSignStatus'
  31665. type: array
  31666. "500":
  31667. description: Internal Server Error
  31668. schema:
  31669. $ref: '#/definitions/app.Response'
  31670. security:
  31671. - ApiKeyAuth: []
  31672. summary: 查询客户协议签约状态
  31673. tags:
  31674. - 大连千海金(协议和签约信息)
  31675. /QhjSys/QueryNodeAgreementConfig:
  31676. get:
  31677. parameters:
  31678. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31679. in: query
  31680. name: configid
  31681. type: integer
  31682. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31683. in: query
  31684. name: nodetype
  31685. type: integer
  31686. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31687. in: query
  31688. name: goodsid
  31689. type: integer
  31690. - description: 协议ID
  31691. in: query
  31692. name: agreementid
  31693. type: integer
  31694. - description: 协议类型 - 1:注册 2:登录 3:交易
  31695. in: query
  31696. name: agreementtype
  31697. type: integer
  31698. - description: 协议版本号
  31699. in: query
  31700. name: agreementversion
  31701. type: integer
  31702. - description: 协议编号(模糊匹配)
  31703. in: query
  31704. name: agreementno
  31705. type: string
  31706. - description: 协议名称(模糊匹配)
  31707. in: query
  31708. name: agreementname
  31709. type: string
  31710. produces:
  31711. - application/json
  31712. responses:
  31713. "200":
  31714. description: OK
  31715. schema:
  31716. items:
  31717. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  31718. type: array
  31719. "500":
  31720. description: Internal Server Error
  31721. schema:
  31722. $ref: '#/definitions/app.Response'
  31723. security:
  31724. - ApiKeyAuth: []
  31725. summary: 查询协议节点配置
  31726. tags:
  31727. - 大连千海金(协议和签约信息)
  31728. /QhjSys/QueryQhjCustomerSignLog:
  31729. get:
  31730. parameters:
  31731. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  31732. in: query
  31733. name: logid
  31734. type: integer
  31735. - description: 客户ID
  31736. in: query
  31737. name: userid
  31738. type: integer
  31739. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31740. in: query
  31741. name: nodetype
  31742. type: integer
  31743. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31744. in: query
  31745. name: goodsid
  31746. type: integer
  31747. - description: 协议ID
  31748. in: query
  31749. name: agreementid
  31750. type: integer
  31751. - description: 用户名称(模糊匹配)
  31752. in: query
  31753. name: username
  31754. type: string
  31755. - description: 协议编号(模糊匹配)
  31756. in: query
  31757. name: agreementno
  31758. type: string
  31759. - description: 协议名称(模糊匹配)
  31760. in: query
  31761. name: agreementname
  31762. type: string
  31763. produces:
  31764. - application/json
  31765. responses:
  31766. "200":
  31767. description: OK
  31768. schema:
  31769. items:
  31770. $ref: '#/definitions/models.QhjCustomerSignLog'
  31771. type: array
  31772. "500":
  31773. description: Internal Server Error
  31774. schema:
  31775. $ref: '#/definitions/app.Response'
  31776. security:
  31777. - ApiKeyAuth: []
  31778. summary: 查询客户协议签约流水
  31779. tags:
  31780. - 大连千海金(协议和签约信息)
  31781. /QhjSys/QueryUserNodeCfgAndStatus:
  31782. get:
  31783. parameters:
  31784. - description: 客户ID
  31785. in: query
  31786. name: userid
  31787. type: integer
  31788. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  31789. in: query
  31790. name: configid
  31791. type: integer
  31792. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  31793. in: query
  31794. name: nodetype
  31795. type: string
  31796. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  31797. in: query
  31798. name: goodsid
  31799. type: integer
  31800. - description: 协议ID
  31801. in: query
  31802. name: agreementid
  31803. type: integer
  31804. - description: 协议类型 - 1:注册 2:登录 3:交易
  31805. in: query
  31806. name: agreementtype
  31807. type: integer
  31808. - description: 协议版本号
  31809. in: query
  31810. name: agreementversion
  31811. type: integer
  31812. - description: 协议编号(模糊匹配)
  31813. in: query
  31814. name: agreementno
  31815. type: string
  31816. - description: 协议名称(模糊匹配)
  31817. in: query
  31818. name: agreementname
  31819. type: string
  31820. produces:
  31821. - application/json
  31822. responses:
  31823. "200":
  31824. description: OK
  31825. schema:
  31826. items:
  31827. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  31828. type: array
  31829. "500":
  31830. description: Internal Server Error
  31831. schema:
  31832. $ref: '#/definitions/app.Response'
  31833. security:
  31834. - ApiKeyAuth: []
  31835. summary: 查询用户协议节点配置和状态
  31836. tags:
  31837. - 大连千海金(协议和签约信息)
  31838. /Quote/QueryHistoryDatas:
  31839. get:
  31840. parameters:
  31841. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  31842. 日线 12:周线 13:月线 14:年线'
  31843. in: query
  31844. name: cycleType
  31845. required: true
  31846. type: integer
  31847. - description: 商品代码
  31848. in: query
  31849. name: goodsCode
  31850. required: true
  31851. type: string
  31852. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31853. in: query
  31854. name: startTime
  31855. type: string
  31856. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31857. in: query
  31858. name: endTime
  31859. type: string
  31860. - description: 条数
  31861. in: query
  31862. name: count
  31863. type: integer
  31864. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31865. in: query
  31866. name: isAsc
  31867. type: boolean
  31868. produces:
  31869. - application/json
  31870. responses:
  31871. "200":
  31872. description: OK
  31873. schema:
  31874. $ref: '#/definitions/quote.HistoryData'
  31875. "500":
  31876. description: Internal Server Error
  31877. schema:
  31878. $ref: '#/definitions/app.Response'
  31879. security:
  31880. - ApiKeyAuth: []
  31881. summary: 查询行情历史数据
  31882. tags:
  31883. - 行情服务
  31884. /Quote/QueryHistoryTikDatas:
  31885. get:
  31886. parameters:
  31887. - description: 商品代码
  31888. in: query
  31889. name: goodsCode
  31890. required: true
  31891. type: string
  31892. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  31893. in: query
  31894. name: startTime
  31895. type: string
  31896. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  31897. in: query
  31898. name: endTime
  31899. type: string
  31900. - description: 条数
  31901. in: query
  31902. name: count
  31903. type: integer
  31904. - description: 是否按时间顺序排序(默认为时间倒序排序)
  31905. in: query
  31906. name: isAsc
  31907. type: boolean
  31908. produces:
  31909. - application/json
  31910. responses:
  31911. "200":
  31912. description: OK
  31913. schema:
  31914. $ref: '#/definitions/quote.HistoryTikData'
  31915. "500":
  31916. description: Internal Server Error
  31917. schema:
  31918. $ref: '#/definitions/app.Response'
  31919. security:
  31920. - ApiKeyAuth: []
  31921. summary: 查询行情Tik数据
  31922. tags:
  31923. - 行情服务
  31924. /Quote/QueryQuoteDay:
  31925. get:
  31926. parameters:
  31927. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  31928. in: query
  31929. name: goodsCodes
  31930. type: string
  31931. produces:
  31932. - application/json
  31933. responses:
  31934. "200":
  31935. description: OK
  31936. schema:
  31937. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  31938. "500":
  31939. description: Internal Server Error
  31940. schema:
  31941. $ref: '#/definitions/app.Response'
  31942. security:
  31943. - ApiKeyAuth: []
  31944. summary: 获取商品盘面信息
  31945. tags:
  31946. - 行情服务
  31947. /Quote/QueryTSData:
  31948. get:
  31949. parameters:
  31950. - description: 商品代码
  31951. in: query
  31952. name: goodsCode
  31953. required: true
  31954. type: string
  31955. produces:
  31956. - application/json
  31957. responses:
  31958. "200":
  31959. description: OK
  31960. schema:
  31961. $ref: '#/definitions/quote.QueryTSDataRsp'
  31962. "500":
  31963. description: Internal Server Error
  31964. schema:
  31965. $ref: '#/definitions/app.Response'
  31966. security:
  31967. - ApiKeyAuth: []
  31968. summary: 分时图数据查询
  31969. tags:
  31970. - 行情服务
  31971. /SZDZ/QueryConvertConfig:
  31972. get:
  31973. parameters:
  31974. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  31975. 6:交易转花生米(不设置)
  31976. in: query
  31977. name: convertType
  31978. type: integer
  31979. - description: 外部商品代码[JD\PD]
  31980. in: query
  31981. name: outerGoodsCode
  31982. type: string
  31983. - description: 内部商品ID列表[交易],格式:1,2,3
  31984. in: query
  31985. name: innerGoodsIDs
  31986. type: string
  31987. produces:
  31988. - application/json
  31989. responses:
  31990. "200":
  31991. description: OK
  31992. schema:
  31993. $ref: '#/definitions/models.Szdz3convertconfig'
  31994. "500":
  31995. description: Internal Server Error
  31996. schema:
  31997. $ref: '#/definitions/app.Response'
  31998. security:
  31999. - ApiKeyAuth: []
  32000. summary: 查询交易系统转换设置
  32001. tags:
  32002. - 定制【尚志大宗】
  32003. /SZDZ/QueryConvertLog:
  32004. get:
  32005. parameters:
  32006. - description: 资金账户 - 格式:1,2,3
  32007. in: query
  32008. name: accountID
  32009. required: true
  32010. type: string
  32011. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32012. in: query
  32013. name: startDate
  32014. type: string
  32015. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  32016. in: query
  32017. name: endDate
  32018. type: string
  32019. produces:
  32020. - application/json
  32021. responses:
  32022. "200":
  32023. description: OK
  32024. schema:
  32025. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  32026. "500":
  32027. description: Internal Server Error
  32028. schema:
  32029. $ref: '#/definitions/app.Response'
  32030. security:
  32031. - ApiKeyAuth: []
  32032. summary: 交易系统转换流水查询
  32033. tags:
  32034. - 定制【尚志大宗】
  32035. /SZDZ/QueryGoodsPickup:
  32036. get:
  32037. parameters:
  32038. - description: 资金账户 - 格式:1,2,3
  32039. in: query
  32040. name: accountID
  32041. required: true
  32042. type: string
  32043. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32044. in: query
  32045. name: takeOrderStatus
  32046. type: integer
  32047. produces:
  32048. - application/json
  32049. responses:
  32050. "200":
  32051. description: OK
  32052. schema:
  32053. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  32054. "500":
  32055. description: Internal Server Error
  32056. schema:
  32057. $ref: '#/definitions/app.Response'
  32058. security:
  32059. - ApiKeyAuth: []
  32060. summary: 商品提货单查询
  32061. tags:
  32062. - 定制【尚志大宗】
  32063. /SZDZ/QueryRecieptOrder:
  32064. get:
  32065. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32066. parameters:
  32067. - description: 页码
  32068. in: query
  32069. name: page
  32070. type: integer
  32071. - description: 每页条数
  32072. in: query
  32073. name: pagesize
  32074. type: integer
  32075. - description: 商品ID
  32076. in: query
  32077. name: goodsID
  32078. required: true
  32079. type: integer
  32080. - description: 所属账户名称
  32081. in: query
  32082. name: accountName
  32083. type: string
  32084. - description: 市场ID
  32085. in: query
  32086. name: marketID
  32087. type: integer
  32088. - description: 方向 - 0:买 1:卖
  32089. in: query
  32090. name: buyorsell
  32091. required: true
  32092. type: integer
  32093. produces:
  32094. - application/json
  32095. responses:
  32096. "200":
  32097. description: OK
  32098. schema:
  32099. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  32100. "500":
  32101. description: Internal Server Error
  32102. schema:
  32103. $ref: '#/definitions/app.Response'
  32104. security:
  32105. - ApiKeyAuth: []
  32106. summary: 点选挂牌委托单据查询(摘牌大厅)
  32107. tags:
  32108. - 定制【尚志大宗】
  32109. /SZDZ/QuerySZDZTradePosition:
  32110. get:
  32111. parameters:
  32112. - description: 资金账户
  32113. in: query
  32114. name: accountID
  32115. required: true
  32116. type: integer
  32117. produces:
  32118. - application/json
  32119. responses:
  32120. "200":
  32121. description: OK
  32122. schema:
  32123. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  32124. "500":
  32125. description: Internal Server Error
  32126. schema:
  32127. $ref: '#/definitions/app.Response'
  32128. security:
  32129. - ApiKeyAuth: []
  32130. summary: 持仓汇总查询(尚志大宗)
  32131. tags:
  32132. - 定制【尚志大宗】
  32133. /SZDZ/SearchWhite:
  32134. get:
  32135. parameters:
  32136. - description: 用户ID
  32137. in: query
  32138. name: userID
  32139. required: true
  32140. type: integer
  32141. produces:
  32142. - application/json
  32143. responses:
  32144. "200":
  32145. description: OK
  32146. schema:
  32147. $ref: '#/definitions/models.Szdz3searchwhitelist'
  32148. "500":
  32149. description: Internal Server Error
  32150. schema:
  32151. $ref: '#/definitions/app.Response'
  32152. security:
  32153. - ApiKeyAuth: []
  32154. summary: 搜索白名单
  32155. tags:
  32156. - 定制【尚志大宗】
  32157. /Search/SearchGoodses:
  32158. get:
  32159. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  32160. parameters:
  32161. - description: 检索内容
  32162. in: query
  32163. name: content
  32164. required: true
  32165. type: string
  32166. - description: 交易模式,格式:1,2,3
  32167. in: query
  32168. name: tradeModes
  32169. type: string
  32170. produces:
  32171. - application/json
  32172. responses:
  32173. "200":
  32174. description: OK
  32175. schema:
  32176. $ref: '#/definitions/models.SearchGoods'
  32177. "500":
  32178. description: Internal Server Error
  32179. schema:
  32180. $ref: '#/definitions/app.Response'
  32181. summary: 检索商品信息
  32182. tags:
  32183. - 检索服务
  32184. /TaAccount/GetTaAccounts:
  32185. get:
  32186. parameters:
  32187. - description: 登录账户
  32188. in: query
  32189. name: loginID
  32190. required: true
  32191. type: integer
  32192. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  32193. in: query
  32194. name: taAccountType
  32195. type: integer
  32196. produces:
  32197. - application/json
  32198. responses:
  32199. "200":
  32200. description: OK
  32201. schema:
  32202. $ref: '#/definitions/models.Taaccount'
  32203. "500":
  32204. description: Internal Server Error
  32205. schema:
  32206. $ref: '#/definitions/app.Response'
  32207. security:
  32208. - ApiKeyAuth: []
  32209. summary: 获取资金账户信息
  32210. tags:
  32211. - 资金账户
  32212. /TaAccount/QueryAmountLog:
  32213. get:
  32214. parameters:
  32215. - description: 页码
  32216. in: query
  32217. name: page
  32218. type: integer
  32219. - description: 每页条数
  32220. in: query
  32221. name: pagesize
  32222. type: integer
  32223. - description: 资金账户 - 格式:1,2,3
  32224. in: query
  32225. name: accountID
  32226. required: true
  32227. type: string
  32228. - description: 资金操作类型 - 格式:1,2,3
  32229. in: query
  32230. name: OperateType
  32231. type: string
  32232. produces:
  32233. - application/json
  32234. responses:
  32235. "200":
  32236. description: OK
  32237. schema:
  32238. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  32239. "500":
  32240. description: Internal Server Error
  32241. schema:
  32242. $ref: '#/definitions/app.Response'
  32243. security:
  32244. - ApiKeyAuth: []
  32245. summary: 资金流水查询(当前)
  32246. tags:
  32247. - 资金账户
  32248. /TaAccount/QueryHisAmountLog:
  32249. get:
  32250. parameters:
  32251. - description: 页码
  32252. in: query
  32253. name: page
  32254. type: integer
  32255. - description: 每页条数
  32256. in: query
  32257. name: pagesize
  32258. type: integer
  32259. - description: 资金账户 - 格式:1,2,3
  32260. in: query
  32261. name: accountID
  32262. required: true
  32263. type: string
  32264. - description: 资金操作类型 - 格式:1,2,3
  32265. in: query
  32266. name: OperateType
  32267. type: string
  32268. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  32269. in: query
  32270. name: startDate
  32271. type: string
  32272. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  32273. in: query
  32274. name: endDate
  32275. type: string
  32276. produces:
  32277. - application/json
  32278. responses:
  32279. "200":
  32280. description: OK
  32281. schema:
  32282. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  32283. "500":
  32284. description: Internal Server Error
  32285. schema:
  32286. $ref: '#/definitions/app.Response'
  32287. security:
  32288. - ApiKeyAuth: []
  32289. summary: 资金流水查询(历史)
  32290. tags:
  32291. - 资金账户
  32292. /TaAccount/QueryRelatedTaAccount:
  32293. get:
  32294. parameters:
  32295. - description: 关联UserID
  32296. in: query
  32297. name: relateduserid
  32298. required: true
  32299. type: integer
  32300. produces:
  32301. - application/json
  32302. responses:
  32303. "200":
  32304. description: OK
  32305. schema:
  32306. items:
  32307. $ref: '#/definitions/models.RelatedTaAccount'
  32308. type: array
  32309. "500":
  32310. description: Internal Server Error
  32311. schema:
  32312. $ref: '#/definitions/app.Response'
  32313. security:
  32314. - ApiKeyAuth: []
  32315. summary: 查询关联资金账户信息
  32316. tags:
  32317. - 资金账户
  32318. /Tjmd/QueryQuoteGoodsList:
  32319. get:
  32320. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  32321. parameters:
  32322. - description: 用户类型
  32323. in: query
  32324. name: usertype
  32325. required: true
  32326. type: integer
  32327. - description: 市场id, 格式 1,2,3
  32328. in: query
  32329. name: marketids
  32330. type: string
  32331. - description: 商品组id
  32332. in: query
  32333. name: goodsgroupid
  32334. type: integer
  32335. - description: 商品id
  32336. in: query
  32337. name: goodsid
  32338. type: integer
  32339. produces:
  32340. - application/json
  32341. responses:
  32342. "200":
  32343. description: OK
  32344. schema:
  32345. items:
  32346. $ref: '#/definitions/models.TjmdQuoteGoods'
  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. - 天津麦顿
  32357. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  32358. get:
  32359. parameters:
  32360. - description: 成交单号
  32361. in: query
  32362. name: tradeid
  32363. required: true
  32364. type: string
  32365. produces:
  32366. - application/json
  32367. responses:
  32368. "200":
  32369. description: OK
  32370. schema:
  32371. items:
  32372. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  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. - 天津麦顿
  32383. /Tjmd/QueryTjmdMarketSection:
  32384. get:
  32385. produces:
  32386. - application/json
  32387. responses:
  32388. "200":
  32389. description: OK
  32390. schema:
  32391. items:
  32392. $ref: '#/definitions/models.TjmdMarketSection'
  32393. type: array
  32394. "500":
  32395. description: Internal Server Error
  32396. schema:
  32397. $ref: '#/definitions/app.Response'
  32398. security:
  32399. - ApiKeyAuth: []
  32400. summary: 查询市场板块
  32401. tags:
  32402. - 天津麦顿
  32403. /Tjmd/QueryTjmdTodayAccountMargin:
  32404. get:
  32405. parameters:
  32406. - description: 市场id
  32407. in: query
  32408. name: marketid
  32409. type: string
  32410. - description: 商品id
  32411. in: query
  32412. name: goodsid
  32413. type: string
  32414. - description: 资金账号
  32415. in: query
  32416. name: accountid
  32417. type: string
  32418. produces:
  32419. - application/json
  32420. responses:
  32421. "200":
  32422. description: OK
  32423. schema:
  32424. items:
  32425. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  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. - 天津麦顿
  32436. /Tjmd/QueryTjmdTradeOrderDetail:
  32437. get:
  32438. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  32439. parameters:
  32440. - description: 页码
  32441. in: query
  32442. name: page
  32443. type: integer
  32444. - description: 每页条数
  32445. in: query
  32446. name: pagesize
  32447. type: integer
  32448. - description: 用户id
  32449. in: query
  32450. name: userid
  32451. required: true
  32452. type: integer
  32453. - description: 用户类型
  32454. in: query
  32455. name: usertype
  32456. required: true
  32457. type: integer
  32458. - description: 市场id, 格式 1,2,3
  32459. in: query
  32460. name: marketids
  32461. type: string
  32462. - description: 商品id
  32463. in: query
  32464. name: goodsid
  32465. required: true
  32466. type: integer
  32467. - description: 买卖方向 0-买 1-卖
  32468. in: query
  32469. name: buyorsell
  32470. required: true
  32471. type: integer
  32472. produces:
  32473. - application/json
  32474. responses:
  32475. "200":
  32476. description: OK
  32477. schema:
  32478. items:
  32479. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  32480. type: array
  32481. "500":
  32482. description: Internal Server Error
  32483. schema:
  32484. $ref: '#/definitions/app.Response'
  32485. security:
  32486. - ApiKeyAuth: []
  32487. summary: 查询掉期买卖大厅
  32488. tags:
  32489. - 天津麦顿
  32490. /Tjmd/QueryTjmdTransferApply:
  32491. get:
  32492. parameters:
  32493. - description: 类型 1-我的申请 2-对方申请
  32494. in: query
  32495. name: applytype
  32496. required: true
  32497. type: integer
  32498. - description: 市场id, 格式 1,2,3
  32499. in: query
  32500. name: marketids
  32501. type: string
  32502. - description: 资金账号, 格式 25000000001,25000000003
  32503. in: query
  32504. name: accountids
  32505. type: string
  32506. - description: 开始交易日(yyyymmdd)
  32507. in: query
  32508. name: begindate
  32509. type: string
  32510. - description: 结束交易日(yyyymmdd)
  32511. in: query
  32512. name: enddate
  32513. type: string
  32514. produces:
  32515. - application/json
  32516. responses:
  32517. "200":
  32518. description: OK
  32519. schema:
  32520. items:
  32521. $ref: '#/definitions/models.TjmdTransferApply'
  32522. type: array
  32523. "500":
  32524. description: Internal Server Error
  32525. schema:
  32526. $ref: '#/definitions/app.Response'
  32527. security:
  32528. - ApiKeyAuth: []
  32529. summary: 查询掉期协议单
  32530. tags:
  32531. - 天津麦顿
  32532. /Trade/QueryRecieptOrder:
  32533. get:
  32534. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  32535. parameters:
  32536. - description: 页码
  32537. in: query
  32538. name: page
  32539. type: integer
  32540. - description: 每页条数
  32541. in: query
  32542. name: pagesize
  32543. type: integer
  32544. - description: 商品ID
  32545. in: query
  32546. name: goodsID
  32547. required: true
  32548. type: integer
  32549. - description: 所属账户名称
  32550. in: query
  32551. name: accountName
  32552. type: string
  32553. - description: 市场ID
  32554. in: query
  32555. name: marketID
  32556. type: integer
  32557. - description: 方向 - 0:买 1:卖
  32558. in: query
  32559. name: buyorsell
  32560. required: true
  32561. type: integer
  32562. produces:
  32563. - application/json
  32564. responses:
  32565. "200":
  32566. description: OK
  32567. schema:
  32568. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  32569. "500":
  32570. description: Internal Server Error
  32571. schema:
  32572. $ref: '#/definitions/app.Response'
  32573. security:
  32574. - ApiKeyAuth: []
  32575. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  32576. tags:
  32577. - 通用交易
  32578. /User/AddMessageBoard:
  32579. post:
  32580. parameters:
  32581. - description: 用户ID
  32582. in: query
  32583. name: userID
  32584. required: true
  32585. type: integer
  32586. - description: 留言信息
  32587. in: query
  32588. name: message
  32589. required: true
  32590. type: string
  32591. - description: 联系电话
  32592. in: query
  32593. name: contactNum
  32594. required: true
  32595. type: string
  32596. produces:
  32597. - application/json
  32598. responses:
  32599. "200":
  32600. description: OK
  32601. schema:
  32602. $ref: '#/definitions/app.Response'
  32603. "500":
  32604. description: Internal Server Error
  32605. schema:
  32606. $ref: '#/definitions/app.Response'
  32607. security:
  32608. - ApiKeyAuth: []
  32609. summary: 添加用户留言板信息
  32610. tags:
  32611. - 用户信息
  32612. /User/AddUserFavoriteGoods:
  32613. post:
  32614. parameters:
  32615. - description: 用户ID
  32616. in: query
  32617. name: userID
  32618. required: true
  32619. type: integer
  32620. - description: 商品ID
  32621. in: query
  32622. name: goodsID
  32623. required: true
  32624. type: integer
  32625. produces:
  32626. - application/json
  32627. responses:
  32628. "200":
  32629. description: OK
  32630. schema:
  32631. $ref: '#/definitions/app.Response'
  32632. "500":
  32633. description: Internal Server Error
  32634. schema:
  32635. $ref: '#/definitions/app.Response'
  32636. security:
  32637. - ApiKeyAuth: []
  32638. summary: 添加用户商品收藏信息
  32639. tags:
  32640. - 用户信息
  32641. /User/GetLoginID:
  32642. get:
  32643. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  32644. parameters:
  32645. - description: 登录代码
  32646. in: query
  32647. name: username
  32648. required: true
  32649. type: string
  32650. produces:
  32651. - application/json
  32652. responses:
  32653. "200":
  32654. description: OK
  32655. schema:
  32656. $ref: '#/definitions/app.Response'
  32657. "500":
  32658. description: Internal Server Error
  32659. schema:
  32660. $ref: '#/definitions/app.Response'
  32661. summary: 获取登录ID
  32662. tags:
  32663. - 用户信息
  32664. /User/GetUserAccount:
  32665. get:
  32666. parameters:
  32667. - description: 用户ID
  32668. in: query
  32669. name: userID
  32670. required: true
  32671. type: integer
  32672. produces:
  32673. - application/json
  32674. responses:
  32675. "200":
  32676. description: OK
  32677. schema:
  32678. $ref: '#/definitions/models.Useraccount'
  32679. "500":
  32680. description: Internal Server Error
  32681. schema:
  32682. $ref: '#/definitions/app.Response'
  32683. security:
  32684. - ApiKeyAuth: []
  32685. summary: 获取用户账号信息
  32686. tags:
  32687. - 用户信息
  32688. /User/GetUserAuthStatus:
  32689. get:
  32690. parameters:
  32691. - description: 用户ID
  32692. in: query
  32693. name: userID
  32694. required: true
  32695. type: integer
  32696. produces:
  32697. - application/json
  32698. responses:
  32699. "200":
  32700. description: OK
  32701. schema:
  32702. $ref: '#/definitions/app.Response'
  32703. "500":
  32704. description: Internal Server Error
  32705. schema:
  32706. $ref: '#/definitions/app.Response'
  32707. security:
  32708. - ApiKeyAuth: []
  32709. summary: 获取用户实名认证状态
  32710. tags:
  32711. - 用户信息
  32712. /User/LoginQuery:
  32713. get:
  32714. parameters:
  32715. - description: 登录账号
  32716. in: query
  32717. name: loginID
  32718. required: true
  32719. type: integer
  32720. produces:
  32721. - application/json
  32722. responses:
  32723. "200":
  32724. description: OK
  32725. schema:
  32726. $ref: '#/definitions/user.LoginQueryRsp'
  32727. "500":
  32728. description: Internal Server Error
  32729. schema:
  32730. $ref: '#/definitions/app.Response'
  32731. security:
  32732. - ApiKeyAuth: []
  32733. summary: 账户登录后信息查询
  32734. tags:
  32735. - 用户信息
  32736. /User/QueryMessageBoard:
  32737. get:
  32738. parameters:
  32739. - description: 用户ID
  32740. in: query
  32741. name: userID
  32742. required: true
  32743. type: integer
  32744. produces:
  32745. - application/json
  32746. responses:
  32747. "200":
  32748. description: OK
  32749. schema:
  32750. $ref: '#/definitions/models.Messageboard'
  32751. "500":
  32752. description: Internal Server Error
  32753. schema:
  32754. $ref: '#/definitions/app.Response'
  32755. security:
  32756. - ApiKeyAuth: []
  32757. summary: 获取用户留言板信息
  32758. tags:
  32759. - 用户信息
  32760. /User/QueryUserFavoriteGoodses:
  32761. get:
  32762. parameters:
  32763. - description: 用户ID
  32764. in: query
  32765. name: userID
  32766. required: true
  32767. type: integer
  32768. produces:
  32769. - application/json
  32770. responses:
  32771. "200":
  32772. description: OK
  32773. schema:
  32774. $ref: '#/definitions/models.Userfavoritegoods'
  32775. "500":
  32776. description: Internal Server Error
  32777. schema:
  32778. $ref: '#/definitions/app.Response'
  32779. security:
  32780. - ApiKeyAuth: []
  32781. summary: 获取用户商品收藏信息
  32782. tags:
  32783. - 用户信息
  32784. /User/QueryUserInfo:
  32785. get:
  32786. parameters:
  32787. - description: 用户ID
  32788. in: query
  32789. name: userID
  32790. required: true
  32791. type: integer
  32792. - description: 是否解密
  32793. in: query
  32794. name: isDecrypt
  32795. type: boolean
  32796. produces:
  32797. - application/json
  32798. responses:
  32799. "200":
  32800. description: OK
  32801. schema:
  32802. $ref: '#/definitions/models.Userinfo'
  32803. "500":
  32804. description: Internal Server Error
  32805. schema:
  32806. $ref: '#/definitions/app.Response'
  32807. security:
  32808. - ApiKeyAuth: []
  32809. summary: 获取用户信息
  32810. tags:
  32811. - 用户信息
  32812. /User/QueryUserReferNum:
  32813. get:
  32814. parameters:
  32815. - description: 用户ID
  32816. in: query
  32817. name: userID
  32818. required: true
  32819. type: integer
  32820. produces:
  32821. - application/json
  32822. responses:
  32823. "200":
  32824. description: OK
  32825. schema:
  32826. $ref: '#/definitions/app.Response'
  32827. "500":
  32828. description: Internal Server Error
  32829. schema:
  32830. $ref: '#/definitions/app.Response'
  32831. summary: 获取用户邀请码
  32832. tags:
  32833. - 用户信息
  32834. /User/RemoveUserFavoriteGoods:
  32835. post:
  32836. parameters:
  32837. - description: 用户ID
  32838. in: query
  32839. name: userID
  32840. required: true
  32841. type: integer
  32842. - description: 商品ID
  32843. in: query
  32844. name: goodsID
  32845. required: true
  32846. type: integer
  32847. produces:
  32848. - application/json
  32849. responses:
  32850. "200":
  32851. description: OK
  32852. schema:
  32853. $ref: '#/definitions/app.Response'
  32854. "500":
  32855. description: Internal Server Error
  32856. schema:
  32857. $ref: '#/definitions/app.Response'
  32858. security:
  32859. - ApiKeyAuth: []
  32860. summary: 移除用户商品收藏信息
  32861. tags:
  32862. - 用户信息
  32863. /User/UpdateUserAccountStatus:
  32864. post:
  32865. parameters:
  32866. - description: 用户ID
  32867. in: query
  32868. name: userID
  32869. required: true
  32870. type: integer
  32871. - description: 账户状态 - 4:正常 6:注销(停用)
  32872. in: query
  32873. name: accountStatus
  32874. required: true
  32875. type: integer
  32876. produces:
  32877. - application/json
  32878. responses:
  32879. "200":
  32880. description: OK
  32881. schema:
  32882. $ref: '#/definitions/app.Response'
  32883. "500":
  32884. description: Internal Server Error
  32885. schema:
  32886. $ref: '#/definitions/app.Response'
  32887. security:
  32888. - ApiKeyAuth: []
  32889. summary: 更新用户状态
  32890. tags:
  32891. - 用户信息
  32892. /WRTrade/GetAllDeliveryGoods:
  32893. get:
  32894. produces:
  32895. - application/json
  32896. responses:
  32897. "200":
  32898. description: OK
  32899. schema:
  32900. $ref: '#/definitions/app.Response'
  32901. "500":
  32902. description: Internal Server Error
  32903. schema:
  32904. $ref: '#/definitions/app.Response'
  32905. security:
  32906. - ApiKeyAuth: []
  32907. summary: 获取带仓单分类的种类信息
  32908. tags:
  32909. - 仓单贸易
  32910. - 仓单贸易
  32911. /WrTrade2/InsertXhcpSellBackApply:
  32912. post:
  32913. parameters:
  32914. - description: 回收申请
  32915. in: body
  32916. name: jsonBody
  32917. required: true
  32918. schema:
  32919. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  32920. produces:
  32921. - application/json
  32922. responses:
  32923. "200":
  32924. description: OK
  32925. schema:
  32926. $ref: '#/definitions/app.Response'
  32927. "500":
  32928. description: Internal Server Error
  32929. schema:
  32930. $ref: '#/definitions/app.Response'
  32931. security:
  32932. - ApiKeyAuth: []
  32933. summary: 新增回收申请(新会陈皮)
  32934. tags:
  32935. - 仓单贸易v2
  32936. /WrTrade2/QueryDeliveryGoodsSection:
  32937. get:
  32938. produces:
  32939. - application/json
  32940. responses:
  32941. "200":
  32942. description: OK
  32943. schema:
  32944. items:
  32945. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  32946. type: array
  32947. "500":
  32948. description: Internal Server Error
  32949. schema:
  32950. $ref: '#/definitions/app.Response'
  32951. security:
  32952. - ApiKeyAuth: []
  32953. summary: 查询板块(分类)
  32954. tags:
  32955. - 仓单贸易v2
  32956. /WrTrade2/QueryFaProductDetail:
  32957. get:
  32958. description: 页面 买卖大厅 -> 选择融资方案
  32959. parameters:
  32960. - description: 仓单要素id
  32961. in: query
  32962. name: wrfactortypeid
  32963. required: true
  32964. type: integer
  32965. produces:
  32966. - application/json
  32967. responses:
  32968. "200":
  32969. description: OK
  32970. schema:
  32971. items:
  32972. $ref: '#/definitions/models.WrFAProductDetail'
  32973. type: array
  32974. "500":
  32975. description: Internal Server Error
  32976. schema:
  32977. $ref: '#/definitions/app.Response'
  32978. security:
  32979. - ApiKeyAuth: []
  32980. summary: 查询融资产品列表
  32981. tags:
  32982. - 仓单贸易v2
  32983. /WrTrade2/QueryFilterItem:
  32984. get:
  32985. parameters:
  32986. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  32987. in: query
  32988. name: itype
  32989. required: true
  32990. type: string
  32991. produces:
  32992. - application/json
  32993. responses:
  32994. "200":
  32995. description: OK
  32996. schema:
  32997. items:
  32998. $ref: '#/definitions/models.WrFilterItem'
  32999. type: array
  33000. "500":
  33001. description: Internal Server Error
  33002. schema:
  33003. $ref: '#/definitions/app.Response'
  33004. security:
  33005. - ApiKeyAuth: []
  33006. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  33007. tags:
  33008. - 仓单贸易v2
  33009. /WrTrade2/QueryFtDeliveryGoods:
  33010. get:
  33011. produces:
  33012. - application/json
  33013. responses:
  33014. "200":
  33015. description: OK
  33016. schema:
  33017. items:
  33018. $ref: '#/definitions/models.WrFtDeliveryGoods'
  33019. type: array
  33020. "500":
  33021. description: Internal Server Error
  33022. schema:
  33023. $ref: '#/definitions/app.Response'
  33024. security:
  33025. - ApiKeyAuth: []
  33026. summary: 查询品种品类筛选框列表
  33027. tags:
  33028. - 仓单贸易v2
  33029. /WrTrade2/QueryHoldLB:
  33030. get:
  33031. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  33032. parameters:
  33033. - description: 资金账号
  33034. in: query
  33035. name: accountid
  33036. required: true
  33037. type: integer
  33038. - description: 仓库id
  33039. in: query
  33040. name: warehouseid
  33041. type: integer
  33042. - description: 品种id
  33043. in: query
  33044. name: deliverygoodsid
  33045. type: integer
  33046. - description: 品类id
  33047. in: query
  33048. name: wrstandardid
  33049. type: integer
  33050. - description: 仓单要素id
  33051. in: query
  33052. name: wrfactortypeid
  33053. type: integer
  33054. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33055. in: query
  33056. name: dgitemname
  33057. type: string
  33058. produces:
  33059. - application/json
  33060. responses:
  33061. "200":
  33062. description: OK
  33063. schema:
  33064. items:
  33065. $ref: '#/definitions/models.WrHoldLB'
  33066. type: array
  33067. "500":
  33068. description: Internal Server Error
  33069. schema:
  33070. $ref: '#/definitions/app.Response'
  33071. security:
  33072. - ApiKeyAuth: []
  33073. summary: 查询仓单持有记录
  33074. tags:
  33075. - 仓单贸易v2
  33076. /WrTrade2/QueryOrderQuote:
  33077. get:
  33078. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  33079. 唯一确定1条记录
  33080. parameters:
  33081. - description: 页码
  33082. in: query
  33083. name: page
  33084. type: integer
  33085. - description: 每页条数
  33086. in: query
  33087. name: pagesize
  33088. type: integer
  33089. - description: 仓单贸易市场id
  33090. in: query
  33091. name: marketid
  33092. type: integer
  33093. - description: 价格方式 - 1:固定价 2-浮动价
  33094. in: query
  33095. name: wrpricetype
  33096. required: true
  33097. type: integer
  33098. - description: 0:仓单预售 1:仓单贸易
  33099. in: query
  33100. name: haswr
  33101. type: integer
  33102. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33103. in: query
  33104. name: dgitemname
  33105. type: string
  33106. - description: 仓库id(筛选条件)
  33107. in: query
  33108. name: warehouseid
  33109. type: integer
  33110. - description: 品种id
  33111. in: query
  33112. name: deliverygoodsid
  33113. type: integer
  33114. - description: 品类id
  33115. in: query
  33116. name: wrstandardid
  33117. type: integer
  33118. - description: 品牌id(dgfactoryitemid)
  33119. in: query
  33120. name: brandid
  33121. type: integer
  33122. - description: 年份id(dgfactoryitemid)
  33123. in: query
  33124. name: yearsid
  33125. type: integer
  33126. - description: 仓单要素id
  33127. in: query
  33128. name: wrfactortypeid
  33129. type: integer
  33130. - description: 交收月(yyyy-mm) 仓单预售填写
  33131. in: query
  33132. name: deliverymonth
  33133. type: string
  33134. produces:
  33135. - application/json
  33136. responses:
  33137. "200":
  33138. description: OK
  33139. schema:
  33140. items:
  33141. $ref: '#/definitions/models.WrOrderQuote'
  33142. type: array
  33143. "500":
  33144. description: Internal Server Error
  33145. schema:
  33146. $ref: '#/definitions/app.Response'
  33147. security:
  33148. - ApiKeyAuth: []
  33149. summary: 查询大厅行情列表
  33150. tags:
  33151. - 仓单贸易v2
  33152. /WrTrade2/QueryOrderQuoteDetail:
  33153. get:
  33154. parameters:
  33155. - description: 页码
  33156. in: query
  33157. name: page
  33158. type: integer
  33159. - description: 每页条数
  33160. in: query
  33161. name: pagesize
  33162. type: integer
  33163. - description: 仓单贸易市场id
  33164. in: query
  33165. name: marketid
  33166. type: integer
  33167. - description: 价格方式 - 1:固定价 2-浮动价
  33168. in: query
  33169. name: wrpricetype
  33170. required: true
  33171. type: integer
  33172. - description: 0:仓单预售 1:仓单贸易
  33173. in: query
  33174. name: haswr
  33175. type: integer
  33176. - description: 仓单要素id
  33177. in: query
  33178. name: wrfactortypeid
  33179. required: true
  33180. type: integer
  33181. - description: 期货商品id(浮动价方式时填)
  33182. in: query
  33183. name: goodsid
  33184. type: integer
  33185. - description: 买卖方向 0-买 1-卖
  33186. in: query
  33187. name: buyorsell
  33188. required: true
  33189. type: integer
  33190. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  33191. in: query
  33192. name: deliverymonth
  33193. type: string
  33194. produces:
  33195. - application/json
  33196. responses:
  33197. "200":
  33198. description: OK
  33199. schema:
  33200. items:
  33201. $ref: '#/definitions/models.WrOrderQuoteDetail'
  33202. type: array
  33203. "500":
  33204. description: Internal Server Error
  33205. schema:
  33206. $ref: '#/definitions/app.Response'
  33207. security:
  33208. - ApiKeyAuth: []
  33209. summary: 查询买卖大厅
  33210. tags:
  33211. - 仓单贸易v2
  33212. /WrTrade2/QueryOrderQuoteMyq:
  33213. get:
  33214. parameters:
  33215. - description: 页码
  33216. in: query
  33217. name: page
  33218. type: integer
  33219. - description: 每页条数
  33220. in: query
  33221. name: pagesize
  33222. type: integer
  33223. - description: 用户id
  33224. in: query
  33225. name: userid
  33226. required: true
  33227. type: integer
  33228. - description: 仓单贸易市场id
  33229. in: query
  33230. name: marketid
  33231. type: integer
  33232. - description: 0:仓单预售 1:仓单贸易
  33233. in: query
  33234. name: haswr
  33235. type: integer
  33236. - description: 买卖方向 0-买 1-卖
  33237. in: query
  33238. name: buyorsell
  33239. required: true
  33240. type: integer
  33241. - description: 品种id
  33242. in: query
  33243. name: deliverygoodsid
  33244. type: integer
  33245. - description: 品类id
  33246. in: query
  33247. name: wrstandardid
  33248. type: integer
  33249. - description: 交收月(yyyy-mm) 仓单预售填写
  33250. in: query
  33251. name: deliverymonth
  33252. type: string
  33253. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  33254. in: query
  33255. name: dgitemname
  33256. type: string
  33257. produces:
  33258. - application/json
  33259. responses:
  33260. "200":
  33261. description: OK
  33262. schema:
  33263. items:
  33264. $ref: '#/definitions/models.WrQuoteOrderMyq'
  33265. type: array
  33266. "500":
  33267. description: Internal Server Error
  33268. schema:
  33269. $ref: '#/definitions/app.Response'
  33270. security:
  33271. - ApiKeyAuth: []
  33272. summary: 查询贸易圈挂牌大厅
  33273. tags:
  33274. - 仓单贸易v2
  33275. /WrTrade2/QueryPerformancePlan:
  33276. get:
  33277. parameters:
  33278. - description: 用户id
  33279. in: query
  33280. name: userid
  33281. required: true
  33282. type: integer
  33283. - description: 买卖方向 0-买 1-卖
  33284. in: query
  33285. name: buyorsell
  33286. required: true
  33287. type: integer
  33288. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  33289. 8:释放冻结失败 9:超时待处理 10:超时关闭
  33290. in: query
  33291. name: status
  33292. type: string
  33293. - description: 开始交易日(yyyymmdd)
  33294. in: query
  33295. name: begindate
  33296. type: string
  33297. - description: 结束交易日(yyyymmdd)
  33298. in: query
  33299. name: enddate
  33300. type: string
  33301. produces:
  33302. - application/json
  33303. responses:
  33304. "200":
  33305. description: OK
  33306. schema:
  33307. items:
  33308. $ref: '#/definitions/models.WrPerformancePlan'
  33309. type: array
  33310. "500":
  33311. description: Internal Server Error
  33312. schema:
  33313. $ref: '#/definitions/app.Response'
  33314. security:
  33315. - ApiKeyAuth: []
  33316. summary: 查询履约信息
  33317. tags:
  33318. - 仓单贸易v2
  33319. /WrTrade2/QueryPermancePlanTmp:
  33320. get:
  33321. description: |-
  33322. 返回指定用户的模板和公共模板(用户id为空)
  33323. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  33324. parameters:
  33325. - description: 用户id
  33326. in: query
  33327. name: userid
  33328. type: integer
  33329. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  33330. (无仓单) 5:挂牌期权 6:竞拍-降价式
  33331. in: query
  33332. name: tmptype
  33333. type: string
  33334. - description: 是否包含公共模板(用户id为空的) 1-包含
  33335. in: query
  33336. name: includepub
  33337. type: integer
  33338. - description: 市场id(天津麦顿指定此参数,其它不用)
  33339. in: query
  33340. name: marketid
  33341. type: integer
  33342. produces:
  33343. - application/json
  33344. responses:
  33345. "200":
  33346. description: OK
  33347. schema:
  33348. items:
  33349. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  33350. type: array
  33351. "500":
  33352. description: Internal Server Error
  33353. schema:
  33354. $ref: '#/definitions/app.Response'
  33355. security:
  33356. - ApiKeyAuth: []
  33357. summary: 查询履约模板
  33358. tags:
  33359. - 仓单贸易v2
  33360. /WrTrade2/QuerySiteColumnDetail:
  33361. get:
  33362. parameters:
  33363. - description: 页码
  33364. in: query
  33365. name: page
  33366. type: integer
  33367. - description: 每页条数
  33368. in: query
  33369. name: pagesize
  33370. type: integer
  33371. - description: 所属栏目id
  33372. in: query
  33373. name: columnid
  33374. type: integer
  33375. produces:
  33376. - application/json
  33377. responses:
  33378. "200":
  33379. description: OK
  33380. schema:
  33381. items:
  33382. $ref: '#/definitions/models.WrSiteColumnDetail'
  33383. type: array
  33384. "500":
  33385. description: Internal Server Error
  33386. schema:
  33387. $ref: '#/definitions/app.Response'
  33388. security:
  33389. - ApiKeyAuth: []
  33390. summary: 查询资讯
  33391. tags:
  33392. - 仓单贸易v2
  33393. /WrTrade2/QuerySpotGroupTradeSum:
  33394. get:
  33395. produces:
  33396. - application/json
  33397. responses:
  33398. "200":
  33399. description: OK
  33400. schema:
  33401. items:
  33402. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  33403. type: array
  33404. "500":
  33405. description: Internal Server Error
  33406. schema:
  33407. $ref: '#/definitions/app.Response'
  33408. security:
  33409. - ApiKeyAuth: []
  33410. summary: 查询指数
  33411. tags:
  33412. - 仓单贸易v2
  33413. /WrTrade2/QuerySpotGroupTradeSumDetail:
  33414. get:
  33415. description: 查询的结果将会按日期 从小到大 排序
  33416. parameters:
  33417. - description: 现货商品id
  33418. in: query
  33419. name: deliverygoodsid
  33420. required: true
  33421. type: integer
  33422. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  33423. in: query
  33424. name: lastnum
  33425. type: integer
  33426. produces:
  33427. - application/json
  33428. responses:
  33429. "200":
  33430. description: OK
  33431. schema:
  33432. items:
  33433. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  33434. type: array
  33435. "500":
  33436. description: Internal Server Error
  33437. schema:
  33438. $ref: '#/definitions/app.Response'
  33439. security:
  33440. - ApiKeyAuth: []
  33441. summary: 查询指数详细(价格走势图)
  33442. tags:
  33443. - 仓单贸易v2
  33444. /WrTrade2/QueryWrAverageTradePrice:
  33445. get:
  33446. parameters:
  33447. - description: 页码
  33448. in: query
  33449. name: page
  33450. type: integer
  33451. - description: 每页条数
  33452. in: query
  33453. name: pagesize
  33454. type: integer
  33455. - description: 0:仓单预售 1:仓单贸易
  33456. in: query
  33457. name: haswr
  33458. required: true
  33459. type: integer
  33460. - description: 仓单要素id
  33461. in: query
  33462. name: wrfactortypeid
  33463. required: true
  33464. type: integer
  33465. produces:
  33466. - application/json
  33467. responses:
  33468. "200":
  33469. description: OK
  33470. schema:
  33471. items:
  33472. $ref: '#/definitions/models.WrAverageTradePrice'
  33473. type: array
  33474. "500":
  33475. description: Internal Server Error
  33476. schema:
  33477. $ref: '#/definitions/app.Response'
  33478. security:
  33479. - ApiKeyAuth: []
  33480. summary: 查询成交价(历史走势)
  33481. tags:
  33482. - 仓单贸易v2
  33483. /WrTrade2/QueryWrBrandAndYears:
  33484. get:
  33485. produces:
  33486. - application/json
  33487. responses:
  33488. "200":
  33489. description: OK
  33490. schema:
  33491. items:
  33492. $ref: '#/definitions/models.WrBrandAndYears'
  33493. type: array
  33494. "500":
  33495. description: Internal Server Error
  33496. schema:
  33497. $ref: '#/definitions/app.Response'
  33498. security:
  33499. - ApiKeyAuth: []
  33500. summary: 查询品牌和年份
  33501. tags:
  33502. - 仓单贸易v2
  33503. /WrTrade2/QueryWrBsGoodsInfo:
  33504. get:
  33505. description: 合约交易/买卖大厅/详情
  33506. parameters:
  33507. - description: 商品id
  33508. in: query
  33509. name: goodsid
  33510. required: true
  33511. type: integer
  33512. produces:
  33513. - application/json
  33514. responses:
  33515. "200":
  33516. description: OK
  33517. schema:
  33518. items:
  33519. $ref: '#/definitions/models.WrBsGoodsInfo'
  33520. type: array
  33521. "500":
  33522. description: Internal Server Error
  33523. schema:
  33524. $ref: '#/definitions/app.Response'
  33525. security:
  33526. - ApiKeyAuth: []
  33527. summary: 查询合约交易买卖大厅详情
  33528. tags:
  33529. - 仓单贸易v2
  33530. /WrTrade2/QueryWrBuybackDetail:
  33531. get:
  33532. parameters:
  33533. - description: 融资合同id
  33534. in: query
  33535. name: scfcontractid
  33536. type: integer
  33537. produces:
  33538. - application/json
  33539. responses:
  33540. "200":
  33541. description: OK
  33542. schema:
  33543. items:
  33544. $ref: '#/definitions/models.WrBuybackDetail'
  33545. type: array
  33546. "500":
  33547. description: Internal Server Error
  33548. schema:
  33549. $ref: '#/definitions/app.Response'
  33550. security:
  33551. - ApiKeyAuth: []
  33552. summary: 查询仓单回购明细
  33553. tags:
  33554. - 仓单贸易v2
  33555. /WrTrade2/QueryWrClientAdSpaceConfig:
  33556. get:
  33557. produces:
  33558. - application/json
  33559. responses:
  33560. "200":
  33561. description: OK
  33562. schema:
  33563. items:
  33564. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  33565. type: array
  33566. "500":
  33567. description: Internal Server Error
  33568. schema:
  33569. $ref: '#/definitions/app.Response'
  33570. security:
  33571. - ApiKeyAuth: []
  33572. summary: 查询固定广告配置
  33573. tags:
  33574. - 仓单贸易v2
  33575. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  33576. get:
  33577. parameters:
  33578. - description: 资金账号
  33579. in: query
  33580. name: accountid
  33581. required: true
  33582. type: integer
  33583. - description: 商品id
  33584. in: query
  33585. name: goodsid
  33586. required: true
  33587. type: integer
  33588. produces:
  33589. - application/json
  33590. responses:
  33591. "200":
  33592. description: OK
  33593. schema:
  33594. items:
  33595. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  33596. type: array
  33597. "500":
  33598. description: Internal Server Error
  33599. schema:
  33600. $ref: '#/definitions/app.Response'
  33601. security:
  33602. - ApiKeyAuth: []
  33603. summary: 查询合约交收可点选仓单
  33604. tags:
  33605. - 仓单贸易v2
  33606. /WrTrade2/QueryWrDeliveryDetail:
  33607. get:
  33608. parameters:
  33609. - description: 用户id
  33610. in: query
  33611. name: userid
  33612. required: true
  33613. type: integer
  33614. - description: 资金账号id
  33615. in: query
  33616. name: accountid
  33617. type: integer
  33618. - description: 开始交易日(yyyymmdd)
  33619. in: query
  33620. name: begindate
  33621. type: string
  33622. - description: 结束交易日(yyyymmdd)
  33623. in: query
  33624. name: enddate
  33625. type: string
  33626. produces:
  33627. - application/json
  33628. responses:
  33629. "200":
  33630. description: OK
  33631. schema:
  33632. items:
  33633. $ref: '#/definitions/models.WrDeliveryDetail'
  33634. type: array
  33635. "500":
  33636. description: Internal Server Error
  33637. schema:
  33638. $ref: '#/definitions/app.Response'
  33639. security:
  33640. - ApiKeyAuth: []
  33641. summary: 查询交收
  33642. tags:
  33643. - 仓单贸易v2
  33644. /WrTrade2/QueryWrDraftUserInfo:
  33645. get:
  33646. parameters:
  33647. - description: 用户ID
  33648. in: query
  33649. name: userid
  33650. required: true
  33651. type: integer
  33652. - description: 用户状态 1:正常 2:注销
  33653. in: query
  33654. name: userstatus
  33655. type: integer
  33656. produces:
  33657. - application/json
  33658. responses:
  33659. "200":
  33660. description: OK
  33661. schema:
  33662. items:
  33663. $ref: '#/definitions/models.WrDraftUserInfo'
  33664. type: array
  33665. "500":
  33666. description: Internal Server Error
  33667. schema:
  33668. $ref: '#/definitions/app.Response'
  33669. security:
  33670. - ApiKeyAuth: []
  33671. summary: 查询实名认证信息
  33672. tags:
  33673. - 仓单贸易v2
  33674. /WrTrade2/QueryWrFactorTypeInfo:
  33675. get:
  33676. parameters:
  33677. - description: 仓单要素id
  33678. in: query
  33679. name: wrfactortypeid
  33680. required: true
  33681. type: integer
  33682. produces:
  33683. - application/json
  33684. responses:
  33685. "200":
  33686. description: OK
  33687. schema:
  33688. items:
  33689. $ref: '#/definitions/models.WrFactorTypeInfo'
  33690. type: array
  33691. "500":
  33692. description: Internal Server Error
  33693. schema:
  33694. $ref: '#/definitions/app.Response'
  33695. security:
  33696. - ApiKeyAuth: []
  33697. summary: 查询仓单要素详细信息
  33698. tags:
  33699. - 仓单贸易v2
  33700. /WrTrade2/QueryWrFactorTypeInfoEx:
  33701. get:
  33702. parameters:
  33703. - description: 仓单要素id
  33704. in: query
  33705. name: wrfactortypeid
  33706. required: true
  33707. type: integer
  33708. produces:
  33709. - application/json
  33710. responses:
  33711. "200":
  33712. description: OK
  33713. schema:
  33714. items:
  33715. $ref: '#/definitions/models.WrTypeItem'
  33716. type: array
  33717. "500":
  33718. description: Internal Server Error
  33719. schema:
  33720. $ref: '#/definitions/app.Response'
  33721. security:
  33722. - ApiKeyAuth: []
  33723. summary: 查询仓单要素详细信息列表项
  33724. tags:
  33725. - 仓单贸易v2
  33726. /WrTrade2/QueryWrFinanceBuyApply:
  33727. get:
  33728. description: 页面 融资信息+ / 申请单
  33729. parameters:
  33730. - description: 用户id
  33731. in: query
  33732. name: userid
  33733. required: true
  33734. type: integer
  33735. produces:
  33736. - application/json
  33737. responses:
  33738. "200":
  33739. description: OK
  33740. schema:
  33741. items:
  33742. $ref: '#/definitions/models.WrFinanceBuyApply'
  33743. type: array
  33744. "500":
  33745. description: Internal Server Error
  33746. schema:
  33747. $ref: '#/definitions/app.Response'
  33748. security:
  33749. - ApiKeyAuth: []
  33750. summary: 查询融资购买申请
  33751. tags:
  33752. - 仓单贸易v2
  33753. /WrTrade2/QueryWrFriendApply:
  33754. get:
  33755. parameters:
  33756. - description: 用户id
  33757. in: query
  33758. name: userid
  33759. required: true
  33760. type: integer
  33761. produces:
  33762. - application/json
  33763. responses:
  33764. "200":
  33765. description: OK
  33766. schema:
  33767. items:
  33768. $ref: '#/definitions/models.WrFriendApply'
  33769. type: array
  33770. "500":
  33771. description: Internal Server Error
  33772. schema:
  33773. $ref: '#/definitions/app.Response'
  33774. security:
  33775. - ApiKeyAuth: []
  33776. summary: 查询好友申请记录
  33777. tags:
  33778. - 仓单贸易v2
  33779. /WrTrade2/QueryWrGoodsInfo:
  33780. get:
  33781. parameters:
  33782. - description: 仓单贸易市场id
  33783. in: query
  33784. name: marketid
  33785. type: integer
  33786. - description: 0:仓单预售 1:仓单贸易
  33787. in: query
  33788. name: haswr
  33789. required: true
  33790. type: integer
  33791. - description: 仓单要素id
  33792. in: query
  33793. name: wrfactortypeid
  33794. required: true
  33795. type: integer
  33796. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  33797. in: query
  33798. name: tmplateid
  33799. type: integer
  33800. produces:
  33801. - application/json
  33802. responses:
  33803. "200":
  33804. description: OK
  33805. schema:
  33806. items:
  33807. $ref: '#/definitions/models.WrGoodsInfo'
  33808. type: array
  33809. "500":
  33810. description: Internal Server Error
  33811. schema:
  33812. $ref: '#/definitions/app.Response'
  33813. security:
  33814. - ApiKeyAuth: []
  33815. summary: 查询仓单商品信息
  33816. tags:
  33817. - 仓单贸易v2
  33818. /WrTrade2/QueryWrMarketTradeConfig:
  33819. get:
  33820. parameters:
  33821. - description: 市场id
  33822. in: query
  33823. name: marketid
  33824. type: integer
  33825. produces:
  33826. - application/json
  33827. responses:
  33828. "200":
  33829. description: OK
  33830. schema:
  33831. items:
  33832. $ref: '#/definitions/models.WrMarketTradeConfig'
  33833. type: array
  33834. "500":
  33835. description: Internal Server Error
  33836. schema:
  33837. $ref: '#/definitions/app.Response'
  33838. security:
  33839. - ApiKeyAuth: []
  33840. summary: 查询市场交易参数配置
  33841. tags:
  33842. - 仓单贸易v2
  33843. /WrTrade2/QueryWrOrderDetail:
  33844. get:
  33845. description: 页面 现货仓单 | 预售仓单 -> 委托单
  33846. parameters:
  33847. - description: 页码
  33848. in: query
  33849. name: page
  33850. type: integer
  33851. - description: 每页条数
  33852. in: query
  33853. name: pagesize
  33854. type: integer
  33855. - description: 用户id
  33856. in: query
  33857. name: userid
  33858. required: true
  33859. type: integer
  33860. - description: 仓单贸易市场id
  33861. in: query
  33862. name: marketid
  33863. type: integer
  33864. - description: 0:仓单预售 1:仓单贸易
  33865. in: query
  33866. name: haswr
  33867. required: true
  33868. type: integer
  33869. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  33870. in: query
  33871. name: bcancel
  33872. type: integer
  33873. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  33874. in: query
  33875. name: wrtradetype
  33876. type: integer
  33877. - description: 开始交易日(yyyymmdd)
  33878. in: query
  33879. name: begindate
  33880. type: string
  33881. - description: 结束交易日(yyyymmdd)
  33882. in: query
  33883. name: enddate
  33884. type: string
  33885. produces:
  33886. - application/json
  33887. responses:
  33888. "200":
  33889. description: OK
  33890. schema:
  33891. items:
  33892. $ref: '#/definitions/models.WrOrderDetail'
  33893. type: array
  33894. "500":
  33895. description: Internal Server Error
  33896. schema:
  33897. $ref: '#/definitions/app.Response'
  33898. security:
  33899. - ApiKeyAuth: []
  33900. summary: 查询仓单委托单
  33901. tags:
  33902. - 仓单贸易v2
  33903. /WrTrade2/QueryWrOutInApply:
  33904. get:
  33905. parameters:
  33906. - description: 页码
  33907. in: query
  33908. name: page
  33909. type: integer
  33910. - description: 每页条数
  33911. in: query
  33912. name: pagesize
  33913. type: integer
  33914. - description: 用户id
  33915. in: query
  33916. name: userid
  33917. required: true
  33918. type: integer
  33919. - description: 开始交易日(yyyymmdd)
  33920. in: query
  33921. name: begindate
  33922. type: string
  33923. - description: 结束交易日(yyyymmdd)
  33924. in: query
  33925. name: enddate
  33926. type: string
  33927. produces:
  33928. - application/json
  33929. responses:
  33930. "200":
  33931. description: OK
  33932. schema:
  33933. items:
  33934. $ref: '#/definitions/models.WrOutInApply'
  33935. type: array
  33936. "500":
  33937. description: Internal Server Error
  33938. schema:
  33939. $ref: '#/definitions/app.Response'
  33940. security:
  33941. - ApiKeyAuth: []
  33942. summary: 查询提货申请
  33943. tags:
  33944. - 仓单贸易v2
  33945. /WrTrade2/QueryWrPerformancePlanStep:
  33946. get:
  33947. parameters:
  33948. - description: 履约计划id(performanceplanid)
  33949. in: query
  33950. name: planid
  33951. required: true
  33952. type: integer
  33953. - description: 当前步骤id
  33954. in: query
  33955. name: curstepid
  33956. type: integer
  33957. produces:
  33958. - application/json
  33959. responses:
  33960. "200":
  33961. description: OK
  33962. schema:
  33963. items:
  33964. $ref: '#/definitions/models.WrPerformancePlanStep'
  33965. type: array
  33966. "500":
  33967. description: Internal Server Error
  33968. schema:
  33969. $ref: '#/definitions/app.Response'
  33970. security:
  33971. - ApiKeyAuth: []
  33972. summary: 查询履约信息详情
  33973. tags:
  33974. - 仓单贸易v2
  33975. /WrTrade2/QueryWrPerformanceStepType:
  33976. get:
  33977. produces:
  33978. - application/json
  33979. responses:
  33980. "200":
  33981. description: OK
  33982. schema:
  33983. items:
  33984. $ref: '#/definitions/models.WrPerformanceStepType'
  33985. type: array
  33986. "500":
  33987. description: Internal Server Error
  33988. schema:
  33989. $ref: '#/definitions/app.Response'
  33990. security:
  33991. - ApiKeyAuth: []
  33992. summary: 查询履约步骤枚举
  33993. tags:
  33994. - 仓单贸易v2
  33995. /WrTrade2/QueryWrPosition:
  33996. get:
  33997. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  33998. parameters:
  33999. - description: 用户id
  34000. in: query
  34001. name: userid
  34002. required: true
  34003. type: integer
  34004. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  34005. in: query
  34006. name: querytype
  34007. required: true
  34008. type: integer
  34009. - description: 0:仓单预售 1:仓单贸易
  34010. in: query
  34011. name: haswr
  34012. required: true
  34013. type: integer
  34014. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  34015. in: query
  34016. name: dgitemname
  34017. type: string
  34018. - description: 仓库id(筛选条件)
  34019. in: query
  34020. name: warehouseid
  34021. type: integer
  34022. - description: 品种id
  34023. in: query
  34024. name: deliverygoodsid
  34025. type: integer
  34026. - description: 品类id
  34027. in: query
  34028. name: wrstandardid
  34029. type: integer
  34030. produces:
  34031. - application/json
  34032. responses:
  34033. "200":
  34034. description: OK
  34035. schema:
  34036. items:
  34037. $ref: '#/definitions/models.WrPosition'
  34038. type: array
  34039. "500":
  34040. description: Internal Server Error
  34041. schema:
  34042. $ref: '#/definitions/app.Response'
  34043. security:
  34044. - ApiKeyAuth: []
  34045. summary: 查询现货(预售)仓单持仓
  34046. tags:
  34047. - 仓单贸易v2
  34048. /WrTrade2/QueryWrPreSaleInfo:
  34049. get:
  34050. parameters:
  34051. - description: 市场id
  34052. in: query
  34053. name: marketid
  34054. type: integer
  34055. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  34056. in: query
  34057. name: presalestatus
  34058. type: string
  34059. - description: 摇号标识 - 0:未摇号 1:已摇号
  34060. in: query
  34061. name: lotteryflag
  34062. type: integer
  34063. - description: 最近多少条记录(按创建时间倒序)
  34064. in: query
  34065. name: lastnum
  34066. type: integer
  34067. produces:
  34068. - application/json
  34069. responses:
  34070. "200":
  34071. description: OK
  34072. schema:
  34073. items:
  34074. $ref: '#/definitions/models.WrPreSaleInfo'
  34075. type: array
  34076. "500":
  34077. description: Internal Server Error
  34078. schema:
  34079. $ref: '#/definitions/app.Response'
  34080. security:
  34081. - ApiKeyAuth: []
  34082. summary: 查询新品发布
  34083. tags:
  34084. - 仓单贸易v2
  34085. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  34086. get:
  34087. parameters:
  34088. - description: 市场id
  34089. in: query
  34090. name: marketid
  34091. required: true
  34092. type: integer
  34093. - description: 现货商品id
  34094. in: query
  34095. name: wrstandardid
  34096. required: true
  34097. type: integer
  34098. - description: 开始交易日(yyyymmdd)
  34099. in: query
  34100. name: begindate
  34101. type: string
  34102. - description: 结束交易日(yyyymmdd)
  34103. in: query
  34104. name: enddate
  34105. type: string
  34106. - description: 最近多少条记录(按交易日倒序)
  34107. in: query
  34108. name: lastnum
  34109. type: integer
  34110. - description: 是否今日
  34111. in: query
  34112. name: istoday
  34113. type: boolean
  34114. produces:
  34115. - application/json
  34116. responses:
  34117. "200":
  34118. description: OK
  34119. schema:
  34120. items:
  34121. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  34122. type: array
  34123. "500":
  34124. description: Internal Server Error
  34125. schema:
  34126. $ref: '#/definitions/app.Response'
  34127. security:
  34128. - ApiKeyAuth: []
  34129. summary: 查询价格走势
  34130. tags:
  34131. - 仓单贸易v2
  34132. /WrTrade2/QueryWrScfContract:
  34133. get:
  34134. parameters:
  34135. - description: 用户id
  34136. in: query
  34137. name: userid
  34138. required: true
  34139. type: integer
  34140. - description: 融资合同id
  34141. in: query
  34142. name: scfcontractid
  34143. type: integer
  34144. produces:
  34145. - application/json
  34146. responses:
  34147. "200":
  34148. description: OK
  34149. schema:
  34150. items:
  34151. $ref: '#/definitions/models.WrScfContract'
  34152. type: array
  34153. "500":
  34154. description: Internal Server Error
  34155. schema:
  34156. $ref: '#/definitions/app.Response'
  34157. security:
  34158. - ApiKeyAuth: []
  34159. summary: 查询仓单贸易融资合同
  34160. tags:
  34161. - 仓单贸易v2
  34162. /WrTrade2/QueryWrScfContractInterest:
  34163. get:
  34164. parameters:
  34165. - description: 融资合同id
  34166. in: query
  34167. name: scfcontractid
  34168. type: integer
  34169. produces:
  34170. - application/json
  34171. responses:
  34172. "200":
  34173. description: OK
  34174. schema:
  34175. items:
  34176. $ref: '#/definitions/models.WrScfContractInterest'
  34177. type: array
  34178. "500":
  34179. description: Internal Server Error
  34180. schema:
  34181. $ref: '#/definitions/app.Response'
  34182. security:
  34183. - ApiKeyAuth: []
  34184. summary: 查询融资合同费用明细
  34185. tags:
  34186. - 仓单贸易v2
  34187. /WrTrade2/QueryWrSearchUser:
  34188. get:
  34189. parameters:
  34190. - description: 用户名称(模糊匹配)
  34191. in: query
  34192. name: username
  34193. required: true
  34194. type: string
  34195. produces:
  34196. - application/json
  34197. responses:
  34198. "200":
  34199. description: OK
  34200. schema:
  34201. items:
  34202. $ref: '#/definitions/models.WrSearchUser'
  34203. type: array
  34204. "500":
  34205. description: Internal Server Error
  34206. schema:
  34207. $ref: '#/definitions/app.Response'
  34208. security:
  34209. - ApiKeyAuth: []
  34210. summary: 查询用户
  34211. tags:
  34212. - 仓单贸易v2
  34213. /WrTrade2/QueryWrSpecialMatchOrder:
  34214. get:
  34215. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  34216. parameters:
  34217. - description: 页码
  34218. in: query
  34219. name: page
  34220. type: integer
  34221. - description: 每页条数
  34222. in: query
  34223. name: pagesize
  34224. type: integer
  34225. - description: 用户id
  34226. in: query
  34227. name: userid
  34228. required: true
  34229. type: integer
  34230. - description: 仓单贸易市场id
  34231. in: query
  34232. name: marketid
  34233. type: integer
  34234. - description: 0:仓单预售 1:仓单贸易
  34235. in: query
  34236. name: haswr
  34237. required: true
  34238. type: integer
  34239. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  34240. in: query
  34241. name: isspecified
  34242. type: integer
  34243. produces:
  34244. - application/json
  34245. responses:
  34246. "200":
  34247. description: OK
  34248. schema:
  34249. items:
  34250. $ref: '#/definitions/models.WrSpecialMatchOrder'
  34251. type: array
  34252. "500":
  34253. description: Internal Server Error
  34254. schema:
  34255. $ref: '#/definitions/app.Response'
  34256. security:
  34257. - ApiKeyAuth: []
  34258. summary: 查询指定成交
  34259. tags:
  34260. - 仓单贸易v2
  34261. /WrTrade2/QueryWrStandardFactoryItem:
  34262. get:
  34263. parameters:
  34264. - description: 品类id
  34265. in: query
  34266. name: wrstandardid
  34267. required: true
  34268. type: integer
  34269. produces:
  34270. - application/json
  34271. responses:
  34272. "200":
  34273. description: OK
  34274. schema:
  34275. items:
  34276. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  34277. type: array
  34278. "500":
  34279. description: Internal Server Error
  34280. schema:
  34281. $ref: '#/definitions/app.Response'
  34282. security:
  34283. - ApiKeyAuth: []
  34284. summary: 查询品类要素定义项
  34285. tags:
  34286. - 仓单贸易v2
  34287. /WrTrade2/QueryWrTradeBargainApply:
  34288. get:
  34289. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  34290. 议价->对方议价 填写matchuserid=登录用户id
  34291. parameters:
  34292. - description: 议价人id(摘牌方)
  34293. in: query
  34294. name: userid
  34295. type: integer
  34296. - description: 挂牌方id(查对方议价时,填写此项)
  34297. in: query
  34298. name: matchuserid
  34299. type: integer
  34300. - description: 关联委托单id
  34301. in: query
  34302. name: wrtradeorderid
  34303. type: integer
  34304. - description: 0:仓单预售 1:仓单贸易
  34305. in: query
  34306. name: haswr
  34307. required: true
  34308. type: integer
  34309. - description: 开始交易日(yyyymmdd)
  34310. in: query
  34311. name: begindate
  34312. type: string
  34313. - description: 结束交易日(yyyymmdd)
  34314. in: query
  34315. name: enddate
  34316. type: string
  34317. produces:
  34318. - application/json
  34319. responses:
  34320. "200":
  34321. description: OK
  34322. schema:
  34323. items:
  34324. $ref: '#/definitions/models.WRTradeBargainApply'
  34325. type: array
  34326. "500":
  34327. description: Internal Server Error
  34328. schema:
  34329. $ref: '#/definitions/app.Response'
  34330. security:
  34331. - ApiKeyAuth: []
  34332. summary: 查询议价单
  34333. tags:
  34334. - 仓单贸易v2
  34335. /WrTrade2/QueryWrTradeDetail:
  34336. get:
  34337. parameters:
  34338. - description: 页码
  34339. in: query
  34340. name: page
  34341. type: integer
  34342. - description: 每页条数
  34343. in: query
  34344. name: pagesize
  34345. type: integer
  34346. - description: 用户id
  34347. in: query
  34348. name: userid
  34349. required: true
  34350. type: integer
  34351. - description: 仓单贸易市场id
  34352. in: query
  34353. name: marketid
  34354. type: integer
  34355. - description: 0:仓单预售 1:仓单贸易
  34356. in: query
  34357. name: haswr
  34358. required: true
  34359. type: integer
  34360. - description: 开始交易日(yyyymmdd)
  34361. in: query
  34362. name: begindate
  34363. type: string
  34364. - description: 结束交易日(yyyymmdd)
  34365. in: query
  34366. name: enddate
  34367. type: string
  34368. produces:
  34369. - application/json
  34370. responses:
  34371. "200":
  34372. description: OK
  34373. schema:
  34374. items:
  34375. $ref: '#/definitions/models.WrTradeDetail'
  34376. type: array
  34377. "500":
  34378. description: Internal Server Error
  34379. schema:
  34380. $ref: '#/definitions/app.Response'
  34381. security:
  34382. - ApiKeyAuth: []
  34383. summary: 查询仓单成交明细
  34384. tags:
  34385. - 仓单贸易v2
  34386. /WrTrade2/QueryWrTradeOrderDetail:
  34387. get:
  34388. parameters:
  34389. - description: 页码
  34390. in: query
  34391. name: page
  34392. type: integer
  34393. - description: 每页条数
  34394. in: query
  34395. name: pagesize
  34396. type: integer
  34397. - description: 商品id
  34398. in: query
  34399. name: goodsid
  34400. required: true
  34401. type: integer
  34402. - description: 买卖方向 0-买 1-卖
  34403. in: query
  34404. name: buyorsell
  34405. required: true
  34406. type: integer
  34407. produces:
  34408. - application/json
  34409. responses:
  34410. "200":
  34411. description: OK
  34412. schema:
  34413. items:
  34414. $ref: '#/definitions/models.WrTradeOrderDetail'
  34415. type: array
  34416. "500":
  34417. description: Internal Server Error
  34418. schema:
  34419. $ref: '#/definitions/app.Response'
  34420. security:
  34421. - ApiKeyAuth: []
  34422. summary: 查询合约交易买卖大厅
  34423. tags:
  34424. - 仓单贸易v2
  34425. /WrTrade2/QueryWrTradeQuote:
  34426. get:
  34427. parameters:
  34428. - description: 现货商品id
  34429. in: query
  34430. name: wrstandardid
  34431. required: true
  34432. type: integer
  34433. - description: 开始日期(yyyymmdd)
  34434. in: query
  34435. name: begindate
  34436. required: true
  34437. type: string
  34438. - description: 结束日期(yyyymmdd)
  34439. in: query
  34440. name: enddate
  34441. required: true
  34442. type: string
  34443. - description: 市场id
  34444. in: query
  34445. name: marketid
  34446. type: integer
  34447. produces:
  34448. - application/json
  34449. responses:
  34450. "200":
  34451. description: OK
  34452. schema:
  34453. items:
  34454. $ref: '#/definitions/models.Wrtradetradequote'
  34455. type: array
  34456. "500":
  34457. description: Internal Server Error
  34458. schema:
  34459. $ref: '#/definitions/app.Response'
  34460. security:
  34461. - ApiKeyAuth: []
  34462. summary: 查询仓单贸易成交行情
  34463. tags:
  34464. - 仓单贸易v2
  34465. /WrTrade2/QueryWrUserFriend:
  34466. get:
  34467. parameters:
  34468. - description: 用户id
  34469. in: query
  34470. name: userid
  34471. required: true
  34472. type: integer
  34473. - description: 新朋友userid, 如果填写了此项则查找新朋友
  34474. in: query
  34475. name: newuserid
  34476. type: integer
  34477. produces:
  34478. - application/json
  34479. responses:
  34480. "200":
  34481. description: OK
  34482. schema:
  34483. items:
  34484. $ref: '#/definitions/models.WrUserFriend'
  34485. type: array
  34486. "500":
  34487. description: Internal Server Error
  34488. schema:
  34489. $ref: '#/definitions/app.Response'
  34490. security:
  34491. - ApiKeyAuth: []
  34492. summary: 查询我的朋友
  34493. tags:
  34494. - 仓单贸易v2
  34495. /WrTrade2/QueryWrUserReceiptInfo:
  34496. get:
  34497. parameters:
  34498. - description: 用户id
  34499. in: query
  34500. name: userid
  34501. type: integer
  34502. - description: 发票类型 - 1:个人 2:企业
  34503. in: query
  34504. name: receipttype
  34505. type: integer
  34506. produces:
  34507. - application/json
  34508. responses:
  34509. "200":
  34510. description: OK
  34511. schema:
  34512. items:
  34513. $ref: '#/definitions/models.WrUserReceiptInfo'
  34514. type: array
  34515. "500":
  34516. description: Internal Server Error
  34517. schema:
  34518. $ref: '#/definitions/app.Response'
  34519. security:
  34520. - ApiKeyAuth: []
  34521. summary: 查询发票信息
  34522. tags:
  34523. - 仓单贸易v2
  34524. /WrTrade2/QueryXhcpSellBackApply:
  34525. get:
  34526. parameters:
  34527. - description: 用户ID
  34528. in: query
  34529. name: userid
  34530. required: true
  34531. type: integer
  34532. produces:
  34533. - application/json
  34534. responses:
  34535. "200":
  34536. description: OK
  34537. schema:
  34538. items:
  34539. $ref: '#/definitions/models.Xhcpsellbackapply'
  34540. type: array
  34541. "500":
  34542. description: Internal Server Error
  34543. schema:
  34544. $ref: '#/definitions/app.Response'
  34545. security:
  34546. - ApiKeyAuth: []
  34547. summary: 查询我的回收申请(新会陈皮)
  34548. tags:
  34549. - 仓单贸易v2
  34550. /ZJ/GetBankTip:
  34551. get:
  34552. produces:
  34553. - application/json
  34554. responses:
  34555. "200":
  34556. description: OK
  34557. schema:
  34558. type: string
  34559. "500":
  34560. description: Internal Server Error
  34561. schema:
  34562. $ref: '#/definitions/app.Response'
  34563. summary: 获取中江网银端出入金提示信息
  34564. tags:
  34565. - 中江
  34566. /ZJ/GetCusBankChannels:
  34567. get:
  34568. produces:
  34569. - application/json
  34570. responses:
  34571. "200":
  34572. description: OK
  34573. schema:
  34574. items:
  34575. type: string
  34576. type: array
  34577. "500":
  34578. description: Internal Server Error
  34579. schema:
  34580. $ref: '#/definitions/app.Response'
  34581. summary: 获取中江出入金渠道显示列表
  34582. tags:
  34583. - 中江
  34584. securityDefinitions:
  34585. ApiKeyAuth:
  34586. in: header
  34587. name: Authorization
  34588. type: apiKey
  34589. Group:
  34590. in: header
  34591. name: Group
  34592. type: apiKey
  34593. LoginID:
  34594. in: header
  34595. name: LoginID
  34596. type: apiKey
  34597. swagger: "2.0"